2003-05-26 23:30:34

by Stephen Torri

[permalink] [raw]
Subject: Finding reason for "Attempted to kill init"

I can see from kernel/exit.c where the message "Attempted to kill init"
comes from in the kernel. That is good. What would be helpful is to
deteremine where in the code the function do_exit() is called. Is there
a way to do that? I am trying to hunt down a boot failure for a kernel
on a Gentoo LiveCD. I am in communication with the developers of the
Gentoo Alpha list about this problem?

Stephen
--
Stephen Torri <[email protected]>


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-05-27 14:23:08

by Stephen Torri

[permalink] [raw]
Subject: Re: Finding reason for "Attempted to kill init"

On Tue, 2003-05-27 at 07:25, Denis Vlasenko wrote:
> On 27 May 2003 02:56, Stephen Torri wrote:
> > I can see from kernel/exit.c where the message "Attempted to kill
> > init" comes from in the kernel. That is good. What would be helpful
> > is to deteremine where in the code the function do_exit() is called.
> > Is there a way to do that? I am trying to hunt down a boot failure
> > for a kernel on a Gentoo LiveCD. I am in communication with the
> > developers of the Gentoo Alpha list about this problem?
>
> Your /sbin/init exits
> --
> vda

So because this binary file exists the kernel will not boot?

Stephen
--
Stephen Torri <[email protected]>


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-05-27 14:31:14

by Carl-Daniel Hailfinger

[permalink] [raw]
Subject: Re: Finding reason for "Attempted to kill init"

Stephen Torri wrote:
> On Tue, 2003-05-27 at 07:25, Denis Vlasenko wrote:
>
>>On 27 May 2003 02:56, Stephen Torri wrote:
>>
>>>I can see from kernel/exit.c where the message "Attempted to kill
>>>init" comes from in the kernel. That is good. What would be helpful
>>>is to deteremine where in the code the function do_exit() is called.
>>>Is there a way to do that? I am trying to hunt down a boot failure
>>>for a kernel on a Gentoo LiveCD. I am in communication with the
>>>developers of the Gentoo Alpha list about this problem?
>>
>>Your /sbin/init exits
>
> So because this binary file exists the kernel will not boot?

exist != exit

If init terminates, your system is borked anyway.


Regards,
Carl-Daniel