public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* HS USB errors on OMAP3530
@ 2008-08-07 18:39 Ashwin Bihari
  0 siblings, 0 replies; 4+ messages in thread
From: Ashwin Bihari @ 2008-08-07 18:39 UTC (permalink / raw)
  To: linux-omap

Greetings,

I've got a OMAP3530 based board on which I'm having some trouble with
HS USB transfers. I plug in a HS USB Flash drive and it is properly
detected. I can mount the drive and write any amount of data to it
without any problems. However, when I start reading from the drive,
the action halts at some random point with the USB driver indicating
that it got less data than it requested in it's transaction.

Once this failure occurs, the port gets reset and the inserted Flash
drive is "detected" again but none of the descriptors can be retrieved
to actually configure/enumerate the device. After a few more reset
cycles the process just halts. The console messages are the
following..

--- Console Messages ---
<7>usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: [sda] 964608 512-byte hardware sectors (494 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 964608 512-byte hardware sectors (494 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
usb 1-2: reset high speed USB device using ehci-omap and address 2
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: reset high speed USB device using ehci-omap and address 2
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: reset high speed USB device using ehci-omap and address 2
usb 1-2: device not accepting address 2, error -110
usb 1-2: reset high speed USB device using ehci-omap and address 2
usb 1-2: device not accepting address 2, error -110
usb 1-2: USB disconnect, address 2
sd 0:0:0:0: Device offlined - not ready after error recovery
Result: hostbyte=0x01 driverbyte=0x00
end_request: I/O error, dev sda, sector 775288
end_request: I/O error, dev sda, sector 775288
Result: hostbyte=0x01 driverbyte=0x00
end_request: I/O error, dev sda, sector 775528
end_request: I/O error, dev sda, sector 775528
usb 1-2: new high speed USB device using ehci-omap and address 3
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: new high speed USB device using ehci-omap and address 4
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: new high speed USB device using ehci-omap and address 5
usb 1-2: device not accepting address 5, error -110
usb 1-2: new high speed USB device using ehci-omap and address 6
usb 1-2: device not accepting address 6, error -110
hub 1-0:1.0: unable to enumerate USB device on port 2
--- End Messages --

Why the writes succeed without any issues while the reads fail has me
completely stumped. I'm currently using The Linux Kernel version
2.6.24.7 from omapzoom.org with the /drivers/usb code from the latest
2.6.26 back-ported. Attempting to jump to the newest Kernel would
require some work to get my board-specific code all happy and I'm in
the process of doing that..

I would love to hear from ideas on what might be going on and what I
should be looking at to get this resolved.

Regards
~ Ashwin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-08  2:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1f11a5490808071135i3ac8e5dfl4076c21c5296d254@mail.gmail.com>
2008-08-07 19:38 ` HS USB errors on OMAP3530 David Brownell
2008-08-08  1:23   ` Ashwin Bihari
2008-08-08  2:25     ` David Brownell
2008-08-07 18:39 Ashwin Bihari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox