mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.5.15-rc2] khubd eating all CPU upon trying to remove pwc driver
@ 2005-11-27 19:06 Shawn Starr
  2005-11-28 15:35 ` Luc Saillard
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn Starr @ 2005-11-27 19:06 UTC (permalink / raw)
  To: LKML, Greg KH


Hi Greg, 

It appears while debugging camserv to add some features, if I kill camserv 
prematurely, and try to unload the pwc driver I am unable to. 

I get the following:

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
1068 root      20  -5     0    0    0 R 95.8  0.0   3:26.84 khubd

The kernel USB hub daemon goes nuts. 

If I disconnect the cam from the USB

[4294920.159000] pwc pwc_isoc_handler() called with status -84 [CRC/Timeout 
(could be anything)].
[4294920.166000] hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0004
[4294920.166000] uhci_hcd 0000:00:1d.1: port 2 portsc 008a,00
[4294920.166000] hub 2-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
[4294920.166000] usb 2-2: USB disconnect, address 4
[4294920.166000] usb 2-2: usb_disable_device nuking all URBs
[4294920.166000] uhci_hcd 0000:00:1d.1: shutdown urb f56a10fc pipe 00028480 
ep5in-iso
[4294920.166000] uhci_hcd 0000:00:1d.1: shutdown urb f5680d04 pipe 00028480 
ep5in-iso
[4294920.167000] pwc pwc_isoc_handler() called with status -108 [Unknown].
[4294920.167000] pwc Error (-19) re-submitting urb in pwc_isoc_handler.
[4294920.167000] pwc pwc_isoc_handler() called with status -108 [Unknown].
[4294920.167000] pwc Error (-19) re-submitting urb in pwc_isoc_handler.
[4294920.167000] usb 2-2: unregistering interface 2-2:1.0
[4294920.167000] pwc Disconnected while webcam is in use!
[4294921.416000] uhci_hcd 0000:00:1d.1: suspend_rh (auto-stop)

What information do you need? Yes I know it's bad to yank out USB devices that 
aren't properly shut down.

Thanks, 

Shawn.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-28 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-27 19:06 [2.5.15-rc2] khubd eating all CPU upon trying to remove pwc driver Shawn Starr
2005-11-28 15:35 ` Luc Saillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®