From: Jun Sun <jsun@mvista.com>
To: kjlin <kj.lin@viditec-netmedia.com.tw>
Cc: linux-mips@oss.sgi.com
Subject: Re: Kernel panic: Attempted to kill init!
Date: Fri, 06 Jul 2001 11:20:38 -0700 [thread overview]
Message-ID: <3B460176.37CD992D@mvista.com> (raw)
In-Reply-To: 013801c104f4$a807cf60$056aaac0@kjlin
> kjlin wrote:
>
> Hi,
>
> When the kernel boots up and mounts the root file system,
> the kernel start to do "execve("/sbin/AP",argv_init,envp_init)" to run a AP.
> But in my case, it panics when kernel tries to do the
> "execve("/sbin/AP",argv_init,envp_init)".
> The kernel panic message shows " Kernel panic: Attempted to kill init! ".
> What situation will trigger such kernel panic?
>
> Thanks,
> KJ
A common reason is that /sbin/AP has a seg fault or some other faults. I
would debug AP program in a stable environment and then make sure I can see
the first "printf" from AP. From there, you can debug AP with printf.
Jun
next prev parent reply other threads:[~2001-07-06 18:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-05 1:48 Kernel panic: Attempted to kill init! kjlin
2001-07-05 1:48 ` kjlin
2001-07-05 9:08 ` Kevin D. Kissell
2001-07-05 9:08 ` Kevin D. Kissell
2001-07-06 18:20 ` Jun Sun [this message]
[not found] <E0FDC90A9031D511915D00C04F0CCD25393942@leonoid.in.ishoni.com>
2001-07-05 14:20 ` Deepak Shenoy
2001-07-05 14:20 ` Deepak Shenoy
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=3B460176.37CD992D@mvista.com \
--to=jsun@mvista.com \
--cc=kj.lin@viditec-netmedia.com.tw \
--cc=linux-mips@oss.sgi.com \
/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