[Buildroot] Kernel panic - unable to mount root fs on unknown-block(0, 0) - i486

Pongrácz István pongracz.istvan at gmail.com
Fri Apr 24 23:08:45 UTC 2015


 
 
----------------eredeti üzenet-----------------
Feladó: "Yann E. MORIN" yann.morin.1998 at free.fr 
Címzett: "Pongrácz István" 
CC: "buildroot busybox.net" buildroot at busybox.net 
Dátum: Fri, 24 Apr 2015 23:49:51 +0200
-------------------------------------------------
 
 
> Pongrácz, All,
> 
> [Please, wrap lines at aronf ~72 chars, it's easier to read]
> 
> On 2015-04-24 22:34 +0200, Pongrácz István spake thusly:
>> I have a problem with booting kernel built by buildroot on i486. The
>> kernel (3.18.x) panicked: Kernel panic - not syncing: VFS:
>> Unable to mount root fs on unknown-block(0,0)
> [--SNIP--]
>> I tried to boot from usb. There is no initramfs (initrd).
> 
> For the record so it gets archived on the list, after our discussion
> on IRC:
> 
> - add 'rootwait' to the kernel command line, as USB can be pretty slow
> to enumerate the devices on the bus
> 
> Kernel seems to wait forever, so:
> 
> - check that all is built-in: USB driver, USB mass-storage, SCSI
> support, SCSI disk support (maybe a few things else...)
> 
> Regards,
> Yann E. MORIN.
> 
> -- 

Follow up.
I just created a new kernel from an "older" and proven working kernel.
3.16.7 - with initramfs. this kernel built outside of buildroot several months ago.
-> .config copied to the 3.18.6 for buildroot, make oldconfig
3.18.6 - new kernel based on 3.16.7, without initrd

kernel parameters are identical in both cases.

The system built, the result is the following:
- with kernel 3.18.6 - kernel panic (same as the original problem)
- with 3.16.7 - the system boots up as expected. lsmod shows nothing (no module loaded...)

So, I am working on fixing this issue.

It should be something trivial, what I simply missed.
I guess an initrd would be handy.

Bye,
István




More information about the buildroot mailing list