LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problems getting external USB hard drive to work (https://www.linuxquestions.org/questions/debian-26/problems-getting-external-usb-hard-drive-to-work-348794/)

pwaring 08-01-2005 05:23 AM

Problems getting external USB hard drive to work
 
I'm working with a Dell Poweredge 2650 that I've just got Debian Sarge installed and working on. Everything seems to be running fine, except that when I try and plug my external USB hard drive in I get the following error message:

Code:

usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new full speed USB device using ohci_hcd and address 3
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110

I've searched on Google but I can't find much on this specific error (with the same error number). The strange thing is that I have another machine running Debian with the same kernel (kernel-image-2.6.11-1-386) and it can detect and mount the external drive without any problems, so I don't think it's a case of the hard drive being unsupported by Linux. However, I've no idea why the drive isn't being picked up by the Poweredge machine or what to try. The only thing I've spotted is during bootup (after selecting Linux from the GRUB menu) I see a message about an unavailable module scb2_flash not being loaded. I'm not sure whether this has anything to do with external USB drives or not though, and most of the search results I get seem to point to code samples or information about the 2.4 kernel.

If it helps, here is the output from dmesg | grep usb:

Code:

usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver usbkbd
drivers/usb/input/usbkbd.c: :USB HID Boot Protocol keyboard driver
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
usbcore: registered new driver usb-storage
usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new full speed USB device using ohci_hcd and address 3
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110

and also lspci:

Code:

0000:00:00.0 Host bridge: ServerWorks CMIC-WS Host Bridge (GC-LE chipset) (rev 13)
0000:00:00.1 Host bridge: ServerWorks CMIC-WS Host Bridge (GC-LE chipset)
0000:00:00.2 Host bridge: ServerWorks CMIC-LE
0000:00:04.0 ff00: Dell Embedded Remote Access or ERA/O
0000:00:04.1 ff00: Dell Remote Access Card III
0000:00:04.2 ff00: Dell Embedded Remote Access: BMC/SMIC device
0000:00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
0000:00:0f.0 Host bridge: ServerWorks CSB5 South Bridge (rev 93)
0000:00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93)
0000:00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 05)
0000:00:0f.3 ISA bridge: ServerWorks CSB5 LPC bridge
0000:00:10.0 Host bridge: ServerWorks CIOB-X2 PCI-X I/O Bridge (rev 03)
0000:00:10.2 Host bridge: ServerWorks CIOB-X2 PCI-X I/O Bridge (rev 03)
0000:00:11.0 Host bridge: ServerWorks CIOB-X2 PCI-X I/O Bridge (rev 03)
0000:00:11.2 Host bridge: ServerWorks CIOB-X2 PCI-X I/O Bridge (rev 03)
0000:03:06.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)
0000:03:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)
0000:04:08.0 PCI bridge: Intel Corp. 80303 I/O Processor PCI-to-PCI Bridge (rev 01)
0000:04:08.1 RAID bus controller: Dell PowerEdge Expandable RAID Controller 3/Di (rev 01)
0000:05:06.0 SCSI storage controller: Adaptec RAID subsystem HBA (rev 01)
0000:05:06.1 SCSI storage controller: Adaptec RAID subsystem HBA (rev 01)

Thanks in advance for any help and/or pointers.

ewt3y 08-02-2005 01:23 AM

Here's how to get usb device to work under Linux:
--configure the kernel: enable UHCI and OHCI-HCD.
--load the following modules: usbcore.o usb-uhci.o usb-ohci.o
--

pwaring 08-02-2005 05:35 AM

I already have the following modules loaded according to lsmod:

ohci_hcd
ehci_hcd
usb_storage
usbserial
usbhid
usbkbd
usbcore

I can't see usb-uhci or usb-ochi anywhere in /lib/modules/{kernel-version}/ though, nearest I can find is hci_usb.ko

kc4mts 11-23-2008 10:18 PM

a possible temporary fix for usb drive
 
Quote:

Originally Posted by pwaring (Post 1778135)
I already have the following modules loaded according to lsmod:

ohci_hcd
ehci_hcd
usb_storage
usbserial
usbhid
usbkbd
usbcore

I can't see usb-uhci or usb-ochi anywhere in /lib/modules/{kernel-version}/ though, nearest I can find is hci_usb.ko

The problem that you are having is similar to what I have. I found a method on the Ubuntu Linix forums which is a temporary work around for the USB drives not mounting.
Go into your Terminal mode and type "sudo rmmod ehci_hcd" (do not add the quotes and press enter when you are done.)
sudo makes you a temporary super user such as root (you will be asked for your password)
rmmod ehci_hcd will temporarily remove the ehci_hcd driver (this is the newer high speed USB driver)from the kernel and then you can try to remove and reseat your drive or memory card into the USB port. If this works for you the drive should now be picked up by Linux and the drive icon should be displayed on your desktop (different versions of linux may not display it on the desktop.)
Like I stated above this is a temporary fix at best......you will need to reenter rmmod ehci_hcd in the terminal each time you restart Linux.
Apparently there is a program (most likely) or update (less likely) that breaks the driver for USB drives or memory storage.
I am currenty typing from the 8.04 (hardy heron) version of Ubuntu and this is the version that broke on me, I believe, after I loaded a bunch of games into the machine at one time and I have updated a couple of times so it is difficult to find out which program did the dirty deed. USB was working fine on this machine for a long time so I know it has to be something that I did that caused the USB to stop working.
I also have Ubuntu 8.10 installed on another drive (dual boot) and the USB works fine with it using the same hardware.
If you want a long term fix you may need to save all of your data that you want to keep and do a clean install which should correct the issue.

Quoted from Ubuntu Linux forums for reference.
"Are you able to "rmmod ehci_hcd" ? If so, try that and then reseat your drive."

#UPDATE# Mar 25,2009
I just went through an update of the following files and "magically" my usb 2.0 started to work again.

libjasper1_1.900.1-3ubuntu0.8.04.1_i386.deb
wesnoth_1%3a1.4-1ubuntu0.1_i386.deb
wesnoth-all_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-aoi_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-data_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-did_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-editor_1%3a1.4-1ubuntu0.1_i386.deb
wesnoth-ei_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-httt_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-l_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-music_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-nr_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-server_1%3a1.4-1ubuntu0.1_i386.deb
wesnoth-sof_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-sotbe_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-thot_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-trow_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-tsg_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-ttb_1%3a1.4-1ubuntu0.1_all.deb
wesnoth-utbs_1%3a1.4-1ubuntu0.1_all.deb

jasper is a jpeg library for debian so it may have nothing to do with my fix and westnoth is a game. I am not sure which of these files corrected the error. If you are running westnoth and are getting an error 110 ( usb 2.0 error which will not let flash drives or USB HDs run on startup) than try to get the updates for westnoth and see if this corrects your system too.

farslayer 11-24-2008 08:15 AM

3 YEAR old post

I doubt he's running Sarge anymore, and I would hope he's resolved the problem by now..

Please look at the dates of a post before replying.. Thanks !!


All times are GMT -5. The time now is 05:58 PM.