I have not spent much time in this part of the code, but I believe you are on the right track. You probably already know some of these things, but I suggest the following.

1) Create a test that can simulate the 3-4 month issue more quickly. Many board, many reboots? 2) Test code that has all debug enabled, with some added debug around the area of the URB error. 3) Walk through the code and try to determine what possible reasons could cause this URB error. Is it a dynamic allocation? If so, try to determine what your memory situation is at that point. 4) Try reducing the kernel memory to see if it is more frequent. Try increasing to see if it goes away.

Steve

On 06/04/2010 03:16 PM, Alok Kumar wrote:

Correction Error number is -110 (timeout)

*From:* Alok Kumar
*Sent:* Friday, June 04, 2010 4:25 PM
*To:* '[email protected]'
*Subject:* usb 1-1: device descriptor read/64, error -11

Hi,

I am using Davinci 6446 with git tree kernel 2.6.30. We use USB drive (pen drive) to collect the data periodically.

Sometimes (once in 3-4 months) , after reboot an earlier working USB drive is not recognized (no /dev/sda1 etc) and I see following errors and USB is was not detected.

*kernel: usb 1-1: new high speed USB device using musb_hdrc and address 2*

*kernel: Initializing USB Mass Storage driver...*

*kernel: usbcore: registered new interface driver usb-storage*

*kernel: USB Mass Storage support registered.*

*kernel: musb_h_ep0_irq 1067: no URB for end 0*

*kernel: usb 1-1: device descriptor read/64, error -110*

* *

I see some comments in musb/musb_host.c for 'no URB for end 0', saying this should never happen.

My question is how to fix this error. What kind of recovery mechanism , I can put to auto detect it and fix it.

Any help will be greatly appreciated.

Thanks

Alok

NOTICE: The information contained in this email and any document attached hereto is intended only for the named recipient(s). It is the property of Cernium Corporation and shall not be used, disclosed or reproduced without the express written consent of Cernium Corporation. If you are not the intended recipient (or the employee or agent responsible for delivering this message in confidence to the intended recipient(s)), you are hereby notified that you have received this transmittal in error, and any review, dissemination, distribution or copying of this transmittal or its attachments is strictly prohibited. If you have received this transmittal and/or attachments in error, please notify me immediately by reply email or telephone and immediately delete this message and all its attachments. Thank you.
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to