I believe:
- When you boot up, hdparm is run with your parameters from the
/etc/init.d/hdparm script.
- Then you make your manual changes, including the 'kepsettings' flag.
- Then you do a shutdown
- At shutdown, the hdparm 'service' is run with the 'stop' parameter.
- The hdparm stop will reset all flags to 0 (zero) and your manually set
'keepsettings' is lost.
(Though I may be wrong. ;-)
1) Make sure to run /etc/init.d/hdparm stop
2) Remove hdparm from your default runlevel (rc-update delete hdparm
default (??))
3) Manually set all the parameters, including the 'keepsettings'
4) Reboot and verify that the hdparm 'service' is never executed, neither
at shutdown nor at boot.
5) Manually verify what hd parameters are set.
Biker
Dane Elwell
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
.net> cc: (bcc: Gustav
Schaffter/CDS/CG/CAPITAL)
Subject: Re: [gentoo-user] DMA
messages at bootup
22-09-2003 15:35
Please respond to
gentoo-user
Yeah, the -k1 option is supposed to keep options over a reset, but this
doens't seem to work for me.
xerxes root # hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 8 (on)
geometry = 14946/255/63, sectors = 240121728, start = 0
Yet I'm still getting the same messages after a reboot. The keepsettings
flag also gets reset to 0 after a reboot.
A very useful flag, if you ask me. :P
--
[EMAIL PROTECTED] mailing list