6.0BETA5: panic: page fault

Øyvind Kolbu oyvind at kolbu.ws
Tue Sep 20 07:21:19 PDT 2005


When shutdowning my 6.0beta5 installation I got this panic:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x3c
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc08c338a
stack pointer           = 0x28:0xe50777b0
frame pointer           = 0x28:0xe50777cc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 60 (swi1: net)
trap number             = 12
panic: page fault
Uptime: 14m44s
Dumping 1023 MB (2 chunks)
  chunk 0: 1MB (160 pages) ... ok
  chunk 1: 1023MB (261856 pages) 1007 991 975 959 943 927 911 895 879 863
847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559
543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255
239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h

(kgdb) bt full
#0  doadump () at pcpu.h:165
No locals.
#1  0xc06a6f66 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
        first_buf_printf = 1
#2  0xc06a72a9 in panic (fmt=0xc0923fc0 "%s") at
/usr/src/sys/kern/kern_shutdown.c:555
        td = (struct thread *) 0xc230d480
        bootopt = 260
        newpanic = 0
        ap = 0xc230d480 "<j2Â@ø(Â"
        buf = "page fault", '\0' <repeats 245 times>
#3  0xc08da7dc in trap_fatal (frame=0xe5077770, eva=0) at
/usr/src/sys/i386/i386/trap.c:841
        code = 40
        type = 12
        ss = 40
        esp = 0
        softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
ssd_dpl = 0, ssd_p = 1, ssd_xx = 4, ssd_xx1 = 1,
  ssd_def32 = 1, ssd_gran = 1}
#4  0xc08da4b2 in trap_pfault (frame=0xe5077770, usermode=0, eva=60) at
/usr/src/sys/i386/i386/trap.c:752
        va = 0
        vm = (struct vmspace *) 0x0
        map = 0x1
        rv = 1
        ftype = 1 '\001'
        td = (struct thread *) 0xc230d480
        p = (struct proc *) 0xc2326a3c
#5  0xc08da04d in trap (frame=
      {tf_fs = -452526072, tf_es = -1064435672, tf_ds = 40, tf_edi = 0,
tf_esi = 0, tf_ebp = -452495412, tf_isp = -452495460, tf_ebx = -452495324,
tf_edx = -452494684, tf_ecx = -1036987264, tf_eax = 0, tf_trapno = 12,
tf_err = 0, tf_eip = -1064553590, tf_cs = 32, tf_eflags = 590466, tf_esp =
-1033448448, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:442
        td = (struct thread *) 0xc230d480
        p = (struct proc *) 0xc2326a3c
        sticks = 3263729976
        i = 0
        ucode = 0
        type = 12
        code = 0
        eva = 60
#6  0xc08c687a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
No locals.
#7  0xc08c338a in bus_dmamap_create (dmat=0x0, flags=1, mapp=0xe5077824) at
/usr/src/sys/i386/i386/busdma_machdep.c:364
        error = 0
#8  0xc05290d6 in em_encap (adapter=0xc23bf000, m_headp=0xe5077aa4) at
/usr/src/sys/dev/em/if_em.c:1215
        txd_upper = 0
        txd_lower = 0
        txd_used = 0
        txd_saved = 0
        i = -1036083200
        j = 0
        error = -1036083200
        address = Unhandled dwarf expression opcode 0x93

Kernel config is stock GENERIC.
FreeBSD putsch.kolbu.ws 6.0-BETA5 FreeBSD 6.0-BETA5 #0: Mon Sep 19 15:29:46
CEST 2005     oyvind at putsch.kolbu.ws:/usr/obj/usr/src/sys/GENERIC  i386

dmesg attached.

I got the vmcore and kernel.debug available for further debugging, if
needed.

-- 
Øyvind Kolbu
-------------- 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-BETA5 #0: Mon Sep 19 15:29:46 CEST 2005
    oyvind at putsch.kolbu.ws:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: <DELL   PE1600SC>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3056.50-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  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>>
  Hyperthreading: 2 logical CPUs
real memory  = 1073610752 (1023 MB)
avail memory = 1041731584 (993 MB)
pnpbios: Bad PnP BIOS data checksum
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic2: Changing APIC ID to 10
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL PE1600SC> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNK0> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNK1> on acpi0
pci_link2: <ACPI PCI Link LNK2> on acpi0
pci_link3: <ACPI PCI Link LNK3> on acpi0
pci_link4: <ACPI PCI Link LNK4> on acpi0
pci_link5: <ACPI PCI Link LNK5> on acpi0
pci_link6: <ACPI PCI Link LNK6> on acpi0
pci_link7: <ACPI PCI Link LNK7> on acpi0
pci_link8: <ACPI PCI Link LNK8> irq 11 on acpi0
pci_link9: <ACPI PCI Link LNK9> on acpi0
pci_link10: <ACPI PCI Link LNKA> on acpi0
pci_link11: <ACPI PCI Link LNKB> on acpi0
pci_link12: <ACPI PCI Link LNKC> irq 10 on acpi0
pci_link13: <ACPI PCI Link LNKD> irq 3 on acpi0
pci_link14: <ACPI PCI Link LNKE> on acpi0
pci_link15: <ACPI PCI Link LNKF> on acpi0
pci_link16: <ACPI PCI Link LN10> on acpi0
pci_link17: <ACPI PCI Link LN11> on acpi0
pci_link18: <ACPI PCI Link LN12> on acpi0
pci_link19: <ACPI PCI Link LN13> on acpi0
pci_link20: <ACPI PCI Link LN14> on acpi0
pci_link21: <ACPI PCI Link LN15> on acpi0
pci_link22: <ACPI PCI Link LN16> on acpi0
pci_link23: <ACPI PCI Link LN17> on acpi0
pci_link24: <ACPI PCI Link LN18> on acpi0
pci_link25: <ACPI PCI Link LN19> on acpi0
pci_link26: <ACPI PCI Link LN1A> on acpi0
pci_link27: <ACPI PCI Link LN1B> on acpi0
pci_link28: <ACPI PCI Link LN1C> on acpi0
pci_link29: <ACPI PCI Link LN1D> on acpi0
pci_link30: <ACPI PCI Link LN1E> on acpi0
pci_link31: <ACPI PCI Link LN1F> on acpi0
pci_link32: <ACPI PCI Link LUSB> irq 5 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xecc0-0xecff mem 0xfe200000-0xfe21ffff irq 16 at device 2.0 on pci0
em0: Ethernet address: 00:11:43:d1:1d:ef
em0:  Speed:N/A  Duplex:N/A
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xeca0-0xecbf mem 0xfeb00000-0xfeb00fff,0xfe000000-0xfe0fffff irq 28 at device 6.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:50:8b:62:2d:e1
pci0: <display, VGA> at device 14.0 (no driver attached)
atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8b0-0x8bf at device 15.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfe220000-0xfe220fff irq 5 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
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: 2 ports with 2 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
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0xdc00-0xdcff mem 0xfcf10000-0xfcf1ffff,0xfcf00000-0xfcf0ffff irq 29 at device 4.0 on pci1
mpt0: [GIANT-LOCKED]
mpt0: MPI Version=1.2.12.0
mpt0: Unhandled Event Notify Frame. Event 0xa.
pcib2: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib2
hptmv0: <RocketRAID 182x SATA Controller> mem 0xfcd00000-0xfcd7ffff irq 24 at device 4.0 on pci2
RocketRAID 182x SATA Controller driver Version 1.1
RR182x [0,0]: channel started successfully
RR182x [0,1]: channel started successfully
RR182x [0,2]: channel started successfully
RR182x [0,3]: channel started successfully
RR182x: RAID5 write-back enabled
hptmv0: [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
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> 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
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 1 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
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
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff,0xe3000-0xea7ff,0xec000-0xeffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 3056500220 Hz quality 800
Timecounters tick every 1.000 msec
Waiting 5 seconds for SCSI devices to settle
acd0: CDROM <SAMSUNG CD-ROM SC-148A/B403> at ata0-master UDMA33
ad2: 76319MB <WDC WD800BB-32BSA0 12.08C12> at ata1-master UDMA100
da0 at hptmv0 bus 0 target 0 lun 0
da0: <RR182x RAID 5 Array 3.00> Fixed Direct Access SCSI-0 device 
da0: 476950MB (976794112 512 byte sectors: 255H 63S/T 60802C)
Trying to mount root from ufs:/dev/da0s2a
WARNING: /stash was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /usr/local/mail was not properly dismounted
WARNING: /var was not properly dismounted
em0: link state changed to UP
Accounting enabled


More information about the freebsd-stable mailing list