LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Serial ATA (SATA) Linux Support (https://www.linuxquestions.org/questions/linux-hardware-18/serial-ata-sata-linux-support-51535/)

gromer 01-04-2005 03:28 PM

Dear Meamursu,

I don't know much about your P4P800 (apart from what I read at the asus site), nor do I work with Mandrake.

My recommendation: Check with e.g. knoppix (lastest) if your device is recognized there. If so the following way is probably a good idea.
Download the lastest stable kernel (2.6.10 as of this writing) and consult your doc on how to prepare a new kernel for your distro (it is easy with Debian, but I don't know about Mandrake). Most important is a copy of your .config found as /boot/config-yourkernel
. In the config file (via make xconfig eg.) select:
Device Drivers>SCSI device Support->SCSI low level drivers->Serial ATA (SATA) support->Intel PIIX/ICH SATA support.
Do mark as yes everything on the way to the Intel SATA. Furthermore I recommend to include all filesystems that you are using as yes (not modules) this safes the hazle with initrd. Remove drivers that you definitvely don't need - the y may only interfere.
I am pretty confident that this will solve many of your problems.
Good luck
Stephan

bonecrusher 01-04-2005 05:40 PM

Quote:

Originally posted by melamursu
Hi all!

Ok, here is my situation: I'm still unable to install Mandrake 10.1 to my Seagate 120gb SATA drive. The installation process freezes when detecting my ide devices. I've successfully installed Mandrake to my PATA drive when "compatibly mode" is enabled in BIOS (P4P800 motherboard). And after the install process has been successfully finished, I have tried to change "enhanced mode" setting on. And now begins the problems. First notice was that the system is loading very slowly. Booting to the login screen takes about 10 minutes. And the message "disabling irq 11" keeps showing. Even the mouse behaves strangely (mooving slowly etc). I took a look to the Mandrake control center and it shows a device "ich5 sata" or something (as it should show). But the system is not working properly.
Have you any idea how to get these SATA devices work? I didn't find the answer when I read through all these posts.
I saw that there was some persons who has managed to get these SATA Seagates to work with ICH5R.

Thanks!

:newbie:

Melamursu:

I just noticed all these new posts on here.. anyway I happen to have a P4P800 (Deluxe) myself...!
I have everything working here.. it sounds like you are having issues with your driver/controller for sata. As the post above this indicates you simply need to recompile your kernel. Look on Mandrake sites for help on that.. (I know how to do it manually ie: slackware/LFS/etc but not necessarily in Mandrake) It has been over a year since I even have run Mandrake and simply do not remember if you can compile and setup lilo or grub within the desktop. But you definitely can do it.. that isn't the question. So recompile and do what he suggests above to get your SATA ICH5R driver working in the kernel and then post your results here!

Good luck as always-

bc

melamursu 01-05-2005 04:26 AM

Thanks guys!

I'm happy to hear that it's even possible to get this chip work with Linux. I'll compile a new kernel when I get back to my place.
And what about the speeds of the SATA Seagates? Are they still running with poor performance?

gromer 01-05-2005 09:46 AM

Hey,

I don't know the speed of Segate drives, but I would like to tell you to NOT expect the 150 MB/s. I get around 50 with my Maxtors 250 GB SATA drives.

Good luck!

bonecrusher 01-05-2005 10:52 AM


melamursu:

Most drives you should get (no raid and speed at 7200rpm) around 50-70 MB/sec. This is normal...

try:

hdparm -t -T /dev/sdX

( X=drive letter )

Code:

/dev/sda:
 Timing buffered disk reads:  178 MB in  3.03 seconds =  58.75 MB/sec


ajkrishock 01-05-2005 09:56 PM

Seagate drive performance
 
Helllo all


Just a quick comment about the Seagate drives.. I am using a pair of Seagate drives in hardware RAID-0 configuration (UDMA6). Performance is good. I think Seagate's problems were with first generation drives and have since been corrected. This is under Redhat 9 - 2.4.20-8 kernel.


Drive configuration:

[root@localhost tony]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SiI Model: RAID 0 Set 0 Rev: 1100
Type: Direct-Access ANSI SCSI revision: 02
[root@localhost tony]# cat /proc/scsi/SiI6512/0
Driver for SiI 3112 to 6512 SATA RAID Controllers
Rev: 1.0.0.16, Date: Jul 18 2003 Time: 09:17:04
Memory (unique_id) at 0xDF002000, Irq 11
(Ri) Device(s) attached:
0: ST380013AS ( UDMA6 )
1: not attached
2: ST380013AS ( UDMA6 )
3: not attached

hdparm:

/dev/sda2:
Timing buffer-cache reads: 128 MB in 0.30 seconds =426.67 MB/sec
Timing buffered disk reads: 64 MB in 0.71 seconds = 90.14 MB/sec

bonecrusher 01-06-2005 02:08 PM

Re: Seagate drive performance
 
Quote:

Originally posted by ajkrishock
Helllo all


Just a quick comment about the Seagate drives.. I am using a pair of Seagate drives in hardware RAID-0 configuration (UDMA6). Performance is good. I think Seagate's problems were with first generation drives and have since been corrected. This is under Redhat 9 - 2.4.20-8 kernel.


Drive configuration:

[root@localhost tony]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SiI Model: RAID 0 Set 0 Rev: 1100
Type: Direct-Access ANSI SCSI revision: 02
[root@localhost tony]# cat /proc/scsi/SiI6512/0
Driver for SiI 3112 to 6512 SATA RAID Controllers
Rev: 1.0.0.16, Date: Jul 18 2003 Time: 09:17:04
Memory (unique_id) at 0xDF002000, Irq 11
(Ri) Device(s) attached:
0: ST380013AS ( UDMA6 )
1: not attached
2: ST380013AS ( UDMA6 )
3: not attached

hdparm:

/dev/sda2:
Timing buffer-cache reads: 128 MB in 0.30 seconds =426.67 MB/sec
Timing buffered disk reads: 64 MB in 0.71 seconds = 90.14 MB/sec

Running RAID0? Those numbers make me really want to consider running RAID... ;)



melamursu 01-09-2005 06:41 AM

Hi again!

I complited a new kernel as you told me to do, but it didn't solve my problem. I checked all those sata/scsi sections and also the support for ICH5. With the new kernel, booting still takes about 10-15minutes and the message "Disabling irq #18" is still blinking. ICH5 SATA controller seems to be under the Mandrake Control center but the system is not working properly :(
So, Have You any ideas?

gromer 01-09-2005 06:50 AM

Okay, sorry to hear that.

My recommendation at this stage: Try Knoppix. If it works you have two options in IMHO.
a) switch to Debian
b) Copy the config-file (under /boot/confi-xyz) to any media (disc/usb/hardisk) and recompile your kernel using this file. You ned to set the new option there as well and I would stringly recommend to include the drivers and filesystems for your system as well as the Knoppixsystem is making use of an initrd, which is nothing but a pain in the neck if you don't really need it.
As an alternative to Knoppix you may try the SuSE 9.2 liveCD.

If either of the two don't solve your problem I won't be much help (particularly as I don't know were your IRQ 18 problem comes from . It may be completely unrelated from your ICH5)

Good luck!

bonecrusher 01-09-2005 10:24 AM

Quote:

Originally posted by melamursu
Hi again!

I complited a new kernel as you told me to do, but it didn't solve my problem. I checked all those sata/scsi sections and also the support for ICH5. With the new kernel, booting still takes about 10-15minutes and the message "Disabling irq #18" is still blinking. ICH5 SATA controller seems to be under the Mandrake Control center but the system is not working properly :(
So, Have You any ideas?

What kernel are you compiling?

There is an option which 'allows' the old sata routines to compile in. This option is under the regular disk driver section (You will see it say something about SATA in the description).
You MUST turn this off for it to use the new libata library (The ones under scsi low level). Make sure you did that. It sounds like you have an IRQ conflict.. but it is hard to guess without more info.

Emmanuel_uk 01-24-2005 02:22 AM

deleted

The questions have been narrowed and reposted
at
http://www.linuxquestions.org/questi...hreadid=290393


shyjuk 05-12-2006 04:11 AM

How can I give Sata Driver During Linux Installation
 
How can I give Sata Driver During Linux Installation process

Please Help:confused:

gromer 05-12-2006 04:45 AM

Quote:

Originally Posted by shyjuk
How can I give Sata Driver During Linux Installation process

Please Help:confused:

What distro do you want to install and which version?
What SATA-Controller do you want to use?
What have you tried so far?

shyjuk 05-12-2006 05:30 AM

Red Hat Linux 9
My Motherboard is Intel D101GGC
From Where I get the appropriate SATA driver for this board

gromer 05-12-2006 06:48 AM

Quote:

Originally Posted by shyjuk
Red Hat Linux 9

I have no personal experience with that one

Quote:

My Motherboard is Intel D101GGC
So you have an ATI IXP 450 that does the SATA-Work.
(ftp://download.intel.com/design/moth...D3610502US.pdf page 17)
You need to look for a Distro/kernelversion that does support this chip.
From what I found with aquick search it appears as if it was supported from 2.4.26 upwards.

How about giving (K)Ubuntu a try? The install and live-CD are indentical.

enyawix 05-15-2006 11:15 AM

is SATA 2 support out yet?

gromer 05-15-2006 02:31 PM

Quote:

Originally Posted by enyawix
is SATA 2 support out yet?

Of course only for controllers that do support SATA 2 and of those only the ones that are supported within linux.
Some of the SATA 2 features are also included in the general Linux kernel.
See: http://linux-ata.org/sata-status.html

pnut@mac.com 05-21-2006 04:42 AM

Suse 9.1
 
After having struggled many times with S-ATA setups on Linux distros like RedHat, Fedora Core and Suse finally with the help of some great luminous minds on this forum I have gotten S-ATA running with decent speeds. Since I am kind of a minimalist, I have been looking for the least effort and with the best results.

Here is what I did on the SuSe 9.1 machine:

In my case there are 3 disks: 2 x S-ATA 250Gb Maxtor and 1 x normal ATA 40Gb Maxtor

/dev/hda = S-ATA 250Gb Maxtor (=data storage)
/dev/hdc = S-ATA 250Gb Maxtor (=data storage)
/dev/hde = ATA 40Gb Maxtor (=system)

First tests showed that my S-ATA disks gave a 7.21 MB/sec and a stunning 1.88 MB/sec disk read. :tisk:

So after having read this specific topic here on the forum I tried in a terminal:

Code:

hdparm -X66 -d1 /dev/hdc
and right after that I did in the same terminal:

Code:

hdparm -tT /dev/hdc
And I got a stunning 68.17 MB/sec disk read!!!

So far this is working and the same I did for the hde disk. But what after a reboot? Tough luck. It is back at the 7 MB/sec again... back to the forum... :study:

This is where I think the linux puzzle gets a bit awkward at times. Mind you, I kind of like puzzles at times but compiling new kernels, setting udma properties etc etc is not my strongest point. So there I saw huge lines of codes to be put in grub.conf. But now what? Ow yeah, I changed the configuration for this client to run on lilo.conf so what to do here? DO the same in lilo.conf? Or here is another one that puts a complete A4 size letter in /etc/rc.d/rc.local

This one looks promising, but Suse only has rc and no rc.local. Well I just did my thing in /etc/rc.d/rc , opened it in a text editor and added 2 lines in the rc file (just at the end, before the last "}".

these 2 lines I added in /etc/rc.d/rc

Code:

hdparm -X66 -d1 /dev/hdc
hdparm -X66 -d1 /dev/hde

After having put these 2 lines in and a reboot, the S-ATA disks gave me the 66 MB/sec speed without doing anything. All things are set.

Hopefully this can help someone. Thanks for all the good advices on this topic!


Piet Nutbey
The Netherlands

gromer 05-21-2006 05:06 AM

Quote:

Originally Posted by pnut@mac.com
After having struggled many times with S-ATA setup [..] SuSe 9.1 machine.
In my case there are 3 disks: 2 x S-ATA 250Gb Maxtor and 1 x normal ATA 40Gb Maxtor

/dev/hda = S-ATA 250Gb Maxtor (=data storage)
/dev/hdc = S-ATA 250Gb Maxtor (=data storage)
/dev/hde = ATA 40Gb Maxtor (=system)

First tests showed that my S-ATA disks gave a 7.21 MB/sec and a stunning 1.88 MB/sec disk read. So after having read this specific topic here on the forum I tried in a terminal:

Code:

hdparm -X66 -d1 /dev/hdc
and right after that I did in the same terminal:
Code:

hdparm -tT /dev/hdc
And I got a stunning 68.17 MB/sec disk read!!!

Hmmm, I am surprised. Suse 9.1 has got a 2.6-kernel, thus your sata discs should come up as sdX not hdX IIRC. Did you configure your BIOS to use them in compatibility mode?
Concerning the speed. Is this a RAID0 (stripping) or RAID1 (mirror)? For RAID1 it is okay, for RAID0 there might be room for improvement (depening on the controller and Board)

Quote:

So far this is working and the same I did for the hde disk. But what after a reboot? Tough luck. It is back at the 7 MB/sec again... back to the forum..
[...] So there I saw huge lines of codes to be put in grub.conf. But now what? Ow yeah, I changed the configuration for this client to run on lilo.conf so what to do here? DO the same in lilo.conf? Or here is another one that puts a complete A4 size letter in /etc/rc.d/rc.local
This one looks promising, but Suse only has rc and no rc.local. Well I just did my thing in /etc/rc.d/rc , opened it in a text editor and added 2 lines in the rc file (just at the end, before the last "}".
these 2 lines I added in /etc/rc.d/rc
Code:

hdparm -X66 -d1 /dev/hdc
hdparm -X66 -d1 /dev/hde

After having put these 2 lines in and a reboot, the S-ATA disks gave me the 66 MB/sec speed without doing anything. All things are set.
Hopefully this can help someone. Thanks for all the good advices on this topic!
First of all, most recent (and Suse 9.1 is NOT recent, in fact Suse just stopped the support for it) should use DMA as the default for all drives, so you shouldn't encounter these problems anymore (at least far less frequently), particularly with SATA as these settings affect IDE only (so far at least).
Have a look at http://gentoo-wiki.com/HOWTO_Use_hdp...ce_performance
If you need to modify the hdparm settings and want this to used in future sessions, there is (at least for Debian based distros, such as (K/X)Ubuntu, Debian etc. and Gentoo an easier way. You need to modify the file /etc/hdparm.conf or /etc/conf.d/hdparm (gentoo).
Use man for details on your system - it is rather easy.

Emmanuel_uk 05-21-2006 05:25 AM

I have never managed to make hdparm to work with my sata drives (in retrospect it is probably a feature).
Seems SATA drives automatically work at the right speed.
So I also suspect your HD are working in legacy mode.

monz 05-21-2006 11:18 AM

Quote:

Originally Posted by Emmanuel_uk
I have never managed to make hdparm to work with my sata drives (in retrospect it is probably a feature).
Seems SATA drives automatically work at the right speed.
So I also suspect your HD are working in legacy mode.

Yup. With a 2.6 kernel, SATA drives are operated through the libata driver, and will show up as /dev/sdX.
Hdparm doesn't work with scsi; try Dougls Gilberts sdparm from http://www.torque.net/sg/sdparm.html, which also has pointers to his sg-utils, for more fun with scsi/sata stuff. Not everything in hdparm is supported in sdparm though.

JJX 06-21-2006 08:33 AM

Anyone knows if debian support raid (ServerRaid 8e) for an IBM xSeries 206m server?
Has somebody tried it?

thx

nyk2000 06-27-2006 09:54 PM

How can I give Sata Driver During Linux Installation process and how can i install the system on BIOS created RAID ,please help me !!!

RHEL 4AS 2.6.9EL
945P ICH7R SATA-Controller

JJX 07-06-2006 08:38 AM

Quote:

Originally Posted by nyk2000
How can I give Sata Driver During Linux Installation process and how can i install the system on BIOS created RAID ,please help me !!!

RHEL 4AS 2.6.9EL
945P ICH7R SATA-Controller


Alt+f2 give u a console to do anything u want....


All times are GMT -5. The time now is 05:09 AM.