From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 15 13:50:20 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE62D16A41F for ; Tue, 15 Nov 2005 13:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BC7543D49 for ; Tue, 15 Nov 2005 13:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAFDoKkP037371 for ; Tue, 15 Nov 2005 13:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAFDoKiT037370; Tue, 15 Nov 2005 13:50:20 GMT (envelope-from gnats) Resent-Date: Tue, 15 Nov 2005 13:50:20 GMT Resent-Message-Id: <200511151350.jAFDoKiT037370@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jens Holmqvist Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0B7116A41F for ; Tue, 15 Nov 2005 13:46:01 +0000 (GMT) (envelope-from root@hispan.se) Received: from hispan.se (146.net90.skekraft.net [213.199.90.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0789643D49 for ; Tue, 15 Nov 2005 13:46:00 +0000 (GMT) (envelope-from root@hispan.se) Received: by hispan.se (Postfix, from userid 0) id 531EFC0CF; Tue, 15 Nov 2005 14:45:59 +0100 (CET) Message-Id: <20051115134559.531EFC0CF@hispan.se> Date: Tue, 15 Nov 2005 14:45:59 +0100 (CET) From: Jens Holmqvist To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/89069: kernel panic when putting load on raid0 array X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jens Holmqvist List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 13:50:20 -0000 >Number: 89069 >Category: kern >Synopsis: kernel panic when putting load on raid0 array >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 15 13:50:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jens Holmqvist >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD hispan.se 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Nov 8 03:32:10 CET 2005 zparta@hispan.se:/usr/obj/usr/src/sys/GENERIC 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@hispan.se:/usr/obj/usr/src/sys/GENERIC 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 Features=0x383fbff AMD Features=0xc0480800 real memory = 536805376 (511 MB) avail memory = 515964928 (492 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: on acpi0 pci_link2: irq 10 on acpi0 pci_link3: irq 12 on acpi0 pci_link4: on acpi0 pci_link5: on acpi0 pci_link6: on acpi0 pci_link7: on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) em0: 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: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc400-0xc40f at device 17.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xc800-0xc81f irq 9 at device 17.2 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0xcc00-0xcc1f irq 9 at device 17.3 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: port 0xd000-0xd01f irq 9 at device 17.4 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: port 0xd400-0xd407,0xd800-0xd803,0xdc00-0xdc07,0xe000-0xe003,0xe400-0xe4ff irq 18 at device 19.0 on pci0 ata2: on atapci1 ata3: on atapci1 acpi_tz0: on acpi0 fdc0: 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: port 0x378-0x37f,0x778-0x77b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xd4000-0xd4fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1400600888 Hz quality 800 Timecounters tick every 1.000 msec ad0: 29325MB at ata0-master UDMA100 ad1: DMA limited to UDMA33, device found non-ATA66 cable ad1: 6187MB at ata0-slave UDMA33 acd0: CDROM at ata1-slave UDMA33 ad5: 117246MB at ata2-slave UDMA133 ad6: 194481MB at ata3-master UDMA133 ad7: 194481MB at ata3-slave UDMA133 ar0: 388961MB 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 >Description: 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@hispan.se>kgdb kernel.debug /usr/local/var/crash/vmcore.5 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: 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 , 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 (kgdb) >How-To-Repeat: put load on a raid0 array on a computer with the same specs maybe? >Fix: >Release-Note: >Audit-Trail: >Unformatted: