SATA + dual amd problem?
Hello,
I've installed RH 9.0 but hdparm -X69 -d1 /dev/hde crashes the system instantly. I have a Tyan 2460 dual athalon board with the SI3112 on a PCI card and the WD 36G drive. Everything installed fine, runs fine in slow-motion (hdparm -t = 2.5 MB/s). I tried booting with the SMP and non-SMP kernel got the same results. Any ideas? Thanks in advance. Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx AMD7411: IDE controller at PCI slot 00:07.1 AMD7411: chipset revision 1 AMD7411: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio SiI3112 Serial ATA: IDE controller at PCI slot 00:0d.0 SiI3112 Serial ATA: chipset revision 2 SiI3112 Serial ATA: not 100% native mode: will probe irqs later ide2: MMIO-DMA at 0xe080d800-0xe080d807, BIOS settings: hde:pio, hdf:pio ide3: MMIO-DMA at 0xe080d808-0xe080d80f, BIOS settings: hdg:pio, hdh:pio hda: IC35L040AVER07-0, ATA DISK drive blk: queue c043a1e0, I/O limit 4095Mb (mask 0xffffffff) hdc: CREATIVE CD2422E, ATAPI CD/DVD-ROM drive hde: WDC WD360GD-00FNA0, ATA DISK drive hdg: no response (status = 0xfe) ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 ide2 at 0xe080d880-0xe080d887,0xe080d88a on irq 11 hda: host protected area => 1 hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=5005/255/63, UDMA(100) hde: host protected area => 1 hde: 72303840 sectors (37020 MB) w/8192KiB Cache, CHS=4500/255/63 ide-floppy driver 0.99.newide Partition check: hda: hda1 hda2 hde: hde1 hde2 hde3 |
Don't know if anyone is interested in this but I solved my own problem (previous post):
Compiled new kernel - 2.4.21 Using hdparm -X69 -d1 still crashed system Using hdparm -X69 -c3 -u1 sets it to UDMA5 then using hdparm -d1 turns on DMA hdparm -t gets me 57.5 mb/s now so it seems to be working For some reason, turning on DMA at the same time you use X69 seems to be fatal. Bottom line is I got the SATA drive to play nice with a Tyan Tiger MP with the SI PCI adapter (Western Digital drive). Hope this is useful for someone - it cost me a day and a half |
Re: Final Thoughs - Seagate SATA SIIMAGE implementation
Quote:
I've got the following in /etc/rc.d/rc.local, Code:
echo max_kb_per_request:15 > /proc/ide/hde/settings Code:
/dev/hde: Code:
/dev/hda: Hopefully there will be a fix in an upcoming kernel - or I'm going to be contacting seagate. |
I actually did contact Seagate. In fact I even sent them a copy of this thread since my previous correspondance 100% verified they had no clue about linux (and I might venture to say - anything beyond level 1 support).
Perhaps now they will at least be able to advise folks on how to get the SATA drives to work, but something tells me my advise will go unheeded since they did not bother to reply. I would suggest that anyone with a Seagate SATA should begin bombarding Seagate. Hmm, I think maybe I will send this thread to Tom's Hardware as well. It would only be fair to have a proper performance review I think. -Aaron |
I checked with the driver supposed to be found on Silicons website but following the links listed yields the results that the driver has been moved to kernel.org.
Did anyone have the filename of the driver listed? Was their driver a source or kernel patch or what? I cannot seem to get rh 8.0 or rh 9 to see anything on the SATA controller, this is on a 865G intel chipset. Thanks in advance, dav1x |
The 2.4.21 kernel should have the code in it. I got mine to work with RH 9.0 after downloading and compiling that kernel (make sure the proper options are checked in xconfig).
The files I got from the website were rather useless - just a bunch of scripts to set hdparm variables. |
to coolersites
I had and still have a problem with SATA drives. That you have had before. But using your solution I've come, unfortunately, to nothing. :( I inserted these rows echo "max_kb_per_request:15" > /proc/ide/hde/settings /sbin/hdparm -X69 /dev/hde /sbin/hdparm -c1u1 /dev/hde /sbin/hdparm -d1 /dev/hde in my rc.sysinit right in the place showed in your example, after "# Remount the root filesystem read-write." rows. And Mandrake 9.1 hangs up during the boot right after it shows me the row using_dma = 1 (on) If anyone else knows how to solve the problem, help me, please. I'm very unhappy to have transfer rate 1.38 MB/sec :( P.S. I have 2 HDD Seagate Barracuda 7200.7 160GB. |
After tweaking (using Mandrake 9.1) here is what I have currently:
in /etc/rc.d/rc.sysinit: # Remount the root filesystem read-write. state=`awk '/ \/ / && ($3 !~ /rootfs/) { print $4 }' /proc/mounts` [ "$state" != "rw" ] && \ action "Remounting root filesystem in read-write mode: " mount -n -o remount,rw / # ADDED to throttle DMA (some hard disks will no work above this value) echo "max_kb_per_request:15" > /proc/ide/hde/settings Then made file: /etc/sysconfig/harddiskhde USE_DMA=1 MULTIPLE_IO=16 EIDE_32BIT=1 # LOOKAHEAD=1 EXTRA_PARAMS=-X69 |
Well, it works only if I set EXTRA_PARAMS=-X66
this is better than nothing but a bit frustrating... |
Not sure why you are able to get on -x66, unless it relates to the dual drives. Are you running raid? and is this the raid bios for the 3112 chip, or just the standard bios?
Understand the frustration! When these drives cost $190 and this is the best you can get-- I am wondering if this shouldn't be considered a hardware failure.. since the raptors dont seem to be influenced. Anyhow, I have contacted everyone I can think of to try and solve and / or publicize these issues and nobody really seems to give a crap. |
I've turned raid off while fighting with DMA modes. I have bios for RAID functions of 3112 and I even updated it. It was recommended because of mistakes in previous version of that bios.
|
whhooo hoooo!!!
thank google i found this thread :) Quote:
|
driver for SE7505VB2 SATA RAID CONTROLLER
Version 1.0.0.11 will crash if you installed any PCI card on SE7505VB2 motherboard....I have tried, it work perfectly. During installation of Red Hat 7.3 it detects my mirror raid set and happilly installed and boot. However, it just simply cannot tolerate any PCI card. Please tell me if you manage to overcome this trouble.
ftp://aiedownload.intel.com/df-suppo..._sata_raid.exe start searching from here if it was moved. http://downloadfinder.intel.com/scri...3&submit=Go%21 |
Weird message from HDPARM
Hi guys!
First of all I was one of those virgin-window users. Now I am running Mandrake 9.1 on a XP 2500+, AN78X Deluxe, Seagate SATA 80MB, 512 Kingston 2700, Asus Geforce 5200, and I guess the rest is irrelevant. Anyway, ran HDPARM -Tt /dev/hda and got the following answer: --------------------------------------------- [root@localhost /]# hdparm -Tt /dev/hda /dev/hda: read() failed: Input/output error Timing buffered disk reads: 0 MB in 0.00 seconds = nan MB/sec Hmm.. suspicious results: probably not enough free memory for a proper test. -------------------------------------------- Where do we go from there? I am lost Thanks! Salvador. :scratch: |
Weird answer on HDPARM
Sorry guys, I guesse I used the wrong letter at the end of the command...
Now it goes like this: ------------------------------------------------- [root@localhost /]# hdparm -Tt /dev/hde /dev/hde: Timing buffer-cache reads: 128 MB in 0.26 seconds =492.31 MB/sec Timing buffered disk reads: 64 MB in 46.28 seconds = 1.38 MB/sec [root@localhost /]# --------------------------------------------------- However, I have seen some guys posting buffer-cache reads at 512 MB/sec and reading at 32MB/sec. How do I get those speeds? Tanks! Salvador. :newbie: :newbie: :newbie: :newbie: :newbie: :newbie: |
The answers to your questions are in this thread, you just have to look for them :-)
|
For the curious:
I gave up on Seagate SATA (4 ST3120026AS drives RAID 1/0 on ABIT IS7-G @ ~$600) a few weeks ago and sent them back. Switched to un-of-the-mill ATA (4 WD1200JB + 3ware 7500-4LP RAID 1/0 on ABIT IS7 @ $640). I'm getting: hdparm -Tt /dev/sda /dev/sda: Timing buffer-cache reads: 128 MB in 0.15 seconds =853.33 MB/sec Timing buffered disk reads: 64 MB in 0.98 seconds = 65.31 MB/sec So I paid $40 for no headache, full redundancy and fast disk reads/writes out-of-the-box under Mandrake or RedHat. Just a consideration if you're looking into hardware. It's not the 80 - 110 MB/sec sustained I was hoping for (silly me) with RAID 1/0 SATA, but its infinately better than spending a few days to try and get better than 1-3 MB/sec out of my Seagate SATA, and if you don't have SATA RAID on your MoBo, the SATA RAID cards are rediculously priced. Maybe I'll try again in 6 months for the next round of server upgrades ;) -G |
well for those using redhat 9, try this download ..
|
Re: no -c3 option!
Quote:
The /etc/sysconfig/hardware differs very much from the mandrake config file, and you can't set the parameters needed for a succesfull configuration during startup. My question: does anybody know how to change the SuSE 8.2 startup scripts/configuration to automatically set udma5 on the SATA? |
ABIT NF-7 SATA RAID 0 Support Under Mandrake 9.1
Quote:
Quote:
I did this by typing under in console under X as root (thanks Aussie): Quote:
hde: sata_error = 0x00000000, watchdog = 0, siimage_mmio_ide_dma_test_irq whereas the disk behaves normarly and noticeably faster. Does anybody know if is is likely to be a problem ? BTW: 1-what is the use of the command echo max_kb_per_request:15 > /proc/ide/hde/settings ? 2- what is the best param for hdparm -c1 or -c3 ? -------------------------------------------------------------------------------------- Hardware Info Motherboard: Abit NF7S with Sil3112A Serial ATA with Sil3112A Serial ATA controller: 01:0b.0 RAID bus controller: CMD Technology Inc Silicon Image SiI 3112 SATARaid Controller (rev 02) OS: Mandrake Linux 9.1 (Kernel: 2.4.21-0.13mdk) |
I have an ASUS A7N8X deluxe mobo and a SATA Maxtor hardisk.
I tried everything in these posts with no success, only system failures hard lockups... What do I need to do to get this working? Wait for kernel 2.6 or what? |
Try knoppix!
Quote:
It should detect all drives on the system (in my case a SATA hd, a SCSI CD-writer, a DVD reader and an IDE zip drive). Existing partitions and devices show up as desktop icons. Right-click on one to mount read-only. Also you can try # ide_info /dev/hde which gives me: MODEL="ST3120026AS" FW_REV="3.05" SERIAL_NO="3JT0LBD0" If you like what you see there is a script to install knoppix to HD (you basically get a Debian/KDE system). At least you will have a better idea where the blame lies. Also, doesn't your BIOS let you set the SATA disk to compatible mode? If I do that knoppix thinks its a plain ATA and puts it at /dev/hda (v. /dev/hde in SATA mode). Have you tried that? |
SATA Enhanced vs. Compatible mode
Is SATA enhanced mode any better than compatible mode?
I have a new P4 m/b (Asus P4P800-VM) and SATA drive (Barracuda V 120G) for a dual boot Linux/WinME system. Looking through the BIOS settings I see a choice of 'enhanced' or 'compatible' mode for the SATA drive. WinME would not install in enhanced mode, but goes onto the first partition OK in compatible mode. But this system is mainly for Linux and 'enhanced' has to better than 'compatible' doesn't it? Read on... I have knoppix 3.2 installed on the HD, but the live knoppix CD seems to give similar hdparm readings (where I have compared) and makes it easy to fiddle with BIOS settings. Have to turn DMA on tho', which is automatic for the HD install. In 'enhanced' mode the SATA disk shows up as /dev/hde: # hdparm /dev/hde /dev/hde: multcount = 0 (off) IO_support = 1 (32-bit) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 14593/255/63, sectors = 234441648, start = 0 # hdparm -tT /dev/hde /dev/hde: Timing buffer-cache reads: 128 MB in 0.16 seconds =800.00 MB/sec Timing buffered disk reads: 64 MB in 1.15 seconds = 55.65 MB/sec In 'compatible' mode the same disk is at /dev/hda and gives exactly the same timings! In fact one cache read was even higher (914Mb/s) but that seems to be an anomaly. In both cases it made little difference whether the IO_support flag was set to 16 or 32 bits. The downside to 'enhanced' mode is that you probably have to reset the BIOS to boot WinME/98/95 (XP and 2000 are supposed to be OK). I haven't even tried to set up LILO to figure that one out. If you are dual booting to XP or 2000 I suppose you would want to be in enhanced mode. Maybe there is some important dimension to disk performance that hdparm is missing, but otherwise why would you care? |
I just wanted to say thanks to everyone for keeping this thread active and interesting! It's been a while since I started this thread and it amazes me how much interest there is in the Linux community about serial ATA drives.
I hope there is going to be a solid resolution sometime this year or early next year, I heard that developers are definitely putting in their efforts to get things moving on SATA support. I am also impressed that a google search of "Linux SATA support" yields this thread as the first result. That's impressive. Thanks again for everyone's support! Dennis McEntire |
Village Idiot, Yete:
May be the best approach for you would be to merge the patch to the kernel source tree and rebuild the kernel. You don't need to do much to configure, since you could just see if there's a file called config-<kernel version> on the /boot partition, copy that file to the /usr/src/linux-<version> directory as .config, make a menuconfig or an xconfig and see what the settings are, then apply the patch and see what was changed... normally a patch also installs some documentation... so check also the contents of the Documentation directory under the source tree main directory. |
There are SiImage fixes in the upcomming 2.4.22 kernel, and the -ac tree has a few improvements.
|
ata/100 hdparm speeds
I have a Seagate Barracuda ATA IV and got following values with hdparm -tT
/dev/hda: Timing buffer-cache reads: 1120 MB in 2.00 seconds = 560.00 MB/sec Timing buffered disk reads: 100 MB in 3.00 seconds = 33.33 MB/sec I guess SATA speeds should be much bigger. |
has anyone got sata working under i875
I have an asus p4c800 deluxe. I've been trying to get my maxtor 120 gig sata drive to run. Mandrake 9.1 doesn't see it, while the standard gentoo kernel sees it and crashes just after that.
Has anyone had any luck with this board? |
Re: has anyone got sata working under i875
Quote:
I have installed it setting the BIOS Ide settings to Compatible mode, but then you loose one IDE channel. I'm trying to get RH9 to recognize SATA drive when BIOS settings is Enhanced. Regards, Pedro |
Re: Re: has anyone got sata working under i875
Quote:
|
Re: Re: Re: has anyone got sata working under i875
Quote:
Again, has anyone had any success on getting an ICH5 running under linux in enhanced mode? (I really need enhanced cause I have an ide drive, a dvd and a burner in addition to the sata drive) |
I'm getting close to getting this working, but have hit a dead end.
I am running 2.4.22 under RH9. I have added the rc.sysinit echo entry and have created the harddiskhde file. When I boot up, everything seems to be recognized, but locks up when "Finding Module Dependencies:" prints out during boot. Forgot to mention: Mobo is P4P800 with ICH5. What are the specific .config options that need to be tweeked for the kernel compile? Maybe I missed something during make xconfig? Thanks... |
OpenSource Drivers from Promise
Dear all,
I was facing problems with the drivers for the Promise RAID controllers PDC 20276 and PDC 20376. The latter one also supports serial ATA (SATA). I was complaining at both companies SuSE and Promise. SuSE gave me one of those lousy "nice that you wrote but we don't really care" standard emails, while Promise sent me new drivers AND the (Open) sources !!! You can download them from: http://www.rzuser.uni-heidelberg.de/~hp3/share/Promise/ I haven't tested them yet since at present the old one is running and I do not want to risc to kill the server again prior to having installed it on my private PC. I hope that this will help. The previous driver works well, yet when I installed the Athlon-kernel security patch from SuSE (for SuSE Linux 8.1 at least) it broke down after reboot. The reason for this remains obscure to me and I got no helpful comment (as you may have guessed) from SuSE (as it is a *RAID* controller which is not supported by SuSE-support) nor from my Google-searches. Let me know what you think. |
hdparm -d1 /dev/
- enables UDMA. The main thing you must do (SATA uses dma right?). Lots of other tweaks too but I can't help with a drive as good as yours (I have 20gb ;). |
How is Serial ATA support under 2.6 now?
|
Asus P4C800 ICH5 SATA and RH9
I posted this to 'SATA on an ASUS P4C800' thread:
I finally got it working BUT with the intel ICH5 controller, not the Promise controller; I'm not using RAID and don't mind, but don't know if that's your case. I connected a Maxtor 120 GB to the ICH5 connector, changed the BIOS Ide settings to Compatible mode and installed RH9. After upgrading through RH network to the latest kernel release, 2.4.20-20.9smp, I could change the BIOS setting to Enhanced mode and reboot without problems. I had to edit the /etc/fstab file to adjust the new letter assigned to the disk in the swap partition entry (it changed from hdc2 to hde2). Regards, Pedro |
FYI : Silicon Image just released a Linux Driver yesterday.
SiI3x12: Serial ATA (SATA) Linux RAID Driver - Released 3. September 2003 I just installed a server with a D845PEBT2 Intel motherboard - with 2xSegate 80GB SATA drives in RAID 1 - and it rocks with RedHat 9.0...... Get the driver here : DRIVER you have to go to the left frame and choose => Downloads => Drivers => SiI3x12 => SiI3x12: Serial ATA (SATA) Linux RAID Driver - Released and download the driver The zipfile contains detailed information about how to install Redhat 7.3 -> 9.0 and SuSe 8.0 and 8.1 with the controller...... soo have fun ;) |
|
Quote:
Code:
[root@Aramaki gianni]# /sbin/hdparm -tT /dev/hde /dev/hdg Forgot to mention that this was on an ASUS A7N8X Delux V. 2.0 motherboard, Red Hat 9, tow Seagate barracuda (one 80GB and the other 120GB) PIO mode sadly is @ 16-bits. |
is the new driver in the kernel for raid array only? or for the actualy controller?
I assume u are not using raid on your drives.. thanks :D |
hdparm -tT /dev/sda2
/dev/sda2: Timing buffer-cache reads: 128 MB in 0.36 seconds =355.56 MB/sec Timing buffered disk reads: 64 MB in 1.15 seconds = 55.65 MB/sec Thats with RAID 1 When just using the driver on the RedHat 9.0 CD redhat shows two drives instead of only one - thats the reason i use the silicon driver - cause it shows correctly only one drive (RAID 1 = mirror) |
Quote:
|
cool - so works on just a controller too :D
|
dmcentire & sata
To get get good sata in linux u need 2.4.21 or newer.
see the kernel.org change log. I run gentoo & 2.6.0 test4 on my a7n8x dx. |
what does
Quote:
|
hdparm -tT /dev/hdx
hdparm -tT /dev/hdx is a hard drive benchmark
|
yeah exactly..
I'm interested in the results your'e getting from 2.6.0 test4 kernel.. can u post them? |
thear it is
20G ibm desk star 7200rpm I think it is a ata100 but it my be ata66 being only a 20g drive.
Timing buffer-cache reads: 128 MB in 0.27 seconds =474.07 MB/sec Timing buffered disk reads: 64 MB in 1.67 seconds = 38.32 MB/sec Main drive is building abiword. |
k...
I think the kernel driver is restricted to ata66, even if u have an ata100 drive.. I don't have a pc at home at, but I can check it sometime.. cheers |
have fun
taskara
Quote:
http://www.linux-ide.org/chipsets.html |
All times are GMT -5. The time now is 06:27 PM. |