Skip to contentSkip to conversation

Finding reason for "Attempted to kill init"

DISCUSSION Stephen Torri 2 participants 3 messages May 26, 2003 – May 27, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Stephen Torri <[email protected]>
#2 lore raw
In reply to a message not in the archive
Quoted 11 lines · Denis Vlasenko
Quoted 6 lines · Stephen Torri

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

Signature · 1 line
Stephen Torri <[email protected]>
#3 lore raw
Quoted 11 lines · Stephen Torri
Quoted 9 lines · Denis Vlasenko
Quoted 6 lines · Stephen Torri

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?

Quoted 3 lines
Quoted 1 line

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