LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-27-2006, 02:01 AM   #1
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Rep: Reputation: 15
Smile external HDD problem!


hy every body

I've got a 4.3GB Seagate HDD and since i wanted to use it as an external storage HDD, i connected it inside a usb external box.

The jumper is on slave position.

The problem is that it is not recognized by my Centos box.


It says:
Jul 27 08:57:33 localhost kernel: usb 1-2: new high speed USB device using address 28
Jul 27 08:57:34 localhost kernel: usb 1-2: device not accepting address 28, error -71


what's the matter? what means "error -71"?

thanks for your help?
 
Old 07-27-2006, 02:27 AM   #2
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
try this:

Hi hermouche!

I have an external HDD too, a noname one, and it works. This is a USB 2.0. Previously I had a USB 1.1 version HDD external box, so I had time to experiment. Well, I noticed that the old one only worked, if I jumpered my HDD to master. No other options worked. Not with linux, not with windows. The point is: try to jumper your HDD to master, and I'm sure it will work. Since your HDD is not connected to IDE, the slave is causeless. Good luck!
 
Old 07-27-2006, 02:50 AM   #3
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
hy pusrob

Thank's for your reply.
I followed your suggestion but still the same problem.

This is the answer reply from "tail -f /var/log/messages"
Jul 27 09:42:26 localhost kernel: usb 1-2: new high speed USB device using address 39
Jul 27 09:42:27 localhost kernel: usb 1-2: device not accepting address 39, error -71
Jul 27 09:43:03 localhost kernel: usb 1-2: new high speed USB device using address 57
Jul 27 09:43:03 localhost kernel: usb 1-2: device not accepting address 57, error -71
Jul 27 09:43:34 localhost kernel: usb 1-2: new high speed USB device using address 53
Jul 27 09:43:34 localhost kernel: usb 1-2: device not accepting address 53, error -71
Jul 27 09:43:35 localhost kernel: usb 1-2: new high speed USB device using address 56
Jul 27 09:43:35 localhost kernel: usb 1-2: device not accepting address 56, error -71


By the way how it is mounted in your box? Is it mounted as "sda1" "hdd" or what?
I would try to mount the external HDD manually, does these two command lines are correct:
mkdir /media/seagate
mount /dev/sda1 /media/seagate


i appreciate your help?
 
Old 07-27-2006, 03:41 AM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
External USB and IEEE-1394 devices come up as /dev/sd[a-z]. I suggest powering up the device first. After some time has passed, connect it to the computer.

Seagate drives are picky with power supplies. The power supply have to be regulating the voltage very tight about -1%. If it is higher than the rated voltages, the drive will not work.

I have found that Seagate drives are very, very picky while other manufactures are very easy to be used as USB/IEEE-1394 drives.

To mount a partition
1) If needed, make a directory where the partition will be mounted.
2) Select the partition to be mounted. Use fdisk -l to get a list of drives and partitions.
3) Assuming the mount directory is /mnt/media and the partition is /dev/sda1 with an unknown filesystem type 'mount -t auto /dev/sda1 /mnt/media' as root.

Linux should detect the correct filesystem and load the right module for it to be mounted.

I do not recommend placing a line in /etc/fstab for removable mediums like USB and IEEE-1394 storage devices because they always change. I suggest mounting them manually. I recommend running the utility sync before unmounting and removing the device from the computer because you can lose or corrupt data if you do not.
 
Old 07-27-2006, 05:56 AM   #5
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
ok, then lets do this

Hello hermouche.

This situation is interesting indeed. The mkdir /media/seagate command is good, but should be done once to create a folder, for the mounting. I think you should add a line to your fstab, dispite what Electro said, but I don't know it know, so you must wait 4-6 hours from now (its 12:51 in Hungary now), till I get home and check my fstab and mtab. I mount my HDD as sda1 and sda2 and sda3, since I have multiple partitions on my external 40 GB HDD. And sda (not sda0 or sda4, or something else, just sda) is my pendrive. Thaks for waiting.
 
Old 07-27-2006, 01:11 PM   #6
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
what about this?

Hello hermouche.

I have this in my fstab:

/dev/sda /media/pendrive vfat users,gid=users,umask=0003,utf8=true 0 0
/dev/sda1 /media/sda1 vfat users,gid=users,umask=0004,utf8=true 0 0
/dev/sda2 /media/sda2 vfat users,gid=users,umask=0005,utf8=true 0 0
/dev/sda3 /media/sda3 vfat users,gid=users,umask=0006,utf8=true 0 0

try to add some lines like these, if you have ntfs partition then you'll need this:

/dev/sda5 /media/sda5 ntfs auto,users,exec,gid=users,ro,umask=0222,utf8=true 0 0

maybe auto,exec and utf8=true may be deleted. Good luck!
 
Old 07-27-2006, 09:31 PM   #7
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Blog Entries: 1

Rep: Reputation: 31
You might read this tutorial I wrote a while back on external drives. It might help you.

http://www.linuxquestions.org/linux/...irewire_drives
 
Old 07-27-2006, 10:36 PM   #8
hack124x768
Member
 
Registered: Mar 2004
Location: everett
Distribution: slak
Posts: 61

Rep: Reputation: 15
Quote:
Jul 27 09:42:26 localhost kernel: usb 1-2: new high speed USB device using address 39
Jul 27 09:42:27 localhost kernel: usb 1-2: device not accepting address 39, error -71
Jul 27 09:43:03 localhost kernel: usb 1-2: new high speed USB device using address 57
Jul 27 09:43:03 localhost kernel: usb 1-2: device not accepting address 57, error -71
Jul 27 09:43:34 localhost kernel: usb 1-2: new high speed USB device using address 53
Jul 27 09:43:34 localhost kernel: usb 1-2: device not accepting address 53, error -71
Jul 27 09:43:35 localhost kernel: usb 1-2: new high speed USB device using address 56
Jul 27 09:43:35 localhost kernel: usb 1-2: device not accepting address 56, error -71
Looks like you have bigger problems than most people here see. Your coputer has to be able to talk to it before you can mount it. google "device not accepting address" and see if you can find anything there.
 
Old 07-28-2006, 12:58 AM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
Originally Posted by pusrob
Hello hermouche.

This situation is interesting indeed. The mkdir /media/seagate command is good, but should be done once to create a folder, for the mounting. I think you should add a line to your fstab, dispite what Electro said, but I don't know it know, so you must wait 4-6 hours from now (its 12:51 in Hungary now), till I get home and check my fstab and mtab. I mount my HDD as sda1 and sda2 and sda3, since I have multiple partitions on my external 40 GB HDD. And sda (not sda0 or sda4, or something else, just sda) is my pendrive. Thaks for waiting.
I'll repeat again. I do not recommend putting a line in /etc/fstab for removable external mediums. It is a waste of time and a waste of space. The usb-storage and sd_mod module does not unload quick enough so you will see /dev/sda, /dev/sdb, /dev/sdc, etc when you connect and disconnect. All of them will point to the same device but it gets very confusing. By manually mounting your self it decreases the headache and improves your experience.

A pen or flash drive should be sda1 not sda.

If you want to make the USB/IEEE-1394 drives automatically mount when inserted, setup a hotplug script that detects the product and vendor ID of the device.

Quote:
Originally Posted by isthisworking
Looks like you have bigger problems than most people here see. Your coputer has to be able to talk to it before you can mount it. google "device not accepting address" and see if you can find anything there.
It is caused by either the hard drive starting up while it is connected to the computer or external power supply problem.
 
Old 07-28-2006, 02:06 AM   #10
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
hello every body and thanks for your kind help's'.

Before doing what you have said above i want just to add something, i've got windows XP and Centos, so two OS.

When i boot as windows XP and i connect the external USB box "the Seagate HDD" i do not have any problem, i can see it and i can even copy, past, save thinks in it.

But with the Centos Distro i can't see my external box and i do not have an NTFS partition it's a FAT 32.

so i believe that it is not a HDD problem since it works!!

what do you think about this?

A plus
red
 
Old 07-28-2006, 02:44 AM   #11
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
Smile Hey!

Dear Electro!

You said: "A pen or flash drive should be sda1 not sda." You know, it is sda on my comp, and it works, so I don't care what should it be when it works. When I used an old Mepis and not Debian, the "automated fstab writer" alway put sda1 in fstab, and my pen didn't work, but when I corrected to sda, everything was OK. But thanks for trying to correct me.

Dear Hermouche!

In my previous writing sda1..sda3 should be sdb1..sdb3. It is better. You know, it is worth a try...

Last edited by pusrob; 07-28-2006 at 02:48 AM.
 
Old 07-28-2006, 05:22 AM   #12
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
OK evey thing works well, in fact what i did i just changed the USB ports.
I think it is because the USB2 is not supported, USB1 is supported instead.
I 've got 4 USB port and i guess two USB2 and two USB1.


well, i thank all the staff who tried to help and to find a solution for me, really it's amazing when you ask a question and somewhere there is a guy who will try to do his best to help you, give suggestions.....

this is really cool and my hope is that all the humanity will help each other.

thanks again.

red
 
Old 07-28-2006, 05:32 AM   #13
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
OK every thing is going well.

In fact i just changed the USB ports and the Seagate HDD has mounted.

I think it has a link with USB1 and USB2 since i've got 4 USB ports at the back of the motherboard and two others in front.

So I guess but i am not sure that my HDD Seagate does not support the USB2, that's why i could'nt mount it .

However i thank all of you who tried to help me, thanks again.
red
 
Old 07-29-2006, 05:19 AM   #14
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
Wink You're welcome, and thanks...

Dear hermouche.

You're welcome! I think everybody who registers here on LQ, will help to another person. Thats the Linux and LQ spirit. I'm happy that you could solve the problem, and I'm even more happier, becouse you wrote the soution here, so now everybody will know +1 solution method for this kind of problem. Thanks.
 
  


Reply



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
External hdd problem, and autologin scales Fedora 1 06-22-2006 07:49 AM
Problem with External Firewire HDD niikos Linux - Hardware 2 11-28-2005 03:23 AM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
Bootable partion on external HDD? 40 gb firelight hdd. Trebile34 Linux - Hardware 1 03-14-2005 11:50 AM
External HDD Speed Problem codino Linux - Hardware 1 01-17-2005 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration