LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-07-2003, 11:59 AM   #61
Maerd
LQ Newbie
 
Registered: May 2003
Location: Vancouver, BC
Distribution: Rad Hat 8.0 & Mandrake 9.1
Posts: 7

Rep: Reputation: 0

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.
 
Old 07-10-2003, 11:11 PM   #62
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
whhooo hoooo!!!

thank google i found this thread

Quote:
[root@bugs /]hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.51 seconds =250.98 MB/sec
Timing buffered disk reads: 64 MB in 1.79 seconds = 35.75 MB/sec
[root@bugs /]
that is with a Seagate drive too
 
Old 07-15-2003, 05:32 AM   #63
yeoching
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
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
 
Old 07-19-2003, 01:21 AM   #64
salva
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
Question 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.
 
Old 07-19-2003, 01:40 AM   #65
salva
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
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.
 
Old 07-19-2003, 09:38 AM   #66
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
The answers to your questions are in this thread, you just have to look for them :-)
 
Old 07-19-2003, 08:02 PM   #67
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Rep: Reputation: 15
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
 
Old 07-23-2003, 01:26 AM   #68
taskara
Member
 
Registered: Jul 2003
Location: Canberra, Australia
Distribution: Kororaa
Posts: 34

Rep: Reputation: 15
well for those using redhat 9, try this download ..
 
Old 07-23-2003, 05:54 AM   #69
Axelchen
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Re: no -c3 option!

Quote:
Originally posted by arxik
Right now Im' testing P4G8X with Seagate SATA drive under Suse 8.2 linux. [...] Anyway with hdparm -X69 -u1 -d1 I managed to get 41 Mb/sec speed and no problems.
I have the same (deluxe) board, and I'm using Suse 8.2 too. If I use the commandline after booting it works fine, but if I put it to /etc/init.d/boot.local (which the last executed bootscript in SuSE 8.2) it fails, with a system crash.
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?
 
Old 07-27-2003, 06:05 PM   #70
fnx
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Question ABIT NF-7 SATA RAID 0 Support Under Mandrake 9.1

Quote:
Originally posted by Aussie
The answers to your questions are in this thread, you just have to look for them :-)
Thanks to this thread I manage to pass from
Quote:
hdparm -t /dev/hde
/dev/hde: Timing buffered disk reads: 64 MB in 51.56 seconds = 1.24 MB/sec]
to a flow about 45MB/s

I did this by typing under in console under X as root (thanks Aussie):
Quote:
echo max_kb_per_request:15 > /proc/ide/hde/settings
hdparm -X69 -d1 -m1 -c3 -u1 /dev/hde
but just checking /var/log/messages.log (dmesg), It notice that is filled with lines of :
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)

Last edited by fnx; 07-27-2003 at 06:09 PM.
 
Old 07-31-2003, 04:44 PM   #71
Jormungand
LQ Newbie
 
Registered: Jul 2003
Posts: 1

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

Last edited by Jormungand; 07-31-2003 at 04:48 PM.
 
Old 08-11-2003, 09:16 PM   #72
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Try knoppix!

Quote:
Originally posted by Jormungand
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?
For checking out hardware problems I can't recommend the knoppix 3.2 live CD highly enough. It has an up to date 2.4.21 kernel and awesome hardware detection. Just put it in the drive and boot. It also gives you the chance to set boot parameters to fine-tune things.

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?
 
Old 08-11-2003, 11:46 PM   #73
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
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?
 
Old 08-14-2003, 01:33 PM   #74
dmcentire
LQ Newbie
 
Registered: Oct 2002
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 08-14-2003, 01:42 PM   #75
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

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


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 12:15 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