* Re: 2.6.6-mm2, usb ehci warnings/error?
@ 2004-05-13 15:37 David Brownell
2004-05-14 7:52 ` Prakash K. Cheemplavam
0 siblings, 1 reply; 5+ messages in thread
From: David Brownell @ 2004-05-13 15:37 UTC (permalink / raw)
To: PrakashKC; +Cc: linux-kernel
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.6-mm2, usb ehci warnings/error?
2004-05-13 15:37 2.6.6-mm2, usb ehci warnings/error? David Brownell
@ 2004-05-14 7:52 ` Prakash K. Cheemplavam
2004-05-14 12:21 ` libata and write cache Prakash K. Cheemplavam
2004-05-14 17:04 ` 2.6.6-mm2, usb ehci warnings/error? David Brownell
0 siblings, 2 replies; 5+ messages in thread
From: Prakash K. Cheemplavam @ 2004-05-14 7:52 UTC (permalink / raw)
To: David Brownell; +Cc: linux-kernel
David Brownell wrote:
>> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* libata and write cache
2004-05-14 7:52 ` Prakash K. Cheemplavam
@ 2004-05-14 12:21 ` Prakash K. Cheemplavam
2004-05-14 17:04 ` 2.6.6-mm2, usb ehci warnings/error? David Brownell
1 sibling, 0 replies; 5+ messages in thread
From: Prakash K. Cheemplavam @ 2004-05-14 12:21 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.6-mm2, usb ehci warnings/error?
2004-05-14 7:52 ` Prakash K. Cheemplavam
2004-05-14 12:21 ` libata and write cache Prakash K. Cheemplavam
@ 2004-05-14 17:04 ` David Brownell
2004-05-14 19:11 ` Greg KH
1 sibling, 1 reply; 5+ messages in thread
From: David Brownell @ 2004-05-14 17:04 UTC (permalink / raw)
To: Prakash K. Cheemplavam; +Cc: linux-kernel, Greg KH
[-- Attachment #1: Type: text/plain, Size: 607 bytes --]
Prakash K. Cheemplavam wrote:
> David Brownell wrote:
>
>>> 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. ;-)
The short version is: it's missing this patch.
[ Greg, please merge! ]
- Dave
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 355 bytes --]
--- bk2/xu26/drivers/usb/host/ohci-hub.c 2004-05-11 18:03:30.000000000 -0700
+++ gadget-2.6/drivers/usb/host/ohci-hub.c 2004-05-13 09:15:18.000000000 -0700
@@ -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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.6-mm2, usb ehci warnings/error?
2004-05-14 17:04 ` 2.6.6-mm2, usb ehci warnings/error? David Brownell
@ 2004-05-14 19:11 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2004-05-14 19:11 UTC (permalink / raw)
To: David Brownell; +Cc: Prakash K. Cheemplavam, linux-kernel
On Fri, May 14, 2004 at 10:04:26AM -0700, David Brownell wrote:
> Prakash K. Cheemplavam wrote:
> >David Brownell wrote:
> >
> >>>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. ;-)
>
> The short version is: it's missing this patch.
>
> [ Greg, please merge! ]
Applied, thanks.
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-05-14 19:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 15:37 2.6.6-mm2, usb ehci warnings/error? David Brownell
2004-05-14 7:52 ` Prakash K. Cheemplavam
2004-05-14 12:21 ` libata and write cache Prakash K. Cheemplavam
2004-05-14 17:04 ` 2.6.6-mm2, usb ehci warnings/error? David Brownell
2004-05-14 19:11 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.