From owner-freebsd-stable@FreeBSD.ORG Thu Dec 14 16:36:12 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 765B716A412 for ; Thu, 14 Dec 2006 16:36:12 +0000 (UTC) (envelope-from drue@therub.org) Received: from mali.therub.org (therub.org [67.132.216.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4727B43D4C for ; Thu, 14 Dec 2006 16:34:22 +0000 (GMT) (envelope-from drue@therub.org) Received: by mali.therub.org (Postfix, from userid 1002) id AC5F5147EEC; Thu, 14 Dec 2006 10:35:47 -0600 (CST) Date: Thu, 14 Dec 2006 10:35:47 -0600 From: Dan Rue To: stable@freebsd.org Message-ID: <20061214163547.GU62981@therub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: Subject: Crash on 6.1-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 16:36:12 -0000 Cheers, 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 kgdb: #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 , 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 uname: FreeBSD leopard.xxx.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Tue May 9 11:47:55 CDT 2006 drue@leopard.xxx.com:/usr/obj/usr/src/sys/GENERIC 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@leopard.xxx.com:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: 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 Features=0xbfebfbff Features2=0x441d> Logical CPUs per core: 2 real memory = 1073676288 (1023 MB) avail memory = 1041735680 (993 MB) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 acpi0: 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: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 3.0 on pci0 pci1: on pcib1 em0: port 0xac00-0xac1f mem 0xfc4e0000-0xfc4fffff irq 18 at device 1.0 on pci1 em0: Ethernet address: 00:04:23:b0:ea:8c pcib2: at device 28.0 on pci0 pci2: on pcib2 3ware device driver for 9000 series storage controllers, version: 3.60.02.012 twa0: <3ware 9000 series Storage Controller> port 0xb800-0xb8ff mem 0xfc5ffc00-0xfc5ffcff,0xfb800000-0xfbffffff irq 25 at device 3.0 on pci2 twa0: [GIANT-LOCKED] twa0: INFO: (0x15: 0x1300): Controller details:: Model 9500S-12, 12 ports, Firmware FE9X 2.06.00.009, BIOS BE9X 2.03.01.051 uhci0: port 0xe800-0xe81f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0xec00-0xec1f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: at device 29.4 (no driver attached) ehci0: mem 0xfe7ffc00-0xfe7fffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: 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: at device 30.0 on pci0 pci3: on pcib3 pci3: at device 0.0 (no driver attached) fxp0: port 0xcc00-0xcc3f mem 0xfe6fe000-0xfe6fefff,0xfe6a0000-0xfe6bffff irq 17 at device 1.0 on pci3 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:04:23:b0:ea:8d isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd40f irq 18 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 acpi_button1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: 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: 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: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xca7ff,0xca800-0xcbfff,0xe0000-0xe3fff on isa0 ppc0: parallel port not found. 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 2992515817 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM at ata1-master UDMA33 ad4: 76319MB at ata2-master SATA150 da0 at twa0 bus 0 target 0 lun 0 da0: 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