USB problems

Hi,
I recently (3 months ago) got my beagleboard and after some hardware-
problems (and an RMA replacement) I installed the Angstrom Demo and
played around with the Beagle-Mojo.

I like to use the beagle as Web-/Samba-/ssh-/printer-Server but I get
some serious problems. When I start copying files from an usb-drive
connected to the beagle via usb-ethernet-adapter to a pc the beagle
stops working after some time. Browsing a samba-share or the webserver-
content from a pc speeds up the locking process.
In some cases the beagle doesn't lock up complete and I get the
following messages via rs232:

Clock mmchs_fck didn't enable in 100000 tries
Clock mmchs_fck didn't enable in 100000 tries
BUG: soft lockup - CPU#0 stuck for 74s! [swapper:0]
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
BUG: soft lockup - CPU#0 stuck for 108s! [dd:1889]
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: Cannot enable port 3. Maybe the USB cable is bad?
hub 2-1:1.0: cannot disable port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: Cannot enable port 3. Maybe the USB cable is bad?
hub 2-1:1.0: cannot disable port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: Cannot enable port 3. Maybe the USB cable is bad?
hub 2-1:1.0: cannot disable port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: cannot reset port 3 (err = -110)
hub 2-1:1.0: Cannot enable port 3. Maybe the USB cable is bad?
hub 2-1:1.0: cannot disable port 3 (err = -110)
hub 2-1:1.0: cannot disable port 3 (err = -110)
end_request: I/O error, dev sda, sector 159645759
Buffer I/O error on device sda1, logical block 19955712
sd 1:0:0:0: rejecting I/O to offline device
sd 1:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 19005442
sd 1:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 19016720
sd 1:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 19987084
sd 1:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 19988109
sd 1:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 19988480
sd 1:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 19989654
sd 1:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 19990679
sd 1:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 19991704
sd 1:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda1, logical block 19992729
sd 1:0:0:0: rejecting I/O to offline device
sd 1:0:0:0: rejecting I/O to offline device
end_request: I/O error, dev sda, sector 103
Aborting journal on device sda1.
sd 1:0:0:0: rejecting I/O to offline device
hub 2-1:1.0: hub_port_status failed (err = -110)
musb_h_ep0_irq 1091: no URB for end 0
usb 2-1.2: device v13b1 p0018 is not supported
usb 2-1.3: device v058f p6390 is not supported
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through

But sometimes the beagle crashes completly.
I tried all currently available kernels from the angstrom-demo, tried
several kernels in combination with the mojo-project (from
http://www.rcn-ee.com/deb/kernel/beagle/hasty/) but none of them
worked. Some got me great ehternet speeds others took longer to crash
but all of them did crash.

I also changed nearly all hardware-components: usb-ethernet device
(USB200M Linksys, and another noname-adapter), the "powered" usb hub,
all usb cables but the mini-A-cable.
I only didn't change the sd-card, the beagle-powersupply (which was
bought from digi-key with the beagle), and the mini-A-adapter (nor the
beagle of course).

I tried everything with DVI/rs232 connected and not, but no change.

I would be really glad for every idea because I'm really stuck now.
Should I change the rest of the unchanged components? Is this a
hardware or a software problem?

Hello,

Very strange. Let's get you up and running with a known working
kernel. (off the wall question, what version of uboot are you
running? v1.3.3 or v2008-10, etc?)

Please download this file to your Fat32 partition and rename it to uImage.

Thanks for your help!

Very strange. Let's get you up and running with a known working
kernel. (off the wall question, what version of uboot are you
running? v1.3.3 or v2008-10, etc?)

Im currently running the v1.3.3. Should I try a newer one? Where can I
get one if I don't build it myself?
The X-loader says: Texas Instruments X-Loader 1.4.2 (Aug 8 2008 -
16:59:05)

Please download this file to your Fat32 partition and rename it to uImage.

*****************
wgethttp://www.rcn-ee.com/deb/kernel/CC-v2.6.28-9a6536c-oer8
mv CC-v2.6.28-9a6536c-oer8 uImage
*****************

Check to see the Ethernet adapter works, if so, dl this upgrade script
on your beagleboard and run it.

Worked(sometimes)!

wgethttp://www.rcn-ee.com/deb/kernel/update_kernel.sh

change lines 3 & 4 with nano/etc:
DISTRO=lenny to DISTRO=hasty
ARCH=armel to ARCH=arm

then run "/bin/bash update_kernel.sh"

reboot

Then, please post the results of dmesg & lsusb with 2.6.28-***-oer10

workes in 1 of 10 boots... sometimes stops after uncompressing the
kernel, sometimes during bootup (mostly after:
Waiting 2sec before mounting root device...
usb 2-1: new high speed USB device using musb_hdrc and address 2)
if I got it booting it crashes during ssh session or stops working
after a few seconds of a filetransfer

dmesg:
twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
Bluetooth: HCI USB driver ver 2.10
usbcore: registered new interface driver hci_usb
Bluetooth: Broadcom Blutonium firmware driver ver 1.2
usbcore: registered new interface driver bcm203x
Bluetooth: Digianswer Bluetooth USB driver ver 0.10
usbcore: registered new interface driver bpa10x
Bluetooth: Generic Bluetooth SDIO driver ver 0.1
mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock
Registered led device: beagleboard::usr0
Registered led device: beagleboard::usr1
leds-gpio: probe of leds-gpio failed with error -22
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
usbcore: registered new interface driver snd-usb-audio
ASoC version 0.13.2
OMAP3 Beagle SoC init
TWL4030 Audio Codec init
asoc: twl4030 <-> omap-mcbsp-dai-(link_id) mapping ok
ALSA device list:
  #0: omap3beagle (twl4030)
oprofile: using arm/armv7
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.11
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.10
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13

Your system is acting way too random and your dmesg looks good (i'm
also running an external usb drive), as for the randomness I saw some
of those issues back in October/November time frame with the 2.6.27's
kernels. ( i was running 1.3.1 & 1.3.3 at the time) an upgrade to
v2008-10 fixed these issues for me and a couple other developers.

I've had the best luck with Koen's build here (using november's
build): http://www.angstrom-distribution.org/demo/beagleboard/

Universal directions here:
http://elinux.org/BeagleBoardDebian#Upgrading_u-boot_.282.6.27.27s_and_later.29

For future reference, this line will change based on what version you
have installed

nand ecc sw <> nandecc sw

Regards,