From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 21 21:30:20 2004 Return-Path: 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 6F54616A4CE for ; Tue, 21 Dec 2004 21:30:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C73E43D41 for ; Tue, 21 Dec 2004 21:30: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.1/8.13.1) with ESMTP id iBLLUJs7017291 for ; Tue, 21 Dec 2004 21:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBLLUJ1t017285; Tue, 21 Dec 2004 21:30:19 GMT (envelope-from gnats) Resent-Date: Tue, 21 Dec 2004 21:30:19 GMT Resent-Message-Id: <200412212130.iBLLUJ1t017285@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, Sean Farley Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D101816A4CE for ; Tue, 21 Dec 2004 21:23:04 +0000 (GMT) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 315DA43D39 for ; Tue, 21 Dec 2004 21:23:04 +0000 (GMT) (envelope-from sean@farley.org) Received: from thor.farley.org (thor.farley.org [IPv6:2001:470:1f01:290:1::5]) by mail.farley.org (8.13.1/8.13.1) with ESMTP id iBLLN2lC073499 for ; Tue, 21 Dec 2004 15:23:02 -0600 (CST) (envelope-from sean@gw.farley.org) Received: from thor.farley.org (localhost [127.0.0.1]) by thor.farley.org (8.13.1/8.13.1) with ESMTP id iBLLNFnQ037446 for ; Tue, 21 Dec 2004 15:23:15 -0600 (CST) (envelope-from sean@thor.farley.org) Received: (from sean@localhost) by thor.farley.org (8.13.1/8.13.1/Submit) id iBLLNEqb037445; Tue, 21 Dec 2004 15:23:14 -0600 (CST) (envelope-from sean) Message-Id: <200412212123.iBLLNEqb037445@thor.farley.org> Date: Tue, 21 Dec 2004 15:23:14 -0600 (CST) From: Sean Farley To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/75368: initiate_write_inodeblock_ufs2() panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sean Farley List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 21:30:20 -0000 >Number: 75368 >Category: kern >Synopsis: initiate_write_inodeblock_ufs2() panic >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 21 21:30:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Sean Farley >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD celt.farley.org 5.3-STABLE FreeBSD 5.3-STABLE #1: Sun Nov 14 16:52:31 CST 2004 root@celt.farley.org:/usr/obj/usr/src/sys/CELT i386 CPU: Pentium II/Pentium II Xeon/Celeron (398.27-MHz 686-class CPU) real memory = 134217728 (128 MB) avail memory = 125870080 (120 MB) >Description: I was testing out a system (Dell PII 400MHz) my father retired. I thought heard some activity on the drive, so I ssh'd over to it then exited right away (time to leave for a movie :)). It panicked shortly afterward. Although it is on a different bus and probably not the cause: Dec 18 08:58:54 celt kernel: ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=1 error=4 Just before panic: Dec 18 08:56:03 celt kernel: ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=5336671 Dec 18 08:56:10 celt kernel: ad0: FAILURE - WRITE_DMA timed out Panic recovery: Dec 18 08:58:54 celt savecore: reboot after panic: initiate_write_inodeblock_ufs2: already started Stack trace: 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". doadump () at pcpu.h:159 (kgdb) where #0 doadump () at pcpu.h:159 #1 0xc04ad01d in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:397 #2 0xc04ad2d9 in panic (fmt=0xc0640aca "initiate_write_inodeblock_ufs2: already started") at /usr/src/sys/kern/kern_shutdown.c:553 #3 0xc05b19b2 in initiate_write_inodeblock_ufs2 (inodedep=0xc101d500, bp=0x0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3772 #4 0xc05b1343 in softdep_disk_io_initiation (bp=0xc378b7f0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3500 #5 0xc05b1270 in softdep_disk_prewrite (vp=0xc1059528, bp=0xc378b7f0) at buf.h:417 #6 0xc04ee7d4 in ibwrite (bp=0xc378b7f0) at buf.h:408 #7 0xc04ee38c in bwrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:771 #8 0xc04f0608 in vfs_bio_awrite (bp=0xc378b7f0) at /usr/src/sys/kern/vfs_bio.c:1721 #9 0xc04f806d in vop_stdfsync (ap=0xc7f0dce4) at /usr/src/sys/kern/vfs_default.c:574 #10 0xc04761e3 in spec_fsync (ap=0xc7f0dce4) at /usr/src/sys/fs/specfs/spec_vnops.c:437 #11 0xc047580f in spec_vnoperate (ap=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:118 #12 0xc04ff345 in sched_sync () at vnode_if.h:627 #13 0xc04983b9 in fork_exit (callout=0xc04fef84 , arg=0x0, frame=0xc7f0dd48) at /usr/src/sys/kern/kern_fork.c:811 #14 0xc060084c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:209 (kgdb) where full #0 doadump () at pcpu.h:159 No locals. #1 0xc04ad01d in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:397 first_buf_printf = 1 #2 0xc04ad2d9 in panic (fmt=0xc0640aca "initiate_write_inodeblock_ufs2: already started") at /usr/src/sys/kern/kern_shutdown.c:553 td = (struct thread *) 0xc0f53c80 bootopt = 260 newpanic = 0 ap = 0xc0f53c80 "Ä!õÀp@õÀ" buf = "initiate_write_inodeblock_ufs2: already started", '\0' #3 0xc05b19b2 in initiate_write_inodeblock_ufs2 (inodedep=0xc101d500, bp=0x0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3772 adp = (struct allocdirect *) 0xc378b7f0 lastadp = (struct allocdirect *) 0x0 dp = (struct ufs2_dinode *) 0x72dc7000 fs = (struct fs *) 0x1000 i = (kgdb) quit /var/run/dmesg.boot: Copyright (c) 1992-2004 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 5.3-STABLE #1: Sun Nov 14 16:52:31 CST 2004 root@celt.farley.org:/usr/obj/usr/src/sys/CELT Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (398.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x651 Stepping = 1 Features=0x183f9ff real memory = 134217728 (128 MB) avail memory = 125870080 (120 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1420-0x142f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) sis0: port 0x1000-0x10ff mem 0xf4020000-0xf4020fff irq 11 at device 13.0 on pci0 sis0: Silicon Revision: DP83815C miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:a0:cc:7b:aa:8c pci0: at device 14.0 (no driver attached) pci0: at device 16.0 (no driver attached) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 0 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 0 not in bitmap of probed irqs 0 sio0: port may not be enabled orm0: at iomem 0xe4000-0xeffff,0xdc000-0xdffff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sio4: at port 0x2f8-0x2ff irq 3 on isa0 sio4: type 16550A Timecounter "TSC" frequency 398270269 Hz quality 800 Timecounters tick every 10.000 msec ad0: 13783MB [28005/16/63] at ata0-master UDMA33 ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE status=1 error=4 acd0: DVDROM at ata1-master PIO4 afd0: REMOVABLE at ata1-slave BIOSPIO Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 4 files 1 sis0: Applying short cable fix (reg=f0) Questions: 1. gdb -k is still in the man page. Is the feature pulled from gdb or should the man page have it removed? 2. Why can I not get a full backtrace (bt full)? Only the first three frames can be displayed that way. I can see all of the frames without the "full" option. Any ideas? Sean >How-To-Repeat: Unknown. >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: