PDA

View Full Version : DMA acceleration



jjbergdolt
05-19-2005, 02:47 PM
How to set up as the default option the DMA acceleration for HD and CD?
Currently I have to restore it manually after every reboot.

UnderScore
05-19-2005, 03:07 PM
If you want to know why DMA is not enabled by default, well we have covered that here http://www.knoppix.net/forum/viewtopic.php?t=18415&highlight=dma.
As for enabling it, boot the CD with: knoppix dma.
For the HD install, you will need to edit the /etc/hdparm.conf and then add hdparm to the appropriate run level. See google.com cache of hdparm config (http://72.14.207.104/search?q=cache:cpHbMMmYK8MJ:modular.fas.harvard.ed u/docs/debian-packages/hdparm/README.Debian+debian+hdparm+hdparm.conf&hl=en&client=firefox-a) for more details.
I hope this helps.
James

jjbergdolt
05-20-2005, 12:57 PM
Many thanks. It works fine for my HD but not for the cdroms.
I modified hdparm the same way for both.
Some explanations?
---------
/dev/cdroms/cdrom0 {
dma = on
# interrupt_unmask = on
# io32_support = 0
}
----------------
/dev/hda {
# mult_sect_io = 16
# write_cache = off
dma = on
}
----------