SMP panic

Andrew Thompson thompsa at freebsd.org
Fri May 11 02:05:58 UTC 2007


Hi,


I am having the following panic on my dual p3-500 box. I have tracked it
back to this commit[1], a HEAD cvs checkout of '2006-12-06 06:30 UTC' works
and '2006-12-06 06:35 UTC' panics. Removing SMP also avoids this panic.

 Fatal trap 12: page fault while in kernel mode
 Stopped at      uma_zalloc_arg+0x31:    pushl   0(%esi)

The kernel conf is attached at the end, its just GENERIC with usb
disabled as it causes an interupt storm on this box. ACPI is also
disabled (module not built). I get this panic with the latest current,
due the magnitude of the change its not possible to roll back this
commit to verify it.

[1] =
http://lists.freebsd.org/pipermail/cvs-src/2006-December/072197.html


KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2006 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 7.0-CURRENT #0: Fri May 11 11:22:40 NZST 2007
    thompsa at heff.fud.org.nz:/usr/obj/usr/home/thompsa/scratch/build/sys/DUO
WARNING: WITNESS option enabled, expect reduced performance.
MPTable: <OEM00000 PROD00000000>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (498.67-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x672  Stepping = 2
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536805376 (511 MB)
avail memory = 515735552 (491 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
cpu0 on motherboard
cpu1 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib0: unable to route slot 7 INTD
agp0: <Intel 82443BX (440 BX) host to PCI bridge> on hostb0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem 0xe4000000-0xe7ffffff,0xe9000000-0xe9003fff at device 0.0 on pci1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
piix0: <PIIX Timecounter> port 0x5000-0x500f at device 7.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
fxp0: <Intel 82550 Pro/100 Ethernet> port 0xe400-0xe43f mem 0xed224000-0xed224fff,0xed200000-0xed21ffff irq 17 at device 9.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:02:b3:63:be:6a
fxp1: <Intel 82559 Pro/100 Ethernet> port 0xe800-0xe83f mem 0xed225000-0xed225fff,0xed100000-0xed1fffff irq 18 at device 10.0 on pci0
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:02:b3:0b:b9:7f
fxp2: <Intel 82559 Pro/100 Ethernet> port 0xec00-0xec3f mem 0xed227000-0xed227fff,0xed000000-0xed0fffff irq 19 at device 11.0 on pci0
miibus2: <MII bus> on fxp2
inphy2: <i82555 10/100 media interface> on miibus2
inphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2: Ethernet address: 00:50:8b:11:77:d1
fwohci0: <Texas Instruments TSB43AB23> mem 0xed226000-0xed2267ff,0xed220000-0xed223fff irq 16 at device 12.0 on pci0
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:01:b7:00:00:04:80:af
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:01:b7:04:80:af
fwe0: Ethernet address: 02:01:b7:04:80:af
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0x8800ffc1, gen=1, non CYCLEMASTER mode
firewire0: 3 nodes, maxhop <= 2, cable IRM = 2
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio0: [FAST]
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: [FAST]
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0a03> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounters tick every 1.000 msec
ad0: 9768MB <Seagate ST310212A 3.02> at ata0-master UDMA33
firewire0: bus manager 2 
acd0: DVDROM <SAMSUNG DVD-ROM SD-816B/H000> at ata1-master UDMA33
firewire0: New S400 device ID:0001b700000480d2
firewire0: New S400 device ID:0001b70000045260
SMP: AP CPU #1 Launched!


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc07e1b19
stack pointer	        = 0x28:0xd3b38c6c
frame pointer	        = 0x28:0xd3b38c78
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		= 1 (swapper)
[thread pid 1 tid 100007 ]
Stopped at      uma_zalloc_arg+0x31:    pushl   0(%esi)
db> tr
Tracing pid 1 tid 100007 td 0xc298d360
uma_zalloc_arg(0,0,2) at uma_zalloc_arg+0x31
vfs_mount_alloc(0,c09a6940,c0913d40,c298d360,c0661a14,...) at vfs_mount_alloc+0x18
devfs_first(c0661a14,c0661a14,0,d3b38d04,c0661a5f,...) at devfs_first+0x36
vfs_mountroot(c298f000,c298d360,0,c0879c93,20,...) at vfs_mountroot+0x3e
start_init(0,d3b38d38) at start_init+0x4b
fork_exit(c0661a14,0,d3b38d38) at fork_exit+0xa8
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd3b38d6c, ebp = 0 ---
db> 



KERNCONF
-------
include         GENERIC
ident           DUO

options         ALT_BREAK_TO_DEBUGGER

# USB support
nodevice		uhci		# UHCI PCI->USB interface
nodevice		ohci		# OHCI PCI->USB interface
nodevice		ehci		# EHCI PCI->USB interface (USB 2.0)
nodevice		usb		# USB Bus (required)
nodevice		ugen		# Generic
nodevice		uhid		# "Human Interface Devices"
nodevice		ukbd		# Keyboard
nodevice		ulpt		# Printer
nodevice		umass		# Disks/Mass storage - Requires scbus and da
nodevice		ums		# Mouse
nodevice		ural		# Ralink Technology RT2500USB wireless NICs
nodevice		rum		# Ralink Technology RT2501USB wireless NICs
nodevice		urio		# Diamond Rio 500 MP3 player
nodevice		uscanner	# Scanners
nodevice		aue		# ADMtek USB Ethernet
nodevice		axe		# ASIX Electronics USB Ethernet
nodevice		cdce		# Generic USB over Ethernet
nodevice		cue		# CATC USB Ethernet
nodevice		kue		# Kawasaki LSI USB Ethernet
nodevice		rue		# RealTek RTL8150 USB Ethernet


More information about the freebsd-current mailing list