Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-16-2010, 05:06 PM   #1
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 486
Blog Entries: 2

Rep: Reputation: 153Reputation: 153
CPU frequency scaling will not load at boot

Hello, i'm curious as to why some things are not happening at boot time (i end up having to manually load them).

In /etc/rc.d/rc.modules (near the bottom) i have set "CPUFREQ=on"
and commented out any modules not specific to my hardware.

I have left this one uncommented:
# AMD Cool&Quiet PowerNow!:
  /sbin/modprobe powernow-k8 2>/dev/null
and below the "### CPU frequency scaling policies:" i have;
  /sbin/modprobe cpufreq_ondemand 2>/dev/null
uncommented. My scaling governor is set to:
Now whenever i reboot my machine `lsmod` is not showing any of either powernow-k8 or cpufreq* related modules.

I know i could use /etc/rc.d/rc.local with these:
/sbin/modprobe powernow-k8
/sbin/modprobe cpufreq_ondemand
/usr/bin/cpufreq-set -g ondemand
But seems to defeat the purpose of rc.modules, any idea why they are not being loaded at boot... ?

$ uname -a
Linux slackware #3 SMP Mon Oct 11 01:34:00 CDT 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
with slackware64-current


Last edited by coralfang; 11-16-2010 at 05:08 PM. Reason: typo
Old 11-16-2010, 05:15 PM   #2
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 486
Blog Entries: 2

Original Poster
Rep: Reputation: 153Reputation: 153
Well i just noticed this:
$ ls -la rc.modules*
lrwxrwxrwx 1 root root    19 Nov  9 22:18 rc.modules -> rc.modules-
-rwxr-xr-x 1 root root 35412 Nov 16 23:08 rc.modules-
-rwxr-xr-x 1 root root 35406 Oct 11 07:25 rc.modules-
I'm pretty sure this might be why, is it safe to simply link rc.modules to the newer rc.modules- seeing as i won't be using the older kernel??

Well, either way it worked on boot this time after relinking:
# unlink /etc/rc.d/rc.modules
# ln -s /etc/rc.d/rc.modules- /etc/rc.d/rc.modules

Last edited by coralfang; 11-16-2010 at 05:37 PM. Reason: solved
Old 11-16-2010, 08:32 PM   #3
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,366

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
From /etc/rc.d/rc.S:
# Priority is given first to a script named "rc.modules.local", then
# to "rc.modules-$FULL_KERNEL_VERSION", and finally to the plain "rc.modules".
# Note that if /etc/rc.d/rc.modules.local is found, then that will be the ONLY
# rc.modules script the machine will run, so make sure it has everything in
# it that you need.
You could have edited rc.modules- or relinked as you have done (or created rc.modules.local).
1 members found this post helpful.


amd64, cpufreqd, modules

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
CPU Frequency Scaling runa Linux - Hardware 5 04-24-2011 11:23 AM
cpu frequency scaling with Pentium(R) Dual-Core CPU E5200 @ 2.50GHz tramni1980 Slackware 5 08-16-2009 08:29 AM
CPU frequency scaling PatrickMay16 General 10 07-10-2007 08:07 PM
P4 and CPU Frequency scaling tkalfaoglu Linux - Kernel 3 05-31-2006 09:56 AM
cpu frequency scaling....anyone? alaios Linux - General 3 06-07-2005 10:51 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:02 AM.

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