Bug 12771

Summary: lpt hangs and never works again, even after reboot
Product: Base System Reporter: jrosemar <jrosemar>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description jrosemar 1999-07-23 08:40:02 UTC
/dev/lpt1 hangs for some reson or another, and refuses to
ever work again. This is a polled port (no IRQ).

echo "anything" > /dev/lpt1 now hangs and fails to respond to
^C. Any further attempts to output to the port will fail
with "Device busy". The (echo "anything") process will not go 
away, and FreeBSD gives a warning when attempting to reboot 
that a process could not be killed, and advises to use ps -axl.
ps -axl doesn't seem to show anything interesting. After 
rebooting, /dev/lpt1 still fails to work.

Fix: 

What makes FreeBSD think /dev/lpt1 is busy?
How-To-Repeat: Not exactly sure. I can do it here by leaving the device
connected to the port turned off and trying to send to it,
but you don't have this device. Anyway, the port seems  
permanently locked up and useless at this time.
Comment 1 nsouch 1999-09-09 22:12:20 UTC
> Description
>
>      /dev/lpt1 hangs for some reson or another, and refuses to
>      ever work again. This is a polled port (no IRQ).
>

What's your dmesg output?

> How-To-Repeat
>
>      Not exactly sure. I can do it here by leaving the device
>      connected to the port turned off and trying to send to it,
>      but you don't have this device. Anyway, the port seems
>      permanently locked up and useless at this time.
>
>

Not enough accurate. What's the peripheral?

> Fix
>
>      What makes FreeBSD think /dev/lpt1 is busy?
>
> Submit Followup
>   ------------------------------------------------------------------------
> www@freebsd.org



--
nsouch@free.fr / nsouch@freebsd.org
FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org
Comment 2 Mike Barcroft freebsd_committer freebsd_triage 2001-07-21 00:55:55 UTC
State Changed
From-To: open->closed


Timeout; no response from originator.