Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gaye Abdoulaye Walsimou <walsimou@walsimou.com>
To: buildroot@busybox.net
Subject: [Buildroot] Kernel panic - not syncing: Attempted to kill init!: at	boot time
Date: Thu, 22 Jan 2009 18:20:31 +0100	[thread overview]
Message-ID: <4978AADF.4000808@walsimou.com> (raw)
In-Reply-To: <4977AA08.3030006@walsimou.com>

Gaye Abdoulaye Walsimou wrote:
> Hello list,
> I have worked with a mips (little endian) board for a while without 
> troubles.
> Toolchain and tools components: uclibc-0.9.30, binutils-2.19, 
> gcc-4.3.2,busybox-1.13.x from latest SVN buildroot (see 
> buildroot.config, uclibc and busybox have default config from buildroot)
> Linux-2.6 latest linux-mips git repository.
> nfsroot for a the root filesystem
> All have worked well there are about 2 weeks.
> Two days ago I planed to upgrade linux and buildroot, and now I have a 
> kernel panic (Kernel panic - not syncing: Attempted to kill init!).
> Linux seems to work well (see boot log attached), so I changed 
> /sbin/init with this simple code:
>
> #include <stdio.h>
> int main (int argc, char** argv)
> {
>    printf("Hello world\n");
>    while(1);
>    return 0;
> }
>
> If this code is compiled with mipsel-linux-gcc -o init -Wall -W 
> init-test.c, I have the same result: kernel panic.
> And with mipsel-linux-gcc -o init -Wall -W -static init-test.c, I have 
> my "Hello world".
> I can't figure out what this behavior shows.
>
> Can somebody can tell me where to start to investigate in order to 
> know what's going on?
> Thanks for any comments.
> Regards

Hello list,

Nobody seems to be inspired by the issue I reported, anyway, another 
similar[?] issue leads me to change the toolchain and all works fine now.
toolchain: kernel header 2.6.27.10, gcc-4.2.4, binutils-2.19, uclibc-0.9.30
rootfs with busybox-1.13.2
linux-mips-2.6 git repository (checkout and pull today)

Regards

[1]: http://lists.busybox.net/pipermail/buildroot/2009-January/025051.html

  reply	other threads:[~2009-01-22 17:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21 23:04 [Buildroot] Kernel panic - not syncing: Attempted to kill init!: at boot time Gaye Abdoulaye Walsimou
2009-01-22 17:20 ` Gaye Abdoulaye Walsimou [this message]
2009-01-22 17:23   ` Austin, Brian
2009-01-22 19:10     ` Gaye Abdoulaye Walsimou

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=4978AADF.4000808@walsimou.com \
    --to=walsimou@walsimou.com \
    --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