Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Aug 1999 12:07:36 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
Cc:        FreeBSD-current@FreeBSD.ORG
Subject:   Re: APM related panic 
Message-ID:  <199908021907.MAA00697@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 02 Aug 1999 22:22:51 %2B0900." <199908021318.WAA14239@tasogare.imasy.or.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
> # sorry to break the thread, I'm a digest reader...

Not a problem at all.

> > > apm0: <APM BIOS> on motherboard
> > > apm: APM BIOS version 0102
> > > apm: Code16 0xc00f0000, Data 0xc00fdfa0
> > > apm: Code entry 0x00008010, Idling CPU enabled, Management enabled
> > > apm: CS_limit=0x0, DS_limit=0x0
> > 
> > These limits look pretty suspect, although the code segment below looks 
> > OK.
> 
> I suspect too, especially ds limit.
> I've seen such bogus 1.2 APM BIOSes before.  I hope attached patch
> help you (for /sys/i386/apm/apm.c).

Gotcha.  I've decided to just completely ignore all of the segment limit
values the BIOS returns and assume 64k for the lot.  This is basically
the same conclusion that the Linux folks have come to, and its a
harmless option.

> P.S.
> Thank you for enhanced APM code, mike.  I had enjoy last week end to
> study the new code.  Some of my concerns about APM gone :-)

You should thank Jonathan Lemon, as the bulk of the code is his; I just 
did the scutwork to get it in...

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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