Subject: kern/28406: ptyfs lock up machine on shutdown
To: None <,,>
From: Frank Kardel <>
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
System: NetBSD 2.99.10 NetBSD 2.99.10 (PIP_ISDN) #3: Tue Nov 23 22:01:50 MET 2004 i386
Architecture: i386
Machine: i386
	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.
	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.
	Workaround: disable ptyfs - shutdown works normal again.