mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shawn Starr <shawn.starr@rogers.com>
To: LKML <linux-kernel@vger.kernel.org>, Greg KH <greg@kroah.com>
Subject: [2.5.15-rc2] khubd eating all CPU upon trying to remove pwc driver
Date: Sun, 27 Nov 2005 14:06:10 -0500	[thread overview]
Message-ID: <200511271406.11266.shawn.starr@rogers.com> (raw)


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.

             reply	other threads:[~2005-11-27 19:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-27 19:06 Shawn Starr [this message]
2005-11-28 15:35 ` Luc Saillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511271406.11266.shawn.starr@rogers.com \
    --to=shawn.starr@rogers.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®