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

From: Chuck Ebbert
Date: Wed Jul 11 2007 - 13:04:42 EST


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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/