LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-15-2004, 07:20 AM   #1
GingerPrince
LQ Newbie
 
Registered: Sep 2003
Location: Manchester
Distribution: RedHat 9.0
Posts: 8

Rep: Reputation: 0
Libata. How do I get it going??!


Hi,

I'm probably being a complete idiot but please don't let that stop you helping me. I've got an Si3112 and i'm trying to use libata as i've heard it's the bees knees. I'm running fedora core 1 but I've recently downloaded and built 2.6.0 from kernel.org. I believe libata is built into 2.6.0 ? What options do I need to set/unset when I do the 'make config' step to tell the kernel to use libata? Or do i start it up some other way? Is there a FAQ or HOWTO for libata?

Please help as i've been getting rubbish performance out of my SATA drive and those bloody sata_error messages flooding my screen for ages. I really thought that 2.6 would sort it. I'm at the point where i'm about to give up and go back to XP.


thanks in advance
 
Old 01-15-2004, 07:27 AM   #2
beatupbilly
Member
 
Registered: Jan 2004
Location: Pinr Lake, GA
Distribution: Slackware, LinuxMint, FreeBSD, Xandros, CentOS, Fedora Core, RedHat, Chakra, etc etc
Posts: 215

Rep: Reputation: 30
Try here:

http://www.linuxforum.com/forums/ind...showtopic=7613

And here:

http://kerneltrap.org/node/view/1667

And here:

http://lists.parisc-linux.org/piperm...er/021709.html

good luck
 
Old 01-15-2004, 08:17 AM   #3
GingerPrince
LQ Newbie
 
Registered: Sep 2003
Location: Manchester
Distribution: RedHat 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
thanks but none of those 3 really helps.

should I be loading libata as a module? how would I do that?

or should I be building it into the kernel ? how would I do that?

if I build it into the kernel, how do I make sure it uses that driver for my HD? Is it a boot option?



ta.
 
Old 01-15-2004, 09:09 AM   #4
beatupbilly
Member
 
Registered: Jan 2004
Location: Pinr Lake, GA
Distribution: Slackware, LinuxMint, FreeBSD, Xandros, CentOS, Fedora Core, RedHat, Chakra, etc etc
Posts: 215

Rep: Reputation: 30
Ok, well try here:

http://lwn.net/Articles/52488/

And here:

www.kernel.org/pub/linux/kernel/people/ jgarzik/libata/libata.pdf

I'm sorry can't give you much more than that
 
Old 12-06-2005, 10:26 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You need support for your SATA drive built into the kernel.
And yes, libata is already in the 2.6.x.y kernels, as well
as the 2.4.27 > kernels, iirc. I would suggest you get the
latest kernel source from http://kernel.org/mirrors/

Now, I have no clue how Fedora works, nor what happens when
you build your own kernel for Fedora.

To have libata support for your SATA drives you need the
following in your kernel:
Code:
bruce@silas:~$ cat ~/kernel/linux-2.6.13.4/.config | grep SATA
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_AHCI is not set
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_SX4 is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
CONFIG_SCSI_SATA_VIA=y
# CONFIG_SCSI_SATA_VITESSE is not set
If you know how to build kernels, then build in support for
your particular chipset. Mine is VIA, yours is probably SIL.

It would also help if you post what you consider poor performance,
and also your SATA error messages. I have 2 SATA drives in this
box. There are no kernel errors, and this is my performance:
Code:
root@silas:~# hdparm -tT /dev/sda /dev/sdb

/dev/sda:
 Timing cached reads:   1912 MB in  2.00 seconds = 955.19 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  154 MB in  3.01 seconds =  51.22 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device

/dev/sdb:
 Timing cached reads:   1920 MB in  2.01 seconds = 956.80 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  174 MB in  3.03 seconds =  57.40 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
The present libata support in the Linux kernel is still undergoing
lots of development. Since the hardware manufacturers don't make
drivers for Linux, and some (Nvidia for one) don't even release any
code about their boards, SATA drive performance in Linux is not as
good as it is in Windoze today. But, it's improving.
 
  


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
Libata. How do I get it going??! GingerPrince Linux - Software 1 12-06-2005 09:56 AM
libata with 2.4.29 sbhodge Red Hat 0 03-07-2005 06:15 AM
SATA + libata + spindown Avuton Olrich Linux - Hardware 1 03-02-2005 03:47 AM
sata_promise / libata kernel panics ejb123 Linux - Hardware 1 11-29-2004 02:05 PM
Can someone tell me exactly how to patch in libata? Jar Linux - General 2 09-16-2004 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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