Kernel Panic

Kevin A. Pieckiel kpieckiel-freebsd-hackers at smartrafficenter.org
Tue May 13 12:44:24 PDT 2003


If anyone is interested, I received this on a testbed computer.  It was
sitting idle at the time--I haven't used it in the past couple of weeks.
I just noticed this today when I went back to play with it.

Can provide kernel config, core file, and debug kernel via ftp or http upon request.

System is:
-su-2.05b# uname -a
FreeBSD viper.smartrafficenter.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Apr 11 00:33:43 EDT 2003     toor at viper.smartrafficenter.net:/usr/obj/usr/src/sys/VIPER  i386


Dump info from gdb is:

panic: vdrop: holdcnt
panic messages:
---
panic: vdrop: holdcnt
cpuid = 0; lapic.id = 00000000
boot() called on cpu#0

syncing disks, buffers remaining... 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 1316 
giving up on 1315 buffers
Uptime: 19h50m25s
Dumping 112 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
#1  0xc01c20e8 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xc01c2407 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#3  0xc0213d6b in vdropl (vp=0x0) at /usr/src/sys/kern/vfs_subr.c:2309
#4  0xc0213d24 in vdrop (vp=0xc164e490) at /usr/src/sys/kern/vfs_subr.c:2297
#5  0xc02074c9 in cache_zap (ncp=0xc164e490) at /usr/src/sys/kern/vfs_cache.c:244
#6  0xc0207ad1 in cache_purge (vp=0xc16477fc) at /usr/src/sys/kern/vfs_cache.c:503
#7  0xc026347d in ufs_reclaim (ap=0x0) at /usr/src/sys/ufs/ufs/ufs_inode.c:169
#8  0xc026b068 in ufs_vnoperate (ap=0x0) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2787
#9  0xc0214590 in vclean (vp=0xc16477fc, flags=8, td=0xc0736980) at vnode_if.h:958
#10 0xc021493c in vgonel (vp=0xc16477fc, td=0x0) at /usr/src/sys/kern/vfs_subr.c:2720
#11 0xc0210c29 in vlrureclaim (mp=0xc132e600) at /usr/src/sys/kern/vfs_subr.c:711
#12 0xc0210e6f in vnlru_proc () at /usr/src/sys/kern/vfs_subr.c:764
#13 0xc01af092 in fork_exit (callout=0xc0210cc0 <vnlru_proc>, arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:796
(kgdb) f 3
#3  0xc0213d6b in vdropl (vp=0x0) at /usr/src/sys/kern/vfs_subr.c:2309
2309                    panic("vdrop: holdcnt");
(kgdb) l
2304    {
2305            int s;
2306
2307            s = splbio();
2308            if (vp->v_holdcnt <= 0)
2309                    panic("vdrop: holdcnt");
2310            vp->v_holdcnt--;
2311            if (VSHOULDFREE(vp))
2312                    vfree(vp);
2313            else
(kgdb) i loc
No locals.
(kgdb) p vp
$1 = (struct vnode *) 0x0
(kgdb) 


---
This message was signed by GnuPG.  E-Mail kpieckiel-pgp at smartrafficenter.org
to receive my public key.  You may also get my key from pgpkeys.mit.edu;
my ID is 0xF1604E92 and will expire on 01 January 2004.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030513/5abe54b2/attachment.bin


More information about the freebsd-hackers mailing list