Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Restoring hdparm settings at boot....

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
RD1
n00b
n00b
Posts: 8
Joined: Sat Feb 21, 2004 10:13 pm

Restoring hdparm settings at boot....

  • Quote

Post by RD1 » Sun Feb 29, 2004 3:03 am

OK...this is probably a stupid question that has been covered a million times, but I have yet to find a simple answer.

How do I get hdparm settings to save?

Specifically: hdparm -c1 /dev/hdd

DMA is not a problem...enabled in kernel-2.6.2


Thanks for any help,

Rodger
Top
jbc28
Apprentice
Apprentice
User avatar
Posts: 205
Joined: Tue Jan 07, 2003 11:20 am
Location: Edinburgh

  • Quote

Post by jbc28 » Sun Feb 29, 2004 3:11 am

edit /etc/conf.d/hdparm
make sure hdparm is started
rc-update add hdparm boot
J
Top
RD1
n00b
n00b
Posts: 8
Joined: Sat Feb 21, 2004 10:13 pm

  • Quote

Post by RD1 » Sun Feb 29, 2004 1:22 pm

Thanks! That did the trick. :)

Rodger
Top
Crashed_Again
n00b
n00b
User avatar
Posts: 45
Joined: Fri May 09, 2003 12:03 am
Contact:
Contact Crashed_Again
Website

  • Quote

Post by Crashed_Again » Thu Mar 04, 2004 12:34 pm

hmmm...one more question which may be a little silly. My /etc/conf.d/hdparm script looks like this:

Code: Select all

# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-conf.d,v 1.1 2003/03/01 21:17:39 sethbc Exp $

# You can either set hdparm arguments for each drive using disc*_args and cdrom*_args..
# eg.
# disc0_args="-d1 -X66"
# disc1_args"-d1"
# cdrom0_args="-d1"

# Or, you can set hdparm options for ALL drives using all_args..
# eg.
# this mimics the behavior of the current script
all_args="-d1"
Now the hdparm command that is working well for me is:

Code: Select all

# hdparm -X66 -d1 -u1 -m16 -c3 /dev/hdb
From the hdparm configuration file I'm assuming that if I pass all those arguments to the all_args variable these settings will be used for my cdrom as well. I only want these settings for /dev/hdb. I'm thinking that I have to have:

disc1_args"-X66 -d1 -u1 -m16 -c3"

set to get those effects on /dev/hdb. Is this correct? Does disc1_args represent /dev/hdb? Sanity check.
Top
coredumb
Retired Dev
Retired Dev
Posts: 7
Joined: Tue Nov 11, 2003 12:07 pm

  • Quote

Post by coredumb » Thu Mar 04, 2004 1:14 pm

It does.
Top
Crashed_Again
n00b
n00b
User avatar
Posts: 45
Joined: Fri May 09, 2003 12:03 am
Contact:
Contact Crashed_Again
Website

  • Quote

Post by Crashed_Again » Thu Mar 04, 2004 10:26 pm

Thank you.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic