LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-23-2007, 06:07 AM   #1
linux_2007_
Member
 
Registered: Feb 2007
Posts: 80

Rep: Reputation: 15
Mounting External Hard Disk (USB)


I have recently got an external USB hard drive and connected it to the USB port of my computer which has Linux SuSE OS. The first time that I connected it, a window popped up (like Windows XP) and I could simply drag and drop the files I wanted to. I didnít touch the setup at all. The location of this external HDD was in here /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?

Appreciate any advice as I really need it.


.
 
Old 12-23-2007, 11:13 PM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
my computer which has Linux SuSE OS
There's no such thing - there is "SUSE Linux Enterprise (Desktop or Server)" or "openSUSE", but there hasn't been a "SuSE" Linux in a long time and it has never been called "Linux SuSE OS".

I'd start by unplugging the usb drive and plugging it back in.

The first behavior you got was what was supposed to happen. If absolutely nothing has been done inbetween, including no naughty booting to Windows, then you probably have a wonky cable.
 
Old 12-24-2007, 05:19 AM   #3
linux_2007_
Member
 
Registered: Feb 2007
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks for the reply.

By OS, I meant Operating System -- not any version of SUSE, whatsoever. What is on my computer is Linux SuSE.

The external USB hard disk is 'brand new' and all the cables and everything seem to be in perfect shape. Besides, it has no problem with my other system which has WindowsXP.

So, it has to be setup or mounting issue in linux.

Any advice on this is much appreciated!

Last edited by linux_2007_; 12-30-2007 at 04:17 AM.
 
Old 12-24-2007, 05:50 AM   #4
wraithe
Member
 
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 30
its a mounting issue, and if you unplug, and replug once suse is running, it should automount...
if it doesnt then you may have to mount it manually...
look up storage devices and then right click and click mount...(as i dont have suse running at present, sorry i cant remember the exact location of the drives in the menu...)
 
Old 12-24-2007, 05:51 AM   #5
wraithe
Member
 
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally Posted by Simon Bridge View Post
There's no such thing - there is "SUSE Linux Enterprise (Desktop or Server)" or "openSUSE", but there hasn't been a "SuSE" Linux in a long time and it has never been called "Linux SuSE OS".
who cares, suse is suse...
 
Old 12-24-2007, 09:36 AM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
who cares, suse is suse...
I had experience of someone wanting support for "Linux SuSE" and it turned out it was, indeed, SuSE ... an ultra old version. (The spelling turned out to be a clue.) I understand there have been some changes along the way. USB support for eg.

We haven't been told which openSUSE neither.

Even between enterprise and open versions there are caveats:
http://www.novell.com/products/opens...mparative.html
 
Old 12-30-2007, 04:24 AM   #7
linux_2007_
Member
 
Registered: Feb 2007
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by wraithe View Post
look up storage devices and then right click and click mount...
I couldn't find it, even in Control Center.

Quote:
Originally Posted by Simon Bridge View Post
I had experience of someone wanting support for "Linux SuSE" and it turned out it was, indeed, SuSE ... an ultra old version. (The spelling turned out to be a clue.) I understand there have been some changes along the way. USB support for eg.

We haven't been told which openSUSE neither.

Even between enterprise and open versions there are caveats:
http://www.novell.com/products/opens...mparative.html

I use SuSE Linux 10.0 with KDE 3.4. Everybody keeps telling me KDE should automatically detect an external USB hard drive as soon as it is connected to the computer, which actually it was the very first time I plugged it in, but only the first time. Ever since, when I unplug/plug it or switch it off and on, nothing happens at all.

Could anyone please help me out here. I really need to get this working.

Thanks!!!!!!

Last edited by linux_2007_; 12-30-2007 at 06:48 AM.
 
Old 12-30-2007, 05:45 AM   #8
Deleriux
Member
 
Registered: Nov 2003
Posts: 89

Rep: Reputation: 16
Unplug your drive.
Plug it in again.

Type the below into a terminal.

Code:
type "dmesg | tail -n20"
It should give you at the very least a usb related event. If it says something like
Code:
usb 2-6: new high speed USB device using ehci_hcd and address 4
usb 2-6: configuration #1 chosen from 1 choice
scsi10 : SCSI emulation for USB Mass Storage devices
usb 2-6: reset high speed USB device using ehci_hcd and address 4
scsi 10:0:0:0: Direct-Access     Samsung  YP-U2            0100 PQ: 0 ANSI: 4
sd 10:0:0:0: [sdd] 254592 2048-byte hardware sectors (521 MB)
sd 10:0:0:0: [sdd] Write Protect is off
sd 10:0:0:0: [sdd] Assuming drive cache: write through
sd 10:0:0:0: [sdd] 254592 2048-byte hardware sectors (521 MB)
sd 10:0:0:0: [sdd] Write Protect is off
sd 10:0:0:0: [sdd] Assuming drive cache: write through
  sdd: sdd1
 sd 10:0:0:0: [sdd] Attached SCSI removable disk
 sd 10:0:0:0: Attached scsi generic sg4 type 0
If it seems to get half way then as a complete shot in the dark, unplug the device. Type the following below in;
Code:
modprobe usb-storage
and plug the disk back in.

Do the above and check what output you get then.
 
Old 12-30-2007, 06:30 AM   #9
linux_2007_
Member
 
Registered: Feb 2007
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks for the reply.

Here are the messages:

Quote:
Originally Posted by Deleriux View Post
Unplug your drive.
dmesg | tail -n20
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 1-6: new high speed USB device using ehci_hcd and address 9
usb 1-6: unable to read config index 0 descriptor/start
usb 1-6: can't read configurations, error -110
usb 1-6: new high speed USB device using ehci_hcd and address 10
usb 1-6: unable to read config index 0 descriptor/all
usb 1-6: can't read configurations, error -110
usb 1-6: new high speed USB device using ehci_hcd and address 11
usb 1-6: unable to read config index 0 descriptor/start
usb 1-6: can't read configurations, error -110
usb 1-6: new high speed USB device using ehci_hcd and address 12
usb 1-6: unable to read config index 0 descriptor/start
usb 1-6: can't read configurations, error -110


Quote:
Originally Posted by Deleriux View Post
modprobe usb-storage
and plug the disk back in.
Nothing happened.

What is interesting is that the first time I plugged it in, a window popped up and I copied a lot of files onto the hard disk simply by drag and drop, but after that, I got this problem.

Also, 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).


.

Last edited by linux_2007_; 12-30-2007 at 06:44 AM.
 
Old 12-30-2007, 06:45 AM   #10
Deleriux
Member
 
Registered: Nov 2003
Posts: 89

Rep: Reputation: 16
Research I have done suggests this is something to do with a bug in the driver used to control your USB controller.

Here are some suggestions.

Try plugging the disk into all your usb ports.

Update your kernel to the latest version.

Add another USB hub.

Disable the USB hub in bios. Reboot.
Enable the USB hub in bios. Reboot.
 
Old 12-30-2007, 07:34 AM   #11
linux_2007_
Member
 
Registered: Feb 2007
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks again.

Quote:
Originally Posted by Deleriux View Post
Research I have done suggests this is something to do with a bug in the driver used to control your USB controller.

Here are some suggestions.

Try plugging the disk into all your usb ports.
I did it. No difference. They all are the same.


Quote:
Originally Posted by Deleriux View Post
Update your kernel to the latest version.
Will do that soon.

Quote:
Originally Posted by Deleriux View Post
Add another USB hub.
Will do that soon.

Quote:
Originally Posted by Deleriux View Post
Disable the USB hub in bios. Reboot.
Enable the USB hub in bios. Reboot.
[/QUOTE]
I am afraid to do this because my keyboard and mouse both are usb type and if I do this I may not be able to even enter the password next time I boot the machine. Or I am wrong?
 
Old 12-30-2007, 07:44 AM   #12
Deleriux
Member
 
Registered: Nov 2003
Posts: 89

Rep: Reputation: 16
Well, I wouldnt risk it personally .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
Mounting XP on the External hard disk.. fieldyweb Linux - Laptop and Netbook 0 11-06-2005 07:21 AM
mounting external hard disk ankit_mcgill Linux - Newbie 2 09-03-2005 11:04 PM
Mounting an external firewire hard disk?? rendaimedia Linux - Hardware 1 06-07-2004 08:07 PM


All times are GMT -5. The time now is 08:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration