LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-04-2006, 05:47 PM   #1
xcaliber
LQ Newbie
 
Registered: Jan 2006
Location: northeast
Distribution: fc5- suse 10.0
Posts: 18

Rep: Reputation: 0
help with hdd and hdparm


everytime I boot up i have to change /sbin/hdparm options on my secondary hardrive (hdb) to :
-d1 -c3 -u1 in order to enable dma and a few other options that don't happen automatically... how can i set these options to enable on boot???

thanks
 
Old 04-04-2006, 06:17 PM   #2
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
You can set that options editing the hdparm.conf in /etc



Bye
 
Old 04-05-2006, 11:11 AM   #3
xcaliber
LQ Newbie
 
Registered: Jan 2006
Location: northeast
Distribution: fc5- suse 10.0
Posts: 18

Original Poster
Rep: Reputation: 0
in FC5

I am running FC5 i have no hdparm.conf file in /etc... should i create one or is there another file i should look at?
 
Old 04-05-2006, 01:22 PM   #4
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
You can use the locate command to find where is the hdparm.conf, in the case that really doesn't exist, yes, you can created inside /etc



Bye
 
Old 04-05-2006, 02:31 PM   #5
tuxangler
Member
 
Registered: Mar 2006
Location: Germany
Distribution: OpenSuSE 10.3 x86-64 SMP - Kernel 2.6.23.14
Posts: 42

Rep: Reputation: 15
I use this command in my /etc/init.d/boot.local
Normally in SuSE 10.0 this is managed in /etc/sysconfig/ide
The Parameters given here are used by /etc/init.d/boot.idedma

Last edited by tuxangler; 04-06-2006 at 09:57 AM.
 
Old 04-06-2006, 09:43 AM   #6
xcaliber
LQ Newbie
 
Registered: Jan 2006
Location: northeast
Distribution: fc5- suse 10.0
Posts: 18

Original Poster
Rep: Reputation: 0
again

so if i create hdparm.conf in /etc should i just put in the command
-d1 -c3 -u1 -m16 -k1 /dev/hda

-d1 -c3 -u1 -m16 -k1 /dev/hdb
?
 
Old 04-06-2006, 01:50 PM   #7
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Not like that exactly, you need to use the configuration on diferent form

Example, to use the -c3 and configure it in hdparm.conf, you need to write:

io32_support = 3

-d1 will be:

dma = on


To help out with the strings that you have to use, type from the console
Code:
man hdparm
or see this



Bye
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to add a third hard drive (hdd) and get Unable to open /dev/hdd MikeyCarter Linux - Hardware 4 12-26-2005 10:27 PM
My hdd dead? Low hdparm score. Silent1 Linux - Hardware 4 12-29-2004 12:56 AM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 01:45 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
hdparm -g NOT= hdparm -i ---LILO hangs @ L stevewalsh Linux - General 4 07-23-2001 09:37 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration