LinuxQuestions.org
Help answer threads with 0 replies.
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 09-20-2002, 01:02 PM   #1
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
Ultra ATA


How do I set the Ultra ATA from 33 to 100? When I try hdpram anything I get soemthing alon gthe lien of hdpram not found?
 
Old 09-20-2002, 01:50 PM   #2
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
Try hdparm - as root.

j.
 
Old 09-20-2002, 01:56 PM   #3
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
Hi
i think you have to install the hdparm from rpm,
it wasn't on my mdk 8.2 initially
Surprisingly tho, the drive was already set to its
maximum performance, when i did a hdparm -tT,
without tweaking parameters myself.
regards
 
Old 09-20-2002, 02:47 PM   #4
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
The man page for hdparm indicates that most modern drives default to their fastest speed. That's why the docs indicate that the -X flag is "dangerous".

j.
 
Old 09-20-2002, 08:02 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
hdparm -i will show you what the drive is actually currently running at. Dmesg isn't entirely accurate:

root@wurlitzer:/home/bob# hdparm -i /dev/hda

/dev/hda:

Model=ST34342A, FwRev=0.42, SerialNo=VGC37326
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=8894/15/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=128kB, MaxMultSect=16, MultSect=off
CurCHS=8894/15/63, CurSects=8404830, LBA=yes, LBAsects=8404830
IORDY=on/off, tPIO={min:383,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio3 pio4
DMA modes: mdma0 mdma1 *mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no
Drive conforms to: unknown: 0 1 2

In this case, small old drive, mdma2 is flagged "*" as the current setting. Most likely if your adapter can do ATA100, not just the drive, it should be running in UDMA5.

Cheers,

Finegan
 
Old 09-22-2002, 04:15 PM   #6
tmadhavan
LQ Newbie
 
Registered: Sep 2002
Location: Wales, bangin'
Distribution: RedHat 9.0, Mandrake 9.1
Posts: 15

Rep: Reputation: 0
I have a problem just turning DMA on.

Hdparm shows that udma6 is set, and everything else seems to be OK, but dma isn't on.

If I try to set dma with hdparm -d /dev/hdb I get an error saying:

HDIO_SET_DMA failed : Operation not permitted.

I've just applied the latest VIA ATA driver patch, seemed to install OK but didn't make any difference.

Get transfer speed of about 7MB/Sec

It's a Maxtor HD, on RH7.3
Athlon XP 2000+
MSI KT3 Ultra-ARU

Any ideas? Thanks for any help.
T
 
Old 09-22-2002, 10:06 PM   #7
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Ok, I got hdparm installed and I checked my HD i get 19.05 MB/sec is this good? I am looking to speed up my linux machine, and first thing I thought of was this.
 
Old 09-24-2002, 02:22 PM   #8
tmadhavan
LQ Newbie
 
Registered: Sep 2002
Location: Wales, bangin'
Distribution: RedHat 9.0, Mandrake 9.1
Posts: 15

Rep: Reputation: 0
Wohoo upgraded to 2.5.38 kernel and enabled ATA133, 40MB/Sec
 
Old 09-24-2002, 07:14 PM   #9
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
what did you do to enable it?
 
Old 09-24-2002, 08:10 PM   #10
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
I'm assuming, because I did something similar: make menuconfig,

ATA/IDE/MFM/RLL support --->
IDE, ATA and ATAPI Block devices --->
-- IDE chipset support/bugfixes
And compile in your chipset, as part of the kernel of course.

Most of the beta drivers in the 2.5.x series for the PDC and HPT ATA100/133 cards are a lot faster than their stable series counterparts, although they usually get ported into stable within a version or 3 of being in 2.5.x. I think kernel support for the PDC200276(5?) is going to wander into 2.4.20 for instance.

I got a lot more performance with the 2.5.35 driver for my HPT370 than the one in 2.4.18.

Cheers,

Finegan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
pci ultra ata card toolapc22 Linux - Newbie 1 07-02-2005 06:14 AM
Please recommand Ultra ATA Card compatible with Fedora 3 johnz Linux - Hardware 1 01-23-2005 06:01 PM
Ultra ATA cable and booting Fedora mimsmall Linux - General 1 01-23-2004 07:55 PM
Maxtor Ultra ATA-133 controller under SME? Yo-DUH_87 Linux - Hardware 7 06-20-2003 03:45 PM
ultra-ata hard-drive installation OmniBong Linux - Hardware 1 01-13-2003 11:00 AM

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

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