On Mon, Nov 26, 2012 at 11:51:39AM -0500, Alan Stern wrote:
> On Thu, 22 Nov 2012, Piergiorgio Sartor wrote:
> 
> > OK, I got a log with working and then non working system,
> > so there should be a transition,
> 
> The trace attached to Kernel Bugzilla #50381 didn't give any details.  
> All it showed was that at one point the computer stopped getting data
> from the drives.
> 
> Does the same problem occur if you use fewer drives or only one hub?
> 
> Below is a diagnostic patch which should add extra information to the 
> dmesg log when the problem occurs.  It requires CONFIG_USB_DEBUG to be 
> set.  Let's see what it shows.
> 

Hi Alan,

thanks for the patch.

I'll try to apply it and report the results,
including the USB EHCI register files.

Unfortunately, I cannot provide a "deadline"
(so to speak), I'm quite busy at the moment.

Thanks again,

bye,

pg

> 
> 
> 
> Index: usb-3.7/drivers/usb/host/ehci-hcd.c
> ===================================================================
> --- usb-3.7.orig/drivers/usb/host/ehci-hcd.c
> +++ usb-3.7/drivers/usb/host/ehci-hcd.c
> @@ -907,6 +907,18 @@ static int ehci_urb_dequeue(struct usb_h
>               qh = (struct ehci_qh *) urb->hcpriv;
>               if (!qh)
>                       break;
> +
> +             if (usb_pipetype(urb->pipe) == PIPE_BULK) {
> +                     char label[40];
> +
> +                     sprintf(label, "dev %d ep %x state %d",
> +                             usb_pipedevice(urb->pipe),
> +                             usb_pipein(urb->pipe) +
> +                                     usb_pipeendpoint(urb->pipe),
> +                             qh->qh_state);
> +                     dbg_qh(label, ehci, qh);
> +             }
> +
>               switch (qh->qh_state) {
>               case QH_STATE_LINKED:
>               case QH_STATE_COMPLETING:

-- 

piergiorgio
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to