Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SATA drive not recognized ? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kb5won
n00b
n00b


Joined: 23 Dec 2004
Posts: 4
Location: Allen, Texas

PostPosted: Sun Jan 02, 2005 5:21 am    Post subject: SATA drive not recognized ? [SOLVED] Reply with quote

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
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sun Jan 02, 2005 5:25 am    Post subject: Reply with quote

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
View user's profile Send private message
kb5won
n00b
n00b


Joined: 23 Dec 2004
Posts: 4
Location: Allen, Texas

PostPosted: Sun Jan 02, 2005 5:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Supaiku
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2004
Posts: 128

PostPosted: Sun Jan 02, 2005 5:57 am    Post subject: Reply with quote

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
View user's profile Send private message
kb5won
n00b
n00b


Joined: 23 Dec 2004
Posts: 4
Location: Allen, Texas

PostPosted: Sun Jan 02, 2005 6:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Supaiku
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2004
Posts: 128

PostPosted: Sun Jan 02, 2005 6:39 am    Post subject: Reply with quote

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
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Sun Jan 02, 2005 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message
BlastM
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2003
Posts: 133
Location: Newcastle, Australia. 7487 miles south-west of America.

PostPosted: Sun Jan 02, 2005 10:05 am    Post subject: Reply with quote

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
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Sun Jan 02, 2005 10:10 am    Post subject: Reply with quote

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
View user's profile Send private message
kb5won
n00b
n00b


Joined: 23 Dec 2004
Posts: 4
Location: Allen, Texas

PostPosted: Sun Jan 02, 2005 7:27 pm    Post subject: Reply with quote

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. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum