[SOLVED] RasPi not booting after firmware update

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

[SOLVED] RasPi not booting after firmware update

Postby Bobyl » Tue Oct 23, 2012 8:05 am

Hi,

Since firmware update 20121017, I was unable to boot my RasPi. Plugging it gave an immediate kernel panic:

$this->bbcode_second_pass_code('', '
Kernel Panic: VFS : Unable to mount root fs on unknown-block (0,0)
')

After a lot of testing (changing the PSU, trying another SD card, testing my SD on another Pi, unplugging evrything - except HDMI and PSU of course), I finally have found the culprit:
I had to remove this option:

$this->bbcode_second_pass_code('', '
sdhci-bcm2708.sync_after_dma=0
')

from cmdline.txt

My Pi seems to be happily running without this option since this morning but I have 3 questions:
1. What is the use of this option?
2. Would another value of sdhci-bcm2708.sync_after_dma allow to boot the Pi without a kernel panic?
2. Now that it has been removed, should I expect to run into issues?
Bobyl
 
Posts: 2
Joined: Sat Oct 20, 2012 10:28 am

Re: [SOLVED] RasPi not booting after firmware update

Postby pepedog » Tue Oct 23, 2012 8:20 am

The kernel source is constantly changing, I have to look in several places there, and the rpi forum to decide what to do.
I have asked for "recommend" cmdline and config txt files to be posted, would make life easier
Without even looking I can tell you it's safe to leave it out.
Thanks for the info
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [SOLVED] RasPi not booting after firmware update

Postby ezyclie » Tue Oct 23, 2012 12:03 pm

I got same issue but this time with sdhci-bcm2708.cycle_delay=1000
ezyclie
 
Posts: 23
Joined: Tue Jul 24, 2012 2:29 pm

Re: [SOLVED] RasPi not booting after firmware update

Postby vfbsilva » Tue Oct 23, 2012 5:01 pm

$this->bbcode_second_pass_quote('Bobyl', 'H')i,

Since firmware update 20121017, I was unable to boot my RasPi. Plugging it gave an immediate kernel panic:

$this->bbcode_second_pass_code('', '
Kernel Panic: VFS : Unable to mount root fs on unknown-block (0,0)
')

After a lot of testing (changing the PSU, trying another SD card, testing my SD on another Pi, unplugging evrything - except HDMI and PSU of course), I finally have found the culprit:
I had to remove this option:

$this->bbcode_second_pass_code('', '
sdhci-bcm2708.sync_after_dma=0
')

from cmdline.txt

My Pi seems to be happily running without this option since this morning but I have 3 questions:
1. What is the use of this option?
2. Would another value of sdhci-bcm2708.sync_after_dma allow to boot the Pi without a kernel panic?
2. Now that it has been removed, should I expect to run into issues?


Some info about this paramether behavior in some sd cards can be found here:
http://forum.stmlabs.com/showthread.php ... &pid=26903

I got the same questions as you. For now I have added kernel and firmware to ignored packages in pacman.conf
vfbsilva
 
Posts: 3
Joined: Sat Oct 20, 2012 1:29 am

Re: [SOLVED] RasPi not booting after firmware update

Postby Mauron » Wed Oct 24, 2012 7:08 pm

I haven't that option, still my Pi doesn't even boot.
Mauron
 
Posts: 33
Joined: Thu Aug 09, 2012 9:26 am

Re: [SOLVED] RasPi not booting after firmware update

Postby Magikarp » Thu Oct 25, 2012 4:18 pm

Happened to me, too. After removing sdhci-bcm2708.cycle_delay=1000 it doesn't panic.
Magikarp
 
Posts: 22
Joined: Thu Oct 25, 2012 1:18 pm

Re: [SOLVED] RasPi not booting after firmware update

Postby Mauron » Thu Oct 25, 2012 11:06 pm

I've got this in my command line file:
$this->bbcode_second_pass_code('', 'dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 dwc_otg.lpm_enable=0 dwc_otg.dma_enable=1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 loglevel=3 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait')
My Pi doesn't boot, red light stands still as if no card were inserted, however the SD card surely does work.

Edit: somehow I managed to make it boot again by manually updating the firmware from here.
Mauron
 
Posts: 33
Joined: Thu Aug 09, 2012 9:26 am

Re: [SOLVED] RasPi not booting after firmware update

Postby pepedog » Fri Oct 26, 2012 12:43 am

That got you out of trouble, mauron, but if there was something seriously wrong with the firmware it would be inundated with posts here, plus you stepped out of arch.
When you updated via pacman, did you sync before reboot? Only asking so it helps in general.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [SOLVED] RasPi not booting after firmware update

Postby Mauron » Fri Oct 26, 2012 8:52 am

$this->bbcode_second_pass_quote('pepedog', 'T')hat got you out of trouble, mauron, but if there was something seriously wrong with the firmware it would be inundated with posts here, plus you stepped out of arch.

I know, sorry for going out of topic.
$this->bbcode_second_pass_quote('pepedog', 'W')hen you updated via pacman, did you sync before reboot? Only asking so it helps in general.

To tell the truth, I wasn't able to sync nor reboot: it freezed while updating firmware so I had to manually load new files in /boot partition.
Mauron
 
Posts: 33
Joined: Thu Aug 09, 2012 9:26 am
Top

Re: [SOLVED] RasPi not booting after firmware update

Postby pepedog » Fri Oct 26, 2012 10:53 am

No, you didn't go out of topic, nothing to be sorry about.
Looks like your actual problem is nothing to do with the packaged firmware or kernel though. There could be a million reasons why you got a freeze at that point.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 4 guests