LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-11-2003, 10:25 AM   #1
premsaggar
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
Wink DMA not enabled during linux startup






Hi everyone, I am running Debian at home. I have the 2.4.22 kernel. When linux is starting up I get a Warning message that says I do not have DMA turned on for my harddrive. I have tried hdparm -i /dev/sda and it tells me I have *udma5 as the default. If I see *udam5 does that mean I'm running in udma5 mode? There is no star on any of the dma options. Also, when I run hdparm -tT /dev/sda I get

Timing buffer-cache reads: 1800 MB/sec approximately
Timing buffered disk reads: 50 MB/sec approximately

Sorry I don't remember the values exactly and I only listed the per/sec values as I don't remember the others.

I have a Western Digital 8mb 80gig 7200 rpm drive, and a 2.6 800fsb p4. Are the hdparm values good, or am I running slow? I'm not sure. Also, when I do hdparm -I /dev/sda1 I'm told that dma is on = 1. This is surely confusing. Any help would be great. Sorry for any vagueness. I'll be more specfic once I get home. Debian is great!
 
Old 12-11-2003, 12:43 PM   #2
GrapeApe
Member
 
Registered: Nov 2003
Distribution: Mandrake 9.2
Posts: 57

Rep: Reputation: 15
here's a thread with various hdparm results listed that you can compare your numbers to:
http://www.linuxquestions.org/questi...ve+performance
 
Old 12-11-2003, 12:44 PM   #3
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
hdparm -d /dev/xxx will tell you whether dma is enabled on that drive

hdparm -d1 /dev/xxx will enable it

there's also hdparm -c/c1 to detect enable/disable 32bit support

not to mention a few others
 
Old 12-11-2003, 01:31 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,842

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
It don't mean squat. dma is enabled on the drive later in the boot process. If it wasn't you would never get 50MB/sec; you'd get more like 5MB/sec. I get the same warning on my debian install and I just ignore it. There are ways to enable dma earlier in the boot process which could result in faster boot times theoretically but I always figured it's not enabled by default for a reason so I never bothered to look into it.
 
  


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
Harddisk Performance Problem - DMA enabled ;-) DonSam Linux - General 23 11-13-2005 06:15 PM
Slackware 10.1 -- DMA not enabled Pozican Linux - Hardware 2 06-16-2005 10:27 AM
How can I check if DMA is enabled? LegendBreath Fedora 7 06-06-2005 05:22 AM
is dma enabled? zepplin611 Linux - Hardware 3 06-09-2004 06:37 PM
DMA Enabled or not hiteshmaisheri Linux - Software 2 01-11-2004 09:02 AM

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

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