understanding a panic / crash dump

Mike Tancsa mike at sentex.net
Thu Aug 7 09:01:49 PDT 2003


Just trying to understand if anything might be going on with this crash 
dump or just faulty hardware ?  dmesg at the end

	---Mike


# gdb -k /kernel.debug vmcore.0
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read 
called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 933 in fill_symbuf

SMP 2 cpus
IdlePTD at phsyical address 0x00375000
initial pcb at physical address 0x002db900
panicstr: rslock: cpu: 1, addr: 0xc02f1660, lock: 0x01000001
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
fault virtual address   = 0x8974238
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0245973
stack pointer           = 0x10:0xe026ce0c
frame pointer           = 0x10:0xe026ce18
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         = 80288 (perl)
interrupt mask          = net tty bio cam  <- SMP: XXX
trap number             = 12
panic: page fault
mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
boot() called on cpu#1

syncing disks... panic: rslock: cpu: 1, addr: 0xc02f1660, lock: 0x01000001
mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
boot() called on cpu#1
Uptime: 6d22h55m44s

dumping to dev #twed/0x20001, offset 2097152

(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc01593ac in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc0159814 in poweroff_wait (junk=0xc026f0aa, howto=1) at 
/usr/src/sys/kern/kern_shutdown.c:595
#3  0xc026f0aa in bsl1 ()
#4  0xc026d1aa in get_pv_entry () at /usr/src/sys/i386/i386/pmap.c:1539
#5  0xc026d34f in pmap_insert_entry (pmap=0xc02f1620, va=3299061760, 
mpte=0x0, m=0xc07de248)
     at /usr/src/sys/i386/i386/pmap.c:1635
#6  0xc026da8c in pmap_enter (pmap=0xc02f1620, va=3299061760, m=0xc07de248, 
prot=7 '\a', wired=1)
     at /usr/src/sys/i386/i386/pmap.c:2134
#7  0xc023a4c4 in kmem_malloc (map=0xc02e43c0, size=16384, flags=2) at 
/usr/src/sys/vm/vm_kern.c:414
#8  0xc0154b93 in malloc (size=16384, type=0xc02cc740, flags=2) at 
/usr/src/sys/kern/kern_malloc.c:198
#9  0xc0228a3c in softdep_disk_io_initiation (bp=0xcf9ac218) at 
/usr/src/sys/ufs/ffs/ffs_softdep.c:2989
#10 0xc0194467 in spec_strategy (ap=0xe026cb84) at 
/usr/src/sys/miscfs/specfs/spec_vnops.c:453
#11 0xc0193ed5 in spec_vnoperate (ap=0xe026cb84) at 
/usr/src/sys/miscfs/specfs/spec_vnops.c:119
#12 0xc02353e5 in ufs_vnoperatespec (ap=0xe026cb84) at 
/usr/src/sys/ufs/ufs/ufs_vnops.c:2394
#13 0xc0234c4d in ufs_strategy (ap=0xe026cbc8) at vnode_if.h:944
#14 0xc02353ad in ufs_vnoperate (ap=0xe026cbc8) at 
/usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#15 0xc0180240 in bwrite (bp=0xcf9ac218) at vnode_if.h:944
#16 0xc0185d2f in vop_stdbwrite (ap=0xe026cc2c) at 
/usr/src/sys/kern/vfs_default.c:344
#17 0xc0185b2d in vop_defaultop (ap=0xe026cc2c) at 
/usr/src/sys/kern/vfs_default.c:152
#18 0xc02353ad in ufs_vnoperate (ap=0xe026cc2c) at 
/usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#19 0xc01811c5 in vfs_bio_awrite (bp=0xcf9ac218) at vnode_if.h:1193
#20 0xc022e50b in ffs_fsync (ap=0xe026cc9c) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:220
#21 0xc022cdea in ffs_sync (mp=0xc325fa00, waitfor=2, cred=0xc1c5b900, 
p=0xc02f2200) at vnode_if.h:558
#22 0xc018b37b in sync (p=0xc02f2200, uap=0x0) at 
/usr/src/sys/kern/vfs_syscalls.c:577
#23 0xc0159167 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
#24 0xc0159814 in poweroff_wait (junk=0xc02af179, howto=-1070928849) at 
/usr/src/sys/kern/kern_shutdown.c:595
#25 0xc0270c3d in trap_fatal (frame=0xe026cdcc, eva=144130616) at 
/usr/src/sys/i386/i386/trap.c:974
#26 0xc02708b5 in trap_pfault (frame=0xe026cdcc, usermode=0, eva=144130616) 
at /usr/src/sys/i386/i386/trap.c:867
#27 0xc0270413 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 
1862325468, tf_esi = 1862325468,
       tf_ebp = -534327784, tf_isp = -534327816, tf_ebx = -1070655904, 
tf_edx = 144130616, tf_ecx = 16777217,
       tf_eax = 297509, tf_trapno = 12, tf_err = 0, tf_eip = -1071359629, 
tf_cs = 8, tf_eflags = 66054,
       tf_esp = -527084180, tf_ss = -1063435816}) at 
/usr/src/sys/i386/i386/trap.c:466
#28 0xc0245973 in zalloci (z=0xc02f1660) at /usr/src/sys/vm/vm_zone.c:70
#29 0xc026d1aa in get_pv_entry () at /usr/src/sys/i386/i386/pmap.c:1539
#30 0xc026d34f in pmap_insert_entry (pmap=0xe095556c, va=140066816, 
mpte=0xc0ac0b78, m=0xc09d41d8)
     at /usr/src/sys/i386/i386/pmap.c:1635
#31 0xc026da8c in pmap_enter (pmap=0xe095556c, va=140066816, m=0xc09d41d8, 
prot=7 '\a', wired=0)
     at /usr/src/sys/i386/i386/pmap.c:2134
#32 0xc02392cc in vm_fault (map=0xe0955500, vaddr=140066816, fault_type=2 
'\002', fault_flags=8)
     at /usr/src/sys/vm/vm_fault.c:841
#33 0xc027084b in trap_pfault (frame=0xe026cfa8, usermode=1, eva=140066824) 
at /usr/src/sys/i386/i386/trap.c:847
#34 0xc02702df in trap (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 
7, tf_esi = 140066816,
       tf_ebp = -1077940448, tf_isp = -534327340, tf_ebx = 672950156, 
tf_edx = 96, tf_ecx = 4, tf_eax = 16,
       tf_trapno = 12, tf_err = 6, tf_eip = 672897729, tf_cs = 31, 
tf_eflags = 66066, tf_esp = -1077940504,
---Type <return> to continue, or q <return> to quit---
       tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:377
#35 0x281b9ac1 in ?? ()
#36 0x281b9ca9 in ?? ()
#37 0x281ba3cd in ?? ()
#38 0x280bfc44 in ?? ()
#39 0x280c0dfb in ?? ()
#40 0x280e5fd8 in ?? ()
#41 0x280e7190 in ?? ()
#42 0x280d6663 in ?? ()
#43 0x280d1b50 in ?? ()
#44 0x280989b7 in ?? ()
#45 0x28099603 in ?? ()
#46 0x2807ef5d in ?? ()
#47 0x280ea9e0 in ?? ()
#48 0x8048e8b in ?? ()
#49 0x8048d5a in ?? ()
(kgdb)



Fatal trap 12: page fault while in kernel mode
mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
fault virtual address   = 0x8974238
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0245973
stack pointer           = 0x10:0xe026ce0c
frame pointer           = 0x10:0xe026ce18
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         = 80288 (perl)
interrupt mask          = net tty bio cam  <- SMP: XXX
trap number             = 12
panic: page fault
mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
boot() called on cpu#1

syncing disks... Copyright (c) 1992-2003 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 4.8-STABLE #1: Thu Jul 31 10:24:30 EDT 2003
     mdtancsa at ns5.recycle.net:/usr/obj/usr/src/sys/recycle
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(TM) MP 2000+ (1666.73-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
   AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 1073741824 (1048576K bytes)
config> q
avail memory = 1041747968 (1017332K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
  cpu0 (BSP): apic id:  0, version: 0x00040010, at 0xfee00000
  cpu1 (AP):  apic id:  1, version: 0x00040010, at 0xfee00000
  io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0356000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc035609c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f2350
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 17 -> irq 2
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1022 device=700d)> at device 1.0 on pci0
IOAPIC #0 intpin 16 -> irq 5
pci1: <PCI bus> on pcib1
pci1: <ATI model 5446 graphics accelerator> at 5.0 irq 5
isab0: <PCI to ISA bridge (vendor=1022 device=7440)> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 768 ATA100 controller> port 0xb800-0xb80f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
chip1: <PCI to Other bridge (vendor=1022 device=7443)> at device 7.3 on pci0
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xb400-0xb43f 
mem 0xf2000000-0xf20fffff,0xf2800000-0xf
2800fff irq 2 at device 9.0 on pci0
fxp0: Ethernet address 00:d0:b7:db:69:6a
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib2: <PCI to PCI bridge (vendor=1022 device=7448)> at device 16.0 on pci0
IOAPIC #0 intpin 19 -> irq 9
IOAPIC #0 intpin 18 -> irq 10
pci2: <PCI bus> on pcib2
pci2: <OHCI USB controller> at 0.0 irq 9
rl0: <RealTek 8139 10/100BaseTX> port 0xa800-0xa8ff mem 
0xf1000000-0xf10000ff irq 10 at device 5.0 on pci2
rl0: Ethernet address: 00:50:fc:61:6a:6f
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
twe0: <3ware Storage Controller> port 0xa400-0xa40f mem 
0xf0000000-0xf07fffff,0xf0800000-0xf080000f irq 2 at device
6.0 on pci2
twe0: 2 ports, Firmware FE7X 1.05.00.023, BIOS BE7X 1.08.00.036
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xcc000-0xccfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default 
to accept, logging limited to 41100 packet
s/entry by default
DUMMYNET initialized (011031)
IPv6 packet filtering initialized, logging limited to 1000 packets/entry
SMP: AP CPU #1 Launched!
ad0: 38166MB <ST340016A> [77545/16/63] at ata0-master UDMA100
twed0: <TwinStor, Normal> on twe0
twed0: 76318MB (156299440 sectors)
twe0: command interrupt
Mounting root from ufs:/dev/twed0s1a
WARNING: / was not properly dismounted
--------------------------------------------------------------------
Mike Tancsa,                          	          tel +1 519 651 3400
Sentex Communications,     			  mike at sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada			  www.sentex.net/mike



More information about the freebsd-stable mailing list