| To: | linux-kernel@vger.kernel.org, "linux-mips" <linux-mips@linux-mips.org> |
|---|---|
| Subject: | Kernel panic - not syncing: Attempted to kill init! |
| From: | myuboot@fastmail.fm |
| Date: | Tue, 10 Nov 2009 18:22:55 -0600 |
| Dkim-signature: | v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:mime-version:content-transfer-encoding:content-type:references:subject:in-reply-to:date; s=smtpout; bh=s2Pzj4N7L9FfVflOdXuBhrcpkKg=; b=E1Se3SRovlsnwMaXgTczYYTF5MeeI6HAr2fYv0Om1D9qPx8ORC5aZDPILMCJsAY/d821wH63Doj5OCr/frNCq9OobPaNZ+CdCQo2342B7twavUm007zbN61oLwCtnlB9erPxYEecy0/OUtEbrb5v4OwfqLT84SudMtJFifbK8s0= |
| In-reply-to: | <4AD906D8.3020404@caviumnetworks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1255735395.30097.1340523469@webmail.messagingengine.com> <4AD906D8.3020404@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
Hi,
I got the following error trying to bring up the /sbin/init with Kernel
2.6.31 using cramfs filesystem on a MIPS 32 board:
[ 1.160000] VFS: Mounted root (cramfs filesystem) readonly on device
31:2.
[ 1.171000] Freeing unused kernel memory: 116k freed
[ 1.223000] Kernel panic - not syncing: Attempted to kill init!
[ 1.229000] Rebooting in 3 seconds..
Using BDI I know the kernel panic happens as soon as
run_init_process("/sbin/init") in init_post() is called. The filesystem
itself seems to be ok, because I can use 'ls' command under u-boot to
see /sbin/init is a symbolic link to busybox. Also the kernel seems to
like the filesystem and can mount the filesystem. I have for checked
for similar questions for this error, so I tried replacing /sbin/init
with a hello world program, but the result is exactly the same. It seems
neither hello-world or /sbin/init got executed.
At this point, I don't know how to debug this issue. Any suggestion on
how to debug this issue will be greatly appreciated.
Andrew
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Could not use printf after init process, wilbur.chan |
|---|---|
| Next by Date: | Re: [PATCH v7 04/17] tracing: add static function tracer support for MIPS, Wu Zhangjin |
| Previous by Thread: | Re: [PATCH] Make MIPS dynamic clocksource/clockevent clock code generic v2, Thomas Gleixner |
| Next by Thread: | Re: Kernel panic - not syncing: Attempted to kill init!, myuboot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |