Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 15:02:22 +0000
From:      ict technician <ict@cardinalnewman.coventry.sch.uk>
To:        freebsd-stable@freebsd.org
Subject:   Re: panic ffs_blkfree bad size
Message-ID:  <200311201502.22720.ict@cardinalnewman.coventry.sch.uk>
In-Reply-To: <200311181724.18225.ict@cardinalnewman.coventry.sch.uk>
References:  <200311181724.18225.ict@cardinalnewman.coventry.sch.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 18 November 2003 5:24 pm, ict technician wrote:
> This is on a 4.8-RELEASE system. I know this is ancient but the referenced
> code doesn't seem to have changed much.
>
> This is our samba file server. We've been getting reboots every 20 days or
> so. vinum RAID10 if that matters. dmesg/WHY on request.

That'll teach me to mock the gods. Got another panic today.

>
> I am not a kernel hacker.
>
> dumpster# gdb -k^M
> 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".
> (kgdb) stmymbol-file ke^Grnel.d^Gebug
> Reading symbols from kernel.debug...Deprecated bfd_read called at
> /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
> line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at
> /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c
> line 933 in fill_symbuf done.
> (kgdb) exec-file ke^Grnel.4
> (kgdb) core-file vm^Gcore.4
> IdlePTD at phsyical address 0x003c4000
> initial pcb at physical address 0x0031f6a0
> panicstr: ffs_blkfree: bad size
> panic messages:
> ---
> panic: ffs_blkfree: bad size
>
> syncing disks... 154 21
> done
> Uptime: 18d20h25m18s
[snip vmcore.4 dump]

dumpster# gdb -k
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".
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf
done.
(kgdb) exec-file kernel.5
(kgdb) core-file vmcore.5
IdlePTD at phsyical address 0x003c4000
initial pcb at physical address 0x0031f6a0
panicstr: lockmgr: non-zero exclusive count
panic messages:
---
panic: lockmgr: non-zero exclusive count

syncing disks... 107 11
done
Uptime: 2d3h54m12s

dumping to dev #da/0x20001, offset 1048704
dump 1535 [snip...] 1 0
---
#0  0xc017d98a in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) bt
#0  0xc017d98a in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc3f0e694 in ?? ()
#2  0xc017d75b in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:319
#3  0xc017db80 in poweroff_wait (junk=0xc02c7680, howto=65554) at /usr/src/sys/kern/kern_shutdown.c:612
#4  0xc01780b9 in lockmgr (lkp=0xc66bf300, flags=16842770, interlkp=0xe697bb6c, p=0xe05c05e0) at /usr/src/sys/kern/kern_lock.c:381
#5  0xc01a8b10 in vop_stdunlock (ap=0xe3654ec0) at /usr/src/sys/kern/vfs_default.c:279
#6  0xc025b201 in ufsdirhash_build (ip=0xe3654ec0) at /usr/src/sys/ufs/ufs/ufs_dirhash.c:107
#7  0xc01b2c8d in vn_lock (vp=0xe697bb00, flags=65554, p=0xe05c05e0) at /usr/src/sys/kern/vfs_vnops.c:680
#8  0xc01aba5f in vget (vp=0xe697bb00, flags=18, p=0xe05c05e0) at /usr/src/sys/kern/vfs_subr.c:1538
#9  0xc0252f73 in ffs_sync (mp=0xc3fe5600, waitfor=3, cred=0xc295c900, p=0xe05c05e0) at vnode_if.h:558
#10 0xc01acde5 in sync_inactive (ap=0xe3654f7c) at /usr/src/sys/kern/vfs_subr.c:2977
#11 0xc01ab46f in sched_sync () at vnode_if.h:886

-- 
i j hart

ICT Technician
Cardinal Newman Catholic School & Community College



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