Subject: port-i386/24665: power cycling printer wedges machine
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dmcmahill@netbsd.org>
List: netbsd-bugs
Date: 03/03/2004 21:21:18
>Number:         24665
>Category:       port-i386
>Synopsis:       power cycling printer wedges machine
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 04 02:22:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZI
>Organization:

>Environment:
	
	
System: NetBSD buttercream 1.6ZI NetBSD 1.6ZI (GENERIC) #0: Thu Feb 5 18:09:52 UTC 2004 cyber@tgm.netbsd.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

The various bits of dmesg output related to the printer are:  

pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok

ohci0 at pci0 dev 1 function 2: Silicon Integrated System 5597/5598 USB host controller (rev. 0x07)
ohci0: interrupting at irq 9    
ohci0: OHCI version 1.0, legacy support

usb0 at ohci0: USB revision 1.0 

uhub0 at usb0
uhub0: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered 

ulpt0 at uhub0 port 1 configuration 1 interface 0 
ulpt0: Compaq Corporation Compaq A1500, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode


If I unplug the USB cable to the printer I see ulpt0 detach in the 
console messages.  If I plut the USB cable back into the printer,
I see the ulpt0 attach message.  If I unplug the printer power
cord I see the ulpt0 detach message and if I plug the printer power
cord back in, the machine wedges hard.  It will not respond to
the keyboard or pings over the network.

	
>How-To-Repeat:

power cycle printer, note that machine is wedged hard.

	
>Fix:

no idea

	
>Release-Note:
>Audit-Trail:
>Unformatted: