No cool n' quiet for amd phenom processors

Bug #198589 reported by gwydion.dot
14
Affects Status Importance Assigned to Milestone
powernowd (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I've installed Ubuntu hardy (last version). When I log in into gnome, I get the message my CPU can't use the cool n' quiet mode.
I think there is something missing in the kernel, on my gentoo installation it will work very well.

My system:

lspci:
00:00.0 Host bridge: ATI Technologies Inc RX780/RX790 Chipset Host Bridge
00:02.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (external gfx0 port A)
00:0a.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port F)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Link Control
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600 GTS (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
03:06.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
03:06.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
03:06.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
03:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)

cat /proc/cpuinfo:
processor : 3
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : AMD Phenom(tm) 9600 Quad-Core Processor
stepping : 2
cpu MHz : 2310.530
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 : 4561.25
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

uname -a:
Linux gwydion-phenom 2.6.24-11-generic #1 SMP Fri Feb 29 21:26:31 UTC 2008 x86_64 GNU/Linux

dmesg | grep 'CPU':
[ 0.000000] PERCPU: Allocating 34656 bytes of per cpu data
[ 34.377600] cpuidle: using governor ladder
[ 34.377602] cpuidle: using governor menu
gwydion-dot@gwydion-phenom:~$ dmesg | grep 'CPU'
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] SMP: Allowing 4 CPUs, 0 hotplug CPUs
[ 0.000000] PERCPU: Allocating 34656 bytes of per cpu data
[ 0.000000] Initializing CPU#0
[ 32.540978] CPU 0: aperture @ 8804000000 size 32 MB
[ 32.570128] SLUB: Genslabs=12, HWalign=64, Order=0-1, MinObjects=4, CPUs=4, Nodes=1
[ 32.749086] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 32.749088] CPU: L2 Cache: 512K (64 bytes/line)
[ 32.749090] CPU 0/0 -> Node 0
[ 32.749092] CPU: Physical Processor ID: 0
[ 32.749094] CPU: Processor Core ID: 0
[ 33.227183] Initializing CPU#1
[ 33.305282] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 33.305284] CPU: L2 Cache: 512K (64 bytes/line)
[ 33.305286] CPU 1/1 -> Node 0
[ 33.305288] CPU: Physical Processor ID: 0
[ 33.305289] CPU: Processor Core ID: 2
[ 33.313077] Initializing CPU#2
[ 33.391472] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 33.391474] CPU: L2 Cache: 512K (64 bytes/line)
[ 33.391476] CPU 2/2 -> Node 0
[ 33.391478] CPU: Physical Processor ID: 0
[ 33.391479] CPU: Processor Core ID: 1
[ 33.399117] Initializing CPU#3
[ 33.477662] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 33.477664] CPU: L2 Cache: 512K (64 bytes/line)
[ 33.477666] CPU 3/3 -> Node 0
[ 33.477667] CPU: Physical Processor ID: 0
[ 33.477668] CPU: Processor Core ID: 3
[ 33.477978] Brought up 4 CPUs
[ 33.478993] CPU0 attaching sched-domain:
[ 33.479003] CPU1 attaching sched-domain:
[ 33.479010] CPU2 attaching sched-domain:
[ 33.479016] CPU3 attaching sched-domain:
[ 33.536443] Switched to high resolution mode on CPU 0
[ 33.536742] Switched to high resolution mode on CPU 1
[ 33.536744] Switched to high resolution mode on CPU 3
[ 33.536749] Switched to high resolution mode on CPU 2

Tags: cft-2.6.27
description: updated
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi gwydion.dot,

Care to take screenshot of the message you see and attach it to this bug report. Also care to attach your full dmesg output? Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
gwydion.dot (gwydion-dot) wrote :

The error warning

Revision history for this message
gwydion.dot (gwydion-dot) wrote :

dmesg output

Changed in linux:
status: Incomplete → New
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
isecore (isecore) wrote :

Any news on this? I'm running a Phenom 9500 and would really like to be able to use this. I'm running Hardy Alpha 6.

Revision history for this message
Robert Rettig (info-robert-rettig) wrote :

Any news?

Revision history for this message
Robert Rettig (info-robert-rettig) wrote :

i solved that problem by installing packages
cpufreqd
cpufrequtils

and inserting the module
powernow-k8
in /etc/modules

patching the module powernow-k8 for resolving the new cpu phenom automatically would be the best

Revision history for this message
Adam Petaccia (mighmos) wrote :

I can confirm zf5WY05x3fmAYrtD's work-around.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Wouter de Groot (donteatcheese) wrote :

Leann:
The problem is not with that kernel, the problem is with powernowd not loading powernow-k8 because its script at /usr/share/powernowd/cpu-detect.sh is setup only for k8 processors with family 15. I've filed a separate bug report with included patch to enable Phenom and newer mobile Turion chips to function. The 2.6.27 kernel that's been released for Intrepid so far works with that patch and allows these processors to function properly.

Bug is located here: https://bugs.launchpad.net/ubuntu/+source/powernowd/+bug/261608

For my mobile Turion (family 17) the patch enables the powernow module without the need to install additional packages.
For Hardy, the script should work for Phenom, but the kernel module will not support these Turion chips according to my tests. If you have such a module, that patch will make powernowd load the module for your chip and fail, causing Ubuntu to hang at boot.

Summary: Hardy's kernel works with Phenom but needs a minor patch in powernowd's script to load the module. Intrepid supports Phenom and the new Turion chips, but needs a similar patch. In both cases no additional packages need to be installed.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks for the update. Reassigning this to powernowd and will mark as a dup of 261608. Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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