Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2000 15:46:57 -0400 (EDT)
From:      wietse@porcupine.org (Wietse Venema)
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
Subject:   Re: Thanks!
Message-ID:  <20000521194657.1A1774565A@spike.porcupine.org>
In-Reply-To: <20000522035927K.iwasaki@jp.FreeBSD.org> from Mitsuru IWASAKI at "May 22, 0 03:59:27 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000521194657.1A1774565A>