RasPi (original B) fails after upgrading all packages

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

RasPi (original B) fails after upgrading all packages

Postby fdmillion » Mon Apr 03, 2017 2:41 am

So I ran "pacman -Syu" on my Raspberry Pi, original B model. This install is quite old, it's been upgraded this way many times over the past few years. I had updated individual packages at times, but had not upgraded the kernel in a while. I came up from a 4.4.x release to the current release. Following the upgrades, I rebooted the Pi and it was unable to boot.

Initially, the Pi would not boot at all. When power is applied, the ACT light flashes just once and then nothing else happens. The screen stays dark.

I tried to manually rebuilt my /boot partition from the raspberrypi-firmware package in ALARM's repos but this resulted in no change at all. Also manually recopied the kernel and initrd from the arch package just to rule out corruption. No change.

I then grabbed a copy of Raspbian and extracted its /boot partition and copied everything other than "kernel.img", "cmdline.txt" and "config.txt" into my Pi's /boot partition, overwriting any existing files. After doing this, the Pi does boot and the display comes on, but the boot process stops midway through with no obvious error messages explaining the cause. The USB stack seems to have issues, because if I leave the system running, repeated messages like the last one in the below screenshot appear (the messages about device descriptor read errors). I cannot use any input devices and the Ethernet lights never come on.

Link to a screenshot of what I'm able to see: https://www.dropbox.com/s/nfu6cfmo8bm6xpa/2017-04-02%2018.22.03.jpg?dl=0

I'm wondering if somehow the repos for the ARMv6 processor somehow got "contaminated" with code from a later version of the Pi?

I do not have a copy of the older kernel package (to free up some space I had cleared the pacman cache) so I cannot roll back to my previous kernel (I can't find an archive of ALARM packages).

I know this is not a hardware problem as I tried the SD card in two other Pi's, another B and also a B+ first generation and had exactly the same result.

I'm hoping to be able to repair this installation, without having to redo the entire setup from scratch and reconfigure everything from the past few years.

Anyone have any advice?
fdmillion
 
Posts: 2
Joined: Mon Apr 03, 2017 2:32 am

Re: RasPi (original B) fails after upgrading all packages

Postby wobble » Mon Apr 03, 2017 9:14 am

I'm not sure if this issue applies to the rpi's boot process as well, but it might be worth checking if the disc identifier of your root partition is set to zero and change it to something else if it is.
wobble
 
Posts: 30
Joined: Fri Dec 04, 2015 2:15 pm

Re: RasPi (original B) fails after upgrading all packages

Postby gnuheidix » Mon Apr 03, 2017 7:30 pm

I can confirm this issue with the exact same RPi model.

I was able to restore normal operation after I've rolled back the bootcode.bin in /boot. I've reported the breakage directly at the commit [1] and I hope that somebody notices it.

I'm now using the bootcode file [2].

[1] https://github.com/raspberrypi/firmware ... a9f65edf20
[2] https://github.com/raspberrypi/firmware ... otcode.bin
gnuheidix
 
Posts: 1
Joined: Mon Apr 03, 2017 7:14 pm

Re: RasPi (original B) fails after upgrading all packages

Postby dex77 » Mon Apr 03, 2017 7:45 pm

I can also confirm the issue with the same RPi. Will try with your bootcode file.
dex77
 
Posts: 2
Joined: Mon Apr 03, 2017 7:43 pm

Re: RasPi (original B) fails after upgrading all packages

Postby dex77 » Mon Apr 03, 2017 8:16 pm

And I can also confirm that replacing the bootcode.bin with the one from upstream will restore boot. :)
dex77
 
Posts: 2
Joined: Mon Apr 03, 2017 7:43 pm

Re: RasPi (original B) fails after upgrading all packages

Postby fdmillion » Mon Apr 03, 2017 8:27 pm

I got the Pi to boot by grabbing the last kernel 4.4.x package from this repo: http://tardis.tiny-vps.com/aarm

I replaced the kernel.img file with the one from the package and copied the /usr/lib/modules folder onto the SD card manually. After doing this AND replacing the bootcode.bin, I am up and running.

I will try updating the kernel again, and then manually replacing the bootcode.bin file prior to rebooting.

Thanks all!
fdmillion
 
Posts: 2
Joined: Mon Apr 03, 2017 2:32 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest