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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-20-2002, 01:02 PM
|
#1
|
Member
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445
Rep:
|
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?
|
|
|
09-20-2002, 01:50 PM
|
#2
|
Member
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222
Rep:
|
Try hdparm - as root.
j.
|
|
|
09-20-2002, 01:56 PM
|
#3
|
Member
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344
Rep:
|
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
|
|
|
09-20-2002, 02:47 PM
|
#4
|
Member
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222
Rep:
|
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.
|
|
|
09-20-2002, 08:02 PM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
09-22-2002, 04:15 PM
|
#6
|
LQ Newbie
Registered: Sep 2002
Location: Wales, bangin'
Distribution: RedHat 9.0, Mandrake 9.1
Posts: 15
Rep:
|
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
|
|
|
09-22-2002, 10:06 PM
|
#7
|
Member
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445
Original Poster
Rep:
|
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.
|
|
|
09-24-2002, 02:22 PM
|
#8
|
LQ Newbie
Registered: Sep 2002
Location: Wales, bangin'
Distribution: RedHat 9.0, Mandrake 9.1
Posts: 15
Rep:
|
Wohoo upgraded to 2.5.38 kernel and enabled ATA133, 40MB/Sec 
|
|
|
09-24-2002, 07:14 PM
|
#9
|
Member
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445
Original Poster
Rep:
|
what did you do to enable it?
|
|
|
09-24-2002, 08:10 PM
|
#10
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|