From owner-freebsd-current@FreeBSD.ORG Mon Sep 5 08:36:59 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D844716A41F for ; Mon, 5 Sep 2005 08:36:59 +0000 (GMT) (envelope-from khetan@os.org.za) Received: from gauntlet.os.org.za (gauntlet.os.org.za [196.35.70.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED14543D48 for ; Mon, 5 Sep 2005 08:36:57 +0000 (GMT) (envelope-from khetan@os.org.za) Received: from localhost (localhost [127.0.0.1]) by gauntlet.os.org.za (Postfix) with ESMTP id 2DD0867842 for ; Mon, 5 Sep 2005 10:36:54 +0200 (SAST) Received: from gauntlet.os.org.za ([127.0.0.1]) by localhost (gauntlet.os.org.za [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45945-05 for ; Mon, 5 Sep 2005 10:36:40 +0200 (SAST) Received: from gauntlet.os.org.za (gauntlet.os.org.za [196.35.70.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: khetan) by gauntlet.os.org.za (Postfix) with ESMTP id 130456782C for ; Mon, 5 Sep 2005 10:36:40 +0200 (SAST) Date: Mon, 5 Sep 2005 10:36:39 +0200 (SAST) From: Khetan Gajjar To: current@freebsd.org Message-ID: <20050905102521.Y60862@gauntlet.os.org.za> X-Alternate-From: Khetan Gajjar X-Mobile: +27 82 885 4047 X-URL: http://khetan.gajjar.co.za/ X-Attribute-1: BOFH X-Attribute-2: the righteous bastard with a finger on The Switch X-PGP-KeyID: 0x806AD0D9 X-PGP-Fingerprint: 19 29 68 D5 74 2B 6E E5 1B 88 45 3B 29 0B 8A 27 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-349500151-1125909399=:60862" X-Virus-Scanned: amavisd-new at os.org.za Cc: Subject: 6.0-BETA3 - ffs_blkfree: freeing free block panic 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: Mon, 05 Sep 2005 08:37:00 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-349500151-1125909399=:60862 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: 8BIT Hi. I'm seeing this occuring on two boxes, one built Aug 23 and the other Aug 31. The panic occurs under moderate disk I/O. I suspect that a commit made in HEAD on 31/7/2005 (by ups@freebsd.org) to src/sys/ufs/ffs/ffs_softdep.c (1.182) and src/sys/ufs/ffs/softdep.h (1.18) are related. I'll pull those across from a -current box and see if it makes a difference. But just for those looking for feedback for 6-RELENG; [citadel] /var/crash# kgdb /usr/src/sys/i386/compile/CITADEL5/kernel.debug vmcore.8 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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". Unread portion of the kernel message buffer: Á¸ÁøÁ¨±Á@ qÁdb) backtrace #0 doadump () at pcpu.h:165 #1 0xc0501c7c in boot (howto=260) at ../../../kern/kern_shutdown.c:397 #2 0xc0501fd1 in panic (fmt=0xc06b958c "ffs_blkfree: freeing free block") at ../../../kern/kern_shutdown.c:553 #3 0xc05ef36f in ffs_blkfree (ump=0xc1c15a00, fs=0xc1c2f000, devvp=0xc1c5ecc0, bno=4, size=16384, inum=4) at ../../../ufs/ffs/ffs_alloc.c:1847 #4 0xc05fde18 in handle_workitem_freeblocks (freeblks=0xc422b300, flags=0) at ../../../ufs/ffs/ffs_softdep.c:2588 #5 0xc05fae3c in process_worklist_item (matchmnt=0x0, flags=0) at ../../../ufs/ffs/ffs_softdep.c:836 #6 0xc05faadc in softdep_process_worklist (matchmnt=0x0) at ../../../ufs/ffs/ffs_softdep.c:700 #7 0xc055961d in sched_sync () at ../../../kern/vfs_subr.c:1623 #8 0xc04ebd95 in fork_exit (callout=0xc055933c , arg=0x0, frame=0xd5295d38) at ../../../kern/kern_fork.c:789 #9 0xc065a78c in fork_trampoline () at ../../../i386/i386/exception.s:208 (kgdb) dmesg shows Copyright (c) 1992-2005 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.0-BETA3 #0: Tue Aug 23 23:53:09 SAST 2005 root@:/usr/src/sys/i386/compile/CITADEL5 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 2.00GHz (1999.95-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400> real memory = 528416768 (503 MB) avail memory = 507617280 (484 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: on acpi0 pci_link1: on acpi0 pci_link2: irq 11 on acpi0 pci_link3: on acpi0 pci_link4: irq 0 on acpi0 pci_link5: irq 0 on acpi0 pci_link6: irq 0 on acpi0 pci_link7: irq 0 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xeb000000-0xeb7fffff a t device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) fxp0: port 0xd000-0xd03f mem 0xeb820000-0xeb820ff f,0xeb800000-0xeb81ffff irq 18 at device 8.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:02:b3:ed:ec:a2 fxp0: [GIANT-LOCKED] isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376, 0xe000-0xe00f at device 17.1 on pci0 ata0: on atapci0 ata1: on atapci0 acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xcc000-0xcd7ff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> 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 Timecounter "TSC" frequency 1999953780 Hz quality 800 Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, defa ult to deny, logging unlimited ad0: 39266MB at ata0-master UDMA100 ad2: 39266MB at ata1-master UDMA100 Trying to mount root from ufs:/dev/ad0s1a fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 6 Accounting enabled Khetan Gajjar. -- khetan@os.org.za +27 82 885 4047 --0-349500151-1125909399=:60862--