From owner-freebsd-stable Sat Sep 11 9:44: 9 1999 Delivered-To: freebsd-stable@freebsd.org Received: from pollux.sdata.de (pollux.sdata.de [193.30.133.37]) by hub.freebsd.org (Postfix) with ESMTP id 3E69914D83 for ; Sat, 11 Sep 1999 09:44:03 -0700 (PDT) (envelope-from chris@sdata.de) Received: from sdata.de (vega.sdata.de [193.30.133.36]) by pollux.sdata.de (8.9.3/8.9.3) with ESMTP id SAA05977 for ; Sat, 11 Sep 1999 18:44:00 +0200 (CEST) (envelope-from chris@sdata.de) Message-ID: <37DA86D1.4AFF1E6F@sdata.de> Date: Sat, 11 Sep 1999 18:44:01 +0200 From: Christoph Splittgerber Organization: sdata - C. Splittgerber Datentechnik X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: de, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: URGENT! HEADS UP: 3.3-RC SMP + APM -> FIX References: <19990910145217.F0BE61CA8@overcee.netplex.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Wemm wrote: > BTW; to quote Linux's Alan Cox on one thread over SMP vs APM problems > and hacks that partially work under Linux: > "APM will never be SMP safe, the problem is at the BIOS level not Linux" > > I've re-read the mpspec 1.4.6 stuff and I can't find a single mention of > APM in it. > > IMHO, it's a pretty safe assumption that APM should not be called for > anything more than things like ATX poweroff under SMP, and even that's > probably best to defer until after all the AP's have been halted. Things > like suspend, cpuclock slowdown, idle showdown etc are seriously bad for > SMP systems as the cpu calling the bios will be the one affected. (eg: a > suspend-to-disk will put the calling CPU into SMI mode and dump it's state > to disk... the other poor cpu's context is going to be lost, and indeed the > other cpu will continue running *during* the suspend-to-disk...) Even if I don't want to use APM, I need the system statistics of cpu% etc. I personally would not care too much if I can't "shutdown -p" etc. but system statistics are mandatory. On my 3.2-stable the trick was no enable "apm0 at isa? flags 0x20" in the kernel config file to get system statistics working (it did not work without the 0x20 flag nor with apm disabled at all). Because this is a production system here I can not cvsup to stable as long as I don't know if SMP (including system statistics) is working again. Can somebody please verify if this is fixed now on -stable. Thanks in advance, Christoph To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message