LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2005, 03:09 AM   #1
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
activate DMA for disks at boot time


hi,
can anyone tell me how to set up dma for my two discs at boot time? until now i did it through a script written by myself that launches hdparm, but this way of operate is not good, and also sometimes it makes my pc freeze when it boots.
is there some kernel option to enable?

i am using a 2.6.8 kernel hand-compiled
system: debian sarge

hdparm -v /dev/hda (main disk):
/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 160086528, start = 0

chdparm -v /dev/hdc (storage disk):
/dev/hdc:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 240121728, start = 0

thanks, any help is appreciated!

Matteo
 
Old 09-15-2005, 07:04 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 17.3+18.3, MX-17
Posts: 4,158

Rep: Reputation: Disabled
If I remember correctly, you can pass that as a parameter to GRUB, see
http://www.mcc.ac.uk/grub/grub_toc.html
http://www.gnu.org/software/grub/manual/
http://www.linuxquestions.org/questi...41#post1208741
 
  


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
Why do I have to activate my NIC every time I boot? A6Quattro Linux - Hardware 14 07-08-2005 08:37 AM
dma problems with the 2.6.6 at boot time rabbit171 Linux - Newbie 1 07-30-2004 10:40 AM
How to enable DMA at boot-up time reyemarr Debian 11 11-21-2003 12:38 PM
Can't activate DMA on Lite-On DVD er241 Linux - Hardware 2 09-21-2003 08:46 AM
Not able for activate 'dma' or 'hdparm -d1..." tom2 Linux - Hardware 0 03-10-2003 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration