Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

Postby ILMostro » Sat Oct 21, 2017 10:03 am

It's easy to assume that the issue might be specific to my own device. However, in case it isn't, just wanted to post on here for others to chime in.

After running pacman -Syyu, new linux firmware updates were installed for my raspi2. Performing a reboot left the device unable to boot! The kernel was updated to 4.9.5, IIRC.

Upstream kernel changelog:
https://cdn.kernel.org/pub/linux/kernel ... eLog-4.9.5
Last edited by ILMostro on Sat Oct 21, 2017 10:48 am, edited 3 times in total.
ILMostro
 
Posts: 26
Joined: Tue Apr 22, 2014 8:07 am

Re: Raspberry Pi 2 firmware upgrade brick kernel 4.9.5

Postby graysky » Sat Oct 21, 2017 10:22 am

I can confirm the recent update renders a Raspberry Pi3 running armv7h unbootable. It just sits on the rainbow screen.


Code: Select all
% grep 2017-10-21 /mnt/var/log/pacman.log | grep upgraded
[2017-10-21 06:15] [ALPM] upgraded ffmpeg (1:3.3.4-1 -> 1:3.4-1)
[2017-10-21 06:16] [ALPM] upgraded linux-raspberrypi (4.9.56-1 -> 4.9.57-1)
[2017-10-21 06:16] [ALPM] upgraded raspberrypi-bootloader (20171015-1 -> 20171020-1)
[2017-10-21 06:16] [ALPM] upgraded raspberrypi-bootloader-x (20171015-1 -> 20171020-1)
graysky
 
Posts: 356
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

Postby ILMostro » Sat Oct 21, 2017 10:35 am

Oh, wow.

I'm trying to figure out what the changes were. So far, I can see only the bootloader changes dating back to 2017-10-20. The kernel/firmware changes date back to 2017-10-15, according to http://co.us.mirror.archlinuxarm.org/ar ... m/?C=M;O=D


Code: Select all
Index of /armv7h/alarm
[ICO]   Name   Last modified   Size   Description
[DIR]   Parent Directory       -    
[ ]   alarm.files.tar.gz   20-Oct-2017 20:04    215K   
[ ]   alarm.files   20-Oct-2017 20:04    215K   
[ ]   alarm.db.tar.gz   20-Oct-2017 20:04    113K   
[ ]   alarm.db   20-Oct-2017 20:04    113K   
[ ]   alarm.files.tar.gz.old   20-Oct-2017 20:04    215K   
[ ]   alarm.db.tar.gz.old   20-Oct-2017 20:04    112K   
[ ]   raspberrypi-bootloader-x-20171020-1-any.pkg.tar.xz.sig   20-Oct-2017 20:04    566    
[ ]   raspberrypi-bootloader-x-20171020-1-any.pkg.tar.xz   20-Oct-2017 20:04    1.7M   
[ ]   raspberrypi-bootloader-20171020-1-any.pkg.tar.xz.sig   20-Oct-2017 20:04    566    
[ ]   raspberrypi-bootloader-20171020-1-any.pkg.tar.xz   20-Oct-2017 20:04    2.7M   
[ ]   raspberrypi-firmware-20171015-1-any.pkg.tar.xz.sig   15-Oct-2017 12:09    566    
[ ]   raspberrypi-firmware-20171015-1-any.pkg.tar.xz   15-Oct-2017 12:09    1.4M   
Last edited by ILMostro on Sat Oct 21, 2017 10:49 am, edited 1 time in total.
ILMostro
 
Posts: 26
Joined: Tue Apr 22, 2014 8:07 am

Re: Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

Postby ILMostro » Sat Oct 21, 2017 10:37 am

Thanks for the additional info @graysky . I've updated the Title of the post to reflect the correct Kernel version.
ILMostro
 
Posts: 26
Joined: Tue Apr 22, 2014 8:07 am

Re: Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

Postby graysky » Sat Oct 21, 2017 10:58 am

How to recover without much fuss: viewtopic.php?f=15&t=12159&p=57001#p57001
graysky
 
Posts: 356
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

Postby haraldwithtwoehs » Sat Oct 21, 2017 3:12 pm

has anyone experimented yet to see which package has the problem - the bootloader or the linux kernel?
haraldwithtwoehs
 
Posts: 6
Joined: Sat Oct 21, 2017 2:49 pm

Re: Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

Postby graysky » Sat Oct 21, 2017 3:14 pm

haraldwithtwoehs wrote:has anyone experimented yet to see which package has the problem - the bootloader or the linux kernel?


No time. You can give it a go. Try just updating the kernel (I suspect it's the bootloader packages).
graysky
 
Posts: 356
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

Postby haraldwithtwoehs » Sat Oct 21, 2017 3:37 pm

I pinned the bootloader packages (raspberrypi-bootloader and raspberrypi-bootloader-x), upgraded to kernel version 4.9.57-1, and the reboot bricked my RPi again.

Then I pinned the kernel (linux-raspberrypi) and upgraded the boot loader to 20171020-1, and the reboot was successful.

This surprised me - but at least now we know...

Working versions (for me):

Code: Select all
local/linux-raspberrypi 4.9.56-1
local/raspberrypi-bootloader 20171020-1
local/raspberrypi-bootloader-x 20171020-1
haraldwithtwoehs
 
Posts: 6
Joined: Sat Oct 21, 2017 2:49 pm

Re: Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

Postby Evils » Sat Oct 21, 2017 4:43 pm

Thanks for posting the info here, I've updated today and got burned immediately. Not that the same thing happened about 3 weeks back when a /dev entrypoint was missing after an update that rendered kodi unusable.

I'm thinking about no longer upgrading the linux-raspberrypi package due to these recent events. I'm happy to have had the cache still available, but I can't rely on that and rollbacks don't seem to happen when a major device is bricked by a faulty update.
Can anybody tell me what impacts I would have to fear when doing so?
Evils
 
Posts: 20
Joined: Fri May 01, 2015 2:36 am

Re: Raspberry Pi 2 firmware upgrade brick kernel 4.9.57-1

Postby graysky » Sat Oct 21, 2017 5:45 pm

haraldwithtwoehs wrote:Working versions (for me):

Code: Select all
local/linux-raspberrypi 4.9.56-1
local/raspberrypi-bootloader 20171020-1
local/raspberrypi-bootloader-x 20171020-1


It looks like kmihelich pushed 9ae7d4a an hour ago. Rebooted fine for me:

Code: Select all
% grep 2017-10-21 /var/log/pacman.log | grep upgraded
[2017-10-21 13:45] [ALPM] upgraded linux-raspberrypi (4.9.56-1 -> 4.9.57-2)
[2017-10-21 13:45] [ALPM] upgraded raspberrypi-bootloader (20171015-1 -> 20171020-1)
[2017-10-21 13:45] [ALPM] upgraded raspberrypi-bootloader-x (20171015-1 -> 20171020-1)
graysky
 
Posts: 356
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Next

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 1 guest