5.2-RELEASE crash

Magnus Dahlstedt n97magda at midgard.liu.se
Fri Jan 30 03:52:03 PST 2004


On 5.2-RELEASE, I get the following crash:

backtrace(c06c62bc,c8697bdc,c06d63e4,c06d63e4,c06d7305) at backtrace+0x17
witness_lock(c8697bdc,8,c06d7305,369,c865d540) at witness_lock+0x686
_mtx_lock_flags(c8697bdc,0,c06d7305,369,c865d554) at _mtx_lock_flags+0xb5
obj_alloc(c865d540,1000,e4097a07,101,0) at obj_alloc+0x3f
slab_zalloc(c865d540,1,c865d554,8,c06d7305) at slab_zalloc+0xb3
uma_zone_slab(c865d540,1,c06d7305,682,c865d5f0) at uma_zone_slab+0xda
uma_zalloc_internal(c865d540,0,1,5b7,72e) at uma_zalloc_internal+0x3e
uma_zalloc_arg(c865d540,0,1,72e,2) at uma_zalloc_arg+0x394
swp_pager_meta_build(cd066e70,1b,0,2,0) at swp_pager_meta_build+0x16d
swap_pager_putpages(cd066e70,e4097bd0,2,0,e4097b40) at
swap_pager_putpages+0x31a
default_pager_putpages(cd066e70,e4097bd0,2,0,e4097b40) at
default_pager_putpages+0x2e
vm_pageout_flush(e4097bd0,2,0,eb,c06756a5) at vm_pageout_flush+0x174
vm_pageout_clean(c2ae7190,0,c06d7108,32a,0) at vm_pageout_clean+0x2ea
vm_pageout_scan(0,0,c06d7108,5a9,1f4) at vm_pageout_scan+0x671
vm_pageout(0,e4097d48,c06c07d2,311,0) at vm_pageout+0x31d
fork_exit(c064897d,0,e4097d48) at fork_exit+0xb5
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe4097d7c, ebp = 0 ---
panic: kmem_malloc(16384): kmem_map too small: 275243008 total allocated
cpuid = 1;
Debugger("panic")
Stopped at      Debugger+0x4f:  xchgl   %ebx,in_Debugger.0
db> trace
Debugger(c06c2ccd,1,c06d5a05,e40a6a74,100) at Debugger+0x4f
panic(c06d5a05,4000,1067e000,e40a6aa0,c0518254) at panic+0x14a
kmem_malloc(c10310a0,4000,402,e40a6aec,c064c19e) at kmem_malloc+0x101
page_alloc(0,4000,e40a6adf,402,25471b2) at page_alloc+0x27
uma_large_malloc(4000,402,0,c05471b2,c07287e0) at uma_large_malloc+0x52
malloc(4000,c0709ec0,402,d4917c00,c8212a00) at malloc+0x122
softdep_disk_io_initiation(d4b8e238,c0545d00,c06c908c,c06c6096,3) at
softdep_disk_io_initiation+0x102
spec_xstrategy(c86ac000,d4b8e238,0,246,d4b8e238) at spec_xstrategy+0x10d
spec_specstrategy(e40a6bb8,e40a6bd4,c0630bc8,e40a6bb8,c06c214f) at
spec_specstrategy+0x6d
spec_vnoperate(e40a6bb8,c06c214f,f4,fffd4000,ffffffff) at
spec_vnoperate+0x18
ufs_strategy(e40a6bfc,e40a6c28,c05653ba,e40a6bfc,1) at ufs_strategy+0x134
ufs_vnoperate(e40a6bfc,1,c06c908c,360,1) at ufs_vnoperate+0x18
bwrite(d4b8e238,0,c06c908c,69b,20ae380) at bwrite+0x43c
vfs_bio_awrite(d4b8e238,0,c06d44b8,e1,e40a6cb0) at vfs_bio_awrite+0x247
ffs_fsync(e40a6cd8,30002,c8212a00,6cd,0) at ffs_fsync+0x2fc
sched_sync(0,e40a6d48,c06c07d2,311,0) at sched_sync+0x26a
fork_exit(c0576443,0,e40a6d48) at fork_exit+0xb5
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe40a6d7c, ebp = 0 ---
db>


The dmesg output:

FreeBSD 5.2-RELEASE #1: Sun Jan 18 13:44:30 CET 2004
    n96andha at gandalf.midgard.liu.se:/usr/obj/usr/current/src/sys/GANDALF
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0802000.
MPTable: <  PLACER CRB  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2665.92-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 2146942976 (2047 MB)
avail memory = 2080309248 (1983 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  6
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic2: Assuming intbase of 48
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 21 entries at 0xc00fde70
pcib0: <MPTable Host-PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib0: slot 31 INTB routed to irq 17
agp0: <Intel Generic host to PCI bridge> mem 0xf4000000-0xf7ffffff at
device 0.0
 on pci0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <PCIBIOS PCI-PCI bridge> mem 0xf8000000-0xfbffffff at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pcib2: <PCIBIOS PCI-PCI bridge> at device 2.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <base peripheral, interrupt controller> at device 28.0 (no driver
attached
)
pcib3: <MPTable PCI-PCI bridge> at device 29.0 on pci2
pci3: <PCI bus> on pcib3
pcib3: slot 3 INTA routed to irq 54
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.19> port
0x3000-0x303f
 mem 0xf0200000-0xf021ffff irq 54 at device 3.0 on pci3
em0:  Speed:N/A  Duplex:N/A
pci2: <base peripheral, interrupt controller> at device 30.0 (no driver
attached
)
pcib4: <MPTable PCI-PCI bridge> at device 31.0 on pci2
pci4: <PCI bus> on pcib4
pcib4: slot 1 INTA routed to irq 24
pcib4: slot 2 INTA routed to irq 28
pcib4: slot 2 INTA routed to irq 28
pcib5: <PCI-PCI bridge> at device 1.0 on pci4
pci5: <PCI bus> on pcib5
pstpci0: <Promise SuperTrak SX6000 ATA RAID controller> mem
0xf1400000-0xf17ffff
f irq 24 at device 1.1 on pci4
sym0: <896> port 0x4000-0x40ff mem
0xf0300000-0xf0301fff,0xf0304000-0xf03043ff i
rq 28 at device 2.0 on pci4
sym0: Tekram NVRAM, ID 7, Fast-40, SE, parity checking
sym1: <896> port 0x4400-0x44ff mem
0xf0302000-0xf0303fff,0xf0304400-0xf03047ff i
rq 28 at device 2.1 on pci4
sym1: Tekram NVRAM, ID 7, Fast-40, SE, parity checking
pcib6: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci6: <PCI bus> on pcib6
pcib6: slot 1 INTA routed to irq 16
pcib6: slot 2 INTA routed to irq 17
pci6: <display, VGA> at device 1.0 (no driver attached)
fxp0: <Intel 82558 Pro/100 Ethernet> port 0x5000-0x501f mem
0xf0500000-0xf05ffff
f,0xfc800000-0xfc800fff irq 17 at device 2.0 on pci6
fxp0: Ethernet address 00:90:27:2d:0b:0d
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port
0x2440-0x244f,0x374-0x377,0x170-0x
177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xf0000000-0xf00003ff at device 31.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
orm0: <Option ROMs> at iomem
0xcd000-0xcefff,0xc9000-0xccfff,0xc8000-0xc8fff,0xc
0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: failed to get data.
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f
0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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
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
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
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
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 10.000 msec
acd0: CDROM <CD-956E/AKV> at ata0-master PIO4
Waiting 15 seconds for SCSI devices to settle
pst0: <Promise SuperTrak RAID> on pstpci0
GEOM: create disk pst0 dp=0xc8234b0c
pst0: 567435MB <PROMISE TECH. I2O RAID DEVICE> [72337/255/63] on pstpci0
pstpci0: [MPSAFE]
GEOM: create disk da0 dp=0xc8673850
da0 at sym0 bus 0 target 12 lun 0
da0: <SEAGATE ST336704LW 0004> Fixed Direct Access SCSI-3 device
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
/: mount pending error: blocks 6176 files 3
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default
to de
ny, logging disabled
em0: Link is up 1000 Mbps Full Duplex
em0: promiscuous mode enabled
em0: promiscuous mode disabled


It is a dual-Xeon Supermicro, with a Promise SX6000 ide-raid. The kernel
is a fairly standard smp-kernel.

/ Magnus


More information about the freebsd-current mailing list