DMA settings won't save
I'm running Slackware 9.0, and I have:
hdparm -X66 -c3 -d1 /dev/hda in my /etc/rc.d/rc.local When linux loads, it works reads that DMA is on, but when I log in and type: hdparm -Tt /dev/hda I get really crappy speed, and when I type hdparm /dev/hda DMA is turned off, but when i turn it back on again, then it works fine. Anybody know why I would have to type 'hdparm -X66 -c3 -d1 /dev/hda' again when linux starts? or if there is a better way to enable DMA and hard drives? |
This is my setting in rc.local:
hdparm -c 1 -d 1 -k 1 /dev/hdb You have to use the switch -k, in order to keep the settings. good luck ! |
I have tried that at one point, although I did it with '-k1' instead of '-k 1'. At work right now, I will try again.
|
Maybe your PATH is not set at the time rc.local is executed.
Try /sbin/hdparm ...... If not, recompile kernel with "Use DMA by default" turned on. (But that's a major mess for such a problem). Try making a /etc/rc.d/rc3.d/S90dma |
Problem solved, I just did -X69 instead of -X66, and now it works
Don't know why I did -X66, 2X faster now anyway Did '-k1' also, BTW |
All times are GMT -5. The time now is 08:46 PM. |