[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usb drive nolonger registers on one pc, still registers on another



On Tue, Dec 14, 2010 at 12:29:34PM +0000, Camaleón wrote:
> On Mon, 13 Dec 2010 17:16:21 -0500, Thomas H. George wrote:
> 
> > A Toshiba usb hard drive previously registered with no difficulty on one
> > computer but still registers with no difficulty on a seconcd computer.
> > Both computers are using the Linux 2.6.32-5-amd64 stock kernel but the
> > one with the problem was just updated and the one with no problem was
> > updated last August.
> > 
> > By failing to register I mean that when connected I get a continuing
> > series of messages like this:
> > 
> > 
> > Dec 13 16:54:21 dragon kernel: [ 3212.860525] usb 1-2: new high speed USB device using ehci_hcd and address 44 
> > Dec 13 16:54:21 dragon kernel: [ 3213.008537] hub 1-0:1.0: unable to enumerate USB device on port 2 
> 
> (...)
> 
> > Has something changed in the kernel?  Or perhaps in some other software
> > as in each case the update was a full dist-upgrade?
> 
> You mean the USB hard disk is working properly but logs that output or 
> you get the errors and the disk is not detected at all?

The device is detected, that is the led on the device flashes repeatedly
as the system tries to assign a device number and fails.
> 
> You can make a quick test: run " dmesg | grep [euo]hci" in both computers to 
> check what USB module is in charge of the disk. There are some devices that 
> play better with old "[uo]hci" stack and have problems when using the new one.
> 
Very interesting.  The older system finds only ehci entries in dmesg.
The newer system finds both ohci and echi entries and, more
importantly, issues a warning that ohci controller is being loaded
before the ehci controller.  I don't know how to change this.  I checked
/etc/udev but found no rules regarding usb controllers.

Here is the dmesg output for the newer system:


[    0.778844] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.778899] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.778936] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[    0.787036] firewire_ohci 0000:01:0b.0: PCI INT A -> Link[APC4] -> GSI 19 (level, low) -> IRQ 19
[    0.856015] firewire_ohci: Added fw-ohci device 0000:01:0b.0, OHCI version 1.10
[    1.296175] ohci_hcd 0000:00:02.0: PCI INT A -> Link[APCF] -> GSI 21 (level, low) -> IRQ 21
[    1.296242] ohci_hcd 0000:00:02.0: setting latency timer to 64
[    1.296245] ohci_hcd 0000:00:02.0: OHCI Host Controller
[    1.296311] ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
[    1.296384] ohci_hcd 0000:00:02.0: irq 21, io mem 0xfe02f000
[    1.354145] usb usb1: Manufacturer: Linux 2.6.32-5-amd64 ohci_hcd
[    1.354954] ehci_hcd 0000:00:02.1: PCI INT B -> Link[APCL] -> GSI 20 (level, low) -> IRQ 20
[    1.355015] ehci_hcd 0000:00:02.1: setting latency timer to 64
[    1.355018] ehci_hcd 0000:00:02.1: EHCI Host Controller
[    1.355063] ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 2
[    1.355134] ehci_hcd 0000:00:02.1: debug port 1
[    1.355173] ehci_hcd 0000:00:02.1: cache line size of 64 is not supported
[    1.355193] ehci_hcd 0000:00:02.1: irq 20, io mem 0xfe02e000
[    1.364020] ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00
[    1.364196] usb usb2: Manufacturer: Linux 2.6.32-5-amd64 ehci_hcd
[    1.676515] usb 2-1: new high speed USB device using ehci_hcd and address 2
[    2.032025] usb 2-9: new high speed USB device using ehci_hcd and address 5
[    2.276541] usb 2-10: new high speed USB device using ehci_hcd and address 6
[    2.716018] usb 1-3: new low speed USB device using ohci_hcd and address 2
[    3.236524] usb 1-4: new low speed USB device using ohci_hcd and address 3
[   26.112527] usb 1-3: new low speed USB device using ohci_hcd and address 4
[   48.140526] usb 1-3: new low speed USB device using ohci_hcd and address 5
[   70.172024] usb 1-3: new low speed USB device using ohci_hcd and address 6
[   92.268021] usb 1-3: new low speed USB device using ohci_hcd and address 7
[  114.232050] usb 1-3: new low speed USB device using ohci_hcd and address 8
[  136.260025] usb 1-3: new low speed USB device using ohci_hcd and address 9
[  158.324023] usb 1-3: new low speed USB device using ohci_hcd and address 10
[  180.320026] usb 1-3: new low speed USB device using ohci_hcd and address 11
[  202.348519] usb 1-3: new low speed USB device using ohci_hcd and address 12
[  224.380519] usb 1-3: new low speed USB device using ohci_hcd and address 13
[  246.408021] usb 1-3: new low speed USB device using ohci_hcd and address 14
[  268.436021] usb 1-3: new low speed USB device using ohci_hcd and address 15
[  290.468023] usb 1-3: new low speed USB device using ohci_hcd and address 16
[  312.496033] usb 1-3: new low speed USB device using ohci_hcd and address 17
[  334.528026] usb 1-3: new low speed USB device using ohci_hcd and address 18
[  356.556521] usb 1-3: new low speed USB device using ohci_hcd and address 19
[  378.592019] usb 1-3: new low speed USB device using ohci_hcd and address 20
[  400.616533] usb 1-3: new low speed USB device using ohci_hcd and address 21
[  422.644521] usb 1-3: new low speed USB device using ohci_hcd and address 22
[  444.676526] usb 1-3: new low speed USB device using ohci_hcd and address 23
[  466.704527] usb 1-3: new low speed USB device using ohci_hcd and address 24
[  488.732524] usb 1-3: new low speed USB device using ohci_hcd and address 25
[  510.764521] usb 1-3: new low speed USB device using ohci_hcd and address 26
[  532.792519] usb 1-3: new low speed USB device using ohci_hcd and address 27
[  554.820523] usb 1-3: new low speed USB device using ohci_hcd and address 28
[  580.000517] usb 1-3: new low speed USB device using ohci_hcd and address 29
[  602.028057] usb 1-3: new low speed USB device using ohci_hcd and address 30
[  624.056061] usb 1-3: new low speed USB device using ohci_hcd and address 31
[  646.120559] usb 1-3: new low speed USB device using ohci_hcd and address 32
[  668.120014] usb 1-3: new low speed USB device using ohci_hcd and address 33
[  690.148522] usb 1-3: new low speed USB device using ohci_hcd and address 34
> 
These final entries for the low speed USB device may relate to
Cyberpower ups.  The NUT usbd does not always find the Cyperpower driver
on bootup.  Left to its own devices it will repeadedly try and fail
again.  Issuing the upsdrvctl -D start command two or three times
corrects the situation.  I hope correcting the order of loading the usb
controllers will correct all the problems.

Tom
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] pan.2010.12.14.12.29.31@gmail.com">http://lists.debian.org/[🔎] pan.2010.12.14.12.29.31@gmail.com
> 
> 


Reply to: