LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-30-2009, 04:42 PM   #1
jadas
LQ Newbie
 
Registered: Dec 2007
Posts: 14

Rep: Reputation: 0
Cool 'n' Quiet on Phenom II[SOLVED]


EDIT:It seems powernow-k8 could not loaded properly

How can I make Cool 'n' Quiet work on Phenom II? In idle with Cool 'n' Quiet enabled it should be around 800Mhz. My distro is Mandriva 2009.1.
And here is some output from konsole:


command: cat /proc/cpuinfo
Code:
processor       : 3
vendor_id       : AuthenticAMD
cpu family      : 16         
model           : 4           
model name      : AMD Phenom(tm) II X4 810 Processor
stepping        : 2                                 
cpu MHz         : 2594.421                         
cache size      : 512 KB                           
physical id     : 0                                 
siblings        : 4                                 
core id         : 3                                 
cpu cores       : 4                                 
apicid          : 3                                 
initial apicid  : 3                                 
fdiv_bug        : no                               
hlt_bug         : no                               
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
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 pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni monitor cx16 lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips        : 5188.68
clflush size    : 64
power management: ts ttp tm stc 100mhzsteps hwpstate

command: cpufreq-info
Code:
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.   
analyzing CPU 0:                                             
  no or unknown cpufreq driver is active on this CPU         
analyzing CPU 1:                                             
  no or unknown cpufreq driver is active on this CPU         
analyzing CPU 2:                                             
  no or unknown cpufreq driver is active on this CPU         
analyzing CPU 3:                                             
  no or unknown cpufreq driver is active on this CPU

command: powernowd
Code:
powernowd: PowerNow Daemon v1.00, (c) 2003-2008 John Clemens
/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus: No such file or directory                                                       
powernowd: err=2                                                 
powernowd: Found 4 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.
Thanks in advance,
Jadas.

Last edited by jadas; 10-03-2009 at 11:51 AM.
 
Old 09-30-2009, 05:30 PM   #2
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,807

Rep: Reputation: 215Reputation: 215Reputation: 215
Try...

Which linux distribution are you using?

Have you activated control of the CPU frequency in the kernel with the package "cpufrequtil" and otherwise met the conditions listed in the last part of the results of "powernowd"?

Have you checked the BIOS setting, if any, for "Cool&Quiet"?

If you have, your post indicates you should check for possible problems with cpufreq loading.

Open a terminal and, with root privileges, use the command "lsmod" and "dmesg" to see what modules are loaded at boot, and post the results.

Last edited by thorkelljarl; 09-30-2009 at 05:40 PM.
 
Old 10-01-2009, 06:30 AM   #3
jadas
LQ Newbie
 
Registered: Dec 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Cool 'n' Quiet is enabled in BIOS.

I removed powernowd as it isn't needed.

Here is the output of: dmesg |grep -B 1 -A 5 -i cpu
Code:
[root@localhost cpufreq]# dmesg |grep -B 1 -A 5 -i cpu
Linux version 2.6.29.6-desktop-2mnb (qateam@titan.mandriva.com) (gcc version 4.3.2 (GCC) ) #1 SMP Sun Aug 16 23:23:47 EDT 2009      
KERNEL supported cpus:
  Intel GenuineIntel  
  AMD AuthenticAMD    
  NSC Geode by NSC    
  Cyrix CyrixInstead  
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC       
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e7000 - 0000000000100000 (reserved)
--
last_pfn = 0xc7fb0 max_arch_pfn = 0x100000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
kernel direct mapping tables up to 377fe000 @ 10000-15000       
RAMDISK: 03d91000 - 040fe29a                                    
ACPI: RSDP 000FB5A0, 0014 (r0 ACPIAM)                           
ACPI: RSDT C7FB0000, 0040 (r1 080409 RSDT1128 20090804 MSFT       97)                                                               
ACPI: FACP C7FB0200, 0084 (r2 A_M_I  OEMFACP  12000601 MSFT       97)                                                               
--
ACPI: HPET id: 0x8300 base: 0xfed00000
SMP: Allowing 4 CPUs, 0 hotplug CPUs
nr_irqs_gsi: 24                     
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e7000
PM: Registered nosave memory: 00000000000e7000 - 0000000000100000
Allocating PCI resources starting at cc000000 (gap: c8000000:37f00000)                                                              
NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:4 nr_node_ids:1
PERCPU: Allocating 40960 bytes of per cpu data
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 812607                                                         
Kernel command line: BOOT_IMAGE=linux root=UUID=70574bd5-fbba-4791-a80f-b22b4f0f3a70 resume=UUID=7c7cb028-1d4f-44e1-926e-e514f2a39bef                                                                 
Enabling fast FPU save and restore... done.                       
Enabling unmasked SIMD FPU exception support... done.             
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Fast TSC calibration using PIT                       
Detected 2593.954 MHz processor.                     
Console: colour dummy device 80x25                   
console [tty0] enabled                               
--
Checking if this processor honours the WP bit even in supervisor mode...Ok.                                                         
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1                                                             
hpet clockevent registered                                        
HPET: 4 timers in total, 1 timers will be used for per-cpu timer
Calibrating delay loop (skipped), value calculated using timer frequency.. 5187.90 BogoMIPS (lpj=2593954)                           
Security Framework initialized                                    
Mount-cache hash table entries: 512                               
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
using C1E aware idle routine                   
Checking 'hlt' instruction... OK.              
ACPI: Checking initramfs for custom DSDT       
ACPI: Core revision 20081204                   
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: AMD Phenom(tm) II X4 810 Processor stepping 02
Booting processor 1 APIC 0x1 ip 0x6000              
Initializing CPU#1
Calibrating delay using timer specific routine.. 5188.68 BogoMIPS (lpj=2594340)                                                     
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
CPU1: AMD Phenom(tm) II X4 810 Processor stepping 02
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Booting processor 2 APIC 0x2 ip 0x6000                
Initializing CPU#2
Calibrating delay using timer specific routine.. 5188.68 BogoMIPS (lpj=2594343)                                                     
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 2
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#2.
x86 PAT enabled: cpu 2, old 0x7040600070406, new 0x7010600070106
CPU2: AMD Phenom(tm) II X4 810 Processor stepping 02
checking TSC synchronization [CPU#0 -> CPU#2]: passed.
Booting processor 3 APIC 0x3 ip 0x6000                
Initializing CPU#3
Calibrating delay using timer specific routine.. 5188.68 BogoMIPS (lpj=2594340)                                                     
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 3
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#3.
x86 PAT enabled: cpu 3, old 0x7040600070406, new 0x7010600070106
CPU3: AMD Phenom(tm) II X4 810 Processor stepping 02
checking TSC synchronization [CPU#0 -> CPU#3]: passed.
Brought up 4 CPUs
Total of 4 processors activated (20753.95 BogoMIPS).
CPU0 attaching sched-domain:
 domain 0: span 0-3 level MC
  groups: 0 1 2 3           
CPU1 attaching sched-domain:
 domain 0: span 0-3 level MC
  groups: 1 2 3 0           
CPU2 attaching sched-domain:
 domain 0: span 0-3 level MC
  groups: 2 3 0 1           
CPU3 attaching sched-domain:
 domain 0: span 0-3 level MC
  groups: 3 0 1 2           
net_namespace: 1056 bytes   
Booting paravirtualized kernel on bare hardware
Time: 13:45:35  Date: 10/01/09                 
--
NET: Registered protocol family 1
checking if image is initramfs...<7>Switched to high resolution mode on CPU 1
Switched to high resolution mode on CPU 3
Switched to high resolution mode on CPU 2
Switched to high resolution mode on CPU 0
 it is                                   
Freeing initrd memory: 3508k freed       
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16ac)
apm: disabled - APM is not SMP safe.                    
audit: initializing netlink socket (disabled)           
--
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered        
Using IPI No-Shortcut mode  
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0                                                  
psmouse serio1: ID: 10 00 64<6>input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input1
PM: Resume from partition UUID=7c7cb028-1d4f-44e1-926e-e514f2a39bef
--
ACPI: Power Button (CM) [PWRB]
processor ACPI_CPU:00: registered as cooling_device0
ACPI: Processor [P001] (supports 8 throttling states)
processor ACPI_CPU:01: registered as cooling_device1
processor ACPI_CPU:02: registered as cooling_device2
processor ACPI_CPU:03: registered as cooling_device3
Linux agpgart interface v0.103
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ACPI: WMI: Mapper loaded
rtc_cmos 00:04: RTC can wake from S4

And here is the output of: lsmod
Code:
[root@localhost cpufreq]# lsmod
Module                  Size  Used by
xt_time                 2524  0      
xt_connlimit            3748  0      
xt_realm                1276  0      
iptable_raw             1820  0      
xt_comment              1276  18     
xt_policy               2748  0      
ipt_ULOG                9220  0      
ipt_TTL                 1724  0      
ipt_ttl                 1372  0      
ipt_REJECT              2812  2      
ipt_REDIRECT            2332  0      
ipt_NETMAP              2268  0      
ipt_MASQUERADE          3324  0      
ipt_LOG                 5824  6      
ipt_ECN                 2204  0      
ipt_ecn                 1756  0      
ipt_CLUSTERIP           7520  0      
ipt_ah                  1436  0      
ipt_addrtype            2204  4      
nf_nat_tftp             1308  0      
nf_nat_snmp_basic       8452  0      
nf_nat_sip              6428  0      
nf_nat_pptp             5340  0      
nf_nat_proto_gre        3456  1 nf_nat_pptp
nf_nat_irc              2332  0            
nf_nat_h323             8668  0            
nf_nat_ftp              3388  0            
nf_nat_amanda           1628  0            
ts_kmp                  2044  5            
nf_conntrack_amanda     3580  1 nf_nat_amanda
nf_conntrack_sane       5592  0              
nf_conntrack_tftp       5104  1 nf_nat_tftp  
nf_conntrack_sip       18544  1 nf_nat_sip   
nf_conntrack_proto_sctp    13220  0          
nf_conntrack_pptp      12544  1 nf_nat_pptp  
nf_conntrack_proto_gre     7584  1 nf_conntrack_pptp
nf_conntrack_netlink    16860  0                    
nf_conntrack_netbios_ns     2204  0                 
nf_conntrack_irc        6112  1 nf_nat_irc          
nf_conntrack_h323      60616  1 nf_nat_h323         
nf_conntrack_ftp       12704  1 nf_nat_ftp          
ipt_set                 1788  0                     
ipt_SET                 1980  0                     
ip_set_nethash          8132  0                     
ip_set_iptreemap        9300  0                     
ip_set_iptree           5956  0                     
ip_set_ipporthash       7236  0                     
ip_set_portmap          3716  0                     
ip_set_macipmap         3588  0                     
ip_set_ipmap            3492  0                     
ip_set_iphash           6628  0                     
ip_set                 19608  18 ipt_set,ipt_SET,ip_set_nethash,ip_set_iptreemap,ip_set_iptree,ip_set_ipporthash,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash                            
xt_tcpmss               1788  0                                   
xt_recent               9824  0                                   
xt_pkttype              1404  0                                   
xt_physdev              2124  0                                   
xt_owner                2332  0                                   
xt_NFQUEUE              1532  0                                   
xt_NFLOG                1468  0                                   
nfnetlink_log           8548  1 xt_NFLOG                          
xt_multiport            2940  5                                   
xt_MARK                 1884  0                                   
xt_mark                 1500  0                                   
xt_mac                  1372  0                                   
xt_limit                1888  0                                   
xt_length               1500  0                                   
xt_iprange              3388  0                                   
xt_helper               1788  0                                   
xt_hashlimit            9484  0                                   
xt_DSCP                 2908  0                                   
xt_dscp                 2140  0                                   
xt_dccp                 2692  0                                   
xt_conntrack            3484  0                                   
xt_CONNMARK             2620  0                                   
xt_connmark             1980  0                                   
xt_CLASSIFY             1308  0                                   
xt_tcpudp               2684  12                                  
xt_state                1820  8                                   
iptable_nat             6172  0                                   
nf_nat                 20816  12 ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,iptable_nat               
nf_conntrack_ipv4      15432  11 iptable_nat,nf_nat               
nf_defrag_ipv4          1692  1 nf_conntrack_ipv4                 
nf_conntrack           74532  31 xt_connlimit,ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_sane,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_proto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_netbios_ns,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4                         
iptable_mangle          2396  1                                   
nfnetlink               4276  2 nf_conntrack_netlink,nfnetlink_log
iptable_filter          2364  1                                   
ip_tables              11468  4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter                                               
x_tables               15424  47 xt_time,xt_connlimit,xt_realm,xt_comment,xt_policy,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_REJECT,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,ipt_set,ipt_SET,xt_tcpmss,xt_recent,xt_pkttype,xt_physdev,xt_owner,xt_NFQUEUE,xt_NFLOG,xt_multiport,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_iprange,xt_helper,xt_hashlimit,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,xt_tcpudp,xt_state,iptable_nat,ip_tables                      
vmnet                  40156  13                                  
ppdev                   7168  0                                   
parport_pc             35908  0                                   
parport                33900  2 ppdev,parport_pc                  
vmblock                12800  1                                   
vmci                   50228  0                                   
vmmon                  68336  0                                   
af_packet              17468  2                                   
ipv6                  269264  125                                 
vhba                    9852  1                                   
snd_hda_codec_atihdmi     3196  1                                 
snd_hda_codec_via      27904  1                                   
snd_hda_intel          25064  6                                   
snd_hda_codec          68284  3 snd_hda_codec_atihdmi,snd_hda_codec_via,snd_hda_intel                                               
r8169                  32512  0                                   
snd_hwdep               6880  1 snd_hda_codec                     
snd_seq_dummy           2464  0                                   
snd_seq_oss            29504  0                                   
mii                     5148  1 r8169                             
snd_seq_midi_event      6812  1 snd_seq_oss                       
snd_seq                48912  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event                                                        
snd_seq_device          6728  3 snd_seq_dummy,snd_seq_oss,snd_seq 
sr_mod                 14756  0                                   
sg                     28176  0                                   
snd_pcm_oss            37504  0                                   
snd_pcm                74496  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss                                                             
snd_timer              20932  2 snd_seq,snd_pcm                   
snd_mixer_oss          14428  1 snd_pcm_oss                       
snd                    56516  21 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss                                                 
soundcore               6976  1 snd                               
snd_page_alloc          8708  2 snd_hda_intel,snd_pcm             
i2c_piix4              11628  0                                   
pcspkr                  2268  0                                   
i2c_core               30992  1 i2c_piix4                         
fglrx                1966568  34                                  
binfmt_misc             8004  1                                   
fuse                   54168  14                                  
ohci_hcd               32300  0                                   
ehci_hcd               48616  0                                   
usbcore               179280  3 ohci_hcd,ehci_hcd                 
rtc_cmos               12044  0                                   
wmi                     6824  0                                   
cpufreq_ondemand        6728  0                                   
freq_table              4380  1 cpufreq_ondemand                  
cpufreq_conservative     6052  0                                  
cpufreq_powersave       1308  0                                   
floppy                 53380  0                                   
evdev                   9344  7
ati_agp                 6632  0
agpgart                33928  2 fglrx,ati_agp
thermal                15192  0
processor              40040  1 thermal
button                  5836  0
pata_atiixp             4412  5
ata_piix               22112  0
ahci                   30156  5
libata                171884  3 pata_atiixp,ata_piix,ahci
sd_mod                 33944  12
scsi_mod              150772  5 vhba,sr_mod,sg,libata,sd_mod
crc_t10dif              1628  1 sd_mod
ext3                  125412  3
jbd                    46800  1 ext3

Last edited by jadas; 10-01-2009 at 06:49 AM.
 
  


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
Nvidia video card - powerful, but cool and quiet sadarax Linux - General 4 05-21-2008 01:45 AM
What non-bloated minimalistic server-dist? Want Cool 'n Quiet to work Seb74 Linux - Newbie 16 10-14-2006 04:41 PM
athlon64 cool and quiet driver linuxmandrake Debian 1 10-19-2005 10:22 AM
AMD Cool&Quiet Support in Fedora Core 4 Gwydion The Quick Linux - Hardware 3 09-08-2005 03:06 PM
enabling amd cool 'n' quiet on mandrake 10.1 guy24x Mandriva 3 03-24-2005 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration