* Stopping hdparm... [
ok ]
* Starting hdparm...
Did you notice that 'restart' makes a stop and a start?
Then you settings are there again. Fine.
When you do a 'stop', your settings will most likely be gone. Try to do a
stop, not a restart. Then check your parameters.
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 16:23
Please respond to
gentoo-user
On Mon, 22 Sep 2003 16:06:19 +0200
[EMAIL PROTECTED] wrote:
>
> 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. ;-)
Ok, here's some output. ;)
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
[note: i'm assuming this next bit is what happens during a
reboot - i.e. the service is stopped, then restarted next bootup]
xerxes root # /etc/init.d/hdparm restart
* WARNING: you are stopping a boot service.
* Stopping hdparm... [
ok ]
* Starting hdparm...
* Running hdparm on disc0... [
ok ]
* Running hdparm on cdrom0... [
ok ]
* Running hdparm on cdrom1... [
ok ]
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
So it appears that hdparm isn't what is resetting the keepsettings flag, so
what is? :oS
--
[EMAIL PROTECTED] mailing list
--
[EMAIL PROTECTED] mailing list
- Re: [gentoo-user] DMA messages at bootup Gustav_Schaffter
- Re: [gentoo-user] DMA messages at bootup Dane Elwell
- Re: [gentoo-user] DMA messages at bootup Hemmann, Volker Armin
- Re: [gentoo-user] DMA messages at bootup Dane Elwell
- Re: [gentoo-user] DMA messages at bootup Dane Elwell
- Re: [gentoo-user] DMA messages at bootup Dane Elwell
- Re: [gentoo-user] DMA messages at bootup Dane Elwell
- Re: [gentoo-user] DMA messages at bootup Gustav_Schaffter
- Re: [gentoo-user] DMA messages at bootup Dane Elwell
- Re: [gentoo-user] DMA messages at bootup Gustav_Schaffter
- Re: [gentoo-user] DMA messages at bootup Dane Elwell
