Skip to contentSkip to conversation

smp_num_cpus redefined? (compiling 2.2.18 for non-SMP?)

DISCUSSION Juraj Bednar 2 participants 2 messages Feb 6, 2001 – Feb 7, 2001

lore
Share & tools
lore
#0 lore raw

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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 9 lines · 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.

Signature · 9 lines
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/