2001-02-06 23:52:33

by Juraj Bednar

[permalink] [raw]
Subject: Re: smp_num_cpus redefined? (compiling 2.2.18 for non-SMP?)

Hello,


the same for vanilla 2.4.1 and 2.4.1ac3. Everything works ok until I turn off SMP
support (which is required to make it possible to turn off the machine using APM, since
ACPI is completely broken in 2.4.1 for me).


Juraj.


2001-02-07 00:00:05

by J.A. Magallon

[permalink] [raw]
Subject: Re: smp_num_cpus redefined? (compiling 2.2.18 for non-SMP?)


On 02.07 Juraj Bednar wrote:
> Hello,
>
>
> the same for vanilla 2.4.1 and 2.4.1ac3. Everything works ok until I turn
> off SMP
> support (which is required to make it possible to turn off the machine using
> APM, since
> ACPI is completely broken in 2.4.1 for me).
>

You do not need to do that. Enable both SMP and APM (just APM support, no
ACPI nor any other apm option). And add to your lilo.conf file a line:
append="apm=power-off".

At boot you will see a log message like:

apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)
apm: disabled - APM is not SMP safe (power off active).

So kernel diables APM but lets the power-off feature active.

--
J.A. Magallon $> cd pub
mailto:[email protected] $> more beer

Linux werewolf 2.4.1-ac4 #1 SMP Tue Feb 6 22:06:38 CET 2001 i686