On Wed, 22 Sep 2004, Olaf Hering wrote:

>  On Wed, Sep 22, Olaf Hering wrote:
> 
> >  On Wed, Sep 08, Alan Stern wrote:
> > 
> > > You might try increasing 
> > > the delay to 200 us just to see if it changes anything.
> > 
> > that fixed the hang. I will run some more tests.
> 
> I had the wrong drive attached. Current error with udelay(200) is
> 
>  sdc:<4>usb 3-2: control timeout on ep0in
> usb 3-2: control timeout on ep0in
> usb 3-2: control timeout on ep0in
> usb 3-2: control timeout on ep0in
> 
> 
> maybe the drive is broken...

I wouldn't be surprised. But those error messages do surprise me; 
usb-storage doesn't produce them.  Something else must be the cause.  What 
do you see with this patch?

Alan Stern


===== drivers/usb/core/message.c 1.110 vs edited =====
--- 1.110/drivers/usb/core/message.c    2004-09-13 07:47:16 -04:00
+++ edited/drivers/usb/core/message.c   2004-09-22 14:02:01 -04:00
@@ -66,8 +66,11 @@
                wait_for_completion(&done);
                status = urb->status;
                /* note:  HCDs return ETIMEDOUT for other reasons too */
-               if (status == -ECONNRESET)
+               if (status == -ECONNRESET) {
                        status = -ETIMEDOUT;
+                       dev_info(&urb->dev->dev, "Process %d (%s)\n",
+                               current->pid, current->comm);
+               }
                if (timeout > 0)
                        del_timer_sync(&timer);
        }



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to