I would like to know if there is some file in which hdparm settings are stored so that DMA is turned off *permanently*
I am not sure about this one though you may try out....
"hda=nodma" at the LILO boot prompt after "linux" or whatever label that you have choosen.
e.g, LILO: linux hda=nodma
if this works then you can add the following line to /etc/lilo.conf
append="hda=nodma"
.....and rerun `lilo'.
*Yes* Disabling DMA affects Disk read/write performance.
*BEWARE* I am only hypothesizing!! (oooops) Please read the kernel documentation. I am currently running kernel 2.2.14 (yeah, I know, has a bug). I don't have the kernel-docs on my system right now. You could get more (definitive) info under /usr/src/linux/Documentaion/*
Check "man hdparm" for information on persistence of hdparm settings. I believe you can set it up so that these are persistent over a soft reboot. I can't recall the active flags off the top of my head, and don't have a Linux box handy, but do look up the -t and -T flags to hdparm - I have a vague recollection that they are what you are looking for.
Cheers,
Krishnan
--- Fart Crimson cilkol@bom2.vsnl.net.in wrote:
I would like to know if there is some file in
which hdparm settings are
stored so that DMA is turned off *permanently*
I am not sure about this one though you may try out....
"hda=nodma" at the LILO boot prompt after "linux" or whatever label that you have choosen.
e.g, LILO: linux hda=nodma
if this works then you can add the following line to /etc/lilo.conf
append="hda=nodma"
.....and rerun `lilo'.
*Yes* Disabling DMA affects Disk read/write performance.
*BEWARE* I am only hypothesizing!! (oooops) Please read the kernel documentation. I am currently running kernel 2.2.14 (yeah, I know, has a bug). I don't have the kernel-docs on my system right now. You could get more (definitive) info under /usr/src/linux/Documentaion/* _______________________________________________ Richard Stallman's Public Lecture 5pm 17th July, at TIFR. Linuxers mailing list Linuxers@mm.ilug-bom.org.in http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/