LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-08-2003, 03:43 PM   #46
coolersites
LQ Newbie
 
Registered: May 2003
Location: Seattle,WA
Distribution: MDK10.1/CENTOS3.3
Posts: 19

Rep: Reputation: 0

arxik,

Was running rc6 and just upgraded to rc7. As suggested, I turned off "USE multy-mode by default" and already had the tg3 driver loaded. Recompiled, and same results as before.

I was able to force the IRQ to change by blocking and doing some manul assignment in the bios, but it didn't make an differance either.

Any chance you have a .config file from your compile you could supply?

If your install works, then the only thing left that I could imagine is a hardware failure (board or drive?). I have removed all pci cards (just a bttv tuner card in slot 1) - so I don't much else could be left to conflict. However I do have ide1 with a WD ATA IDE drive and a DVD, ide 2 with a CDRW (with scsi emulation turned on)... seems pretty standard stuff.

To diagnose the hardware, I guess I am going to test the drive with windoze.. if it works there....

 
Old 06-09-2003, 11:58 PM   #47
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Rep: Reputation: 15
Unhappy ABIT IS-7 SATA RAID 0 Support Under Mandrake 9.1

Delete

Last edited by gabriele_101; 06-10-2003 at 11:00 PM.
 
Old 06-20-2003, 07:26 PM   #48
coolersites
LQ Newbie
 
Registered: May 2003
Location: Seattle,WA
Distribution: MDK10.1/CENTOS3.3
Posts: 19

Rep: Reputation: 0
Victory! (sorta)

Ok, well first - after years of using and caring for Redhat I decided that I was ready for an easier life (not due to the HD problems but due to problems keeping XMMS running smoothly).

So - I made a wild switch one morning to Mandrake... so far so good.

Anyhow... I came upon this thread today:

Thread at NForcersHQ.com

Basically to sum it up, I added the following line to my rc.sysinit :
rc.sysinit snippet
------------------------------------------------------------------------------------------
# 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 /

echo max_kb_per_request:15 > /proc/ide/hde/settings
/sbin/hdparm -X69 /dev/hde
/sbin/hdparm -d1 /dev/hde
/sbin/hdparm -c1u1 /dev/hde

# LVM initialization
if [ -f /etc/lvmtab -a ! -e /proc/lvm ] ; then


And now I have success with DMA on my SATA drives. I also believe this solution would have worked equally well for Redhat.

As I suspected earlier - the timing of turning the DMA on is very important to the success....


Cheers!

Oh, BTW - here's the -tT readings:
/dev/hde:
Timing buffer-cache reads: 128 MB in 0.25 seconds =512.00 MB/sec
Timing buffered disk reads: 64 MB in 1.81 seconds = 35.36 MB/sec


I suspect these could be even higher with a newer kernel (I am on the default Mandrake 9.1 2.4.21-0.13mdkenterprise kernel) - but I notice increases when recompiling my RH kernel.


Last edited by coolersites; 06-20-2003 at 07:29 PM.
 
Old 06-22-2003, 02:55 AM   #49
mobilagent
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
i875p MB + RH9.0 + 2WD Raptor =104MB/s

Worked quite nicely!

GiGabyte 8knxp i875p MB with on board SI3112 SATA, two WD Raptor SATA.

Both drives got recognized during installation, setup a software RAID0 then without any problems. I used Ctrl+Alt+F2 to switch to shell during installation and tested the HD speed, hdparm -t gives 1.8MB/s, manually enabled DMA by typing:
hdparm -X69 -d1 /dev/hde
hdparm -X69 -d1 /dev/hdg
now both drives runs at 54MB/s.

After installation, following the instructions provided by Silicon Image website and made all the settings permanent, now
hdparm -t /dev/md0 will give a stunning speed at 104MB/s!

here is the website:
http://12.24.47.40/display/2/index.a...=2&r=0.8054468

just browse into downloads->drivers->SiI3x12-> SiI3x12: Serial ATA (SATA) Linux IDE Driver

download the zip file on the right side of the page:
3x1x_x86_lin_rh90-dma-tweak.zip

You have all you need to fuel up the Raptors!
 
Old 06-22-2003, 01:56 PM   #50
coolersites
LQ Newbie
 
Registered: May 2003
Location: Seattle,WA
Distribution: MDK10.1/CENTOS3.3
Posts: 19

Rep: Reputation: 0
Final Thoughs - Seagate SATA SIIMAGE implementation

Just a final note on this:


It looks as though for SEAGATE drives the following is necessary to add to rc.sysinit. It would appear this is a SEAGATE SATA issue, and may not be necessary with the WD Raptor drives.

echo "max_kb_per_request:15" > /proc/.ide/hdX/settings

Seems the kernel folks are just catching up on this:
(Alan Cox and Andre Hedrick). See:
http://www.cs.helsinki.fi/linux/linu...3-22/0760.html

For now, having a Seagate is just a little bit of a bummer!

-Aaron
 
Old 06-30-2003, 03:43 PM   #51
JakeS
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
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: hdaMA, hdbio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcio, hddio
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: hdeio, hdfio
ide3: MMIO-DMA at 0xe080d808-0xe080d80f, BIOS settings: hdgio, hdhio
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
 
Old 07-01-2003, 09:29 AM   #52
JakeS
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
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
 
Old 07-01-2003, 07:28 PM   #53
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Re: Final Thoughs - Seagate SATA SIIMAGE implementation

Quote:
Originally posted by coolersites


For now, having a Seagate is just a little bit of a bummer!

-Aaron
You can say that again.

I've got the following in /etc/rc.d/rc.local,
Code:
echo max_kb_per_request:15 > /proc/ide/hde/settings
hdparm -X69 -d1 -m1 -c3 -u1 /dev/hde
hdparm -tT,
Code:
/dev/hde:
 Timing buffer-cache reads:   128 MB in  0.25 seconds =512.00 MB/sec
 Timing buffered disk reads:  64 MB in  1.85 seconds = 34.59 MB/sec
My barracuda IV,
Code:
/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.62 seconds =206.45 MB/sec
 Timing buffered disk reads:  64 MB in  1.68 seconds = 38.10 MB/sec

Hopefully there will be a fix in an upcoming kernel - or I'm going to be contacting seagate.

Last edited by Aussie; 07-01-2003 at 07:30 PM.
 
Old 07-02-2003, 12:38 AM   #54
coolersites
LQ Newbie
 
Registered: May 2003
Location: Seattle,WA
Distribution: MDK10.1/CENTOS3.3
Posts: 19

Rep: Reputation: 0
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
 
Old 07-03-2003, 01:22 PM   #55
dav1x
Member
 
Registered: Sep 2002
Posts: 50

Rep: Reputation: 15
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
 
Old 07-03-2003, 01:53 PM   #56
JakeS
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
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.
 
Old 07-03-2003, 07:07 PM   #57
Maerd
LQ Newbie
 
Registered: May 2003
Location: Vancouver, BC
Distribution: Rad Hat 8.0 & Mandrake 9.1
Posts: 7

Rep: Reputation: 0
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.

Last edited by Maerd; 07-03-2003 at 07:10 PM.
 
Old 07-03-2003, 08:45 PM   #58
coolersites
LQ Newbie
 
Registered: May 2003
Location: Seattle,WA
Distribution: MDK10.1/CENTOS3.3
Posts: 19

Rep: Reputation: 0
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
 
Old 07-04-2003, 07:52 PM   #59
Maerd
LQ Newbie
 
Registered: May 2003
Location: Vancouver, BC
Distribution: Rad Hat 8.0 & Mandrake 9.1
Posts: 7

Rep: Reputation: 0
Well, it works only if I set EXTRA_PARAMS=-X66
this is better than nothing but a bit frustrating...
 
Old 07-05-2003, 12:23 PM   #60
coolersites
LQ Newbie
 
Registered: May 2003
Location: Seattle,WA
Distribution: MDK10.1/CENTOS3.3
Posts: 19

Rep: Reputation: 0
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.
 
  


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
Serial ATA (SATA) Linux status report zero0w Linux - Hardware 4 04-03-2006 09:57 PM
Linux and Serial ATA Nerox Linux - Hardware 3 12-13-2004 09:14 AM
serial ATA (SATA) linux support, Intel D875PBZ mb? npv Linux - Hardware 25 06-28-2004 08:26 AM
sis964 serial ata support croz Linux - Hardware 0 01-07-2004 06:59 AM
help. ATA/SCSI Serial-ATA error: "ATA: Abnormal Status" xin Linux - Hardware 10 09-05-2003 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:03 AM.

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