View previous topic :: View next topic |
Author |
Message |
kb5won n00b
Joined: 23 Dec 2004 Posts: 4 Location: Allen, Texas
|
Posted: Sun Jan 02, 2005 5:21 am Post subject: SATA drive not recognized ? [SOLVED] |
|
|
I am unable to use my SATA drive under my current installation.
/dev/hda = regular ATA drive where Linux is installed (this works fine)
/dev/sda = SATA drive I want to use, which shows up when I boot from the liveCD, but I get errors when I try to reference the drive:
Code: | bash-2.05b# fdisk /dev/sda
Unable to open /dev/sda |
I have also checked for /dev/hde, and others, but nothing similar to /hd{e,f,g...} or /sdx show up in my /dev directory.
I am using kernel 2.4.26, and have verified that it includes SATA support under SCSI low-level drivers.
Can anyone point me in the right direction?
Last edited by kb5won on Sun Jan 02, 2005 7:29 pm; edited 3 times in total |
|
Back to top |
|
|
Arainach l33t
Joined: 08 Jul 2004 Posts: 609
|
Posted: Sun Jan 02, 2005 5:25 am Post subject: |
|
|
Make sure that the SATA driver module is loaded. On the 2.6 kernel, I had to modprobe sata_via before I was able to see my SATA drives; I'm not certain what the comparable modules are for the 2.4 kernels. |
|
Back to top |
|
|
kb5won n00b
Joined: 23 Dec 2004 Posts: 4 Location: Allen, Texas
|
Posted: Sun Jan 02, 2005 5:29 am Post subject: |
|
|
ok, the option "SATA support" is enabled, (compiled into kernel?) not compiled as a module.
Is it possible I also need to load a module? |
|
Back to top |
|
|
Supaiku Tux's lil' helper
Joined: 22 Oct 2004 Posts: 128
|
Posted: Sun Jan 02, 2005 5:57 am Post subject: |
|
|
You deffinatly want it in kernel, but you need more than SATA support. You need to have the low level driver for it. What card/motherboard do you have? |
|
Back to top |
|
|
kb5won n00b
Joined: 23 Dec 2004 Posts: 4 Location: Allen, Texas
|
Posted: Sun Jan 02, 2005 6:19 am Post subject: |
|
|
I am using the onboard SATA controller of the Intel D865GBF motherboard. (ICH5).
I don't find any SATA drivers on Intel's website for this board. I am thinking you might be talking about another type of driver though? |
|
Back to top |
|
|
Supaiku Tux's lil' helper
Joined: 22 Oct 2004 Posts: 128
|
Posted: Sun Jan 02, 2005 6:39 am Post subject: |
|
|
I'm thinking you need the following in your kernel:
SCSI Device support -> SCSI low level drivers -> SATA Support -> Intel PIIX/ICH SATA Support
And then the rest of the stuff you need for SATA
Though I don't know for sure, you could give it a shot or search around alittle to make sure.
EDIT: the below link is everything you need, just an official version of the above:D
This should be all you need
Also, why not use 2.6?
Last edited by Supaiku on Sun Jan 02, 2005 7:07 am; edited 1 time in total |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Sun Jan 02, 2005 6:41 am Post subject: |
|
|
kb5won wrote: | I am using the onboard SATA controller of the Intel D865GBF motherboard (ICH5). I am thinking you might be talking about another type of driver though? |
Yes, we're not talking about drivers downloadable from Intel's website.
You need SATA support in the kernel, true. But you ALSO need support for your specific SATA controller, on top of that (basic) SATA support. |
|
Back to top |
|
|
BlastM Tux's lil' helper
Joined: 07 Mar 2003 Posts: 133 Location: Newcastle, Australia. 7487 miles south-west of America.
|
Posted: Sun Jan 02, 2005 10:05 am Post subject: |
|
|
Mate, do yourself a favour and just accept that libsata support is not working for you now, nor will it ever.
Use the older, IDE version of the SATA support. It worked for me straight out of the box, and I didn't have to build the entire SCSI subsystem just for a non-SCSI harddisk (thankyou native ATA CD/DVD writing support!) |
|
Back to top |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Sun Jan 02, 2005 10:10 am Post subject: |
|
|
What are you talking about?
libata is the greatest thing to happen to SATA Linux support. There's a reason the IDE driver is deprecated :-\ |
|
Back to top |
|
|
kb5won n00b
Joined: 23 Dec 2004 Posts: 4 Location: Allen, Texas
|
Posted: Sun Jan 02, 2005 7:27 pm Post subject: |
|
|
Problem solved:
although I had SATA support and Intel ICH SATA support <*> enabled, I had the upper level options like "SCSI support" <M> selected as modules instead of <*> compiled with kernel.
Since I wasn't loading the SCSI module, the SATA hardware was never recgonized. ??
I recompliled the kernel, and all is well now! Thanks very much for all the help. |
|
Back to top |
|
|
|