On Sat, 13 Aug 2005, Thomas Liebetraut wrote:

> Hello,
> 
> I am not very familiar (well, in fact, none at all ;-)) with mailing
> lists so I did not have the heart to post to LKML and thus write to you
> directly.

Don't worry, there's nothing to it.  I have CC'ed this message to
linux-usb-users, which is the appropriate list.

> I have a problem with my USB2.0 NEC 720101 host controller (comes as PCI
> card) and my USB2.0 external HDD case (Cypress CY7C68300A, brand name
> "EZ-USB AT2"). Whenever I plug in the HDD, I get "device not accepting
> address" together with error code -71 in the kernel log. I already
> googled for this kind of error and found nothing that helped me.
> 
> Since I had problems with IRQ sharing earlier (I have a KT266 board
> which seems to have a messed IRQ routing, up to kernel 2.6.12 the
> parameters irqpoll and pci=biosirq helped) I already tried acpi=off and
> other PCI slots for the USB controller, but the error remains the same.
> 
> The card itself works if I use it as USB1.1 controller. Plugging in my
> USB mouse or other USB devices work fine. Unloading ehci-hcd and
> plugging in my HDD also works, but with lower transfer rates, of course.
> The same error occurs with two different USB2.0 memory sticks and if I
> use the HDD on a Toshiba notebook with integrated USB2.0 connectors, it
> works as USB2.0 with transfer rates that are normal for the disk, so I
> don't think it is the HDD case that is broken.
> 
> Then I recompiled my kernel with CONFIG_USB_DEBUG=y which resulted in
> the following output when I plug the HDD in:
> ---->8------->8------->8------->8------->8---
> hub 1-0:1.0: state 5 ports 5 chg 0000 evt 0020
> ehci_hcd 0000:00:0d.2: GetStatus port 5 status 001803 POWER sig=j  CSC
> CONNECT
> hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
> hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
> ehci_hcd 0000:00:0d.2: port 5 high speed
> ehci_hcd 0000:00:0d.2: GetStatus port 5 status 001005 POWER sig=se0  PE
> CONNECT
> usb 1-5: new high speed USB device using ehci_hcd and address 2
> ehci_hcd 0000:00:0d.2: port 5 high speed
> ehci_hcd 0000:00:0d.2: GetStatus port 5 status 001005 POWER sig=se0  PE
> CONNECT
> ehci_hcd 0000:00:0d.2: devpath 5 ep0out 3strikes
> ehci_hcd 0000:00:0d.2: devpath 5 ep0out 3strikes
> usb 1-5: device not accepting address 2, error -71
> ehci_hcd 0000:00:0d.2: port 5 high speed
> ehci_hcd 0000:00:0d.2: GetStatus port 5 status 001005 POWER sig=se0  PE
> CONNECT
> usb 1-5: new high speed USB device using ehci_hcd and address 3
> ehci_hcd 0000:00:0d.2: devpath 5 ep0in 3strikes
> ehci_hcd 0000:00:0d.2: devpath 5 ep0in 3strikes
> ehci_hcd 0000:00:0d.2: devpath 5 ep0in 3strikes
> ehci_hcd 0000:00:0d.2: port 5 high speed
> ehci_hcd 0000:00:0d.2: GetStatus port 5 status 001005 POWER sig=se0  PE
> CONNECT
> usb 1-5: device descriptor read/64, error -71
> ehci_hcd 0000:00:0d.2: devpath 5 ep0in 3strikes
> ehci_hcd 0000:00:0d.2: devpath 5 ep0in 3strikes
> ehci_hcd 0000:00:0d.2: devpath 5 ep0in 3strikes
> ehci_hcd 0000:00:0d.2: port 5 high speed
> ehci_hcd 0000:00:0d.2: GetStatus port 5 status 001005 POWER sig=se0  PE
> CONNECT
> usb 1-5: device descriptor read/64, error -71
> ehci_hcd 0000:00:0d.2: port 5 high speed
> ehci_hcd 0000:00:0d.2: GetStatus port 5 status 001005 POWER sig=se0  PE
> CONNECT
> usb 1-5: new high speed USB device using ehci_hcd and address 4
> ehci_hcd 0000:00:0d.2: devpath 5 ep0out 3strikes
> ehci_hcd 0000:00:0d.2: devpath 5 ep0out 3strikes
> usb 1-5: device not accepting address 4, error -71
> ehci_hcd 0000:00:0d.2: port 5 high speed
> ehci_hcd 0000:00:0d.2: GetStatus port 5 status 001005 POWER sig=se0  PE
> CONNECT
> usb 1-5: new high speed USB device using ehci_hcd and address 5
> ehci_hcd 0000:00:0d.2: devpath 5 ep0out 3strikes
> ehci_hcd 0000:00:0d.2: devpath 5 ep0out 3strikes
> usb 1-5: device not accepting address 5, error -71
> hub 1-0:1.0: state 5 ports 5 chg 0000 evt 0020
> ---->8------->8------->8------->8------->8---
> I can't pull any information out of this.

Well, for one thing it indicates that IRQ routing is not the cause of the 
problem.  If it were, you wouldn't see the "device not accepting address 
2..." message; instead the log would say "device descriptor read/64..."
like it does for address 3.

> I read this email of yours:
> http://www.opensubscriber.com/message/linux-usb-users@lists.sourceforge.net/1751590.html
> and tried the current 2.6.13 prepatch (2.6.13-rc6) but had no luck
> either, the error still remains.
> 
> I hope you can help me out in this case as I stumbled over your name
> several times when I searched for a solution for this problem.
> My distribution is Ubuntu Hoary Hedgehod, but I updated to the Breezy
> kernel which is 2.6.12, the package version ist 2.6.12-6.8. I usually
> build the kernel myself, but right now I use the precompiled kernel from
> the Ubuntu repository to minimize problems while fiddling around with
> the USB thing (of course, this did not solve the problem).
> 
> Thanks in advance
> Thomas

These particular errors indicate fairly low-level hardware or firmware 
problems.  For instance, it could be that the electrical connections at 
the USB port or the USB controller aren't very good, or maybe you're 
getting noise mixed into the signal.  Full speed (USB 1.1) connections are 
a lot more tolerant of that sort of interference than high speed (USB 
2.0).

Or it could be that there is a problem with the USB 2.0 controller itself.  
You could try putting it in a different computer or using it under Windows
to see if it still misbehaves.  NEC hardware is usually reliable (so I've
heard) -- if it's really broken then maybe you'll be able to exchange the
PCI card.

Alan Stern



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to