USB issues

42 views
Skip to first unread message

Marcelo

unread,
Jan 25, 2011, 8:52:30 AM1/25/11
to hawkboard
Hi all!

I'm working with the OMAP-L138 on Experimenter Kit (LogicPD) and I
have a similar problem to the Hawkboard in previous post about using
memory stick (see below).

I'm wondering if USB issues are solved in Hawkboard.

After booting from USB, the kernel loads fine but then following
errors appears and I can't read the stick:

usb 1-1: new low speed USB device using musb_hdrc and address 26
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
.
.
(repeatedly)

The rootfs is mounted on NFS, but I'm not able to access to the stick.

Seems like a bug, and I'm thinking about using Hawkboard's USB module.

Any info or comments will be very appreciated.

Regards,
Marcelo

--------------------------


From: Frans Meulenbroeks <fransmeulenbro...@gmail.com>
Date: Sat, 20 Feb 2010 15:06:45 +0100
Subject: usb issues


After being able to boot from nfs, I figured it was time to see if I
could boot from usb.

That resulted in some interesting findings:

u-boot only sees a usb drive on the USB 2.0 OTG port. no jumper needed
a usb drive on the USB 1.1 port is not recognised.

Linux, when booted from nfs sees a usb drive connected to the OTG port
only if the jumper is placed
I'm not sure what 1 and 3 on the jumper is, but I've connected the two
pins closest to the connector.

Linux can work properly if the usb drive is inserted after linux has
booted.
However if the usb drive is there when linux boots, I get a panic:

Here is what I got:
------------[ cut here ]------------
WARNING: at drivers/usb/musb/musb_host.c:122 musb_h_tx_flush_fifo+0x8c/
0xd0()
Could not flush host TX2 fifo: csr: 340b
Modules linked in:
Backtrace:
[<c0080914>] (dump_backtrace+0x0/0x10c) from [<c0384d3c>] (dump_stack
+0x18/0x1c)
r7:c797de20 r6:c02a3c98 r5:c0452bab r4:0000007a
[<c0384d24>] (dump_stack+0x0/0x1c) from [<c009a164>]
(warn_slowpath_common+0x50/0x80)
[<c009a114>] (warn_slowpath_common+0x0/0x80) from [<c009a1e0>]
(warn_slowpath_fmt+0x30/0x38)
r7:c78112b8 r6:fee00522 r5:ffffffff r4:00003403
[<c009a1b0>] (warn_slowpath_fmt+0x0/0x38) from [<c02a3c98>]
(musb_h_tx_flush_fifo+0x8c/0xd0)
r3:00000002 r2:c0452bc8
[<c02a3c0c>] (musb_h_tx_flush_fifo+0x0/0xd0) from [<c02a4a84>]
(musb_cleanup_urb+0xe4/0x144)
r8:c7972d80 r7:fee00520 r6:00000000 r5:c788c05c r4:c78112b8
[<c02a49a0>] (musb_cleanup_urb+0x0/0x144) from [<c02a5288>]
(musb_urb_dequeue+0x150/0x1a4)
[<c02a5138>] (musb_urb_dequeue+0x0/0x1a4) from [<c028b698>]
(unlink1+0x108/0x114)
[<c028b590>] (unlink1+0x0/0x114) from [<c028b88c>]
(usb_hcd_unlink_urb+0x84/0xa0)
r8:c797df88 r7:ffffff98 r6:c7972d80 r5:a0000093 r4:00000000
[<c028b808>] (usb_hcd_unlink_urb+0x0/0xa0) from [<c028cb40>]
(usb_unlink_urb+0x40/0x44)
r7:c797df84 r6:c7974a2c r5:c7974800 r4:c7974a2c
[<c028cb00>] (usb_unlink_urb+0x0/0x44) from [<c029b8cc>]
(usb_stor_stop_transport+0x40/0x70)
[<c029b88c>] (usb_stor_stop_transport+0x0/0x70) from [<c029b0dc>]
(command_abort+0xc0/0x104)
r4:c78ad960
[<c029b01c>] (command_abort+0x0/0x104) from [<c024a938>]
(scsi_error_handler+0x178/0x3f0)
r6:c7974800 r5:c78ad96c r4:c78ad960
[<c024a7c0>] (scsi_error_handler+0x0/0x3f0) from [<c00b5500>]
(kthread+0x84/0x8c)
[<c00b547c>] (kthread+0x0/0x8c) from [<c009d8d8>] (do_exit+0x0/0x6ac)
r7:00000000 r6:00000000 r5:00000000 r4:00000000
---[ end trace 7708b898e93c0e38 ]---
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device not accepting address 2, error -110
usb 1-1: reset high speed USB device using musb_hdrc and address 2
usb 1-1: device not accepting address 2, error -110
usb 1-1: USB disconnect, address 2
scsi 1:0:0:0: Device offlined - not ready after error recovery
usb 1-1: new high speed USB device using musb_hdrc and address 3
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using musb_hdrc and address 4
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using musb_hdrc and address 5
usb 1-1: device not accepting address 5, error -110
usb 1-1: new high speed USB device using musb_hdrc and address 6
usb 1-1: device not accepting address 6, error -110
hub 1-0:1.0: unable to enumerate USB device on port 1

Also booting from usb is not possible. The kernel loads fine, but
linux has problems using /dev/sda2 as rootfs (/dev/sda1 is a fat
partition with uimage).
I get the error:

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
usb 1-1: new low speed USB device using musb_hdrc and address 2
usb 1-1: device descriptor read/64, error -71
ata1: SATA link down (SStatus 0 SControl 300)
Waiting for root device /dev/sda2...
usb 1-1: device descriptor read/64, error -71
usb 1-1: new low speed USB device using musb_hdrc and address 3
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new low speed USB device using musb_hdrc and address 4
usb 1-1: device not accepting address 4, error -71
usb 1-1: new low speed USB device using musb_hdrc and address 5
usb 1-1: device not accepting address 5, error -71
hub 1-0:1.0: unable to enumerate USB device on port 1

And then things stall, probably because I booted with rootwait in the
bootargs.

Anyone a suggestion?
BTW; this is the standard openembedded/angstrom kernel.

Frans
Reply all
Reply to author
Forward
0 new messages