Unix Technical Forum

Re: keeping dma set

This is a discussion on Re: keeping dma set within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Jon Portnoy wrote: > In article <jiuJa.393$IP6.19879@eagle.america.net>, . wrote: > >>Marek Defecin'ski wrote: >> >> >>>. wrote: >>> >>> ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 04:47 AM
.
 
Posts: n/a
Default Re: keeping dma set

Jon Portnoy wrote:
> In article <jiuJa.393$IP6.19879@eagle.america.net>, . wrote:
>
>>Marek Defecin'ski wrote:
>>
>>
>>>. wrote:
>>>
>>>
>>>
>>>>hey again,
>>>>
>>>>i'm using hdparm -d1 /dev/hda and it sets dma for all the partitions,
>>>>but everytime i reboot my system it doesn't keep those changes. i'm
>>>>using reiserfs for all my data storage type partitions, and during the
>>>>initialization process it keeps warning me that dma is off. sure enough
>>>>when i check the flag its set to zero. do i need to add "hdparm -d1
>>>>/dev/hda" to my init.d files? thanks for your time.
>>>
>>>
>>>edit /etc/conf.d/hdparm
>>>
>>>and then
>>>rc-update add hdparm default

>>
>>i edited the hdparm file so that it had all_args="-d1" and added it to
>>init.d with rc-update add hdparm default. that sets the hard drives and
>>cdrom up correctly, but it does it too late. can i have it set with
>>earlier by changing the runlevel to 1 instead of 3? just checking so i
>>don't render the system unbootable (hate to ruin all this hard work)
>>hehe. thanks for your time.
>>
>>-will
>>

>
>
> rc-update del hdparm default
> rc-update add hdparm boot
>


that put it right under the
* Checking all filesystems

can i get it where hdparm happens first instead of the filesystems thing?

-will

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 04:47 AM
Jon Portnoy
 
Posts: n/a
Default Re: keeping dma set

In article <f0LJa.471$IP6.22846@eagle.america.net>, . wrote:
> Jon Portnoy wrote:
>> In article <jiuJa.393$IP6.19879@eagle.america.net>, . wrote:
>>
>>>Marek Defecin'ski wrote:
>>>
>>>
>>>>. wrote:
>>>>
>>>>
>>>>
>>>>>hey again,
>>>>>
>>>>>i'm using hdparm -d1 /dev/hda and it sets dma for all the partitions,
>>>>>but everytime i reboot my system it doesn't keep those changes. i'm
>>>>>using reiserfs for all my data storage type partitions, and during the
>>>>>initialization process it keeps warning me that dma is off. sure enough
>>>>>when i check the flag its set to zero. do i need to add "hdparm -d1
>>>>>/dev/hda" to my init.d files? thanks for your time.
>>>>
>>>>
>>>>edit /etc/conf.d/hdparm
>>>>
>>>>and then
>>>>rc-update add hdparm default
>>>
>>>i edited the hdparm file so that it had all_args="-d1" and added it to
>>>init.d with rc-update add hdparm default. that sets the hard drives and
>>>cdrom up correctly, but it does it too late. can i have it set with
>>>earlier by changing the runlevel to 1 instead of 3? just checking so i
>>>don't render the system unbootable (hate to ruin all this hard work)
>>>hehe. thanks for your time.
>>>
>>>-will
>>>

>>
>>
>> rc-update del hdparm default
>> rc-update add hdparm boot
>>

>
> that put it right under the
> * Checking all filesystems
>
> can i get it where hdparm happens first instead of the filesystems thing?
>
> -will
>


Good question. Frankly it might be handy if it does this by default.

Could you wander over to bugs.gentoo.org and open a bug about it if
there isn't one?

--
Jon Portnoy
avenj/irc.freenode.net
Opinions expressed are my own, not those of any entity I am
associated with unless stated otherwise.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 04:47 AM
.
 
Posts: n/a
Default Re: keeping dma set

Jon Portnoy wrote:
> In article <f0LJa.471$IP6.22846@eagle.america.net>, . wrote:
>
>>Jon Portnoy wrote:
>>
>>>In article <jiuJa.393$IP6.19879@eagle.america.net>, . wrote:
>>>
>>>
>>>>Marek Defecin'ski wrote:
>>>>
>>>>
>>>>
>>>>>. wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>hey again,
>>>>>>
>>>>>>i'm using hdparm -d1 /dev/hda and it sets dma for all the partitions,
>>>>>>but everytime i reboot my system it doesn't keep those changes. i'm
>>>>>>using reiserfs for all my data storage type partitions, and during the
>>>>>>initialization process it keeps warning me that dma is off. sure enough
>>>>>>when i check the flag its set to zero. do i need to add "hdparm -d1
>>>>>>/dev/hda" to my init.d files? thanks for your time.
>>>>>
>>>>>
>>>>>edit /etc/conf.d/hdparm
>>>>>
>>>>>and then
>>>>>rc-update add hdparm default
>>>>
>>>>i edited the hdparm file so that it had all_args="-d1" and added it to
>>>>init.d with rc-update add hdparm default. that sets the hard drives and
>>>>cdrom up correctly, but it does it too late. can i have it set with
>>>>earlier by changing the runlevel to 1 instead of 3? just checking so i
>>>>don't render the system unbootable (hate to ruin all this hard work)
>>>>hehe. thanks for your time.
>>>>
>>>>-will
>>>>
>>>
>>>
>>>rc-update del hdparm default
>>>rc-update add hdparm boot
>>>

>>
>>that put it right under the
>>* Checking all filesystems
>>
>>can i get it where hdparm happens first instead of the filesystems thing?
>>
>>-will
>>

>
>
> Good question. Frankly it might be handy if it does this by default.
>
> Could you wander over to bugs.gentoo.org and open a bug about it if
> there isn't one?
>

well there wasn't a bug open about this particular deal so i made one. i
think its probably a simple fix tomorrow hopefully i'll have a little
more time than i've been having , and i can try to knock this
annoyance out hehe. almost got KDE installed!! so i'll be fully
operational soon!!

-will

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com