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 07-14-2007, 09:16 PM   #1
c4onastick
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
SATA hotplug not working (like I think it should)


I just bought a external enclosure for a 500Gb SATA drive to back-up one of my servers, and I'm having trouble getting eSATA to work. The external enclosure is a Vantec NexStar3 so it has both USB and eSATA (which I believe is just normal SATA with a slightly different connector, correct me if I'm wrong). I've got hotplug up so I should just be able to plug it in a see it in /dev (sdb). I can't though, I gave up and added usb_storage to my kernel, plugged it in and everything works great (just really, really slow which is why it would be nice to get eSATA working). Any ideas? I've already got a drive on that card so everything should be working ok.
 
Old 07-15-2007, 03:32 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
It depends on your controller.
 
Old 07-15-2007, 04:39 PM   #3
c4onastick
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by macemoneta
It depends on your controller.
Correct, but also:
Quote:
All SATA devices are hotplug-capable.
And I'm using a Promise TX4:
Quote:
Promise TX2/TX4
Driver name: sata_promise

Summary: No TCQ. Newer cards support NCQ. Full SATA control including hotplug and PM on all.

Issue #5: Some boards appear to have PATA as well as SATA ports. PATA is currently supported only in the libata-dev.git#promise-sata-pata branch.
I'm wondering if maybe I have a bad eSATA cable. Because actually the Promise BIOS that checks for drives on boot crashes if the drive in the external enclosure is plugged in at that time.

I guess what I'm really asking is: if everything is working correctly, should the drive just show up in /dev? (or is there another step somewhere that I'm missing?)

Last edited by c4onastick; 07-15-2007 at 04:48 PM.
 
Old 07-15-2007, 06:04 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
It should, but there are a lot of variables. You may want to check to see if your controller has the latest BIOS. Your PC BIOS may also be an issue. Of course, the Linux kernel you are using may have a bug.
 
Old 07-15-2007, 08:00 PM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Do a search on a command to add and remove SCSI hard drives. Also use cdrecord -scanbus to initiate a sleeping SCSI drive. You may have to use the command to add SCSI drives even after running cdrecord -scanbus.

Make sure the module is loaded for your controller.
 
Old 07-16-2007, 09:08 PM   #6
c4onastick
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks for your replies. I checked Promise's site (thanks macemoneta), and I do have the most current BIOS on the card. After much more blood, sweat and tears I've decided that this just might not happen. I was able to get the external hard drive mounted (had to get it up during the boot process, which had many errors both from the card's BIOS and the sata_promise module), but I really is not what I'm looking for. I'd really just like to be able to plug it in, back it up and unplug it. Doesn't look like it wants to do that. Plus, I've been wanting to upgrade this server for a while, this is a good excuse to go nuts at Newegg! Thanks for your help!
 
  


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
Hotplug stops working Javasnob Linux - Hardware 5 01-03-2007 01:05 PM
sata and hotplug and interrupts, oh my! nobbie Slackware 5 09-06-2004 03:42 AM
usb hotplug not working macewan Linux - Hardware 3 02-10-2004 10:34 AM
getting hotplug and orinoco card working kaltag Linux - Wireless Networking 1 12-19-2003 06:38 AM
usb hotplug not working? kris928 Linux - Hardware 1 04-05-2003 08:17 PM

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

All times are GMT -5. The time now is 10:19 AM.

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