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

Dimitri John Ledkov launchpad at surgut.co.uk
Tue Mar 28 08:48:58 UTC 2017


looks good.

** Changed in: friendly-recovery (Ubuntu)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: friendly-recovery (Ubuntu)
    Milestone: None => ubuntu-17.04

-- 
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:
  New

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