From owner-freebsd-current Mon Aug 9 18:28:20 1999 Delivered-To: freebsd-current@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 477F0152B2 for ; Mon, 9 Aug 1999 18:28:11 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn13.imasy.or.jp [202.227.24.205]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id KAA19675; Tue, 10 Aug 1999 10:25:47 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <199908100125.KAA19675@tasogare.imasy.or.jp> To: plm@xs4all.nl Cc: iwasaki@jp.FreeBSD.org, freebsd-current@FreeBSD.ORG, imp@village.org, nate@mt.sri.com Subject: Re: recent apm changes In-Reply-To: Your message of "Mon, 9 Aug 1999 19:51:04 +0200 (MET DST)" <14255.5384.805557.274800@muon.xs4all.nl> References: <14255.5384.805557.274800@muon.xs4all.nl> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 10 Aug 1999 10:29:33 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 31 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, > MI> I've read Linux code (v2.2.9) closely, noticed they put cli > MI> before APM BIOS call and save & restore segment registers. I > MI> suspect these two (or only cli?) affect the suspending state. > MI> To clarify, could you try attached patches (for > MI> sys/i386/i386/bioscall.s) one by one? > > I've tried them all. They don't make a difference alas. > > In doing so, to my surprise I found out that when I suspend my computer > in FreeBSD, it isn't suspended at all! > > I have an ATX case with an Asus P2B motherboard. When I suspend my > computer, the power led starts flashing (and keeps doing so). > > When I suspend my computer in Linux or Windows, as mentioned, the > computer gets quiet (HDD spins down etc). The led flashes. Hmmm, the CLI call is not useful in this case... I also had another kind of problem about CLI, my box froze sometimes when suspending. It shouldn't be put CLI in here as Nate mentioned. Segment regisers also wasn't related with the problem. I watched %fs before & after BIOS call using ddb, the value didn't change on my box. I guess Linux code only expects some BIOSes manipulate segment registers. Another possibility is *delay mechanism* on suspend (and standby). AFAIK, Linux, NetBSD and PAO has this but CURRENT. I'll make patch tonight based on PAO APM code. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message