From owner-freebsd-mobile Sun May 21 12:47: 9 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from spike.porcupine.org (umbilical.porcupine.org [168.100.189.1]) by hub.freebsd.org (Postfix) with ESMTP id 4200F37B5C9 for ; Sun, 21 May 2000 12:47:01 -0700 (PDT) (envelope-from wietse@porcupine.org) Received: by spike.porcupine.org (Postfix, from userid 100) id 1A1774565A; Sun, 21 May 2000 15:46:57 -0400 (EDT) Subject: Re: Thanks! In-Reply-To: <20000522035927K.iwasaki@jp.FreeBSD.org> from Mitsuru IWASAKI at "May 22, 0 03:59:27 am" To: iwasaki@jp.FreeBSD.org (Mitsuru IWASAKI) Cc: nate@yogotech.com, iwasaki@jp.FreeBSD.org, wietse@porcupine.org, dwhite@resnet.uoregon.edu, freebsd-mobile@FreeBSD.ORG X-Time-Zone: USA EST, 6 hours behind central European time MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1907 Message-Id: <20000521194657.1A1774565A@spike.porcupine.org> Date: Sun, 21 May 2000 15:46:57 -0400 (EDT) From: wietse@porcupine.org (Wietse Venema) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mitsuru IWASAKI: > > > > As I wrote in earlier email, the bug goes away when I remove the > > > > modem and ethernet card. However, doing so was not necessary with > > > > FreeBSD 2.2.8. > > > > Can anyone explain why FreeBSD must wake up prematurely when cards > > > > are present, even without cables attached? > > > > > > It seems the features of some ThinkPad machines. I've heard that NIC > > > and Modem pccards cause problems on some TP. > > > > Nope. It's a FreeBSD bug in newer releases, since it works fine in > > older releases (2.2.8), as Wietse already pointed out. > > Really? Two Thinkpad 600 FreeBSd 2.2.8 users have reported that suspend works wven when cards are present. FreeBSD 2.2.8 does not have apmd. > I don't have TP here, but I found this at > http://home.jp.FreeBSD.ORG/cgi-bin/showmail/bsd-nomads/10522 > but it's from TP manual in Japanese. I translate them in English for you. > IBM support pages also say almost same thing such as > http://www-1.ibm.com/servlet/support/manager?rt=0&rs=0&org=psg&doc=E2AB5DFBFCE082E685256512005C419B [omitted] > I wonder if older releases have a special hack for this... > Do you remember it? I am not qualified to make such a judment. Rather, I trust your judgment and will send FreeBSD 2.2.8 apm source code in private mail. That is the code with the change to turn off cli (which is #ifdef-ed out). > > > We had cli asm (disable interrupts) before calling APM BIOS call in > > > FreeBSD 2.2.8, but this also seems to cause other problems and cli was > > > deleted. > > > > Actually, with the cli, it didn't work on my box (same hardware as > > Weitse), so it was removed by me (and the call is probably gone on his > > box as well I suspect, since it works fine. :) > > Yes, I know. This seems originally came from CONFIG_APM_ALLOW_INTS in linux. I had to disable the cli, otherwise the machine would not wake up. Wietse To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message