Koozali.org: home of the SME Server

Kernel Compile

Gord

Kernel Compile
« on: August 15, 2002, 12:17:53 AM »
I recently recompiled my kernel on my e-smith box in order to patch in additional features into the kernel.  Everything is perfect except for one slight issue...

When I execute a "shutdown -h now" command, the system goes through it's normal shutdown process, but it will not power off the ATX system.

I did enable SMP in the kernel configuration in order to compile the image but this one little snag is really a pain in the butt.

The kernel is 2.2.16-22.

Damien Curtain

Re: Kernel Compile
« Reply #1 on: August 15, 2002, 03:17:09 AM »
Gord wrote:
>
> I recently recompiled my kernel on my e-smith box in order to
> patch in additional features into the kernel.  Everything is
> perfect except for one slight issue...
>
> When I execute a "shutdown -h now" command, the system goes
> through it's normal shutdown process, but it will not power
> off the ATX system.
>
> I did enable SMP in the kernel configuration in order to
> compile the image but this one little snag is really a pain
> in the butt.

SMP support disables most automatic apm features, which this is one of.

You need to pass apm=power-off to the lilo command line (see the other posts how to do this).
--
 Damien

Gord

Re: Kernel Compile
« Reply #2 on: August 15, 2002, 08:37:17 PM »
Hey, that's a really great answer, Damien.  Thanks... at least I have somewhere to look now.

Really appreciate your help!