Subject: port-i386/8928: panic: vrele: ref cnt on 1.4.1-branch
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-bugs
Date: 11/30/1999 18:39:42
>Number:         8928
>Category:       port-i386
>Synopsis:       panic: vrele: ref cnt on 1.4.1-branch
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 30 18:39:01 1999
>Last-Modified:
>Originator:     Hubert Feyrer
>Organization:
-- 
NetBSD - Better for your uptime than Viagra
>Release:        1.4.1-branch as of 19991126
>Environment:
	
System: NetBSD 1.4.1 (MIYU) #0: Fri Nov 26 04:08:15 MET 1999
	on i386


>Description:
	I just got one of these:

	vrele: bad ref count: type VDIR, usecount -1, writecount 0, refcount 1,
		tag VT_VFS, ino 819723, on dev 4, 20
	panic: vrele: ref cnt
	Stopped in cvs at _Debugger+0x4: leave

	Trace (10-finger-dump):
	...
	_Debugger()
	_panic()
	_vrele() at vrele+0x4c
	_rename_files()
	_sys_rename()
	_syscall()
	--- syscall (number 128) ---

>How-To-Repeat:
	Run "cvs update" on the -current, pkgsrc and 1.4 branch at the same
	time and listen that the disk stops to rattle. Try to switch virtual
	consoles. Note it doesn't work any more. Notice nothing works. 

	Reboot, fsck.

	Run 3 cvs's again, this time on console. Notice freeze again. Be able
	to switch VCs. Go to VC #0 and notice above panic.

	Back down to 1.4 kernel. :-)
>Fix:
	unknown, sorry.
>Audit-Trail:
>Unformatted: