Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Apparently, this is not an uncommon problem, though I haven't seen either the exact problem or a solution to it. Half of the threads in this forum are problems with USB LaCie drives. I'd use it for a boat anchor, except that a client has important data they like to shuttle back and forth on this thing.
I have a LaCie Biggest F800GB USB2 drive that won't connect to a PowerEdge 2650 running RHEL Linux 4 Release 4 (kernel 2.6.9-42.ELsmp)
USB drivers and hotplug are working -- I can connect other models of USB drive successfully to this machine
The drive itself is functional -- this LaCie drive connects successfully to a Mac OSX machine
Happens on other 2.6.9 machines -- This problem with this drive occurs on any of our servers running the same kernal
Other USB drives connect successfully to this machine. And I've connected the LaCie drive successfully to other machines.
Here are the log messages I get:
Code:
Apr 3 13:52:19 beast kernel: usb 1-3: new high speed USB device using address 14
Apr 3 13:52:24 beast kernel: usb 1-3: control timeout on ep0in
Apr 3 13:52:24 beast kernel: usb 1-3: device not accepting address 14, error -71
Apr 3 13:52:24 beast kernel: usb 1-3: new high speed USB device using address 15
Apr 3 13:52:29 beast kernel: usb 1-3: control timeout on ep0in
Apr 3 13:52:30 beast kernel: usb 1-3: device not accepting address 15, error -71
Seems the LaCie disc is not accepting the interrupt it is given.
Reading the web, looks like other people are having similar problems. Does anyone have a solution? Or perhaps a suggestion?
I had a problem at first with a 500GB LaCie external USB drive. It was being recognised as a TI Boot Device, whatever that is. This was happening in both windows and Linux. I power cycled the unit a few times and it kicked in.
Another problem was that mounting the drive would time out. I don't remember where I found it, but I found a config item, that allowed me to increase the time before the mount command times out. You are using a different distro so yours may be in a different place. You might try grep'ing the files in /etc/sysconfig.
I had a problem before connecting a Lacie USB Big_Disk to an IBM x336 under RHEL 3 , I noticed that it required usb-storage module installed , once that was done it did recognized it even that the LaCie is NTFSformatted disk.
I cycled the power on the drive (rather than what I'd been doing which was plugging and unplugging the cable).
Here's what I got:
Code:
Apr 4 11:17:04 beast smbd[30821]: [2007/04/04 11:17:04, 0] lib/util_sock.c:read_socket_data(384)
Apr 4 11:17:04 beast smbd[30821]: read_socket_data: recv failure for 4. Error = Connection reset by pee
r
Apr 4 12:16:06 beast kernel: usb 3-1: new full speed USB device using address 4
Apr 4 12:16:06 beast kernel: usb 3-1: device not accepting address 4, error -71
Apr 4 12:16:10 beast kernel: usb 1-3: new high speed USB device using address 23
Apr 4 12:16:10 beast kernel: scsi8 : SCSI emulation for USB Mass Storage devices
Apr 4 12:16:10 beast kernel: Vendor: LaCie Model: Biggest F800 Rev: 1.32
Apr 4 12:16:10 beast kernel: Type: Direct-Access ANSI SCSI revision: 02
Apr 4 12:16:10 beast kernel: SCSI device sde: 976790016 512-byte hdwr sectors (500116 MB)
Apr 4 12:16:10 beast kernel: sde: assuming drive cache: write through
Apr 4 12:16:10 beast kernel: SCSI device sde: 976790016 512-byte hdwr sectors (500116 MB)
Apr 4 12:16:10 beast kernel: sde: assuming drive cache: write through
Apr 4 12:16:10 beast kernel: sde: [mac] sde1 sde2 sde3 sde4
Apr 4 12:16:10 beast kernel: Attached scsi disk sde at scsi8, channel 0, id 0, lun 0
Apr 4 12:16:10 beast kernel: Attached scsi generic sg7 at scsi8, channel 0, id 0, lun 0, type 0
Apr 4 12:16:11 beast scsi.agent[30924]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host8/t
arget8:0:0/8:0:0:0
Apr 4 12:17:24 beast kernel: usb 1-3: reset high speed USB device using address 23
Apr 4 12:17:29 beast kernel: usb 1-3: control timeout on ep0in
Apr 4 12:17:29 beast kernel: usb 1-3: device not accepting address 23, error -71
Apr 4 12:17:29 beast kernel: usb-storage: Bus reset ended with -19
Apr 4 12:17:29 beast kernel: usb 1-3: USB disconnect, address 23
Apr 4 12:17:29 beast kernel: scsi: Device offlined - not ready after error recovery: host 8 channel 0 id
0 lun 0
Apr 4 12:17:29 beast kernel: sd 8:0:0:0: Illegal state transition cancel->offline
Apr 4 12:17:29 beast kernel: Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1702
Apr 4 12:17:29 beast kernel: [<f88426d9>] scsi_device_set_state+0xd2/0xdd [scsi_mod]
Apr 4 12:17:29 beast kernel: [<f8840903>] scsi_eh_offline_sdevs+0x49/0x5e [scsi_mod]
Apr 4 12:17:29 beast kernel: [<f8840de9>] scsi_unjam_host+0x15a/0x16b [scsi_mod]
Apr 4 12:17:29 beast kernel: [<f8840f0c>] scsi_error_handler+0x112/0x15a [scsi_mod]
Apr 4 12:17:29 beast kernel: [<f8840dfa>] scsi_error_handler+0x0/0x15a [scsi_mod]
Apr 4 12:17:29 beast kernel: [<c01041f5>] kernel_thread_helper+0x5/0xb
Apr 4 12:17:29 beast kernel: SCSI error : <8 0 0 0> return code = 0x10000
Apr 4 12:17:29 beast hald[4694]: Timed out waiting for hotplug event 633. Rebasing to 633
Apr 4 12:17:29 beast kernel: usb 1-3: new high speed USB device using address 24
Apr 4 12:17:34 beast kernel: usb 1-3: control timeout on ep0in
Apr 4 12:17:35 beast kernel: usb 1-3: device not accepting address 24, error -71
Apr 4 12:17:35 beast kernel: usb 1-3: new high speed USB device using address 25
Apr 4 12:17:40 beast kernel: usb 1-3: control timeout on ep0in
Apr 4 12:17:41 beast kernel: usb 1-3: device not accepting address 25, error -71
And that's good, as it looks like for the first time, the drive is recognized. It looks like it was on the way to being assigned a device. But then I got a whole bunch of stuff that is beyond my kin. control timeout? bus reset? device offlined? illegal state transition? Then a whole bunch of messages from scsi_mod.
# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 09eb:0131 IM Networks, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 001 Device 001: ID 0000:0000
When I powercycled my LaCie drive, this was because it wasn't being recognized as a usb drive. I think that yours is.
Quote:
Apr 4 12:17:29 beast hald[4694]: Timed out waiting for hotplug event 633. Rebasing to 633
This looks to me what the problem is. Look in the hotplug or had configuration for a timeout item.
There may be a timeout value in one of the UDEV rules such as for scsi devices. You might want to grep for 'ATTR{timeout}' in the rules. But something tells me that isn't the right place to look. I think that looking at hotplug would be more fruitful. Is the partition detected, but you just can't mount it?
Is the automounter used to mount it. There is an /etc/auto.master file that can contain a --timeout=<value> attribute at the end. This will be for items in the /etc/fstab file that use autofs, I believe. It the entries are commented out, then this is a dead end.
You could try running "udevmonitor" before inserting the device to see which rules are run. Also, see if you have a halmount program. If so you could try mounting it that way and see if any error messages are posted.
However, my system doesn't use hotplug for mounting external drives, so your system may not use halmount.
I did look on my system for the item I changed, but I couldn't find it. Sorry.
Comparing the udev rules for my laptop and desktop, the timeout values were the same, so that wasn't it:
It seems not to be a mounting issue, but an issue with the USB device, driver, or system.
While dmesgs says that it is assigning device /dev/sde to the drive, and then bails on it. Afterward, there is no device node /dev/sde. Nor does fdisk -l see the drive or any partitions. So it is not merely an issue of trying to mount it. I suspect it will be easy at that point.
While it might be a timeout issue, my intuition is that it will be in the USB or hotplug system rather than the mount system.
While there is a laborious workaround for this for me (involving mounting the drive to a OSX server and transferring nearly 1TB over the LAN), I'd like to solve this problem so I can mount the drive directly.
Anyone else have any suggestions or encountered a similar problem?
Are you connecting a drive through a hub? Can you connect it directly. If it is connected to a usb port on a keyboard for example, there may be power problem. On a MAC at work, I can't connect a pen drive to the usb port on the keyboard. The keyboard is a USB keyboard and contains a hub to give another USB port. However, it isn't a powered hub and the USB port that the keyboard is plugged into can't power both.
If you run konqueror and enter "sysinfo:/" does the drive show up? When you had powercycled the drive, it did detect four partitions.
Also, what is with the host bridge chipset errors in the same message log?
Are you connecting a drive through a hub? Can you connect it directly. If it is connected to a usb port on a keyboard for example, there may be power problem. On a MAC at work, I can't connect a pen drive to the usb port on the keyboard. The keyboard is a USB keyboard and contains a hub to give another USB port. However, it isn't a powered hub and the USB port that the keyboard is plugged into can't power both.
If you run konqueror and enter "sysinfo:/" does the drive show up? When you had powercycled the drive, it did detect four partitions.
Also, what is with the host bridge chipset errors in the same message log?
Good Luck!
Actually some USB interfaces indeed cannot provide much power, in this case a powered USB hub is a good thing to try to disqualify power as a variable.
OK, I was wondering if you were on an unpowered hub such as a keyboard. Connecting to another USB port on the computer itself might still be worth a shot. What is the IM Networks device on USB Bus 3 Device 2. Could there be a problem with both devices (LaCie on 3-01) off the same hub?
This is one of the burliest drives that LaCie sells, nearly 1 terabyte of RAID storage connected to an enterprise-class Dell server. It is powered, connected directly to a USB port on a card plugged directly into the backplane of the server, and I've tried almost every USB port the server has.
At this point, are we grasping at straws? I was hoping, looking at the logs and such, that someone might have experience that might suggest what might be happening here.
I guess, given that I have struggled with this for a little over a week, I will have to go with the unattractive choice of connecting this device to an OSX Mac and transferring a TB of data over the local LAN.
Still though, it will come up in the future, so if anyone has any suggestions, please lay them on me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.