[Buildroot] Debugging /sbin/init startup issues
bifferos
bifferos at yahoo.co.uk
Sat Mar 17 14:10:04 UTC 2012
On 03/17/2012 04:03 AM, Charles Krinke wrote:
>
> Step 1: boot with a kernel command line that ends with the word
> 'single' for single user-mode.
>
Doesn't help, same error.
>
> Step 2: Back up to a functional kernel image rootfs combination and
> review the changes.
>
My 'working' version isn't from buildroot so I can't do that.
>
> Step 3: ensure the string 'debug' is on the kernel command line.
>
No change.
>
> Step 4: review the geometry layout of the flash passed to the kernel.
>
It's an initrd appended to the kernel, so flash not involved.
>
> Basically, what this message is telling you is that the kernel does
> not understand the root file system. The are incompatible, probably
> something like cramfs when it should be jffs2, wrong mtd partition
> definition or the like.
>
The kernel does understand some kind of file system, enough to follow
the symlink from init to busybox, and come up with the name 'busybox'.
Something then executes enough of busbox to get a segfault and report
it. The question is, what could be screwing up the fs or the busybox
binary so badly?
Biff.
More information about the buildroot
mailing list