AMD CPU Family #16 missing in /usr/share/powernowd/cpufreq-detect.sh

Bug #226855 reported by Lupe Christoph
12
Affects Status Importance Assigned to Milestone
powernowd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

AMD introduced a new family for the Phenom processor (I guess...). That family is not understood by cpufreq-detect.sh.

This probably resolves #198589, No cool n' quiet for amd phenom processors.

Revision history for this message
Lupe Christoph (lupe) wrote :
Revision history for this message
rhi (rhi-deactivatedaccount) wrote :

* Can confirm this problem: AMD Phenom processor is not recognized by cpufreq-detect.sh so powernowd doesn't load and CPU freq. scaling is not support by default (which is bad)
* Can confirm that this patch fixes the problem

Revision history for this message
rhi (rhi-deactivatedaccount) wrote :

(Ubuntu 8.04 AMD64)

Revision history for this message
rhi (rhi-deactivatedaccount) wrote :

Hm cpufreq-detect seems to detect the module now, but I just rebootet and powernow-k8 didn't get loaded anyway. cpuinfo showed full speed for all CPUs (while idling), then I manually loaded powernow-k8 and the cpu freq immediately went down

Revision history for this message
Lupe Christoph (lupe) wrote : Re: [Bug 226855] Re: AMD CPU Family #16 missing in /usr/share/powernowd/cpufreq-detect.sh

On Monday, 2008-05-12 at 09:47:58 -0000, Richard Hirner wrote:
> Hm cpufreq-detect seems to detect the module now, but I just rebootet
> and powernow-k8 didn't get loaded anyway. cpuinfo showed full speed for
> all CPUs (while idling), then I manually loaded powernow-k8 and the cpu
> freq immediately went down

I have done the following test:
1) remove the powernowd package
2) Reboot and check CPU throttling
   When I log into Gnome, I get a warning that CPU frequency scaling is
   unsupported. powernow-k8 is not loaded.
3) Install the powernowd package.
   The installation tries to start CPU frequency scaling and warns that
   it is not supported. This is from /etc/init.d/powernowd
4) Reboot and check CPU throttling
   Again, when I log into Gnome, I get a warning that CPU frequency
   scaling is unsupported. powernow-k8 is not loaded.
5) Change line 76 of /usr/share/powernowd/cpufreq-detect.sh to
   15|16)
6) Reboot and check CPU throttling
   No warning, CPU frequency scaling works, powernow-k8 module is
   loaded.

To compare, here is one core from /proc/cpuinfo:

processor : 3
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : AMD Phenom(tm) 9750 Quad-Core Processor
stepping : 3
cpu MHz : 1200.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
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 rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
bogomips : 4800.40
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

HTH,
Lupe Christoph
--
| The whole aim of practical politics is to keep the populace alarmed |
| (and hence clamorous to be led to safety) by menacing it with an |
| endless series of hobgoblins, all of them imaginary. |
| H. L. Mencken, "In Defense of Women", 1918 |

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

debdiff with the change in cpufreq-detect.sh

Changed in powernowd:
status: New → In Progress
Changed in powernowd:
status: In Progress → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

powernowd (1.00-1ubuntu2) intrepid; urgency=low

  * Load powernow-k8 on AMD Family 10h (Phenom) and 11h (Griffin/Puma)
    processors (thanks, Wouter de Groot; LP: #261608).

 -- Colin Watson <email address hidden> Tue, 16 Sep 2008 00:36:05 +0100

Changed in powernowd:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.