From flo@mail04.viruscheckservice.de  Tue Aug 21 11:10:51 2007
Return-Path: <flo@mail04.viruscheckservice.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9637B16A419
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Aug 2007 11:10:51 +0000 (UTC)
	(envelope-from flo@mail04.viruscheckservice.de)
Received: from mail04.viruscheckservice.de (mail04.viruscheckservice.de [80.73.96.84])
	by mx1.freebsd.org (Postfix) with ESMTP id C2EE213C428
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Aug 2007 11:10:50 +0000 (UTC)
	(envelope-from flo@mail04.viruscheckservice.de)
Received: (qmail 7306 invoked by uid 1002); 21 Aug 2007 10:44:08 -0000
Message-Id: <20070821104408.7305.qmail@mail04.viruscheckservice.de>
Date: 21 Aug 2007 10:44:08 -0000
From: Florian Fuessl <flo@degnet.de>
Reply-To: Florian Fuessl <flo@degnet.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Florian Fuessl <flo@degnet.de>
Subject: kernel: Fatal trap 12: page fault while in kernel mode	
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         115679
>Category:       kern
>Synopsis:       [panic] kernel: Fatal trap 12: page fault while in kernel mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 21 11:20:07 GMT 2007
>Closed-Date:    Tue Jan 15 05:22:09 UTC 2008
>Last-Modified:  Tue Jan 15 05:22:09 UTC 2008
>Originator:     Florian Fuessl
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD mail04.viruscheckservice.de 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386

Fujitsu Siemens RX 300 server machine, 4GB RAM, ICP9014RO RAID controller,
FreeBSD 6.2-RELEASE (i386)

>Description:
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 06
fault virtual address	= 0x104
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc066c731
stack pointer		= 0x28:0xe7f92c90
frame pointer		= 0x28:0xe7f92c9c
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= 5 (thread taskq)
trap number		= 12
panic: page fault
cpuid = 0
Uptime: 30m16s
Cannot dump. No dump device defined.
aac0: shutting down controller...done
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
cpu_reset: Stopping other CPUs
[machine hangup on this line...]

the server machine dmesg after bootup:
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3066.79-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNTX-ID,<b14>>
  Logical CPUs per core: 2
real memory  = 4209967104 (4014 MB)
avail memory = 4122443776 (3931 MB)
ACPI APIC Table: <PTLTD          APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  6
 cpu1 (AP): APIC ID:  0
 cpu2 (AP): APIC ID:  1
 cpu3 (AP): APIC ID:  7
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xf008-0xf00b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 4.0 (no driver attached)
atapci0: <ServerWorks CSB6 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1400-0x140f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfc021000-0xfc021fff irq 9 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isab0: <PCI-ISA bridge> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib1: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib1
aac0: <ICP ICP9014RO SCSI RAID> mem 0xfc400000-0xfc5fffff,0xfc308000-0xfc308fff irq 28 at device 8.0 on pci1
aac0: New comm. interface enabled
aac0: Adaptec Raid Controller 2.0.0-1
aacp0: <SCSI Passthrough Bus> on aac0
pcib2: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5704 A2, ASIC rev. 0x2002> mem 0xfc810000-0xfc81ffff,0xfc800000-0xfc80ffff irq 18 at device 0.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:30:05:46:cd:c8
bge1: <Broadcom BCM5704 A2, ASIC rev. 0x2002> mem 0xfc830000-0xfc83ffff,0xfc820000-0xfc82ffff irq 19 at device 0.1 on pci2
miibus1: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:30:05:46:cd:c9
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x1c00-0x1cff,0x1800-0x18ff mem 0xfcd00000-0xfcd01fff irq 26 at device 4.0 on pci3
ahd0: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x2400-0x24ff,0x2000-0x20ff mem 0xfcd02000-0xfcd03fff irq 27 at device 4.1 on pci3
ahd1: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
pcib4: <ACPI Host-PCI bridge> on acpi0
pci4: <ACPI PCI bus> on pcib4
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Standard parallel printer port> port 0x378-0x37b irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
sio1: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc8fff,0xc9000-0xcdfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
acd0: CDROM <SR244W/T02A> at ata1-master UDMA33
Waiting 5 seconds for SCSI devices to settle
aacd0: <RAID 1 (Mirror)> on aac0
aacd0: 34889MB (71452672 sectors)
ses0 at aacp0 bus 0 target 8 lun 0
ses0: <SDR GEM318 0> Fixed unknown SCSI-2 device
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device
pass0 at aacp0 bus 0 target 0 lun 0
pass0: <FUJITSU MAP3367NC 5207> Fixed unknown SCSI-3 device
pass0: 3.300MB/s transfers
pass1 at aacp0 bus 0 target 2 lun 0
pass1: <FUJITSU MAP3367NC 5207> Fixed unknown SCSI-3 device
pass1: 3.300MB/s transfers
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/aacd0s1a
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:

From: Remko Lodder <remko@FreeBSD.org>
To: Florian Fuessl <flo@degnet.de>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: kern/115679: kernel: Fatal trap 12: page fault while in kernel
 mode
Date: Tue, 21 Aug 2007 13:22:23 +0200

 Hello,
 
 First of all thanks for taking the time to report this issue and using
 FreeBSD!
 
 Please try to obtain the information as mentioned in
 http://www.freebsd.org/doc/en/books/developers-handbook/kerndebug.html
 because sadly this is not very informative for what we need to get this
 resolved.
 
 Thanks,
 Remko
 
 -- 
 Kind regards,
 
      Remko Lodder               ** remko@elvandar.org
      FreeBSD                    ** remko@FreeBSD.org
 
      /* Quis custodiet ipsos custodes */

From: =?us-ascii?Q?Florian_Fuessl?= <flo@degnet.de>
To: "'Remko Lodder'" <remko@FreeBSD.org>
Cc: <FreeBSD-gnats-submit@FreeBSD.org>
Subject: RE: kern/115679: kernel: Fatal trap 12: page fault while in kernel mode
Date: Fri, 31 Aug 2007 19:31:53 +0200

 Hi Remko,
 
 According to your information I've now a complete kernel crash core dump.
 
 Please let me know, who will debug this case, so I'll provide a URL for
 downloading (2GB!)
 
 Best regards,
 Florian Fuessl
 
State-Changed-From-To: open->feedback 
State-Changed-By: kmacy 
State-Changed-When: Sat Nov 17 06:47:37 UTC 2007 
State-Changed-Why:  

We can't use the core dump what we need is the backtrace from running 
gdb on the core with kernel symbols present and the source in the  
referenced tree the same as when the kernel was built. Please provide 
that. Thank you. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115679 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jan 15 05:20:48 UTC 2008 
State-Changed-Why:  
Feedback timeout (2 months). 

To submitter: we need the backtrace to proceed. 

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