USB External Hard Disk
I have recently got an external USB hard drive and connected it to the USB port of my computer. The operating system is SuSE Linux 10.0 with KDE 3.4. The first time that I connected it, a window popped up (like in Windows XP) and I could simply drag and drop the files I wanted to. I didn’t touch the setup or anything else at all. The location of this external HDD was in /media/. The day after, I turned on the computer and the hard drive, but no window popped up and there was no sign of it in /media/. Do you know what might have happened? And, how can I fix it?
The external USB hard disk is 'brand new' and all the cables and everything seem to be in perfect shape. The hard disk has no problem with my other system which has WindowsXP. The USB port is fine and functional, for example when I connect a USB mouse, it gets detected easily. The problem is only with usb hard disk and usb flash memory (pen-drive). Could anyone please help me out here. I really need to get this working soon. Thank you!! |
I think what is happening is that your drive is being connected but it is not being mounted automatically. To verify this try these commands.
Code:
df -h Code:
fdisk -l /dev/sdc The last command should list your partition table or your external drive. If ti does than the problem your having is getting the system to auto mount your drive. You can do the manually with the mount command. |
If you have the device connected (USB cable connected) when you boot, it might affect. Some machines even refuse to boot with a USB media connected before the system is loaded; therefore you could try taking the drive completely off, then booting the machine, then connecting it, then powering it. If it doesn't help, check out if
Code:
dmesg |
Thank you for the reply. It seems it is not being detected because it is not being mounted. In other words, although the cable is in the USB port, but the system does not consider it as "connected". But the usb ports are all fine and fuctional, it's easy to check, when I connect a USB mouse, it gets detected immediately. So, the problem is only with USB hard disks and flash memories.
"df -h" didn't show any sign of it either. Also, " /sbin/fdisk -l " throws this message: DEVICE BOOT START END BLOCKS ID SYSTEM /dev/sda1/ * 1 13 104391 83 LINUX /dev/sda2/ 14 38913 312464250 8e LINUX LVM I tried dmesg as well, here are some parts of the output: usb 2-7: device descriptor read/8, error -110 usb 2-7: device descriptor read/all, error -110 usb 2-7: new high speed USB device using ehci_hcd and address 6 usb 2-7: device descriptor read/8, error -110 usb 2-7: device descriptor read/all, error -110 usb 1-4: new full speed USB device using ohci_hcd and address 3 hub 1-4:1.0: USB hub found hub 1-4:1.0: 4 ports detected usb 1-4.1: new full speed USB device using ohci_hcd and address 4 hub 1-4.1:1.0: USB hub found hub 1-4.1:1.0: 4 ports detected usb 1-4.2: new low speed USB device using ohci_hcd and address 5 usb 1-4.1.1: new low speed USB device using ohci_hcd and address 6 usb 1-4.1.1: unable to read config index 0 descriptor/all usb 1-4.1.1: can't read configurations, error -110 usb 1-4.1.1: new low speed USB device using ohci_hcd and address 7 usb 1-4.1.1: unable to read config index 0 descriptor/all usb 1-4.1.1: can't read configurations, error -110 usb 1-4.1.1: new low speed USB device using ohci_hcd and address 8 . . . usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.01:USB HID core driver usb 2-6: new high speed USB device using ehci_hcd and address 7 Initializing USB Mass Storage driver... scsi4 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 7 usb-storage: waiting for device to settle before scanning usbcore: registered new driver usb-storage USB Mass Storage support registered. Vendor: SAMSUNG Model: HD501LJ Rev: Type: Direct-Access ANSI SCSI revision: 02 usb 2-6: reset high speed USB device using ehci_hcd and address 7 usb 2-6: can't restore configuration #1 (error=-110) usb 2-6: USB disconnect, address 7 scsi: Device offlined - not ready after error recovery: host 4 channel 0 id 0 lun 0 scsi4 (0:0): rejecting I/O to offline device scsi4 (0:0): rejecting I/O to offline device scsi4 (0:0): rejecting I/O to offline device sdb : READ CAPACITY failed. sdb : status=0, message=00, host=5, driver=04 sdb : sense not available. sdb: assuming drive cache: write through Attached scsi disk sdb at scsi4, channel 0, id 0, lun 0 Attached scsi generic sg1 at scsi4, channel 0, id 0, lun 0, type 0 usb-storage: device scan complete usb 2-6: . . . Any idea that might help please? I am really stuck. . |
I forgot to say, because the hard disk is not being connected, and the device name is not shown when I run this command:
dmesg Therefore, I am not able to mount it manually (like: mount /dev/sda3 /newharddisk). Honestly, I expected KDE to act smarter and detect it automatically. Any suggestions please? . |
I have seen this problem before.
Some systems auto-detects the new USB drive, mounts it, and makes a new entry in /etc/fstab. But subsequent boots do not auto-mount it (I personally prefer this). Also the entry in /etc/fstab may not match the entry in dmesg for the USB drive, eg in fstab it may be /dev/sdb but in dmesg it may be /dev/sdc. So check dmesg & /etc/fstab. I hope this helps. |
Thank you for the advice.
Quote:
Quote:
Is it possible that there is something wrong with the USB controllers? If so, what would the solution be? Is there any option/switch/command in KDE (or else where in linux) to fix this? Thanks! . |
Quote:
|
SuSE does use udev. SuSE doesn't modify /etc/fstab automatically.
First double check that you don't have the kernel boot option "apci=no". If you do, then hal & dbus won't run. Try restarting the hal and dbus daemons: e.g. "sudo /usr/sbin/rchal restart" & "sudo /usr/sbin/rcdbus restart". I don't know if this will help. I just inserted a 2GB card into a usb reader: Code:
Dec 31 03:18:30 hpamd64 sudo: jschiwal : TTY=pts/1 ; PWD=/var/lib ; USER=root ; COMMAND=/usr/bin/tail -f /var/log/messages Code:
udevmonitor Code:
<?xml version="1.0" encoding="UTF-8"?> http://docs.kde.org/stable/en/kdebas.../userguide.pdf More information can be found at: http://wiki.kde.org/tiki-index.php?p...US+for+KDE+3.x Quote:
You can use ksystemguard to see which processes are running. You need to run this as root to kill root processes however. It would be easier to run "sudo /usr/sbin/rcdbus stop". There are two processes that you may want to look for: hald-addon-storage & hald-addon-acpi. Here is the irony of making a system user-friendly. It entails so much complexity. Good Luck! |
All times are GMT -5. The time now is 09:59 PM. |