Re: 2.6.6-mm2, usb ehci warnings/error?

From: David Brownell
Date: Thu May 13 2004 - 10:44:31 EST


There appear lines like

usb usb2: string descriptor 0 read error: -108

bug or feature? They weren't there with 2.6.6-mm1. I have no usb2.0 stuff to actually test. My usb1 stuff seems to work though.

Bug; minor, since the only real symptom seems to be messages like
that. Ignore them for now, I'll make a patch soonish.

It's actually the OHCI driver managing your "usb2" bus,
this is nothing to do with EHCI:

ohci_hcd 0000:00:02.1: nVidia Corporation nForce2 USB Controller (#2)
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: irq 21, pci mem f88fe000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected

What's happening? One of the USB patches makes OHCI suspend
its root hub when it's idle (no devices attached), much like
the UHCI driver has done for some time. Saves some power.

However, it wrongly marks the controller itself (vs just the
root hub part of it) as having suspended. That's what causes
the "-108" (-ESHUTDOWN) fault reports, as if the controller were
suspended too. When the controller is suspended, its registers
are inaccesible so requests to the root hub must fail.

- Dave

-
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/