From owner-freebsd-current@FreeBSD.ORG Wed Jul 4 08:07:06 2007 Return-Path: X-Original-To: Current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D989D16A400 for ; Wed, 4 Jul 2007 08:07:06 +0000 (UTC) (envelope-from freebsd-current@jschmidle.org) Received: from mxintern.schlund.de (mxintern.schlund.de [212.227.126.201]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1A913C489 for ; Wed, 4 Jul 2007 08:07:06 +0000 (UTC) (envelope-from freebsd-current@jschmidle.org) Received: from [172.17.24.193] (helo=[172.17.24.193]) by mxintern.kundenserver.de with esmtp (Exim 4.50) id 1I5ztB-0006Gv-7O for Current@FreeBSD.org; Wed, 04 Jul 2007 10:07:05 +0200 Message-ID: <468B551C.7070107@jschmidle.org> Date: Wed, 04 Jul 2007 10:06:52 +0200 From: Jan Schmidle User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-UI-Msg-Verification: f6bce22cea97174061132210ad9c9483 Cc: Subject: Panic with areca and dd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 08:07:06 -0000 I reduced my Problem from zfs to a general disk, i/o problem. But now i don't know if it is areca driver related or a general freebsd-current problem. When I start two dd's like "dd if=/dev/zero of=/dev/da1 bs=1024" on different disks, the machine panics with the following backtrace and stuff. I also appended a complete dmesg before the crash. The machine is running a cvsuped GENERIC kernel from yesterday. Does anybody know, how to solve this ? Jan panic: Bad link elm 0xffffff0003544400 prev->next != elm cpuid = 1 KDB: enter: panic [thread pid 22 tid 100017 ] Stopped at kdb_enter+0x31: popq %rbp db> bt Tracing pid 22 tid 100017 td 0xffffff00010ea9c0 kdb_enter() at kdb_enter+0x31 panic() at panic+0x169 camisr_runqueue() at camisr_runqueue+0x430 camisr() at camisr+0xc0 ithread_loop() at ithread_loop+0xdd fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffffffac284d30, rbp = 0 --- db> show locks exclusive sleep mutex Giant r = 0 (0xffffffff809e7c40) locked @ /usr/src/sys/cam/cam_xpt.c:7153 db> show alllocks Process 785 (sshd) thread 0xffffff00039c2000 (100129) exclusive sx so_rcv_sx r = 0 (0xffffff0003707670) locked @ /usr/src/sys/kern/uipc_sockbuf.c:145 Process 22 (swi2: cambio) thread 0xffffff00010ea9c0 (100017) exclusive sleep mutex Giant r = 0 (0xffffffff809e7c40) locked @ /usr/src/sys/cam/cam_xpt.c:7153 Process 3 (g_up) thread 0xffffff00011119c0 (100013) exclusive sleep mutex bdone lock r = 0 (0xffffffff80a71c80) locked @ /usr/src/sys/kern/vfs_bio.c:3796 db> show lockedvnods Locked vnodes db> -------------------------------- Copyright (c) 1992-2007 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 #4: Tue Jul 3 17:50:04 CEST 2007 root@amdgurke.schlund.de:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU 5110 @ 1.60GHz (1600.01-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0x4e33d AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 4281430016 (4083 MB) avail memory = 4120072192 (3929 MB) ACPI APIC Table: 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 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 cpu2: on acpi0 p4tcc2: on cpu2 cpu3: on acpi0 p4tcc3: on cpu3 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 0.0 on pci1 pci2: on pcib2 pcib3: irq 16 at device 0.0 on pci2 pci3: on pcib3 pcib4: at device 0.0 on pci3 pci4: on pcib4 pcib5: at device 0.2 on pci3 pci5: on pcib5 pcib6: irq 18 at device 2.0 on pci2 pci6: on pcib6 em0: port 0x2000-0x201f mem 0xd8000000-0xd801ffff irq 18 at device 0.0 on pci6 em0: Ethernet address: 00:30:48:33:26:e8 em0: [FILTER] em1: port 0x2020-0x203f mem 0xd8020000-0xd803ffff irq 19 at device 0.1 on pci6 em1: Ethernet address: 00:30:48:33:26:e9 em1: [FILTER] pcib7: at device 0.3 on pci1 pci7: on pcib7 pcib8: at device 4.0 on pci0 pci8: on pcib8 pcib9: at device 6.0 on pci0 pci9: on pcib9 pci0: at device 8.0 (no driver attached) pcib10: irq 17 at device 28.0 on pci0 pci10: on pcib10 arcmsr0: mem 0xd8300000-0xd8301fff irq 16 at device 0.0 on pci10 ARECA RAID ADAPTER0: Driver Version 1.20.00.14 2007-2-05 ARECA RAID ADAPTER0: FIRMWARE VERSION V1.42 2006-10-13 arcmsr0: [ITHREAD] uhci0: port 0x1800-0x181f irq 17 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xd8600000-0xd86003ff irq 17 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcib11: at device 30.0 on pci0 pci11: on pcib11 vgapci0: port 0x3000-0x30ff mem 0xd0000000-0xd7ffffff,0xd8200000-0xd820ffff irq 18 at device 1.0 on pci11 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] orm0: at iomem 0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xccfff,0xcd000-0xcdfff 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 Timecounters tick every 1.000 msec acd0: DMA limited to UDMA33, controller found non-ATA66 cable acd0: DVDROM at ata0-slave UDMA33 Waiting 5 seconds for SCSI devices to settle (probe16:arcmsr0:0:16:0): inquiry data fails comparison at DV1 step da0 at arcmsr0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da0: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) da1 at arcmsr0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-5 device da1: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da1: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) da2 at arcmsr0 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-5 device da2: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da2: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da3 at arcmsr0 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-5 device da3: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da3: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da4 at arcmsr0 bus 0 target 4 lun 0 da4: Fixed Direct Access SCSI-5 device da4: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da4: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da5 at arcmsr0 bus 0 target 5 lun 0 da5: Fixed Direct Access SCSI-5 device da5: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da5: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da6 at arcmsr0 bus 0 target 6 lun 0 da6: Fixed Direct Access SCSI-5 device da6: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da6: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da7 at arcmsr0 bus 0 target 7 lun 0 da7: Fixed Direct Access SCSI-5 device da7: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da7: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da8 at arcmsr0 bus 0 target 8 lun 0 da8: Fixed Direct Access SCSI-5 device da8: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da8: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da9 at arcmsr0 bus 0 target 9 lun 0 da9: Fixed Direct Access SCSI-5 device da9: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da9: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da10 at arcmsr0 bus 0 target 10 lun 0 da10: Fixed Direct Access SCSI-5 device da10: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da10: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da11 at arcmsr0 bus 0 target 11 lun 0 da11: Fixed Direct Access SCSI-5 device da11: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da11: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da12 at arcmsr0 bus 0 target 12 lun 0 da12: Fixed Direct Access SCSI-5 device da12: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da12: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da13 at arcmsr0 bus 0 target 13 lun 0 da13: Fixed Direct Access SCSI-5 device da13: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da13: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da14 at arcmsr0 bus 0 target 14 lun 0 da14: Fixed Direct Access SCSI-5 device da14: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da14: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) da15 at arcmsr0 bus 0 target 15 lun 0 da15: Fixed Direct Access SCSI-5 device da15: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit) da15: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/da0s1a em0: link state changed to UP