2.6.6-mm2, usb ehci warnings/error?
Subsystems (2)
Quoted 5 lines
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:
Quoted 6 lines
ohci_hcd0000:00:02.1: nVidia Corporation nForce2 USB Controller (#2)
PCI: Setting latency timer of device 0000:00:02.1 to 64ohci_hcd0000:00:02.1: irq 21, pci memf88fe000ohci_hcd0000: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
Quoted 9 lines · David Brownell
Quoted 5 lines
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.
Ok, good. Thanks for the explanation of what is going on, though I don't can make too much out of it. ;-)
Prakash
libata and write cache
Hi,
I am just wondering how to enable write back caching with libata.
dmesg gives me
SCSI device sda: drive cache: write through
I would like to use the drive's wirte caching feature to improve performance /I know it is a bit dangerous with a flaky system).
Could anyeone tell me how to do it?
Thanks,
Prakash
Quoted 4 lines · Prakash K. Cheemplavam
Quoted 2 lines · David Brownell
Quoted 2 lines
There appear lines like
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
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.
Ok, good. Thanks for the explanation of what is going on, though I don't can make too much out of it. ;-)
The short version is: it's missing this patch.
[ Greg, please merge! ]
- Dave
drivers/usb/host/ohci-hub.c renamed from xu26/drivers/usb/host/ohci-hub.c +1 -0
@@ -385,6 +385,7 @@ ) {ohci_vdbg (ohci,"autosuspend\n" ); (void )ohci_hub_suspend (&ohci->hcd); + ohci->hcd.state =USB_STATE_RUNNING ;up (&hcd->self.root_hub->serialize); }#endif
Greg KH
AppliedQuoted 13 lines · David Brownell
Quoted 12 lines · Prakash K. Cheemplavam
Quoted 9 lines · David Brownell
Quoted 6 lines
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.
Quoted 6 lines
Quoted 2 lines
Ok, good. Thanks for the explanation of what is going on, though I don't can make too much out of it. ;-)
The short version is: it's missing this patch.
[ Greg, please merge! ]
Applied, thanks.
greg k-h