LinuxQuestions.org
Review your favorite Linux distribution.
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-24-2003, 10:55 PM   #1
leiavoia
Member
 
Registered: Mar 2002
Distribution: Debian Testing & Kubuntu
Posts: 72

Rep: Reputation: 15
How do you tell if linux takes advantage of hard drive UDMA?


Well, that's the question.

When i start up mandrake or even Knoppix, in the initial gobbledegook it spits out on startup, i see a blurb about it now knowing about the hard drive program mode so it "assumes it is 33. will set later" or something to that effect.

so i got to wondering, does linux actually use my new hard drive's UltraDMA 133 capabilities? What is the right way to tell? is it adjustable from within linux?

i notice that, for instance, Mozilla starts up faster in WindowsXP than in Linux on equivilent hardware. Others linux converts i've made over the last year have made comments to the effect that linux is slower to open run apps than windows is.

i have a maxtor 80GB DiamondMax+ w/ 8MB buffer running on MDK9.1, but the specifics are not too important.

thanks for the advice
 
Old 07-24-2003, 11:06 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
/sbin/hdparm -d /dev/hd(x)
it will say either
using_dma = 1
or..
using_dma = 0
so if it is 0 you can use this:
/sbin/hdparm -d1 /dev/hd(x)
to set it to on.
after a reboot this will probably go back to "0" so to get around this, add that line to enable dma to your rc.* file ..

ps -> (x) <- i am sure you can see that you have to replace this with the proper drive letter
 
Old 07-24-2003, 11:08 PM   #3
leiavoia
Member
 
Registered: Mar 2002
Distribution: Debian Testing & Kubuntu
Posts: 72

Original Poster
Rep: Reputation: 15
yup, says here it's on.

thanks for the quick reply. much appreciated
 
  


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
Help! Server's hard disk crashing in UDMA mode! Avatar Linux - Hardware 2 12-20-2004 01:48 PM
Hard Drives not working at UDMA 6 Heavy D. Linux - Hardware 2 11-11-2004 12:30 AM
Hard drive suddenly VERY slow despite UDMA gundelgauk Linux - Hardware 4 10-03-2004 07:11 AM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
hard drive setting UDMA PIO etc cevjr Linux - Hardware 3 07-30-2003 05:39 PM

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

All times are GMT -5. The time now is 07:28 PM.

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