Subject: Re: panic: vrele: ref cnt
To: Michael K. Sanders <msanders@aros.net>
From: Greg Wohletz <greg@lonnie.egr.unlv.edu>
List: port-i386
Date: 07/31/1998 13:55:44
>I just got the following panic on a moderately used NFS server, running
>1.3.2:
>
>vrele: bad ref count: type VDIR, usecount -1, writecount 0, refcount 1,
>    tag VT_UFS, ino 62003, on dev 0, 12
>panic: vrele: ref cnt
>
>A trace from the debugger showed:
>
>_Debugger
>_panic
>_vrele
>_nfssrv_rename
>_sys_nfssvc
>_syscall()
>--- syscall (number 155)
>
>any ideas?

I've had this problem through several versions of the system.  I filed a PR
(kern/5026) and have various kernels/core files at
http://www.egr.unlv.edu/~greg/netbsd but I don't think anyone has found the
time to investigate it.  I've dont some investigation, but my understaning
of the vfs subsystem is apparently not good enough for me to find the
problem.

							--Greg
>
>
>Copyright (c) 1996, 1997, 1998
>    The NetBSD Foundation, Inc.  All rights reserved.
>Copyright (c) 1982, 1986, 1989, 1991, 1993
>    The Regents of the University of California.  All rights reserved.
>
>NetBSD 1.3.2 (GENERIC) #0: Sun May 24 19:45:48 EDT 1998
>    perry@frankenstein.piermont.com:/usr/src/sys/arch/i386/compile/GENERIC
>cpu0: family 5 model 2 step c
>cpu0: Intel Pentium (P54C) (586-class)
>real mem  = 66715648
>avail mem = 62902272
>using 840 buffers containing 3440640 bytes of memory
>mainbus0 (root)
>pci0 at mainbus0 bus 0: configuration mode 1
>pchb0 at pci0 dev 0 function 0
>pchb0: Intel 82439HX System Controller (TXC) (rev. 0x03)
>pcib0 at pci0 dev 7 function 0
>pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
>Intel 82371SB IDE Interface (PIIX3) (IDE mass storage, interface 0x80) at pci0 dev 7 function 1 no
t configured
>fxp0 at pci0 dev 11 function 0: Intel EtherExpress Pro 10+/100B Ethernet
>fxp0: interrupting at irq 10
>fxp0: Ethernet address 00:a0:c9:b1:ed:a5
>Trident Microsystems TGUI 9660 (VGA display, revision 0xd3) at pci0 dev 12 function 0 not configur
ed
>isa0 at pcib0
>com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
>com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
>lpt0 at isa0 port 0x378-0x37b irq 7
>wdc0 at isa0 port 0x1f0-0x1f7 irq 14
>atapibus0 at wdc0
>wd0 at wdc0 drive 0: <WDC AC23200L>
>wd0: using 16-sector 16-bit pio transfers, lba mode
>wd0: 3098MB, 6346368 sec, 512 bytes/sec
>wd1 at wdc0 drive 1: <WDC AC33100H>
>wd1: using 16-sector 16-bit pio transfers, lba mode
>wd1: 3020MB, 6185088 sec, 512 bytes/sec
>npx0 at isa0 port 0xf0-0xff: using exception 16
>pc0 at isa0 port 0x60-0x6f irq 1: color
>pc0: console
>fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
>fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
>biomask 4040 netmask 4440 ttymask 44c2
>boot device: wd0
>root on wd0a dumps on wd0b
>root file system type: ffs