kern/89069: kernel panic when putting load on raid0 array

Jens Holmqvist zparta at
Tue Nov 15 05:50:20 PST 2005

>Number:         89069
>Category:       kern
>Synopsis:       kernel panic when putting load on raid0 array
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 15 13:50:19 GMT 2005
>Originator:     Jens Holmqvist
>Release:        FreeBSD 6.0-STABLE i386
System: FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Nov 8 03:32:10 CET 2005 zparta at i386

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-STABLE #0: Tue Nov  8 03:32:10 CET 2005
    zparta at
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 1600+ (1400.60-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  AMD Features=0xc0480800<SYSCALL,MP,MMX+,3DNow+,3DNow>
real memory  = 536805376 (511 MB)
avail memory = 515964928 (492 MB)
ioapic0 <Version 0.2> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 12 on acpi0
pci_link4: <ACPI PCI Link ALKA> on acpi0
pci_link5: <ACPI PCI Link ALKB> on acpi0
pci_link6: <ACPI PCI Link ALKC> on acpi0
pci_link7: <ACPI PCI Link ALKD> on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8367 (KT266/KY266x/KT333) host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 0xc000-0xc03f mem 0xe9020000-0xe903ffff,0xe9000000-0xe901ffff irq 19 at device 11.0 on pci0
em0: Ethernet address: 00:0e:0c:5d:ee:d0
em0:  Speed:N/A  Duplex:N/A
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8233 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc400-0xc40f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 9 at device 17.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xcc00-0xcc1f irq 9 at device 17.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 9 at device 17.4 on pci0
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
atapci1: <HighPoint HPT372 UDMA133 controller> port 0xd400-0xd407,0xd800-0xd803,0xdc00-0xdc07,0xe000-0xe003,0xe400-0xe4ff irq 18 at device 19.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
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
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd4000-0xd4fff on isa0
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
Timecounter "TSC" frequency 1400600888 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 29325MB <Maxtor 6E030L0 NAR61EA0> at ata0-master UDMA100
ad1: DMA limited to UDMA33, device found non-ATA66 cable
ad1: 6187MB <FUJITSU MPE3064AT ED-03-04> at ata0-slave UDMA33
acd0: CDROM <ASUS CD-S400/A/V2.2H> at ata1-slave UDMA33
ad5: 117246MB <Maxtor 6Y120L0 YAR41BW0> at ata2-slave UDMA133
ad6: 194481MB <Maxtor 6B200P0 BAH41B70> at ata3-master UDMA133
ad7: 194481MB <Maxtor 6B200P0 BAH41B70> at ata3-slave UDMA133
ar0: 388961MB <HighPoint v2 RocketRAID RAID0 (stripe 64 KB)> status: READY
ar0: disk0 READY using ad6 at ata3-master
ar0: disk1 READY using ad7 at ata3-slave
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 68 files 0
WARNING: /var was not properly dismounted
WARNING: /mnt/neo was not properly dismounted
WARNING: /jail/glftpd/site was not properly dismounted

	when i put heavy load on my raid0 array device /dev/ar0
	the kernel panics
	i havent been able to force such thing on it so i cant actualy repet it on command but i can give you kgdb with backtrace of the core file

	got 5 panics where i actualy had enough space for the cores had like 5 more or so before that here is the core:

root at>kgdb kernel.debug /usr/local/var/crash/vmcore.5
[GDB will not be able to debug user-mode threads: /usr/lib/ Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd".

Unread portion of the kernel message buffer:
instruction pointer     = 0x20:0xc08badd7
stack pointer           = 0x28:0xd4496cc8
frame pointer           = 0x28:0xd4496ccc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, IOPL = 0
current process         = 30 (irq19: em0)
trap number             = 30
panic: unknown/reserved trap
Uptime: 3d1h45m13s
Dumping 511 MB (2 chunks)
  chunk 0: 1MB (160 pages) ... ok
  chunk 1: 511MB (130800 pages) 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             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc069d978 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc069dca6 in panic (fmt=0xc0943594 "unknown/reserved trap") at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc08c4968 in trap_fatal (frame=0xd4496c88, eva=0) at /usr/src/sys/i386/i386/trap.c:833
#4  0xc08c43a7 in trap (frame=
      {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1046961280, tf_esi = 4, tf_ebp = -733385524, tf_isp = -733385548, tf_ebx = -1046941312, tf_edx = 0, tf_ecx = -1046941312, tf_eax = 524870, tf_trapno = 30, tf_err = 0, tf_eip = -1064587817, tf_cs = 32, tf_eflags = 524870, tf_esp = -1046941312, tf_ss = -733385468}) at /usr/src/sys/i386/i386/trap.c:629
#5  0xc08b109a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#6  0xc08badd7 in spinlock_exit () at cpufunc.h:365
#7  0xc0684a89 in ithread_loop (arg=0xc198a380) at /usr/src/sys/kern/kern_intr.c:597
#8  0xc068387f in fork_exit (callout=0xc0684780 <ithread_loop>, arg=0x80246, frame=0x80246) at /usr/src/sys/kern/kern_fork.c:789
#9  0xc08b10fc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208

	put load on a raid0 array on a computer with the same specs maybe?


More information about the freebsd-bugs mailing list