[Expired for linux (Ubuntu) because there has been no activity for 60 days.]
** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1035050 Title: Unable to set scaling frequency on cpu with Precise server Status in “linux” package in Ubuntu: Expired Bug description: I noticed this on a machine I won't have access to any longer after filing this :( but I'm fairly sure this is not specific to this machine. While testing, the cpu frequency scaling tests failed. Looking a bit into what's going in, the problem is that the test is unable to set the scaling frequency in sysfs. I did some digging and in some cases this is due to the governor being used at the time. The userspace governor has to be A: supported by the kernel and B: in use before you can do anything with scaling_setfrequency. So here's what I see: leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ cat scaling_governor userspace leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ cat scaling_setspeed 1200000 leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ cat scaling_cur_freq 1200000 leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ cat scaling_driver acpi-cpufreq leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ cat scaling_available_frequencies 2601000 2600000 2500000 2400000 2300000 2200000 2100000 2000000 1900000 1800000 1700000 1600000 1500000 1400000 1300000 1200000 leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ sudo echo 2600000 > scaling_setspeed -bash: scaling_setspeed: Permission denied leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ sudo echo "2600000" > scaling_setspeed -bash: scaling_setspeed: Permission denied leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ sudo echo "2600000" >> scaling_setspeed -bash: scaling_setspeed: Permission denied leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ sudo echo 2600000 >> scaling_setspeed -bash: scaling_setspeed: Permission denied And in the kernel config: leo@ubuntu:/sys/devices/system/cpu/cpu0/cpufreq$ grep -i userspace /boot/config-3.2.0-23-generic # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_GOV_USERSPACE=y # CONFIG_DM_LOG_USERSPACE is not set CONFIG_REGULATOR_USERSPACE_CONSUMER=m CONFIG_DEVFREQ_GOV_USERSPACE=y CONFIG_OCFS2_FS_USERSPACE_CLUSTER=m # CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER is not set So everything appears to be in place, but I just can't change the frequency... --- AlsaDevices: total 0 crw-rw---T 1 root audio 116, 1 Aug 8 15:09 seq crw-rw---T 1 root audio 116, 33 Aug 8 15:09 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.0.1-0ubuntu5 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: Error: [Errno 2] No such file or directory DistroRelease: Ubuntu 12.04 HibernationDevice: RESUME=UUID=e0b9d529-6f55-4fb6-b76d-d82b076ccc96 InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1) IwConfig: lo no wireless extensions. eth1 no wireless extensions. eth0 no wireless extensions. MachineType: Quanta S210-X12RS Package: linux (not installed) PciMultimedia: ProcEnviron: LANGUAGE=en_US:en TERM=xterm LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 VESA VGA ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=c37eac21-f72f-44ad-b8e8-dd4945cc3582 ro ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14 RelatedPackageVersions: linux-restricted-modules-3.2.0-23-generic N/A linux-backports-modules-3.2.0-23-generic N/A linux-firmware 1.79 RfKill: Error: [Errno 2] No such file or directory StagingDrivers: mei Tags: precise staging Uname: Linux 3.2.0-23-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo WifiSyslog: dmi.bios.date: 07/05/2012 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: S2RS3A15 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: S210-X12RS dmi.board.vendor: Quanta dmi.board.version: 31S2RMB0050 dmi.chassis.asset.tag: To be filled by O.E.M. dmi.chassis.type: 17 dmi.chassis.vendor: Quanta dmi.chassis.version: To be filled by O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrS2RS3A15:bd07/05/2012:svnQuanta:pnS210-X12RS:pvrTobefilledbyO.E.M.:rvnQuanta:rnS210-X12RS:rvr31S2RMB0050:cvnQuanta:ct17:cvrTobefilledbyO.E.M.: dmi.product.name: S210-X12RS dmi.product.version: To be filled by O.E.M. dmi.sys.vendor: Quanta To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1035050/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp