From nobody@FreeBSD.org  Wed Feb 17 17:23:43 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9F4D21065672
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Feb 2010 17:23:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8F1D78FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Feb 2010 17:23:43 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1HHNhQj046840
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Feb 2010 17:23:43 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1HHNh8k046818;
	Wed, 17 Feb 2010 17:23:43 GMT
	(envelope-from nobody)
Message-Id: <201002171723.o1HHNh8k046818@www.freebsd.org>
Date: Wed, 17 Feb 2010 17:23:43 GMT
From: Darin Peshev <darinp@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kernel trap
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144045
>Category:       i386
>Synopsis:       [acpi] [panic] kernel trap with acpi enabled
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-acpi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 17 17:30:03 UTC 2010
>Closed-Date:    Sun Mar 04 16:04:33 UTC 2012
>Last-Modified:  Sun Mar 04 16:04:33 UTC 2012
>Originator:     Darin Peshev
>Release:        8.0 stable
>Organization:
>Environment:
FreeBSD router.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Mon Feb 15 15:59:36 EST 2010     sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_wrap.8.i386  i386
>Description:
Booting with ACPI enabled in BIOS on Norco-7732 motherboard based box which
designed for network appliances (http://www.norcotek.com/NORCO-7732V.php)
leads to that:

kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xf000e2c3
fault code              = supervisor read, page not present
instruction poRoot mount waiting for: usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
inter   = 0x20:0xc0509799
stack pointer           = 0x28:0xc2f71c9c
frame pointer           = 0x28:0xc2f71cc0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 10 (idle)
[thread pid 10 tid 64003 ]
Stopped at      acpi_battery_get_battinfo+0x2859:       movzbl  0(%ebx),%eax
db>
>How-To-Repeat:
Enable ACPI in BIOS and try to boot. 
>Fix:
Disabling ACPI avoids the trap. Here is the output of bt:

db> bt
Tracing pid 10 tid 64003 td 0xc3036b90
acpi_battery_get_battinfo(c2e71cd4,c0abc632,1,c2e71cf4,c086174f,...) at acpi_battery_get_battinfo+0x2859
set_fpregs(1,c2e71cf4,c086174f,1,0,...) at set_fpregs+0x11b
cpu_idle(1,0,c3036b90,c2e71cf4,0,...) at cpu_idle+0x12
sched_idletd(0,c2e71d38,0,0,0,...) at sched_idletd+0x6f
fork_exit(c08616e0,0,c2e71d38) at fork_exit+0x90
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc2e71d70, ebp = 0 ---
db>

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-acpi 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Feb 21 00:08:52 UTC 2010 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144045 

From: Andriy Gapon <avg@icyb.net.ua>
To: bug-followup@FreeBSD.org, darinp@gmail.com
Cc:  
Subject: Re: i386/144045: [acpi] [panic] kernel trap with acpi enabled
Date: Mon, 22 Feb 2010 18:02:18 +0200

 Could you please provide all kernel messages printed before the panic?
 A link to screenshots (e.g. taken with digital camera) would be fine.
 
 -- 
 Andriy Gapon
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Sun Nov 27 11:48:05 UTC 2011 
State-Changed-Why:  
Note that submitter has been asked for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144045 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Sun Mar 4 16:04:31 UTC 2012 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144045 
>Unformatted:
