Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2002 15:44:03 +0100
From:      Andre Albsmeier <andre.albsmeier@siemens.com>
To:        freebsd-stable@freebsd.org
Subject:   4.7-STABLE: panic: ffs_blkfree: freeing free block, softupdates related?
Message-ID:  <20021228154403.A28699@curry.mchp.siemens.de>

next in thread | raw e-mail | index | archive | help
In case anyone wants to dig into this...

4.7-STABLE #0: Mon Dec 23 15:41:17 CET 2002 using softupdates.

/dev/ad2a is a 120GB hard drive, 96GB were in use. 75 of these 96GB were
rm -rf'ed. The rm command returned quickly since the 75GB were stored
in few big files. The box crashed during the delayed softupdates writes.

The kernel and core are available for debugging... I can also do simple
debugging if someone tells me what to do :-)

root@romfix:/var/crash>gdb -k /usr/obj/src/src-4/sys/romfix/kernel.debug vmcore.0 
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read called at /src/src-4/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /src/src-4/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf

IdlePTD at phsyical address 0x002dd000
initial pcb at physical address 0x002606e0
panicstr: ffs_blkfree: freeing free block
panic messages:
---
panic: ffs_blkfree: freeing free block

syncing disks... 7 5 4 4 2 2 2 2 2 2 2 dev = #ad/16, block = 94920, fs = /cdroms
panic: ffs_blkfree: freeing free block
Uptime: 4d22h14m1s

dumping to dev #ad/1, offset 99280
dump ata0: resetting devices .. done
128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  dumpsys () at /src/src-4/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) where
#0  dumpsys () at /src/src-4/sys/kern/kern_shutdown.c:487
#1  0xc01454df in boot (howto=260) at /src/src-4/sys/kern/kern_shutdown.c:316
#2  0xc0145904 in poweroff_wait (junk=0xc02360c0, howto=-1071423328)
    at /src/src-4/sys/kern/kern_shutdown.c:595
#3  0xc01d6d56 in ffs_blkfree (ip=0xc83d1bb8, bno=94920, size=16384)
    at /src/src-4/sys/ufs/ffs/ffs_alloc.c:1444
#4  0xc01db68b in indir_trunc (ip=0xc83d1bb8, dbn=125477504, level=0, lbn=12, countp=0xc83d1ba8)
    at /src/src-4/sys/ufs/ffs/ffs_softdep.c:2233
#5  0xc01db445 in handle_workitem_freeblocks (freeblks=0xc1149400)
    at /src/src-4/sys/ufs/ffs/ffs_softdep.c:2133
#6  0xc01d994b in process_worklist_item (matchmnt=0x0, flags=0)
    at /src/src-4/sys/ufs/ffs/ffs_softdep.c:723
#7  0xc01d97de in softdep_process_worklist (matchmnt=0x0)
    at /src/src-4/sys/ufs/ffs/ffs_softdep.c:622
#8  0xc014533d in boot (howto=256) at /src/src-4/sys/kern/kern_shutdown.c:261
#9  0xc0145904 in poweroff_wait (junk=0xc02360c0, howto=-1071423328)
    at /src/src-4/sys/kern/kern_shutdown.c:595
#10 0xc01d6d56 in ffs_blkfree (ip=0xc83d1e0c, bno=94984, size=16384)
    at /src/src-4/sys/ufs/ffs/ffs_alloc.c:1444
#11 0xc01db68b in indir_trunc (ip=0xc83d1e0c, dbn=127975424, level=0, lbn=12, countp=0xc83d1dfc)
    at /src/src-4/sys/ufs/ffs/ffs_softdep.c:2233
#12 0xc01db445 in handle_workitem_freeblocks (freeblks=0xc1149380)
    at /src/src-4/sys/ufs/ffs/ffs_softdep.c:2133
#13 0xc01d994b in process_worklist_item (matchmnt=0x0, flags=0)
    at /src/src-4/sys/ufs/ffs/ffs_softdep.c:723
#14 0xc01d97de in softdep_process_worklist (matchmnt=0x0)
    at /src/src-4/sys/ufs/ffs/ffs_softdep.c:622
#15 0xc01729bf in sched_sync () at /src/src-4/sys/kern/vfs_subr.c:1177
(kgdb) 


And the dmesg:

Copyright (c) 1992-2002 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 4.7-STABLE #0: Mon Dec 23 15:41:17 CET 2002
    root@bali.ofw.tld:/src/obj-4/src/src-4/sys/romfix
Timecounter "i8254"  frequency 1192977 Hz
Timecounter "TSC"  frequency 501050245 Hz
CPU: AMD-K6(tm) 3D processor (501.05-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 134217728 (131072K bytes)
avail memory = 127889408 (124892K bytes)
Preloaded elf kernel "kernel" at 0xc02be000.
K6-family MTRR support enabled (2 registers)
Using $PIR table, 6 entries at 0xc00fddf0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x1106, dev=0x3040) at 7.3
pci0: <ATI Mach64-CT graphics accelerator> at 8.0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xe800-0xe81f mem 0xdf000000-0xdf0fffff,0xdf100000-0xdf100fff irq 11 at device 11.0 on pci0
fxp0: Ethernet address 00:a0:c9:ca:9c:85
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <9 virtual consoles, flags=0x200>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ad0: 518MB <Conner Peripherals 544MB - CP3544> [1053/16/63] at ata0-master PIO2
ad2: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted

Thanks,

	-Andre

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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