Crash on 6.1-RELEASE

Dan Rue drue at
Thu Dec 14 08:36:12 PST 2006


Finally got a good error message and crash dump for a problem i'm experiencing
in 6.1-RELEASE.  Let me know if there's more info I can provide.

from /var/log/messages:
Dec 13 01:17:23 leopard kernel: twa0: ERROR: (0x03: 0x0100): SGL entry contains zero data: address=0x0, length=0x0, cmd=W
Dec 13 01:17:23 leopard kernel: (da0:twa0:0:0:0): WRITE(16). CDB: 8a 0 0 0 0 1 45 8f 77 c0 0 0 0 20 0 0 
Dec 13 01:17:23 leopard kernel: (da0:twa0:0:0:0): CAM Status: SCSI Status Error
Dec 13 01:17:23 leopard kernel: (da0:twa0:0:0:0): SCSI Status: Check Condition
Dec 13 01:17:23 leopard kernel: (da0:twa0:0:0:0): ILLEGAL REQUEST asc:26,0
Dec 13 01:17:23 leopard kernel: (da0:twa0:0:0:0): Invalid field in parameter list
Dec 13 01:17:23 leopard kernel: (da0:twa0:0:0:0): Unretryable error
Dec 13 01:17:23 leopard kernel: g_vfs_done():da0[WRITE(offset=2796542722048, length=16384)]error = 22

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc064dee1 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402
#2  0xc064e178 in panic (fmt=0xc08b8f9a "initiate_write_inodeblock_ufs2: already started") at /usr/src/sys/kern/kern_shutdown.c:558
#3  0xc079ad62 in initiate_write_inodeblock_ufs2 (inodedep=0xca2c2780, bp=0x0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:4013
#4  0xc079a52f in softdep_disk_io_initiation (bp=0xd8caed20) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3748
#5  0xc07a2ae1 in ffs_geom_strategy (bo=0xc4e55940, bp=0xd8caed20) at buf.h:422
#6  0xc0692998 in bufwrite (bp=0xd8caed20) at buf.h:415
#7  0xc07a29ba in ffs_bufwrite (bp=0xd8caed20)
at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1710
#8  0xc06943c7 in vfs_bio_awrite (bp=0xd8caed20) at buf.h:399
#9  0xc069b3f8 in vop_stdfsync (ap=0xe501ccc0) at /usr/src/sys/kern/vfs_default.c:412
#10 0xc06029ab in devfs_fsync (ap=0xe501ccc0) at /usr/src/sys/fs/devfs/devfs_vnops.c:307
#11 0xc0852ef8 in VOP_FSYNC_APV (vop=0x0, a=0x0) at vnode_if.c:1020
#12 0xc06a3cd8 in sync_vnode (bo=0xc4e55940, td=0xc4ba3a80) at vnode_if.h:537
#13 0xc06a3ff1 in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1679
#14 0xc0638524 in fork_exit (callout=0xc06a3d9c <sched_sync>, arg=0x0, frame=0xe501cd38) at /usr/src/sys/kern/kern_fork.c:805
#15 0xc0830cfc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208

FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Tue May  9 11:47:55 CDT 2006     drue at  i386

full dmesg: 
Copyright (c) 1992-2006 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.1-RELEASE #0: Tue May  9 11:47:55 CDT 2006
    drue at
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  Logical CPUs per core: 2
real memory  = 1073676288 (1023 MB)
avail memory = 1041735680 (993 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
kbd1 at kbdmux0
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xac00-0xac1f mem 0xfc4e0000-0xfc4fffff irq 18 at device 1.0 on pci1
em0: Ethernet address: 00:04:23:b0:ea:8c
pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
3ware device driver for 9000 series storage controllers, version:
twa0: <3ware 9000 series Storage Controller> port 0xb800-0xb8ff mem 0xfc5ffc00-0xfc5ffcff,0xfb800000-0xfbffffff irq 25 at device 3.0 on pci2
twa0: INFO: (0x15: 0x1300): Controller details:: Model 9500S-12, 12 ports, Firmware FE9X, BIOS BE9X
uhci0: <UHCI (generic) USB controller> port 0xe800-0xe81f irq 16 at device 29.0 on pci0
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
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xec00-0xec1f irq 19 at device 29.1 on pci0
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
uhub1: 2 ports with 2 removable, self powered
pci0: <base peripheral> at device 29.4 (no driver attached)
ehci0: <Intel 6300ESB USB 2.0 controller> mem 0xfe7ffc00-0xfe7fffff irq 23 at device 29.7 on pci0
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <Intel 6300ESB USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <display, VGA> at device 0.0 (no driver attached)
fxp0: <Intel 82551 Pro/100 Ethernet> port 0xcc00-0xcc3f mem 0xfe6fe000-0xfe6fefff,0xfe6a0000-0xfe6bffff irq 17 at device 1.0 on pci3
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:04:23:b0:ea:8d
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 6300ESB UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Intel 6300ESB SATA150 controller> port 0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd40f irq 18 at device 31.2 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep 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]
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
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
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xca7ff,0xca800-0xcbfff,0xe0000-0xe3fff on isa0
ppc0: parallel port not found.
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 2992515817 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM <SR244W/T01A> at ata1-master UDMA33
ad4: 76319MB <Seagate ST380817AS 3.42> at ata2-master SATA150
da0 at twa0 bus 0 target 0 lun 0
da0: <AMCC 9500S-12   DISK 2.06> Fixed Direct Access SCSI-3 device
da0: 100.000MB/s transfers
da0: 2860920MB (5859164160 512 byte sectors: 255H 63S/T 364716C)
Trying to mount root from ufs:/dev/ad4s1a

More information about the freebsd-stable mailing list