usb/92052: usbd causes defunct process with busy file-handle
hugo at gjk.cz
Fri Jan 20 03:20:04 PST 2006
>Synopsis: usbd causes defunct process with busy file-handle
>Arrival-Date: Fri Jan 20 11:20:03 GMT 2006
>Originator: Vladimir Jakubal
6.0-RELEASE FreeBSD 6.0-RELEASE #3 ... i386
usbd driver with HP LaserJet 2200 connected on /dev/unlpt0.
turning off (disconnecting) the printer at the same time with running process with opened file handle "/dev/unlpt0" causes fall-off of the process to "Defunct" state. It cannot be killed and the device cannot be used again even if reconnected before next restart of the system.
Running process with opened file handle to /dev/unlpt0 (ulpt0 makes the same)
Turning off the printer (or disconnecting)
-> dmesg : ulpt0: at hub0 port1 (addr 2) disconnected
AND process becomes defunct. Cannot be killed (I/O usage).
More information about the freebsd-usb