supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Shutdown kernel panic
@ 2004-02-03  5:27 Anthony Gorecki
  2004-02-09 17:54 ` Gerrit Pape
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Gorecki @ 2004-02-03  5:27 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Using RunIt on kernel 2.6.1, I receive the following output at the end of 
executing init 0:

- - runit: leave stage: /etc/runit/3
- - runit: sending KILL signal to all processes...
- - runit: power off...
Power down.
Kernel panic: Attempted to kill init!

In addition, with a "ps -A" command after all processes are supposedly already 
terminated, all of the services seem to be still running, preventing me from 
unmounting the root partition before shutting down. Any ideas?


- -- 
Best Regards,

Anthony Gorecki
"Freedom through knowledge."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.4 (GNU/Linux)

iD8DBQFAHzE11YBSMGhoIMkRAjl9AJ4zPbLUBwR6H3eFr7Twh8JxKqkLBQCcCTcz
WoVxAyksg/YadsvIz8ArEss=
=qpXs
-----END PGP SIGNATURE-----


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

* Re: Shutdown kernel panic
  2004-02-03  5:27 Shutdown kernel panic Anthony Gorecki
@ 2004-02-09 17:54 ` Gerrit Pape
  0 siblings, 0 replies; 2+ messages in thread
From: Gerrit Pape @ 2004-02-09 17:54 UTC (permalink / raw)


On Mon, Feb 02, 2004 at 09:27:17PM -0800, Anthony Gorecki wrote:
> Using RunIt on kernel 2.6.1, I receive the following output at the end of 
> executing init 0:
> 
> - - runit: leave stage: /etc/runit/3
> - - runit: sending KILL signal to all processes...
> - - runit: power off...
> Power down.
> Kernel panic: Attempted to kill init!

I've seen this too with older Linux kernels.  I guess it depends on the
kernel configuration.  It shouldn't hurt much, at this time everything
is ready for power off.

> In addition, with a "ps -A" command after all processes are supposedly
> already terminated, all of the services seem to be still running,
> preventing me from unmounting the root partition before shutting down.
> Any ideas?

How did you run ps -A?  If you still have a login, there still are
services running.  Stage 3 normally waits for services to terminate (for
getty services until you log out), or kills them after a timeout if
they're still there.

If your filesystems are not unmounted cleanly, there most probably is
something wrong with your stage 3 script.

Regards, Gerrit. 


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

end of thread, other threads:[~2004-02-09 17:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-03  5:27 Shutdown kernel panic Anthony Gorecki
2004-02-09 17:54 ` Gerrit Pape

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).