Bug 13028

Summary: [APM] kernel panic with apm command(Sotec WinBookPro).
Product: Base System Reporter: sanpei
Component: i386Assignee: Mitsuru IWASAKI <iwasaki>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description sanpei 1999-08-08 16:10:00 UTC
  I have Sotec WinBookPro NOTE-PC(486DX4-100MHz).
I play with apm enabled kernel.
  But when I execute apm command, kernel panic.....

[probed message]
apm0: <APM BIOS> on motherboard
apm: APM BIOS version 0101
apm: Code16 0xc00f0000, Data 0xc00f0000
apm: Code entry 0x0000b321, Idling CPU disabled, Management disabled
apm: CS_limit=0xffff, DS_limit=0xffff
apm: found APM BIOS v1.1, connected at v1.0
apm: Slow Idling CPU disabled

[command log]
% apm
APM version: 1.0
APM Management: Enabled
AC Line Status: on-line
Battery status: charging
Remaining battery life: unknown
Remaining battery time: unknown
Number of batteries: 0
APM ioctl: cmd = 0x4040500b
APM ioctl: cmd = 0xc018500a

Fatal trap 12: page fault while in 
fault virtual address	= 0x2e
fault code		= supervisor read, page not present
instruction pointer	= 0x50:0x466
stack pointer	        = 0x10:0xc4780d0a
frame pointer	        = 0x10:0xc02a000c
code segment		= base rxc00f0000, limit 0xffff, type 0x1b
= DPL 0, pres 1, def32 0, gran 0
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 289 (apm)
interrupt mask		= none
trap number		= 12
panic: page fault

  This problem was first appeared at FreeBSD-3.0.  With FreeBSD-2.2,
I did not have any problems about apm command.

How-To-Repeat: 
	see above description
Comment 1 Mitsuru IWASAKI freebsd_committer freebsd_triage 1999-08-08 16:40:59 UTC
Responsible Changed
From-To: freebsd-bugs->iwasaki

I know this problem.  I'll take this one. 
Comment 2 Mitsuru IWASAKI freebsd_committer freebsd_triage 1999-08-14 19:46:17 UTC
State Changed
From-To: open->closed

Fixed in CURRENT.  Thanks!!