Subject: port-i386/7963: port-i386: lpt0 driver causes panic in lockmgr
To: None <gnats-bugs@gnats.netbsd.org>
From: None <simsong@vineyard.net>
List: netbsd-bugs
Date: 07/11/1999 11:36:05
>Number:         7963
>Category:       port-i386
>Synopsis:       "cat /etc/printcap>/dev/lpt0" causes panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 11 11:35:00 1999
>Last-Modified:
>Originator:     Simson L. Garfinkel
>Organization:
Vineyard.net
	
>Release:        1.4-RELEASE <NetBSD-current source date>
>Environment:
	
	Acer Open, 96MB of RAM, NetBSD 1.4
System: NetBSD walden.vineyard.net 1.4 NetBSD 1.4 (WALDEN) #2: Sun Jul 11 08:26:08 PDT 1999 root@walden.vineyard.net:/usr/src/sys/arch/i386/compile/WALDEN i386


>Description:
Hardware has been tested and works well with NetBSD 1.3.2.
Upgraded to 1.4. Upgrade scripts failed, so I did a clean install.
Noticed that I couldn't print. 
Did a "cat /etc/printcap>/dev/lpt0" and got this error:

panic: lockmgr: pid 338, not exclusive lock holder 16777215 unblocking
stopped in cat at _Debugger+0x4: leave

Dropped me in kernel debugger. I did a "continue" and got this:

synching disks: panic lockmgr: using decomissioned lock

I am using a custom kernel, which I have. I also have a crash dump.
	
>How-To-Repeat:

cat /etc/printcap > /dev/lpt0
	
>Fix:
	
	Got me. Please let me know what I should do
>Audit-Trail:
>Unformatted: