I have a USB tester here; it's a 12-slot tester driven by three NEC 720101 USB host controllers. OS is Linux 2.6.7.

We've been experiencing a sporadic problem on some units, where the machine will suddenly just lock up, with no messages onscreen, no diagnostics in /var/log/messages, or anything else. The lockup appears to occur when parts are being removed and inserted, rather than occuring during testing.

Recently I've been looking at one of the machines which is exhibiting this problem. We were rapidly removing and inserting USB 2.0 devices into the slots, and the machine locked up. As it turns out, the lockup did *not* affect the entire machine in this case (though it sometimes does), it had only affected the daemon which accesses the devices. I wasn't able to able to run gdb against the process, unfortunately; gdb just hung as well. So I wasn't able to find out where the application was hung, dang.

However, I looked at the system log and saw the following entries toward the end of the log:

Jan 12 02:09:11 M7600M47 kernel: ohci_hcd 0000:01:0a.0: bad entry 401080
Jan 12 02:09:12 M7600M47 kernel: usb 7-2: new high speed USB device using address 61
Jan 12 02:09:12 M7600M47 kernel: usb 11-3: bulk timeout on ep1in


This did not actually directly cause the hang, because there were four more normal removal/insertion messages after that, spanning about 8 seconds. However, I'm wondering if it is a hint of what went wrong?? I did some googling around the web, and one comment that I saw in this newsgroup, from March 2004, referred to "the famous bad entry issue". I didn't really see anything that clarified that issue, tho.

During this insertion/removal process, we are inserting USB 2.0 parts. Also, at the same time, our software is periodically accessing an FTDI serial controller (low-speed) which is part of the circuit which monitors the hardware to detect insertion.

Does anyone have any ideas on this lockup issue, and whether the ohci_hcd driver issue is related in some way??

   Dan Miller



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to