Hi everyone,
I'm using a BeagleBoard XM Rev C. running a Robert E. Nelson Debian
kernel (3.0.4-x3) for a robotics project. The only problem I've had
with the board thus far is a random crash of the usb hub. I can tell
when it happens because I have a bunch of devices hooked up to the usb
hub, including an xbee radio and a couple of GPS units. These
devices have little LEDs that turn on and stay on when power is being
supplied to them. When the crash happens, all of these LEDs turn
off. Because of the random nature of the crashes and how the ethernet
port is tied into the USB hub (its unusable when the crash happens), I
was unable to get any additional info on the system in this state
until recently. Fortunately, it happened on Sunday night, and I was
able to log into the board via the serial port.
Here is some dmesg output:
[ 4.209533] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 4.216522] Freeing init memory: 356K
[ 4.239715] ehci-omap ehci-omap.0: port 2 reset error -110
[ 4.308868] mmc0: host does not support reading read-only switch.
assuming write-enable.
[ 4.332641] mmc0: new SDHC card at address 1234
[ 4.339324] mmcblk0: mmc0:1234 SA04G 3.67 GiB
[ 4.352630] mmcblk0: p1 p2
[ 4.404296] udev[67]: starting version 167
[ 4.934967] ehci-omap ehci-omap.0: port 2 reset error -110
[ 5.575592] ehci-omap ehci-omap.0: port 2 reset error -110
[ 5.667083] EXT4-fs (mmcblk0p2): INFO: recovery required on
readonly filesystem
[ 5.677642] EXT4-fs (mmcblk0p2): write access will be enabled
during recovery
[ 6.216217] ehci-omap ehci-omap.0: port 2 reset error -110
[ 6.856872] ehci-omap ehci-omap.0: port 2 reset error -110
[ 7.285278] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable
is bad?
[ 7.356781] ehci-omap ehci-omap.0: port 2 reset error -110
[ 8.059997] ehci-omap ehci-omap.0: port 2 reset error -110
[ 8.700622] ehci-omap ehci-omap.0: port 2 reset error -110
[ 9.341064] ehci-omap ehci-omap.0: port 2 reset error -110
[ 9.981719] ehci-omap ehci-omap.0: port 2 reset error -110
[ 10.410308] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable
is bad?
[ 10.481811] ehci-omap ehci-omap.0: port 2 reset error -110
[ 11.184844] ehci-omap ehci-omap.0: port 2 reset error -110
[ 11.825592] ehci-omap ehci-omap.0: port 2 reset error -110
[ 12.466217] ehci-omap ehci-omap.0: port 2 reset error -110
[ 13.106811] ehci-omap ehci-omap.0: port 2 reset error -110
[ 13.535339] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable
is bad?
[ 13.606811] ehci-omap ehci-omap.0: port 2 reset error -110
[ 13.645141] EXT4-fs (mmcblk0p2): recovery complete
[ 14.301269] EXT4-fs (mmcblk0p2): mounted filesystem with ordered
data mode. Opts: (null)
[ 14.313476] ehci-omap ehci-omap.0: port 2 reset error -110
[ 14.952606] ehci-omap ehci-omap.0: port 2 reset error -110
[ 15.591217] ehci-omap ehci-omap.0: port 2 reset error -110
[ 16.231933] ehci-omap ehci-omap.0: port 2 reset error -110
[ 16.660339] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable
is bad?
[ 16.670013] hub 1-0:1.0: unable to enumerate USB device on port 2
[ 16.686035] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-
ro
[ 16.809448] udev[242]: starting version 167
[ 17.245697] input: gpio-keys as /devices/platform/gpio-keys/input/
input1
[ 17.537811] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 17.565887] twl_rtc twl_rtc: Power up reset detected.
[ 17.581848] rtc-ds1307: probe of 2-0068 failed with error -5
And here is some lsusb output:
[ 538.091125] ehci-omap ehci-omap.0: port 2 reset error -110
[ 538.100677] ehci-omap ehci-omap.0: port 2 reset error -110
[ 538.110137] ehci-omap ehci-omap.0: port 2 reset error -110
[ 538.119537] ehci-omap ehci-omap.0: port 2 reset error -110
[ 538.128936] ehci-omap ehci-omap.0: port 2 reset error -110
[ 538.137145] hub 1-0:1.0: hub_port_status failed (err = -32)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I searched for these errors and found just a handful of references to
a potential issue in the ehci module. So, with all of that, I have
two questions:
1. Any ideas about what could be going on? Is it software or hardware
related?
2. Any ideas about how to reproduce the problem in a more reliable way
(i.e. instead of having it fail randomly)? One of the threads I found
suggested that perhaps a mass data transfer would prompt a failure.
However, I couldn't prompt the failure to happen when copying a 1.5 GB
file from a memory stick onto the board.
Thank you in advance for any help.
-Tony