Re: Firing on all CPUs
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 <skawina@geocities.com>.
* 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 <rusty@linuxcare.com>).
* Do error notification to user mode if BIOS calls fail.
* Move entrypoint offset fix to ...boot/setup.S
* where it belongs (Cosmos <gis88564@cis.nctu.edu.tw>).
* Remove smp-power-off. SMP users must now specify
* "apm=power-off" on the kernel command line. Suggested
* by Jim Avera <jima@hal.com>, modified by Alan Cox
* <alan@lxorguk.ukuu.org.uk>.
* Register the /proc/apm entry even on SMP so that
* scripts that check for it before doing power off
* work (Jim Avera <jima@hal.com>).
--
~\^o^/~~~ ~\^.^/~~~ ~ \^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~
+ Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D +
+ My debian quick-reference, http://www.aokiconsulting.com/quick/ +
Reply to: