On Mon, May 14, 2001 at 04:22:09PM -0700, Brandon High wrote: > > For SMP, donot forget to put not just apm=on but also apm=power-off in > > lilo.conf/append thing. > I understand how this would help in general, but how does this apply to an > SMP system differently than an Uni-processor system?
Actually If UP kernel, it set default to apm=power-off. Try apm=on and apm=power-on on UP kernel. It ain't turn off your PC. I am sure about this. arch/i386/kernel/apm.c saids: ... * Jan 2000, Version 1.12 ... * 1.12: Remove CONFIG_SMP as the compiler will optimize * the code away anyway (smp_num_cpus == 1 in UP) * noted by Artur Skawina <[EMAIL PROTECTED]>. * Make power off under SMP work again. * Fix thinko with initial engaging of BIOS. * Make sure power off only happens on CPU 0 * (Paul "Rusty" Russell <[EMAIL PROTECTED]>). * Do error notification to user mode if BIOS calls fail. * Move entrypoint offset fix to ...boot/setup.S * where it belongs (Cosmos <[EMAIL PROTECTED]>). * Remove smp-power-off. SMP users must now specify * "apm=power-off" on the kernel command line. Suggested * by Jim Avera <[EMAIL PROTECTED]>, modified by Alan Cox * <[EMAIL PROTECTED]>. * Register the /proc/apm entry even on SMP so that * scripts that check for it before doing power off * work (Jim Avera <[EMAIL PROTECTED]>). -- ~\^o^/~~~ ~\^.^/~~~ ~ \^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D + + My debian quick-reference, http://www.aokiconsulting.com/quick/ +