birdman
Posts: 21
Joined: Fri Nov 04, 2011 1:11 am
Contact: Website

Raspbian update (to 3.6.11+) results in non-booting system

Wed Feb 20, 2013 11:11 pm

I've just run an update for Raspbian, and it's updated the rasberrypi-loader and moved to a 3.6.11+ kernel. But this will not boot. It just shows a rainbow coloured screen and doesn't try to start.
I've switched back to the previous files (which let it boot fine) but has anyone else seen this problem?

I've opened a Bug report (1130953) at the Raspbian site.

User avatar
jojopi
Posts: 3078
Joined: Tue Oct 11, 2011 8:38 pm

Re: Raspbian update (to 3.6.11+) results in non-booting syst

Wed Feb 20, 2013 11:56 pm

The boot packages are provided by the Raspberry Pi Foundation from a separate repository. They are not part of the Raspbian project, so it is futile to report bugs there.

The 1.20130207-1 versions of the packages also do boot fine. Those are the versions included in the Foundation's 2013-02-09 download image.

Did you do a clean shutdown ("sudo reboot" or equivalent) after the update? Perhaps you have an issue with your SD card causing corruption of the /boot filesystem. The sha1sums of the boot files are:

Code: Select all

[email protected] ~ $ cd /boot
[email protected] /boot $ sha1sum bootcode.bin start* fixup* kernel*
19b0c420f0d911c7e34453d4ffbcef5287819c85  bootcode.bin
a688876579e7529904a822e977427c3b53f619ec  start_cd.elf
3619d988a8a83b2c40c02d8c891c4ab49825416f  start.elf
4b7acad0cd84452da3354066d05ba7ec91c7b7e6  start_x.elf
9cd0c76dc329815d04275159e421aa7f6a93602e  fixup_cd.dat
ef4aba3ae3ab503682089ec0c03f5ebf5cfb2bbc  fixup.dat
67b89eb73821b4032854984a4e9f0256bcb7faf7  fixup_x.dat
526e820d7c3cd2c08222ad425324253c1f852e3e  kernel_emergency.img
7bf80cd690a6b15fdb671dbf9c1870817620ea90  kernel.img
If you kept a copy of the non-working files before reverting them, you can check whether they were correct.

birdman
Posts: 21
Joined: Fri Nov 04, 2011 1:11 am
Contact: Website

Re: Raspbian update (to 3.6.11+) results in non-booting syst

Fri Feb 22, 2013 12:11 am

jojopi wrote:The boot packages are provided by the Raspberry Pi Foundation from a separate repository. They are not part of the Raspbian project, so it is futile to report bugs there.
Well, they might like to know...
and also wrote:The 1.20130207-1 versions of the packages also do boot fine. Those are the versions included in the Foundation's 2013-02-09 download image.
So, it looks like I'll need to find them, as although the update claims to have gone to 1.20130207-1, I get:

Code: Select all

e11c182c129e22f3196a4cfedf1784cca6d78e6c  kernel.img
8c12f4ed06854365eed8ee06ce07bbf14fb2e0b2  kernel_emergency.img
rather than

Code: Select all

526e820d7c3cd2c08222ad425324253c1f852e3e  kernel_emergency.img
7bf80cd690a6b15fdb671dbf9c1870817620ea90  kernel.img
I

birdman
Posts: 21
Joined: Fri Nov 04, 2011 1:11 am
Contact: Website

Re: Raspbian update (to 3.6.11+) results in non-booting syst

Fri Feb 22, 2013 1:04 am

Thanks.
I take it that by "the Foundation's 2013-02-09 download image" you meant the full 47iMB one.
I've downloaded that, unzipped it and mounted the first partition from the image (/boot).
Using the two kernel* files from there (which match your sha1sums) gives me a working 3.6.11+ kernel!!
Now I'll have a look at what the differences were. Suspiciously it's 512 consecutive bytes in kernel.img (but it's 734,317 bytes across multiple locations in kernel_emergency.img)

Return to “Raspbian”