Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 1999 13:26:24 +0900
From:      Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
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
Message-ID:  <199905220427.NAA15407@tasogare.imasy.or.jp>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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