6.31.2 update bricked my pi3

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Black6spdZ
Posts: 2
Joined: Sun Jul 19, 2020 9:14 pm

6.31.2 update bricked my pi3

Post by Black6spdZ »

had a nice running pihole install running on 6.30 until I ran dietpi-update today.. don't you just love when a system update that is supposed to run smoothly leaves you with a non-functioning system?
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: 6.31.2 update bricked my pi3

Post by Joulinar »

Hi,

not sure what you like to point out but it would be good to share some error messages. Otherwise we are not be able to help. Personally I did the update more than 10 times on various systems (RPi3, 4, VM's) and all of them are functioning and working fine.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Black6spdZ
Posts: 2
Joined: Sun Jul 19, 2020 9:14 pm

Re: 6.31.2 update bricked my pi3

Post by Black6spdZ »

no errors, this was the last output before SSH session was lost.. tried resetting power a few times but never comes back online

Code: Select all

Unpacking php7.3-fpm (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) ...
Preparing to unpack .../20-php7.3-curl_7.3.19-1~deb10u1_armhf.deb ...
Unpacking php7.3-curl (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) ...
Preparing to unpack .../21-php7.3-cli_7.3.19-1~deb10u1_armhf.deb ...
Unpacking php7.3-cli (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) ...
Preparing to unpack .../22-php7.3-common_7.3.19-1~deb10u1_armhf.deb ...
Unpacking php7.3-common (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) ...
Setting up firmware-iwlwifi (1:20190114-1+rpt7) ...
Setting up firmware-atheros (1:20190114-1+rpt7) ...
Setting up firmware-misc-nonfree (1:20190114-1+rpt7) ...
Setting up raspberrypi-kernel (1.20200601-1) ...
Removing 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img b                                         y rpikernelhack'
Removing 'diversion of /boot/kernel7.img to /usr/share/rpikernelhack/kernel7.img                                          by rpikernelhack'
Removing 'diversion of /boot/kernel7l.img to /usr/share/rpikernelhack/kernel7l.i                                         mg by rpikernelhack'
Removing 'diversion of /boot/kernel8.img to /usr/share/rpikernelhack/kernel8.img                                          by rpikernelhack'
Removing 'diversion of /boot/bcm2708-rpi-b-plus.dtb to /usr/share/rpikernelhack/                                         bcm2708-rpi-b-plus.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2708-rpi-b.dtb to /usr/share/rpikernelhack/bcm27                                         08-rpi-b.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2708-rpi-cm.dtb to /usr/share/rpikernelhack/bcm2                                         708-rpi-cm.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2708-rpi-zero-w.dtb to /usr/share/rpikernelhack/                                         bcm2708-rpi-zero-w.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2708-rpi-zero.dtb to /usr/share/rpikernelhack/bc                                         m2708-rpi-zero.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2709-rpi-2-b.dtb to /usr/share/rpikernelhack/bcm                                         2709-rpi-2-b.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2710-rpi-2-b.dtb to /usr/share/rpikernelhack/bcm                                         2710-rpi-2-b.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2710-rpi-3-b-plus.dtb to /usr/share/rpikernelhac                                         k/bcm2710-rpi-3-b-plus.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2710-rpi-3-b.dtb to /usr/share/rpikernelhack/bcm                                         2710-rpi-3-b.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2710-rpi-cm3.dtb to /usr/share/rpikernelhack/bcm                                         2710-rpi-cm3.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2711-rpi-4-b.dtb to /usr/share/rpikernelhack/bcm                                         2711-rpi-4-b.dtb by rpikernelhack'
Removing 'diversion of /boot/COPYING.linux to /usr/share/rpikernelhack/COPYING.l                                         inux by rpikernelhack'
Removing 'diversion of /boot/overlays/README to /usr/share/rpikernelhack/overlay                                         s/README by rpikernelhack'
Removing 'diversion of /boot/overlays/act-led.dtbo to /usr/share/rpikernelhack/o                                         verlays/act-led.dtbo by rpikernelhack'
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: 6.31.2 update bricked my pi3

Post by Joulinar »

Ok just for clarification and transparency. dietpi-update will be executed in 2 steps. The first step is DietPi independent, and is calling apt update && apt upgrade. This step is a basic Debian function and will update all apt managed packages to lates version. This include the kernel as well.

https://en.wikipedia.org/wiki/APT_(software)

Once this step succeed, DietPi will go to execute it's own DietPi software update.

Looking to your log, it seems your SSH session died (due to what ever reason) during kernel update. It seems to be logic that your system is not booting anymore if this step was interrupted.

Do you have any flashing code from your activity LED if you try to boot? Maybe this blog entry on Raspberry board could help to identify why your system is not booting anymore.

https://www.raspberrypi.org/forums/view ... hp?t=58151
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply