From owner-freebsd-current Mon Aug 2 12:13:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 0CE3C15191 for ; Mon, 2 Aug 1999 12:13:32 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id MAA00697; Mon, 2 Aug 1999 12:07:36 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199908021907.MAA00697@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mitsuru IWASAKI Cc: FreeBSD-current@FreeBSD.ORG Subject: Re: APM related panic In-reply-to: Your message of "Mon, 02 Aug 1999 22:22:51 +0900." <199908021318.WAA14239@tasogare.imasy.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Aug 1999 12:07:36 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > # sorry to break the thread, I'm a digest reader... Not a problem at all. > > > apm0: 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