LinuxQuestions.org
Help answer threads with 0 replies.
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 05-25-2006, 07:21 AM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
IDE HDD enclosure


Could u recommend a closeure for ide to usb that works with linux. I am using it as external storage spae as well as swap space. Prefably it should support firewire too.
 
Old 05-25-2006, 07:40 AM   #2
KarlosDaJackel
Member
 
Registered: May 2006
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
Any one at all should work.

The hard disk will just appear as a usb/firewire mass storage device. Thats the great thing about usb + firewire. Its a standard and that standard is well supported in linux/mac/windows.

I've had no name brands and seagate enclosures attached to linux boxes and never had a problem with a single one.
 
Old 05-25-2006, 08:34 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You may find this interesting. A Daily Giz Wiz podcast episode, featuring a CompUSA Hard Drive enclosure.
http://aolradio.podcast.aol.com/twit/DGW-067.mp3

It's one of Leo Laporte's podcasts.
http://twit.tv/dgw1
 
Old 05-25-2006, 02:07 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
I agree that any should work. I'm using a MadDog 5.25" that I got on sale at CompUSA and it's working fine. I've used two hard drives in it and a cd-rw works for reading. I suspect the issue with the cd-rw is the drive going bad and not fault of the enclosure.
 
Old 05-26-2006, 07:17 AM   #5
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
ok I got my enclosure. But for some reason when I've connected it up linux creates a device file for the usb hdd but it doesn't have sda1 etc. Thats means it's not partitioned right? But fisk refuses to partition it . Instead it just sits there. I dont even get to the fdisk's menu driven interface. COuld it be the hdd is just dead because it is serveral yrs old. I dont know what ATA it is but it's a 4gb 5200 rpm but am not sure if it has partitions.

Last edited by linuxmandrake; 05-26-2006 at 07:24 AM.
 
Old 05-26-2006, 09:23 AM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
What device is it being given? What syntax are you using for the fdisk command? An old drive like that, depending on how heavily it's been used, or if it's been lying on a shelf unused for a while, could go bad. All it takes is a bad spot at sector 0 (the partition table, FAT, etc.). Do you know the brand? Maxtor, Western Digital, Seagate, etc. I've had some bad luck with Western Digital drives, but never any problems with Maxtor.
 
Old 05-26-2006, 09:40 AM   #7
KarlosDaJackel
Member
 
Registered: May 2006
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
Just boot the machine, plug in the hard disk and run a dmesg.

It should tell you if the drive is detected and what letter it is being given.

If its detected but not assigned to a node like /dev/sda, you may need to load the usb-storage module. If your running a custom kernel, you'll also need the scsi disk (sd) and scsi generic (sg) modules loaded. If you using the mandrake kernel they will already be there.

4GB hard disk, that hasn't been used for years sounds a bit bad though. Sometimes the heads get stuck on olders disk when they are constantly used then get stoped for a while. You probably heard the stories of how tapping the back of old scsi disks used to fix them

dmesg should still give you output when the device is attached.
 
Old 05-26-2006, 11:30 AM   #8
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
[ 37.419113] usbcore: registered new driver usbhid
[ 37.419116] drivers/usb/input/hid-core.c: v2.01:USB HID core driver
[ 59.467714] usb 2-2: new high speed USB device using ehci_hcd and address 4
[ 59.655382] usb-storage: device found at 4
[ 59.655386] usb-storage: waiting for device to settle before scanning
[ 59.655398] usbcore: registered new driver usb-storage
[ 138.717437] usb 2-2: reset high speed USB device using ehci_hcd and address 4
[ 212.849683] usb 2-2: reset high speed USB device using ehci_hcd and address 4
[ 286.980928] usb 2-2: reset high speed USB device using ehci_hcd and address 4
[ 361.113176] usb 2-2: reset high speed USB device using ehci_hcd and address 4

[ 435.319626] end_request: I/O error, dev sdc, sector 0

[ 64.658185] SCSI device sdc: 6306048 512-byte hdwr sectors (3229 MB)
[ 64.658192] sdc: assuming drive cache: write through
[ 64.661142] SCSI device sdc: 6306048 512-byte hdwr sectors (3229 MB)
[ 64.661148] sdc: assuming drive cache: write through
[ 435.319626] end_request: I/O error, dev sdc, sector 0
[ 435.319631] Buffer I/O error on device sdc, logical block 0


usbstoreage but i cant see anything with the name of my hard drive (quantum fireball)
But when I plugged it in as ide on a different pc it attempted to boot up windows but failed with NTDLR missing. But i think thats because windows corrupted on me. So that means it has a partition doesn't it

In windows it doesn't come up within my computer but is detected.

Last edited by linuxmandrake; 05-26-2006 at 11:32 AM.
 
Old 05-27-2006, 04:08 AM   #9
KarlosDaJackel
Member
 
Registered: May 2006
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
Good news and bad news from that dmesg.

Good news.
Your enclosures is picked up as a usb2 storage device. Same as in windows. Your disk is called sdc according to that dmesg so /dev/sdc.

Bad news.
As soon as it picks up the disk it gets and IO error on the first block of the disk. This is probably why it doesn't show up in windows either. It appears the head of the disk just is not moving, either the servo is broke or stuck.

Solutions.
1. Try to format the disk in windows or linux (may hang the system if the disk is really bad)
2. The enclosure is good but the disk is bad, put another disk in.

I've seen about 1000 failed hard disks over the last 5 years and this sounds like number 1001.
 
Old 05-27-2006, 10:50 AM   #10
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
Well o know why now i actually managed to snap one of the pins oops. thanks anyways. It worked with a different drive
 
  


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
Trouble mounting hdd enclosure Eggroll822 Linux - Hardware 5 02-13-2006 01:13 AM
HDD Enclosure drivers needed TotalLinuxNoob Linux - Hardware 0 07-20-2005 07:46 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
external enclosure for hdd jcwalnut Linux - Hardware 2 09-22-2004 02:58 PM
HFS HDD+USB drive enclosure JoeyJoeJo Linux - Hardware 8 08-19-2003 11:27 AM

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

All times are GMT -5. The time now is 03:00 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