kern/68698: vinum(4) broken in 5.2-current

Matthias Schuendehuette msch at snafu.de
Sun Jul 25 10:20:17 PDT 2004


The following reply was made to PR kern/68698; it has been noted by GNATS.

From: Matthias Schuendehuette <msch at snafu.de>
To: "Greg 'groggy' Lehey" <grog at FreeBSD.org>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: kern/68698: vinum(4) broken in 5.2-current
Date: Sun, 25 Jul 2004 19:16:51 +0200

 =2D----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 On Thursday 08 July 2004 01:32, Greg 'groggy' Lehey wrote:
 > A ddb stack trace is barely helpful.  As stated at
 > http://www.vinumvm.org/vinum/how-to-debug.html, we really need a
 > dump.
 
 Well, finally here it is:
 
 =2D --------8><------------------------------------------------------------
 GNU gdb 5.3 (FreeBSD)
 Copyright 2002 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you=20
 are
 welcome to change it and/or distribute copies of it under certain=20
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for=20
 details.
 This GDB was configured as "i386-portbld-freebsd5.2"...
 panic: unmount: dangling vnode
 panic messages:
 =2D ---
 panic: unmount: dangling vnode
 
 syncing disks, buffers remaining... 208 208 208 208 208 208 208 208 208=20
 208 208 208 208 208 208 208 208 208 208 208=20
 giving up on 176 buffers
 Uptime: 34s
 Dumping 255 MB
  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
 =2D ---
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:236
 
 warning: Source file is more recent than executable.
 
 236		 * (if 'panic' can not dump)
 add symbol table from file "/boot/kernel/vinum.ko" at
 	.text_addr =3D 0xc08817c0
 (kgdb) bt
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:236
 #1  0xc055a9ed in boot (howto=3D0x100)=20
 at /usr/src/sys/kern/kern_shutdown.c:381
 #2  0xc055b018 in panic (fmt=3D0xc0726bd6 "unmount: dangling vnode")=20
 at /usr/src/sys/kern/kern_shutdown.c:559
 #3  0xc05b68a0 in vfs_mount_destroy (mp=3D0xc1630800, td=3D0x0)=20
 at /usr/src/sys/kern/vfs_mount.c:534
 #4  0xc05b8935 in getdiskbyname (name=3D0xc1706100 "/dev/da3s1a")=20
 at /usr/src/sys/kern/vfs_mount.c:1502
 #5  0xc088d11e in sdio ()
 #6  0xc088d49b in vinum_bounds_check ()
 #7  0xc088d9d2 in revive_block ()
 #8  0xc088db50 in revive_block ()
 #9  0xc088e567 in initsd ()
 #10 0xc088f316 in vpstate ()
 #11 0xc04f9085 in spec_ioctl (ap=3D0x1)=20
 at /usr/src/sys/fs/specfs/spec_vnops.c:357
 #12 0xc04f8718 in spec_vnoperate (ap=3D0x0)=20
 at /usr/src/sys/fs/specfs/spec_vnops.c:118
 #13 0xc05ca2ed in vn_ioctl (fp=3D0xc17559d4, com=3D0xc400464b,=20
 data=3D0xc16ff800, active_cred=3D0xc14f8d80, td=3D0xc15be000)
     at vnode_if.h:503
 #14 0xc0581997 in ioctl (td=3D0xc15be000, uap=3D0xcc5c4d14) at file.h:258
 #15 0xc06dc040 in syscall (frame=3D
       {tf_fs =3D 0x2f, tf_es =3D 0x2f, tf_ds =3D 0x2f, tf_edi =3D 0x0, tf_e=
 si =3D=20
 0xbfbfe540, tf_ebp =3D 0xbfbfe958, tf_isp =3D 0xcc5c4d74, tf_ebx =3D=20
 0xbfbfe990, tf_edx =3D 0x0, tf_ecx =3D 0x8059c00, tf_eax =3D 0x36, tf_trapn=
 o=20
 =3D 0x16, tf_err =3D 0x2, tf_eip =3D 0x2814f66f, tf_cs =3D 0x1f, tf_eflags =
 =3D=20
 0x246, tf_esp =3D 0xbfbfe52c, tf_ss =3D 0x2f})=20
 at /usr/src/sys/i386/i386/trap.c:1004
 (kgdb) quit
 
 =2D --=20
 Ciao/BSD - Matthias
 
 Matthias Schuendehuette	<msch [at] snafu.de>, Berlin (Germany)
 PGP-Key at <pgp.mit.edu> and <wwwkeys.de.pgp.net> ID: 0xDDFB0A5F
 =2D----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFBA+sNf1BNcN37Cl8RAoXvAJ912tThXDexm1FWGzbPthfANFFpXQCfUZ2F
 ukWKo7qZ1N+1v2InczFNeIE=3D
 =3DFvwy
 =2D----END PGP SIGNATURE-----


More information about the freebsd-bugs mailing list