Subject: kern/28406: ptyfs lock up machine on shutdown
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Frank Kardel <kardel@pip.acrys.com>
List: netbsd-bugs
Date: 11/24/2004 07:12:00
>Number:         28406
>Category:       kern
>Synopsis:       pfsfs leads to a locked up system (vnlock) during shutdown
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 24 07:12:00 +0000 2004
>Originator:     Frank Kardel
>Release:        NetBSD 2.99.10
>Organization:
	
>Environment:
	
	
System: NetBSD pip.kardel.name 2.99.10 NetBSD 2.99.10 (PIP_ISDN) #3: Tue Nov 23 22:01:50 MET 2004 kardel@pip.kardel.name:/fs/IC35L180AVV207-1-n/IC35L120AVV207-0-e/src/NetBSD/netbsd/sys/arch/i386/compile/obj.i386/PIP_ISDN i386
Architecture: i386
Machine: i386
>Description:
	When ptyfs is mounted my machine locks up with
	several processes being stuck at vnlock.
	I currently have no dmesg output available as I disabled
	the otherwise good working ptsfy for now. I
	could provide a DDB ps output during shutdown on request.
	Another issue related to that is the lockup with several
	processes being stuck in vnlock during normal operation.
>How-To-Repeat:
	Run 2.99.10 with ptyfs mount and possibly
	  - null mounts
	  - amd generated mounts
	  - screen active(!)
	an attempt a shutdown.

	The shutdown stalls as several processes get stuck in vnlock
	according to debugger ps output.
>Fix:
	Workaround: disable ptyfs - shutdown works normal again.

>Unformatted: