Re: [2.6.22-rc7] khubd NULL deref oops...

Chuck Ebbert <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.kernel
Organization Red Hat
Message-ID <[email protected]>
On 07/08/2007 05:45 PM, Daniel J Blueman wrote:
> When plugging in a USB 2 mass-storage device which I've been seeing
> problems with, I caught a khubd oops [1]. Kernel is 2.6.22-rc7 on ia32
> built with Ubuntu's 2.6.22 .config.

> [ 4769.252000] sd 6:0:0:0: [sdb] Assuming drive cache: write through
> [ 4769.252000]  sdb: sdb1 < sdb5 sdb6<6>usb 5-3: reset high speed USB
> device using ehci_hcd and address 8

So the device got reset right in the middle of scanning for partitions.

> [ 4769.544000] usb 5-3: device descriptor read/64, error -71
> [ 4769.760000] usb 5-3: device descriptor read/64, error -71
> [ 4769.976000] usb 5-3: reset high speed USB device using ehci_hcd and
> address 8
> [ 4770.088000] usb 5-3: device descriptor read/64, error -71
> [ 4770.304000] usb 5-3: device descriptor read/64, error -71
> [ 4770.520000] usb 5-3: reset high speed USB device using ehci_hcd and
> address 8
> [ 4770.928000] usb 5-3: device not accepting address 8, error -71
> [ 4771.040000] usb 5-3: reset high speed USB device using ehci_hcd and
> address 8

Then a whole slew of these by-now-familiar messages.

Try disabling CONFIG_USB_SUSPEND.  It makes lots of USB bugs go away:

 - scanners apps work instead of displaying black preview screens
 - printers stop spontaneously disconnecting
 - USB storage devices mysteriously work again
 - Blackberries start charging when plugged in



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.