From owner-freebsd-mobile Fri May 21 21:27:48 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 2852C14DCC for ; Fri, 21 May 1999 21:27:45 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdnb07.imasy.or.jp [202.227.24.135]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id NAA15407; Sat, 22 May 1999 13:27:42 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <199905220427.NAA15407@tasogare.imasy.or.jp> To: eric@haydenisland.verio.net, freebsd-mobile@FreeBSD.ORG Cc: iwasaki@jp.FreeBSD.org Subject: Re: apm on quantex h-1331 w/ pao 2.2.8 In-Reply-To: Your message of "Fri, 21 May 1999 20:26:14 -0700" <19990521202614.D26364@haydenisland.verio.net> References: <19990521202614.D26364@haydenisland.verio.net> 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: Sat, 22 May 1999 13:26:24 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 52 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org eric> > Could you send output of dmesg on boot and dying message from kernel? eric> > I hope the messages from APM_DEBUG defined kernel will help us. [...] eric> eric> Copyright (c) 1992-1998 FreeBSD Inc. eric> Copyright (c) 1982, 1986, 1989, 1991, 1993 eric> The Regents of the UniversIty of California. All rights reserved. eric> eric> FreeBSD 2.2.8-RELEASE #0: Sun May 16 22:47:32 PDT 1999 [...] eric> PAO version: PAO-19981225 [...] eric> apm0 on isa eric> apm: found APM BIOS version 1.1 Hmmm, I'd like to see debug messages on apmattach(), something like apm0 on isa apm: APM BIOS version 0102 apm: Code32 0xf00f0000, Code16 0xf00f0000, Data 0xf00f0000 apm: Code entry 0x0000f165, Idling CPU disabled, Management enabled apm: CS32_limit=0xfffe, CS16_limit=0xfffe, DS_limit=0xfffe apm: Engaged control enabled apm: found APM BIOS version 1.2 apm: Slow Idling CPU disabled BTW, meanings of flags on PAO are different from Original FreeBSD's one. It isn't desribed in LINT ... sorry. Available values for flags are, IIRC: APM_FORCE_APM10_FLAG 0x02 APM_NO_CLOCK_ADJUST_FLAG 0x04 APM_FORCE_64K_SEG_FLAG 0x08 (1999 Feb. version or later only) eric> kernel crash was like this: eric> eric> fatal trap 9: general protection fault while in kernel mode eric> eric> instruction pointer = 0x48:0x3136 eric> stack pointer = 0x10:0xefbffd1b eric> frame pointer = 0x10:0xefbffd2c eric> code segment = base oxf00f0000, limit 0xffff type 0x1b eric> = DPL 0, preset 1, def32 0, granularity 1 eric> processor eflags = resume, IOPL=0 eric> current process = 227 (apm) eric> interrupt mask = eric> kernel: type 9 trap, code 0 I think your PAO228 version is a little bit old, because granularity of code segment is not fixed (it sould be 0). Could you try newer version of PAO228? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message