Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Kernel panic: Attempted to kill init!
@ 2001-07-05  1:48 kjlin
  2001-07-05  1:48 ` kjlin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: kjlin @ 2001-07-05  1:48 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 933 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Kernel panic: Attempted to kill init!
  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-06 18:20 ` Jun Sun
  2 siblings, 0 replies; 7+ messages in thread
From: kjlin @ 2001-07-05  1:48 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 933 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Kernel panic: Attempted to kill init!
  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
  2 siblings, 1 reply; 7+ messages in thread
From: Kevin D. Kissell @ 2001-07-05  9:08 UTC (permalink / raw)
  To: kjlin, linux-mips

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

  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?
Well, bogus values for argv_init and envp_init would be the first thing I would check...

            Kevin K.

[-- Attachment #2: Type: text/html, Size: 1295 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Kernel panic: Attempted to kill init!
  2001-07-05  9:08 ` Kevin D. Kissell
@ 2001-07-05  9:08   ` Kevin D. Kissell
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin D. Kissell @ 2001-07-05  9:08 UTC (permalink / raw)
  To: kjlin, linux-mips

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

  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?
Well, bogus values for argv_init and envp_init would be the first thing I would check...

            Kevin K.

[-- Attachment #2: Type: text/html, Size: 1295 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Kernel panic: Attempted to kill init!
       [not found] <E0FDC90A9031D511915D00C04F0CCD25393942@leonoid.in.ishoni.com>
@ 2001-07-05 14:20 ` Deepak Shenoy
  2001-07-05 14:20   ` Deepak Shenoy
  0 siblings, 1 reply; 7+ messages in thread
From: Deepak Shenoy @ 2001-07-05 14:20 UTC (permalink / raw)
  To: 'kjlin', linux-mips

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

"init" is started with pid 1. If this process is killed you get this
message.
it could be possible that your init kernel thread is returning, exiting etc.

deepak

-----Original Message-----
From: owner-linux-mips@oss.sgi.com [mailto:owner-linux-mips@oss.sgi.com]On
Behalf Of kjlin
Sent: Thursday, July 05, 2001 7:19 AM
To: linux-mips@oss.sgi.com
Subject: Kernel panic: Attempted to kill init!


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


[-- Attachment #2: Type: text/html, Size: 2082 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Kernel panic: Attempted to kill init!
  2001-07-05 14:20 ` Deepak Shenoy
@ 2001-07-05 14:20   ` Deepak Shenoy
  0 siblings, 0 replies; 7+ messages in thread
From: Deepak Shenoy @ 2001-07-05 14:20 UTC (permalink / raw)
  To: 'kjlin', linux-mips

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

"init" is started with pid 1. If this process is killed you get this
message.
it could be possible that your init kernel thread is returning, exiting etc.

deepak

-----Original Message-----
From: owner-linux-mips@oss.sgi.com [mailto:owner-linux-mips@oss.sgi.com]On
Behalf Of kjlin
Sent: Thursday, July 05, 2001 7:19 AM
To: linux-mips@oss.sgi.com
Subject: Kernel panic: Attempted to kill init!


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


[-- Attachment #2: Type: text/html, Size: 2082 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Kernel panic: Attempted to kill init!
  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-06 18:20 ` Jun Sun
  2 siblings, 0 replies; 7+ messages in thread
From: Jun Sun @ 2001-07-06 18:20 UTC (permalink / raw)
  To: kjlin; +Cc: linux-mips

> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-07-06 18:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [not found] <E0FDC90A9031D511915D00C04F0CCD25393942@leonoid.in.ishoni.com>
2001-07-05 14:20 ` Deepak Shenoy
2001-07-05 14:20   ` Deepak Shenoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox