modprobe powernow-k8: FATAL: Error inserting powernow_k8

Ekkard Gerlach egerlach at aiai.de
Mon Jun 22 09:48:13 UTC 2009


Hi, 
I try to run cool&quiet on LTS 8.04, installed yesterday, original kubuntu kernel.
I googl'ed much, but no solution found: 
   sudo modprobe powernow-k8 
results always in: 
   FATAL: Error inserting powernow_k8


Details: 
aptitude install powernowd  .. worked fine.

gerlach at rex4:/etc/X11$ sudo powernowd
powernowd: PowerNow Daemon v0.97, (c) 2003-2006 John Clemens
/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus: No such file or directory
powernowd: err=2
powernowd: Found 2 scalable units:  -- 1 'CPU' per scalable unit
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: No such file or directory

PowerNowd encountered and error and could not start.
Please make sure that:
 - You are running a v2.6.7 kernel or later
 - That you have sysfs mounted /sys
 - That you have the core cpufreq and cpufreq-userspace
   modules loaded into your kernel
 - That you have the cpufreq driver for your cpu loaded,
   (for example: powernow-k7), and that it works. Check
   'dmesg' for errors.
If all of the above are true, and you still have problems,
please email the author: clemej at alum.rpi.edu

google: does motherboard ASUS M2NPV-VM support cool&quite?
        YES ->  motherboard supports AMD socket AM2 single-core Athlon 64/ Sempron
        and dual-core Athlon 64 X2/ Athlon 64 FX 5D
        processors  with 2MB / 1MB / 512KB
        L2 cache, which is based on 64-bit architecture. It features 2000 / 1600 MT/s 
        HyperTransport Bus, dual-channel un-buffered DDR2 800 memory support and
        AMD Cool 'n' Quiet! Technology.
     But in my Phoenix BIOS I found nothing to cool&quite.


module are loaded:
gerlach at rex4:~$ lsmod | grep cpu
cpufreq_userspace       6180  0
cpufreq_stats           8416  0
cpufreq_conservative    10632  0
cpufreq_ondemand       11152  0
freq_table              6464  2 cpufreq_stats,cpufreq_ondemand
cpufreq_powersave       3200  0


gerlach at rex4:~$ lsmod | grep power
cpufreq_powersave       3200  0


gerlach at rex4:~$ sudo modprobe powernow-k8
FATAL: Error inserting powernow_k8 (/lib/modules/2.6.24-24-generic/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko): No such device
gerlach at rex4:~$ uname -a
Linux rex4 2.6.24-24-generic #1 SMP Wed Apr 15 15:11:35 UTC 2009 x86_64 GNU/Linux

gerlach at rex4:~$ sudo insmod /lib/modules/2.6.24-24-generic/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko
insmod: error inserting '/lib/modules/2.6.24-24-generic/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko': -1 No such device

# dmesg| grep cpu -i
gerlach at rex4:~$ dmesg | grep cpu -i
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] CPU has 2 num_cores
[    0.000000] Processor #0 (Bootup-CPU)
[    0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PERCPU: Allocating 34656 bytes of per cpu data
[    0.000000] Initializing CPU#0
[   23.968443] CPU 0: aperture @ 4000000 size 32 MB
[   24.065893] SLUB: Genslabs=12, HWalign=64, Order=0-1, MinObjects=4, CPUs=2, Nodes=1
[   24.150102] Initializing cgroup subsys cpuacct
[   24.150113] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[   24.150115] CPU: L2 Cache: 512K (64 bytes/line)
[   24.150118] CPU 0/0 -> Node 0
[   24.150120] CPU: Physical Processor ID: 0
[   24.150121] CPU: Processor Core ID: 0
[   24.562129] Initializing CPU#1
[   24.639482] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[   24.639484] CPU: L2 Cache: 512K (64 bytes/line)
[   24.639486] CPU 1/1 -> Node 0
[   24.639488] CPU: Physical Processor ID: 0
[   24.639489] CPU: Processor Core ID: 1
[   24.638299] Brought up 2 CPUs
[   24.638417] CPU0 attaching sched-domain:
[   24.638426] CPU1 attaching sched-domain:
[   24.773981] Switched to high resolution mode on CPU 0
[   24.775462] Switched to high resolution mode on CPU 1
[   25.527629] cpuidle: using governor ladder
[   25.527630] cpuidle: using governor menu
[   47.330432] powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ processors (2 cpu cores) (version 2.20.00)
[  759.720480] powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ processors (2 cpu cores) (version 2.20.00)
[  975.465914] powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ processors (2 cpu cores) (version 2.20.00)

alles in Ordnung!?

gerlach at rex4:~$ cat  /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 107
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping        : 2
cpu MHz         : 2204.599
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext 
fxsr_opt rdtscp lm
3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips        : 4412.78
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

processor       : 1
[...]


but cpufreq-set  not installed!
gerlach at rex4:~$ locate cpufreq-set
gerlach at rex4:~$ sudo cpufreq-set
sudo: cpufreq-set: command not found

==> sudo apt-get install cpufrequtils
==================================
gerlach at rex4:~$ cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Please send the bug to linux at brodo.de.
analyse CPU 0:
  no cpufreq-driver activ
analyse CPU 1:
  no cpufreq-driver activ


gerlach at rex4:~$ sudo modprobe powernow-k8
FATAL: Error inserting powernow_k8 (/lib/modules/2.6.24-24-generic/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko): No such device


tia
Ekkard




More information about the ubuntu-users mailing list