Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2007 10:06:52 +0200
From:      Jan Schmidle <freebsd-current@jschmidle.org>
To:        Current@FreeBSD.org
Subject:   Panic with areca and dd
Message-ID:  <468B551C.7070107@jschmidle.org>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x4e33d<SSE3,RSVD2,MON,DS_CPL,VMX,TM2,SSSE3,CX16,xTPR,PDCM,DCA>
   AMD Features=0x20100800<SYSCALL,NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
usable memory = 4281430016 (4083 MB)
avail memory  = 4120072192 (3929 MB)
ACPI APIC Table: <PTLTD  	 APIC  >
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 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <PTLTD   RSDT> 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: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
cpu2: <ACPI CPU> on acpi0
p4tcc2: <CPU Frequency Thermal Control> on cpu2
cpu3: <ACPI CPU> on acpi0
p4tcc3: <CPU Frequency Thermal Control> on cpu3
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 0.0 on pci1
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 0.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 0.0 on pci3
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 0.2 on pci3
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 18 at device 2.0 on pci2
pci6: <ACPI PCI bus> on pcib6
em0: <Intel(R) PRO/1000 Network Connection Version - 6.5.3> 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: <Intel(R) PRO/1000 Network Connection Version - 6.5.3> 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: <ACPI PCI-PCI bridge> at device 0.3 on pci1
pci7: <ACPI PCI bus> on pcib7
pcib8: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci8: <ACPI PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci9: <ACPI PCI bus> on pcib9
pci0: <base peripheral> at device 8.0 (no driver attached)
pcib10: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci10: <ACPI PCI bus> on pcib10
arcmsr0: <Areca SATA Host Adapter RAID Controller (RAID6 capable)
 > 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: <UHCI (generic) USB controller> port 0x1800-0x181f irq 17 at 
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0x1820-0x183f irq 19 at 
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0x1840-0x185f irq 18 at 
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
pcib11: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci11: <ACPI PCI bus> on pcib11
vgapci0: <VGA-compatible display> port 0x3000-0x30ff mem 
0xd0000000-0xd7ffffff,0xd8200000-0xd820ffff irq 18 at device 1.0 on pci11
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 63XXESB2 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> 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: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
ppc0: <Parallel port> 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: <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
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
orm0: <ISA Option ROMs> at iomem 
0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xccfff,0xcd000-0xcdfff 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
Timecounters tick every 1.000 msec
acd0: DMA limited to UDMA33, controller found non-ATA66 cable
acd0: DVDROM <MATSHITADVD-ROM SR-8178/PZ16> 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: <Seagate ST380211AS R001> 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: <Seagate ST3802110AS R001> 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: <Seagate ST3320620AS R001> 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: <Seagate ST3320620AS R001> 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: <Seagate ST3320620AS R001> 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: <Seagate ST3320620AS R001> 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: <Seagate ST3320620AS R001> 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: <Seagate ST3320620AS R001> 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: <Seagate ST3320820AS R001> 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: <Seagate ST3320820AS R001> 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: <Seagate ST3320820AS R001> 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: <Seagate ST3320820AS R001> 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: <Seagate ST3320620AS R001> 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: <Seagate ST3320620AS R001> 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: <Seagate ST3320620AS R001> 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: <Seagate ST3320620AS R001> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468B551C.7070107>