Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bifferos <bifferos@yahoo.co.uk>
To: buildroot@busybox.net
Subject: [Buildroot] Debugging /sbin/init startup issues
Date: Sat, 17 Mar 2012 14:10:04 +0000	[thread overview]
Message-ID: <4F649B3C.4060005@yahoo.co.uk> (raw)
In-Reply-To: <CALo-6+j2qx4k6X1t8FLeyd=fXTkmx1GEPqV=c7_U6LSPiXv1OA@mail.gmail.com>

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.

  reply	other threads:[~2012-03-17 14:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01  0:52 [Buildroot] Kernel and buildroot in 1MB bifferos
2012-03-01  7:50 ` Thomas Petazzoni
2012-03-01 11:13   ` bifferos
2012-03-03 15:29     ` Arnout Vandecappelle
2012-03-03 15:35       ` [Buildroot] [PATCH] bifferboard: new board Arnout Vandecappelle
2012-03-05  9:49         ` Thomas Petazzoni
2012-03-06  7:00           ` Arnout Vandecappelle
2012-03-11 10:58           ` [Buildroot] [PATCH v2] " Arnout Vandecappelle
2012-03-12 14:46             ` bifferos
2012-03-12  1:23         ` [Buildroot] [PATCH] " bifferos
2012-03-16  1:58           ` [Buildroot] Debugging /sbin/init startup issues bifferos
2012-03-17  4:03             ` Charles Krinke
2012-03-17 14:10               ` bifferos [this message]
2012-03-18 13:50           ` [Buildroot] [PATCH] bifferboard: new board Arnout Vandecappelle
2012-03-18 16:12             ` bifferos
2012-03-18 17:13               ` Arnout Vandecappelle
2012-03-18 19:51                 ` Alexandre Pereira da Silva
2012-03-18 20:54                 ` bifferos
2012-03-18 21:40                   ` Arnout Vandecappelle
2012-03-19 12:36                     ` bifferos
     [not found]       ` <4F525794.5010406@yahoo.co.uk>
2012-03-03 17:00         ` [Buildroot] Kernel and buildroot in 1MB Arnout Vandecappelle
2012-03-01 12:18 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F649B3C.4060005@yahoo.co.uk \
    --to=bifferos@yahoo.co.uk \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox