[Bug 1675824] Re: system-summary fails due to missing file /sys/.../scaling_available_frequencies

Launchpad Bug Tracker 1675824 at bugs.launchpad.net
Mon Apr 3 11:48:01 UTC 2017


This bug was fixed in the package friendly-recovery - 0.2.35

---------------
friendly-recovery (0.2.35) experimental; urgency=medium

  * friendly-recovery.service: trigger and settle udevadm before
    launching, drop broken settle down commands. Thanks to Alkis
    Georgopoulos. LP: #1675805
  * system-summary: improve cpu_freq reading, and make the script
    resilient to failures of reading cpu_freq. LP: #1675824

 -- Dimitri John Ledkov <xnox at ubuntu.com>  Wed, 29 Mar 2017 17:04:51
+0100

** Changed in: friendly-recovery (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to friendly-recovery in Ubuntu.
https://bugs.launchpad.net/bugs/1675824

Title:
  system-summary fails due to missing file
  /sys/.../scaling_available_frequencies

Status in friendly-recovery package in Ubuntu:
  Fix Released

Bug description:
  The system-summary menu of friendly-recovery dies in many different
  CPUs:

  sh /lib/recovery-mode/options/system-summary 
  cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies: No such file or directory
  /lib/recovery-mode/options/system-summary: 29: /lib/recovery-mode/options/system-summary: arithmetic expression: expecting primary: " / 1000"

  I tested in 16.04 and in 17.04, with many different CPUs:
  Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz
  AMD Phenom(tm) II X6 1090T Processor
  Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz

  On the other hand, that file did exist on the following CPUs:
  Pentium(R) Dual-Core  CPU      E5300  @ 2.60GHz
  Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz

  So the code needs to cope with that file possibly missing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1675824/+subscriptions



More information about the foundations-bugs mailing list