From mjoyner@wolf2.rv1.dynip.com  Sat Jan  1 16:24:51 2000
Return-Path: <mjoyner@wolf2.rv1.dynip.com>
Received: from wolf2.rv1.dynip.com (surf1905.jacksonville.net [24.129.54.105])
	by hub.freebsd.org (Postfix) with ESMTP id DFC2514D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Jan 2000 16:24:48 -0800 (PST)
	(envelope-from mjoyner@wolf2.rv1.dynip.com)
Received: (from mjoyner@localhost)
	by wolf2.rv1.dynip.com (8.9.3/8.9.2) id TAA82585;
	Sat, 1 Jan 2000 19:24:46 -0500 (EST)
	(envelope-from mjoyner)
Message-Id: <200001020024.TAA82585@wolf2.rv1.dynip.com>
Date: Sat, 1 Jan 2000 19:24:46 -0500 (EST)
From: mjoyner@rv1.dynip.com
Sender: mjoyner@wolf2.rv1.dynip.com
Reply-To: mjoyner@rv1.dynip.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Kernel trap 9 with interrupts disabled during power off
X-Send-Pr-Version: 3.2

>Number:         15827
>Category:       kern
>Synopsis:       Power-Off causes Trap 9 in kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan  1 16:30:00 PST 2000
>Closed-Date:    Wed Sep 26 12:31:05 PDT 2001
>Last-Modified:  Fri Nov 22 16:40:01 PST 2002
>Originator:     Michael Joyner
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
RV1 Business Internet Solutions
>Environment:

	Intel Pentium-S 166Mhz
	ATX Power Supply
	APM enabled in BIOS/CMOS
	APM compiled into kernel
	APM=YES in rc.conf
	APMD=YES in rc.conf
	3.4-RELEASE (upgraded from 3.3-RELEASE)
	64 Megs Ram
	IDE 

>Description:

	Same machine before upgradeing from 3.3-RELEASE to 3.4-RELEASE
	powered off properly.  Am getting ready to send box to city
	far away.. won't have long... 

	halt -p causes ... (retyped output)
	-----------

	syncing disks... 3 3 done
	kernel trap 9 with interrupts disabled

	Fatal trap 9: general protection fault while in kernel mode
	instruction pointer	= 0x48:0x880f
	stack pointer		= 0x10:0xc5d5ce68
	frame pointer		= 0x10:0x67890000
	code segment		= base 0xc00f0000, limit 0xfffff, type 0x1b
				= DPL 0, pres 1, def32 0, gran 0
	processor eflags	= resume, IOPL = 0
	current process		= 426 (halt)
	interrupt mask		= net tty bio cam
	trap number 		= 9
	panic: general proction fault
	Automatic reboot in 15 seconds - press a key on the console to abort
	--> Press a key on the console to reboot <--

	-------------
	

>How-To-Repeat:

	How to repeat on different machine is unknown.

>Fix:
	
	Don't know, Wouldn't know where to start. :)



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Mon Aug 27 13:24:43 PDT 2001 
State-Changed-Why:  

Is this still a problem? Does it occur with newer releases? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=15827 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Wed Sep 26 12:31:05 PDT 2001 
State-Changed-Why:  

Submitter says that the box on which this problem occurred was 
since struck by lightning! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=15827 

From: Alex Kosorukoff <kosoruko@uiuc.edu>
To: freebsd-gnats-submit@FreeBSD.org, mjoyner@rv1.dynip.com
Cc:  
Subject: Re: kern/15827: Power-Off causes Trap 9 in kernel
Date: Fri, 22 Nov 2002 18:37:33 -0600

 Hi:
 
 I have a similar problem in the same circumstances with FBSD 4.6:
 
 halt -p causes ... (retyped output)
 -----------
 
 syncing disks... 7
 done
 Uptime 54s
 kernel trap 9 with interrupts disabled
 
 Fatal trap 9: general protection fault while in kernel mode
 instruction pointer     = 0x58:0x8726
 stack pointer           = 0x10:0xc6e1fe70
 frame pointer           = 0x10:0x67890000
 code segment            = base 0xc00f0000, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 0, gran 0
 processor eflags        = resume, IOPL = 0
 current process         = 1 (init)
 interrupt mask          = net tty bio cam
 trap number             = 9
 panic: general proction fault
 Uptime: 54s
 Automatic reboot in 15 seconds - press a key on the console to abort
 
 Environment:
 
 Nov 22 18:33:40 brian /kernel: Copyright (c) 1992-2002 The FreeBSD
 Project.
 Nov 22 18:33:40 brian /kernel: Copyright (c) 1979, 1980, 1983, 1986,
 1988, 1989, 1991, 1992, 1993, 1994
 Nov 22 18:33:40 brian /kernel: The Regents of the University of
 California. All rights reserved.
 Nov 22 18:33:40 brian /kernel: FreeBSD 4.6-RELEASE #0: Thu Aug 22
 23:50:51 CDT 2002
 Nov 22 18:33:40 brian /kernel:
 root@brian.3form.com:/usr/src/sys/compile/BRIAN
 Nov 22 18:33:40 brian /kernel: Timecounter "i8254"  frequency 1193182 Hz
 
 Nov 22 18:33:40 brian /kernel: CPU: AMD-K6(tm) 3D processor (350.80-MHz
 586-class CPU)
 Nov 22 18:33:40 brian /kernel: Origin = "AuthenticAMD"  Id = 0x580
 Stepping = 0
 Nov 22 18:33:40 brian /kernel:
 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
 Nov 22 18:33:40 brian /kernel: AMD Features=0x80000800<SYSCALL,3DNow!>
 Nov 22 18:33:40 brian /kernel: real memory  = 100663296 (98304K bytes)
 Nov 22 18:33:40 brian /kernel: config> en apm0
 Nov 22 18:33:40 brian /kernel: config> q
 Nov 22 18:33:40 brian /kernel: avail memory = 92618752 (90448K bytes)
 Nov 22 18:33:40 brian /kernel: Preloaded elf kernel "kernel" at
 0xc0524000.
 Nov 22 18:33:40 brian /kernel: Preloaded userconfig_script
 "/boot/kernel.conf" at 0xc052409c.
 Nov 22 18:33:40 brian /kernel: md0: Malloc disk
 Nov 22 18:33:40 brian /kernel: Using $PIR table, 5 entries at 0xc00fdab0
 
 Nov 22 18:33:40 brian /kernel: apm0: <APM BIOS> on motherboard
 Nov 22 18:33:40 brian /kernel: apm: found APM BIOS v1.2, connected at
 v1.2
 Nov 22 18:33:40 brian /kernel: npx0: <math processor> on motherboard
 Nov 22 18:33:40 brian /kernel: npx0: INT 16 interface
 Nov 22 18:33:40 brian /kernel: pcib0: <VIA 82C598MVP (Apollo MVP3) host
 bridge> on motherboard
 Nov 22 18:33:40 brian /kernel: pci0: <PCI bus> on pcib0
 Nov 22 18:33:40 brian /kernel: pcib1: <VIA 82C598MVP (Apollo MVP3)
 PCI-PCI (AGP) bridge> at device 1.0 on pci0
 Nov 22 18:33:40 brian /kernel: pci1: <PCI bus> on pcib1
 Nov 22 18:33:40 brian /kernel: pci1: <ATI model 5159 graphics
 accelerator> at 0.0 irq 11
 Nov 22 18:33:40 brian /kernel: isab0: <VIA 82C586 PCI-ISA bridge> at
 device 7.0 on pci0
 Nov 22 18:33:40 brian /kernel: isa0: <ISA bus> on isab0
 Nov 22 18:33:40 brian /kernel: atapci0: <VIA 82C586 ATA33 controller>
 port 0xc000-0xc00f at device 7.1 on pci0
 Nov 22 18:33:40 brian /kernel: ata0: at 0x1f0 irq 14 on atapci0
 Nov 22 18:33:40 brian /kernel: ata1: at 0x170 irq 15 on atapci0
 Nov 22 18:33:40 brian /kernel: uhci0: <VIA 83C572 USB controller> port
 0xc400-0xc41f irq 10 at device 7.2 on pci0
 Nov 22 18:33:40 brian /kernel: usb0: <VIA 83C572 USB controller> on
 uhci0
 Nov 22 18:33:40 brian /kernel: usb0: USB revision 1.0
 Nov 22 18:33:40 brian /kernel: uhub0: VIA UHCI root hub, class 9/0, rev
 1.00/1.00, addr 1
 Nov 22 18:33:40 brian /kernel: uhub0: 2 ports with 2 removable, self
 powered
 Nov 22 18:33:40 brian /kernel: pci0: <unknown card> (vendor=0x1106,
 dev=0x3040) at 7.3
 Nov 22 18:33:40 brian /kernel: pcm0: <AudioPCI ES1370> port
 0xc800-0xc83f irq 11 at device 8.0 on pci0
 Nov 22 18:33:40 brian /kernel: rl0: <RealTek 8139 10/100BaseTX> port
 0xcc00-0xccff mem 0xec000000-0xec0000ff irq 9 at device 10.0 on pci0
 Nov 22 18:33:40 brian /kernel: rl0: Ethernet address: 00:50:ba:3f:92:1d
 Nov 22 18:33:40 brian /kernel: miibus0: <MII bus> on rl0
 Nov 22 18:33:40 brian /kernel: rlphy0: <RealTek internal media
 interface> on miibus0
 Nov 22 18:33:40 brian /kernel: rlphy0:  10baseT, 10baseT-FDX, 100baseTX,
 100baseTX-FDX, auto
 Nov 22 18:33:41 brian /kernel: pci0: <unknown card> (vendor=0x11c1,
 dev=0x0441) at 11.0 irq 5
 Nov 22 18:33:41 brian /kernel: orm0: <Option ROM> at iomem
 0xc0000-0xcdfff on isa0
 Nov 22 18:33:41 brian /kernel: fdc0: <NEC 72065B or clone> at port
 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 Nov 22 18:33:41 brian /kernel: fdc0: FIFO enabled, 8 bytes threshold
 Nov 22 18:33:41 brian /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 
 Nov 22 18:33:41 brian /kernel: atkbdc0: <Keyboard controller (i8042)> at
 port 0x60,0x64 on isa0
 Nov 22 18:33:41 brian /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on
 atkbdc0
 Nov 22 18:33:41 brian /kernel: kbd0 at atkbd0
 Nov 22 18:33:41 brian /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
 Nov 22 18:33:41 brian /kernel: psm0: model Generic PS/2 mouse, device ID
 0
 Nov 22 18:33:41 brian /kernel: vga0: <Generic ISA VGA> at port
 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Nov 22 18:33:41 brian /kernel: sc0: <System console> at flags 0x100 on
 isa0
 Nov 22 18:33:41 brian /kernel: sc0: VGA <16 virtual consoles,
 flags=0x300>
 Nov 22 18:33:41 brian /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10
 on isa0
 Nov 22 18:33:41 brian /kernel: sio0: type 16550A
 Nov 22 18:33:41 brian /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
 Nov 22 18:33:41 brian /kernel: sio1: type 16550A
 Nov 22 18:33:41 brian /kernel: ppc0: <Parallel port> at port 0x378-0x37f
 irq 7 on isa0
 Nov 22 18:33:41 brian /kernel: ppc0: SMC-like chipset
 (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 Nov 22 18:33:41 brian /kernel: ppc0: FIFO with 16/16/16 bytes threshold
 Nov 22 18:33:41 brian /kernel: lpt0: <Printer> on ppbus0
 Nov 22 18:33:41 brian /kernel: lpt0: Interrupt-driven port
 Nov 22 18:33:41 brian /kernel: ppi0: <Parallel I/O> on ppbus0
 Nov 22 18:33:41 brian /kernel: plip0: <PLIP network interface> on ppbus0
 
 Nov 22 18:33:41 brian /kernel: pca0 at port 0x40 on isa0
 Nov 22 18:33:41 brian /kernel: ata1-slave: ATAPI identify retries
 exceeded
 Nov 22 18:33:41 brian /kernel: ad0: 7665MB <QUANTUM Bigfoot TX8.0AT>
 [15574/16/63] at ata0-master UDMA33
 Nov 22 18:33:41 brian /kernel: acd0: CDROM <CD-524EA-B> at ata1-master
 PIO4
 Nov 22 18:33:41 brian /kernel: Mounting root from ufs:/dev/ad0s2a
 Nov 22 18:33:42 brian mountd[81]: could not remount /usr/home: Invalid
 argument
 Nov 22 18:33:42 brian mountd[81]: bad exports list line /usr/home
 -alldirs    alex
 Nov 22 18:34:02 brian /kernel: ltmdm0: <Lucent Winmodem> port
 0xd400-0xd4ff,0xd000-0xd007 mem 0xec001000-0xec0010ff irq 5 at device
 11.0 on pci0
 Nov 22 18:34:02 brian /kernel: ltmdm0: type Virtual 16550A
 
 Alex
 
 
>Unformatted:
