Stephen Montgomery-Smith stephen at
Fri Mar 4 02:15:12 GMT 2005

This is a follow up to my earlier messages.  I had a panic three times 
when using HTT/SMP under a heavy load, but it can take a day or two 
before it happens.  But three times I am unable to get a core dump.  But 
before I get to that, let me tell you what I did get.  The panic is a 
fatal trap 12, page fault while in kernel mode.  The instruction pointer 
seems always to be at 0x8:0xc0607201.  I did

%nm -n /boot/kernel/kernel | grep c0607
c0607538 T pstats_alloc
c0607554 T pstats_fork
c0607584 T pstats_free
c0607598 T zpfind
c0607614 t sysctl_out_proc
c060789c t sysctl_kern_proc
c0607ef0 T pargs_alloc
c0607f18 T pargs_free
c0607f2c T pargs_hold
c0607fa8 T pargs_drop
%nm -n /boot/kernel/kernel | grep c0606
c06060b0 T procinit
c0606194 t proc_ctor
c06061a0 t proc_dtor
c06061c8 t proc_init
c0606238 t proc_fini
c060626c T inferior
c06062a0 T pfind
c0606334 T pgfind
c0606398 T enterpgrp
c0606610 T enterthispgrp
c0606628 t doenterpgrp
c06067c0 T leavepgrp
c06068c8 t pgdelete
c0606a18 t pgadjustjobc
c0606aa4 T fixjobc
c0606bbc t orphanpg
c0606d0c T fill_kinfo_proc
c0606d20 T fill_kinfo_thread

as suggested in the FAQ.

As to the core dump - I am using a Stable 5.3 dated about Feb 19.  I did 
a dumpon /dev/twed0s3b, which is 4G of swap space, since my system has 
4G of memory (although it only sees 3G of it right now).  So perhaps 
core dumps don't work with raid 0 systems?  I don't know.  savecore -f gives
savecore: unable to force dump - bad magic
savecore: no dumps found
Maybe I am making some very obvious mistake, I don't know.

Anyway, maybe from the instruction pointer you can tell me something.

Also, what does this mean (which is written 2 or 3 times after the panic 

spin lock sched lock held by 0xc51d5190 for > 5s

Here is my config file

include GENERIC
ident HUB2
nooption INET6
options SMP
device atapicam

and here is dmesg

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 5.3-STABLE #0: Mon Feb 28 22:54:08 CST 2005
     stephen at hub2.montlan:/usr/src/sys/i386/compile/HUB2
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.40GHz (3391.51-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
   Hyperthreading: 2 logical CPUs
real memory  = 3221020672 (3071 MB)
avail memory = 3150663680 (3004 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  6
  cpu3 (AP): APIC ID:  7
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <display, VGA> at device 0.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci4: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 
0xdc00-0xdc3f mem 0xdeec0000-0xdeedffff,0xdeee0000-0xdeefffff irq 24 at 
device 2.0 on pci4
em0: Ethernet address: 00:0e:0c:63:34:14
em0:  Speed:N/A  Duplex:N/A
twe0: <3ware Storage Controller. Driver version> port 
0xd880-0xd88f mem 0xde000000-0xde7fffff irq 25 at device 3.0 on pci4
twe0: 2 ports, Firmware FE8S, BIOS BE7X
uhci0: <UHCI (generic) USB controller> port 0xc880-0xc89f irq 16 at 
device 29.0 on pci0
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xcc00-0xcc1f irq 19 at 
device 29.1 on pci0
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <base peripheral> at device 29.4 (no driver attached)
pci0: <base peripheral, interrupt controller> at device 29.5 (no driver 
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 
0xec00-0xec3f mem 0xdefa0000-0xdefbffff irq 16 at device 3.0 on pci5
em1: Ethernet address: 00:0e:0c:3d:e1:6f
em1:  Speed:N/A  Duplex:N/A
pci5: <multimedia, audio> at device 4.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 6300ESB UDMA100 controller> port 
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 
on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
orm0: <ISA Option ROMs> at iomem 
on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
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 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ata0-master: DMA limited to UDMA33, non-ATA66 cable or device
acd0: DVDR <LITE-ON DVDRW SOHW-1633S/BS0C> at ata0-master UDMA33
twed0: <Unit 0, RAID0, Normal> on twe0
twed0: 228944MB (468879104 sectors)
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
cd0 at ata0 bus 0 target 0 lun 0
cd0: <LITE-ON DVDRW SOHW-1633S BS0C> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/twed0s3a
WARNING: / was not properly dismounted
WARNING: R/W mount of / denied.  Filesystem is not clean - run fsck
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 3784 files 4
/usr: superblock summary recomputed
em0: Link is up 1000 Mbps Full Duplex
em1: Link is up 100 Mbps Full Duplex
em1: Link is up 100 Mbps Full Duplex
em1: Link is up 100 Mbps Full Duplex

More information about the freebsd-smp mailing list