linux-mips
[Top] [All Lists]

Re: Kernel panic: Attempted to kill init!

To: kjlin <kj.lin@viditec-netmedia.com.tw>
Subject: Re: Kernel panic: Attempted to kill init!
From: Jun Sun <jsun@mvista.com>
Date: Fri, 06 Jul 2001 11:20:38 -0700
Cc: linux-mips@oss.sgi.com
References: <013801c104f4$a807cf60$056aaac0@kjlin>
Sender: owner-linux-mips@oss.sgi.com
> 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

<Prev in Thread] Current Thread [Next in Thread>