← Back to team overview

kernel-packages team mailing list archive

[Bug 1050843] Re: scaling_max_freq always on lowest

 

[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/1050843

Title:
  scaling_max_freq always on lowest

Status in “linux” package in Ubuntu:
  Expired

Bug description:
  Hi,

  I have HP EliteBook 8440p with quadcore CPU, using Ubuntu 12.04 and Gnome-Shell 3 using two bateries.
  I noticed following:
  When batery comes under certain available power and/or when laptop is on power adapter and bateries are charging, until bateries are over 85% (not sure correct number), I can't change scaling_max_freq to maximum number.
  It stays on lowest possible freq and can't be changed.
  When bateries are over 85%, I can change this file.

  vi says : "E667: Fsync failed" when I try to save the chages.
  echo 2534000 > scaling_max_freq doesn't say anything, it just silently does nothing.
  I am using performance governor.

  This is my rc.local which I use to set frequencies and governour:
  echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
  echo performance > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
  echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

  echo 2534000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
  echo 2534000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
  echo 2534000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
  echo 2534000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

  And here is my /etc/sysfs.conf
  devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
  devices/system/cpu/cpu1/cpufreq/scaling_governor = performance
  devices/system/cpu/cpu2/cpufreq/scaling_governor = performance
  devices/system/cpu/cpu3/cpufreq/scaling_governor = performance  

  devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2534000
  devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2534000
  devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2534000
  devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2534000

  /etc/init.d/ondemand is disabled.

  I changed all this files, because I got performance problems (cpu on maximum when using firefox and laptop was draging).
  Then I noticed that I can set cpu (with indicator-cpufreq) to more then minimum freq, so I found out that my scaling_max_freq is also on lowest frequency.

  uname -a
  Linux 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

  Bug is similar to this bugs?
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/396432
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/242006
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  rodiger    2553 F.... pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xd4720000 irq 48'
     Mixer name	: 'Intel IbexPeak HDMI'
     Components	: 'HDA:111d7603,103c172a,00100202 HDA:80862804,80860101,00100000'
     Controls      : 37
     Simple ctrls  : 13
  CurrentDmesg:
   Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
   dmesg: write failed: Broken pipe
  DistroRelease: Ubuntu 12.04
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MachineType: Hewlett-Packard HP EliteBook 8440p
  Package: linux (not installed)
  PccardctlStatus:
   Socket 0:
     3.3V
    16-bit
    PC Card
     Subdevice 0 (function 0) bound to driver "pata_pcmcia"
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-31-generic root=UUID=3fe8e16b-1daf-4197-8604-40a9f6f338cd ro splash quiet vt.handoff=7
  ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
  Tags:  precise
  Uname: Linux 3.2.0-31-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: davfs2 sudo
  WifiSyslog:
   
  dmi.bios.date: 03/09/2011
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 68CCU Ver. F.12
  dmi.board.name: 172A
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 30.31
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr68CCUVer.F.12:bd03/09/2011:svnHewlett-Packard:pnHPEliteBook8440p:pvr:rvnHewlett-Packard:rn172A:rvrKBCVersion30.31:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP EliteBook 8440p
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1050843/+subscriptions