LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   HELP PLEASE: CPU throttling not working on NAS Box (https://www.linuxquestions.org/questions/fedora-35/help-please-cpu-throttling-not-working-on-nas-box-845631/)

RottenMutt 11-21-2010 09:25 AM

HELP PLEASE: CPU throttling not working on NAS Box
 
hi, i'm trying to get speedstep to work on a intel ss4200 NAS box with a core 2 duo e4600 cpu. I'm running Fedora 13; Kernel 2.6.34.7-56.SS4200.fc13.x86_64, which is custom with a couple of patches to properly enumerate the hard drive controler. see this link on gentoo forums for my patches. For some reason the cpu frequency driver it is picking is "p4-clockmod", how do i force the kernel to load the correct driver???

Code:

$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: p4-clockmod
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.00 ms.
  hardware limits: 300 MHz - 2.40 GHz
  available frequency steps: 300 MHz, 600 MHz, 900 MHz, 1.20 GHz, 1.50 GHz, 1.80 GHz, 2.10 GHz, 2.40 GHz
  available cpufreq governors: userspace, performance
  current policy: frequency should be within 300 MHz and 2.40 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 2.40 GHz.
analyzing CPU 1:
  driver: p4-clockmod
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.00 ms.
  hardware limits: 300 MHz - 2.40 GHz
  available frequency steps: 300 MHz, 600 MHz, 900 MHz, 1.20 GHz, 1.50 GHz, 1.80 GHz, 2.10 GHz, 2.40 GHz
  available cpufreq governors: userspace, performance
  current policy: frequency should be within 300 MHz and 2.40 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency is 2.40 GHz.


$ cat /proc/cpuinfo
processor        : 0
vendor_id        : GenuineIntel
cpu family        : 6
model                : 15
model name        : Intel(R) Core(TM)2 Duo CPU    E4600  @ 2.40GHz
stepping        : 13
cpu MHz                : 2400.000
cache size        : 2048 KB
physical id        : 0
siblings        : 2
core id                : 0
cpu cores        : 2
apicid                : 0
initial apicid        : 0
fpu                : yes
fpu_exception        : yes
cpuid level        : 10
wp                : yes
flags                : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips        : 4800.12
clflush size        : 64
cache_alignment        : 64
address sizes        : 36 bits physical, 48 bits virtual
power management:

processor        : 1
vendor_id        : GenuineIntel
cpu family        : 6
model                : 15
model name        : Intel(R) Core(TM)2 Duo CPU    E4600  @ 2.40GHz
stepping        : 13
cpu MHz                : 2400.000
cache size        : 2048 KB
physical id        : 0
siblings        : 2
core id                : 1
cpu cores        : 2
apicid                : 1
initial apicid        : 1
fpu                : yes
fpu_exception        : yes
cpuid level        : 10
wp                : yes
flags                : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips        : 4798.89
clflush size        : 64
cache_alignment        : 64
address sizes        : 36 bits physical, 48 bits virtual
power management:


RottenMutt 11-22-2010 07:54 PM

i edited /etc/sysconfig/cpuspeed and added DRIVER="acpi-cpufreq" and it still uses the "p4-clockmod" driver. is there another file that needs to be edited?

modprobe gives me this:
Code:

sudo modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.34.7-56.SS4200.fc13.x86_64/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): Device or resource busy


RottenMutt 11-24-2010 09:08 PM

i've edited /etc/sysconfig/cpuspeed but it ignores the acpi driver and trys to use the p4 driver!?!?!
Code:

DRIVER="acpi-cpufreq"


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