Thanks for the response.

 

My problem is this is not reproducible (once in 2-3 months). I noticed
this device (I have 2 like this different make) stopped recording and
dmesg has lots of error like below. Fsck.ext3  does not fix it.

 

Any suggestions what I could infer from these messages. 

 

a)      Periodic reset high speed USB device

--------------Syslog -------------------------------

 

4 16:21:47 (none) kernel: usb 1-1: reset high speed USB device using
musb_hdrc and address 2

Jun  4 17:44:32 (none) kernel: usb 1-1: reset high speed USB device
using musb_hdrc and address 2

Jun  4 19:07:17 (none) kernel: usb 1-1: reset high speed USB device
using musb_hdrc and address 2

 

b)      sd 0:0:0:0: [sda] Unhandled sense code

 

----------------dmesg---------------------------------------------------
-------------

 

Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1310951

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1835111

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1835143

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1835159

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1835183

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1914463

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1914543

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1914623

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 2097223

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 2097239

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 2458087

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 2472839

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 2472903

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 3407935

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 3409287

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 3670079

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 3671591

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 63

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 71

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 262207

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 262215

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 786495

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 786503

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1310783

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1310791

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1835071

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 1835079

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 2359359

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 2359367

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 4207

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 4207

__ratelimit: 72 callbacks suppressed

Buffer I/O error on device sda1, logical block 1036

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1037

lost page write due to I/O error on sda1

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 63

Buffer I/O error on device sda1, logical block 0

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 1

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 2

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 3

lost page write due to I/O error on sda1

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 262223

Buffer I/O error on device sda1, logical block 65540

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 65541

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 65542

lost page write due to I/O error on sda1

Buffer I/O error on device sda1, logical block 65543

lost page write due to I/O error on sda1

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0

end_request: I/O error, dev sda, sector 262535

sd 0:0:0:0: [sda] Unhandled sense code

sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08

sd 0:0:0:0: [sda] Sense Key : 0x7 [current]

sd 0:0:0:0: [sda] ASC=0x27 ASCQ=0x0 

 

From: Steve Poulsen [mailto:[email protected]] 
Sent: Monday, June 07, 2010 10:16 AM
To: Alok Kumar
Cc: Stephen Berry; [email protected];
[email protected]
Subject: Re: usb 1-1: device descriptor read/64, error -110

 

Can you measure the VBUS on a reboot and see if it is getting disabled?

On 06/07/2010 08:41 AM, Alok Kumar wrote: 

Appreciate your responses.

 

When USB drive was in not detected state, I restarted the unit, a fresh
power up did not fix the issue. However when we pulled out the USB key
device and inserted again, it was detected, enumerated, mounted.
Subsequent power up, did not show any issues (at least for time being)

 

The area, I don't understand how a re-inserting USB pen drive worked
successfully(detected, enumerated, mounted) , but power reset to board
did not fix the issue.

 

Any thoughts what I can do in this situation ?

 

Thanks

Alok

 

 

 

From: Stephen Berry [mailto:[email protected]] 
Sent: Friday, June 04, 2010 10:07 PM
To: Alok Kumar
Cc: [email protected]
Subject: Re: usb 1-1: device descriptor read/64, error -110

 

It looks like the device descriptor wasn't read correctly. Without that
the kernel can't attach the device.

Did you try removing it and hot-plugging to see if it works? 

If a USB device doesn't respond to configuration requests appropriately,
then it is usually because it is :

    a - damaged
    b - the hardware (pen drive) has a power issue
    c - firmware is too slow on the device to respond.

Try a new pen drive.

You can certainly detect that a device you expect isn't mounted, not
sure how to tell udev to try to reconfigure it again after it failed the
first time around...

    Steve

On 6/4/2010 4: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. 

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

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. 

 


-- 
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

Reply via email to