RE: APM & Linux 2.2.1

Terry Katz (katz@advanced.org)
Sat, 20 Feb 1999 10:35:27 -0500


I run debian, and whenever I shutdown, the system does not turn off. The
last message on the screen is "Power off", and then the system just sits
there (as with a normal halt). I have a Tyan tiger100 m/b, SMP, and I know
it supports power-off ;) ( and I have the power-off option enabled in the
kernel ... )

Any ideas? I know that some apm stuff isn't good to use with SMP .. could
that be the reason ?

Terry

> To fix this, you need to edit your shutdown script (/etc/init.d/halt
> on Debian, /etc/rc.d/init.d/halt (?) on RedHat, similar on others)
> and make sure that the "halt" in there has the "-p" switch.
>
> Calling "halt" with -p from any run level except 0 (and 6?) will
> just run shutdown (and the -p switch is not propogated).
>
> By the way Debian (what I use) already has the -p switch in its
> halt script - so I have not problem.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/