View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: HDPARM
PostPosted: Mon Aug 16, 2004 8:29 pm 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
Um everytime i reboot dma get's turned off for the hd that i have the recordings go to. This is why i was having such high cpu usuage. It would be turned on but anytime i rebooted it turned off. So how do i get that to stay on?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 16, 2004 8:51 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
I'd would say perhaps a search of the forum, but I use that line too much...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 16, 2004 8:53 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
add your hdparm command to /etc/init.d/bootmisc.sh...

I have added:

Code:
# enable DMA
 /sbin/hdparm -qd1 /dev/hda
 /sbin/hdparm -c1 -k1 -u1 -d1 -m16 -a8 -Xudma6 /dev/hdb

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 17, 2004 4:24 pm 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
Code:
# enable DMA
/sbin/hdparm -qd1 /dev/hda
/sbin/hdparm -c1 -k1 -u1 -d1 -m16 -a8 -Xudma6 /dev/hdb

OK what is the -q option

and the second command what is all that? I only know -d1 to turn dma on.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 17, 2004 5:33 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
got it here http://mysettopbox.tv/phpBB2/viewtopic.php?t=531&highlight=dma

From man page:

-q Handle the next flag quietly, supressing normal output.

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu