Can not adjust CPU frequency

Bug #786897 reported by Nicolai_J.
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

At Ubuntu 11.04 x64 I can not choose the CPU frequency mode on my Toshiba Satellite C660D-10P notebook.
Both cores of the CPU (AMD Athlon II X2 P340) run permanently with 800Mhz instead of 2.2Ghz or 1.6Ghz. When I run "cpufreq-selector -c 0 -g performance" (and with "-c 1" option for the 2nd core, too) the CPU core frequency doesn't increases to 2.2Ghz. The profiles conservative, ondemand and userspace doesn't work, too.

PS: At Ubuntu 10.04.1 x64 I can choose the CPU frequency.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-9-generic 2.6.38-9.43
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC259 Analog [ALC259 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC259 Analog [ALC259 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: nk 1627 F.... pulseaudio
CRDA:
 country DE:
  (2400 - 2483 @ 40), (N/A, 20)
  (5150 - 5250 @ 40), (N/A, 20), NO-OUTDOOR
  (5250 - 5350 @ 40), (N/A, 20), NO-OUTDOOR, DFS
  (5470 - 5725 @ 40), (N/A, 26), DFS
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xff700000 irq 16'
   Mixer name : 'Realtek ALC259'
   Components : 'HDA:10ec0269,1179fd3d,00100100'
   Controls : 13
   Simple ctrls : 8
Date: Mon May 23 11:01:14 2011
HibernationDevice: RESUME=UUID=a62c2468-edad-4860-9ea0-1b1b684dff1d
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 002: ID 0bda:0138 Realtek Semiconductor Corp.
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: TOSHIBA Satellite C660D
ProcEnviron:
 LANGUAGE=de_DE:en
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-9-generic root=UUID=030271bf-b0cf-4729-98a9-9466c10bfd14 ro video=uvesafb:mode_option=1024x768-24,mtrr=3,scroll=ywrap quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-9-generic N/A
 linux-backports-modules-2.6.38-9-generic N/A
 linux-firmware 1.52
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to natty on 2011-04-20 (33 days ago)
dmi.bios.date: 09/04/2010
dmi.bios.vendor: TOSHIBA
dmi.bios.version: 1.00
dmi.board.asset.tag: NULL
dmi.board.name: PWWAE
dmi.board.vendor: TOSHIBA
dmi.board.version: 1.00
dmi.chassis.asset.tag: *
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnTOSHIBA:bvr1.00:bd09/04/2010:svnTOSHIBA:pnSatelliteC660D:pvrPSC0UE-00D001GR:rvnTOSHIBA:rnPWWAE:rvr1.00:cvnTOSHIBA:ct10:cvrN/A:
dmi.product.name: Satellite C660D
dmi.product.version: PSC0UE-00D001GR
dmi.sys.vendor: TOSHIBA

Revision history for this message
Nicolai_J. (fireandfuel) wrote :
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Hi,

Thanks for taking the time to report this bug. Just one more piece of info that might be useful for debugging this issue (since it does seem to be specific to your CPU or system at the moment) is the contents of the following files after running cpufreq-selector:

/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Thanks,

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Nicolai_J. (fireandfuel) wrote :

/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:
800000

/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:
conservative ondemand userspace powersave performance

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:
performance

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Thanks for providing the info. I would say this is definitely a bug then. I'd lean towards medium importance since it's stopping you from getting all your CPU cycles (apparently). That's assuming the content of cpuinfo_cur_freq isn't false somehow.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
C de-Avillez (hggdh2) wrote :

Marking as Medium per brendand's request.

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: regression-release
Revision history for this message
Nicolai_J. (fireandfuel) wrote :

The system is generally slower than before. It the content of cpuinfo_cur_freq seems to be correct.

For me, it sounds like:
Even the driver is broken or cpufreq-selector do nothing (security policies conflict or bad configuration?).

Revision history for this message
A.Kromic (akromic) wrote :

It's possible this is a duplicate of Bug #706089 which I reported earlier.

A test to check if this is the same case would be to use an older kernel, up to the exact version 2.6.32-24 because in my case frequency scaling works normally that way, but not with later kernels! I guess it is the same problem since the reporter says it works fine with Lucid.

If you have Lucid installed on your machine, could you try booting kernels older and newer than the above version to check this?

Revision history for this message
Nicolai_J. (fireandfuel) wrote :

I don't have problems frequency scalling at Lucid's default kernel (2.6.32.X). There it works perfectly (via liveCD).
Linux 2.6.35.X (which is installed default by Maverick) doesn't work due of ACPI problems.

Therefore this bug is not a duplicate of #706089.

PS: At whose who affects this bug, too: Please post informations about the CPU and the content of the files from post 2 (see above).

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Please don't mark this as a duplicate unless you're sure your hardware is the same.

Revision history for this message
A.Kromic (akromic) wrote :

@Brendan Donegan: couldn't it still be that both problems have the same cause, although the hardware is different? The symptoms seem exactly the same (lowest frequency, same cpu /sys files contents etc.)...

@firefuel: I would be very interested if you could check if Lucid (not only Maverick and Natty) with kernels (2.6.32-X), versions from 2.6.32-25 and above, are those capable of scaling your CPU's frequency? Perhaps you could install it to a usb-drive if you have some time to spare...

If you get the same results that would point to the direction of problem being in the kernel, and one that was introduced in the 2.6.32-25 version...

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

A.Kromic,

It could well be, but with (potential) kernel bugs the best practice is to never duplicate, as the problem could be architecture specific or caused by certain drivers. Best to let them be investigated individually.

It's different with user space bugs as the code will be the same no matter what hardware it's running on, so a lot easier to say 'same symptom, same fix'

Revision history for this message
Nicolai_J. (fireandfuel) wrote :

Fix from bug #706089 works, marked as duplicate.

Revision history for this message
penalvch (penalvch) wrote :

Nicolai_J., this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. As well, please comment on which kernel version specifically you tested.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream', and comment as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Miroslav Milanovic (miroslav-milanovic) wrote :

Confirmed with Kubuntu 13.4 on a Lenovo B590

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Miroslav Milanovic, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.