6.0-BETA2/amd64, v40z and Fatal trap 12: page fault while in kernel mode

Krzysztof Kowalik kkowalik at uci.agh.edu.pl
Fri Aug 12 10:43:53 GMT 2005


Hello.

Today, I got the following panic:

Fatal trap 12: page fault while in kernel mode
cpuid = 7; apic id = 07
fault virtual address   = 0x188
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xffffffff80255ea7
stack pointer           = 0x10:0xffffffffc1832500
frame pointer           = 0x10:0x0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = resume, IOPL = 0
current process         = 608 (ls)
trap number             = 12
panic: page fault
cpuid = 7

It happened, when I had...

dd if=/dev/da1 of=bzzz count=10 bs=1073741824

... running on the first console and tried 'ls bzzz' on the other.

[...]
isp0: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x3000-0x30ff mem
0xe7002000-0xe7002fff irq 37 at device 1.0 on pci37
[...]
da1 at isp0 bus 0 target 0 lun 0
da1: <SB-3160F S > Fixed Direct Access SCSI-2 device
da1: 200.000MB/s transfers, Tagged Queueing Enabled
da1: 841784MB (1723973632 512 byte sectors: 255H 63S/T 107312C)
[...] [1]
 
Before that, when trying to read a few small blocks from the same
device, we got pretty strange output -- looking like a looped first
block "count" times.

I guess I will have to try to get vmcore to have any chance to interest
someone with it. And that won't be easy as the box has 16GB of RAM and,
unfortunately, the FC array we used, is normally connected to the
production box and we can't really experiment on it freely.

[1] dmesg (non-verbose; verbose one is far too verbose, thanks to mpt;
    and without the mentioned before da1, as we had to reconnect the
    array to the proper machine) attached.
-- 
Krzysztof Kowalik               |  () ASCII Ribbon Campaign
Computer Center, AGH UST        |  /\ Support plain text e-mail
-------------- next part --------------
Copyright (c) 1992-2005 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 6.0-BETA2 #0: Fri Aug 12 12:22:23 CEST 2005
    root at marvin.uci.agh.edu.pl:/usr/obj/usr/src/sys/MARVIN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 875 (2192.35-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f10  Stepping = 0
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,<b25>,LM,3DNow+,3DNow>
  Hyperthreading: 2 logical CPUs
real memory  = 17179869184 (16384 MB)
avail memory = 16187183104 (15437 MB)
ACPI APIC Table: <PTLTD  	 APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
ioapic3 <Version 1.1> irqs 32-35 on motherboard
ioapic4 <Version 1.1> irqs 36-39 on motherboard
ioapic5 <Version 1.1> irqs 40-43 on motherboard
ioapic6 <Version 1.1> irqs 44-47 on motherboard
acpi0: <PTLTD 	 XSDT> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 5 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 7 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0
unknown: I/O range not supported
unknown: I/O range not supported
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-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
cpu4: <ACPI CPU> on acpi0
cpu5: <ACPI CPU> on acpi0
cpu6: <ACPI CPU> on acpi0
cpu7: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0xf000-0xf07f,0xf080-0xf0ff iomem 0xd8000-0xdbfff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <serial bus, USB> at device 0.0 (no driver attached)
pci1: <serial bus, USB> at device 0.1 (no driver attached)
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 8111 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1000-0x100f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <bridge> at device 7.3 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 0xe5810000-0xe581ffff,0xe5800000-0xe580ffff irq 25 at device 2.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:09:3d:12:dd:4e
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 0xe5830000-0xe583ffff,0xe5820000-0xe582ffff irq 26 at device 2.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:09:3d:12:dd:4f
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x2000-0x20ff mem 0xe5850000-0xe585ffff,0xe5840000-0xe584ffff irq 27 at device 4.0 on pci2
mpt0: [GIANT-LOCKED]
mpt0: MPI Version=1.2.12.0
mpt0: Unhandled Event Notify Frame. Event 0xa.
mpt0: Capabilities: ( RAID-1E RAID-1 SAFTE )
mpt0: 1 Active Volume (1 Max)
mpt0: 2 Hidden Drive Members (6 Max)
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver attached)
pcib4: <ACPI Host-PCI bridge> iomem 0xe5b01000-0xe5b01fff,0xe5b03000-0xe5b03fff,0xe5b05000-0xe5b05fff,0xe5b07000-0xe5b07fff on acpi0
pci32: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> mem 0xe5b00000-0xe5b00fff irq 32 at device 1.0 on pci32
pci33: <ACPI PCI bus> on pcib5
pci32: <base peripheral, interrupt controller> at device 1.1 (no driver attached)
pcib6: <ACPI PCI-PCI bridge> mem 0xe5b02000-0xe5b02fff irq 36 at device 2.0 on pci32
pci37: <ACPI PCI bus> on pcib6
isp0: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x3000-0x30ff mem 0xe7002000-0xe7002fff irq 37 at device 1.0 on pci37
isp0: [GIANT-LOCKED]
isp1: <Qlogic ISP 2312 PCI FC-AL Adapter> port 0x3400-0x34ff mem 0xe7003000-0xe7003fff irq 38 at device 1.1 on pci37
isp1: [GIANT-LOCKED]
pci32: <base peripheral, interrupt controller> at device 2.1 (no driver attached)
pcib7: <ACPI PCI-PCI bridge> mem 0xe5b04000-0xe5b04fff irq 40 at device 3.0 on pci32
pci41: <ACPI PCI bus> on pcib7
pci32: <base peripheral, interrupt controller> at device 3.1 (no driver attached)
pcib8: <ACPI PCI-PCI bridge> mem 0xe5b06000-0xe5b06fff irq 44 at device 4.0 on pci32
pci45: <ACPI PCI bus> on pcib8
pci32: <base peripheral, interrupt controller> at device 4.1 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
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
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcafff,0xcb000-0xcefff on isa0
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging unlimited
Waiting 5 seconds for SCSI devices to settle
acd0: DVDROM <MATSHITADVD-ROM SR-8178/PY19> at ata1-master UDMA33
mpt0:vol0(mpt0:0:0): Settings ( Hot-Plug-Spares )
mpt0:vol0(mpt0:0:0): Using Spare Pool: 0
mpt0:vol0(mpt0:0:0): 2 Members:
      (mpt0:0:0): Primary
      (mpt0:0:1): Secondary
mpt0:vol0(mpt0:0:0): RAID-1 - Optimal
mpt0:vol0(mpt0:0:0): Status ( Enabled )
(mpt0:vol0:0): Physical (mpt0:0:0), Pass-thru (mpt0:1:0)
(mpt0:vol0:0): Online
(mpt0:vol0:1): Physical (mpt0:0:1), Pass-thru (mpt0:1:1)
(mpt0:vol0:1): Online
ses0 at mpt0 bus 0 target 6 lun 0
ses0: <SDR GEM318P 1> Fixed Processor SCSI-2 device 
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device
pass2 at mpt0 bus 1 target 0 lun 0
pass2: <FUJITSU MAT3073NC 0104> Fixed unknown SCSI-3 device 
pass2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
pass3 at mpt0 bus 1 target 1 lun 0
pass3: <FUJITSU MAT3073NC 0104> Fixed unknown SCSI-3 device 
pass3: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0 at mpt0 bus 0 target 0 lun 0
da0: <LSILOGIC 1030 IM       IM 1000> Fixed Direct Access SCSI-2 device 
da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 70008MB (143376384 512 byte sectors: 255H 63S/T 8924C)
SMP: AP CPU #1 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #5 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #6 Launched!
Trying to mount root from ufs:/dev/da0s1a


More information about the freebsd-current mailing list