/etc/init.d/ondemand assumes cpu0 exists and is online

Bug #1389309 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Debian)
Fix Released
Unknown
sysvinit (Ubuntu)
Fix Released
Low
Adam Conrad

Bug Description

I have a ppc64el box with a couple of processors disabled because of hardware issues:

# head /proc/cpuinfo
processor : 16

The ondemand initscript assumes cpu0 is online:

AVAILABLE="/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors"

I also opened a bug on Debian and proposed a patch that seems to fix this problem. It is bug#767942

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767942

Revision history for this message
bugproxy (bugproxy) wrote : ondemand script fails when cpu0 is not available

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-118367 severity-medium targetmilestone-inin1410
Luciano Chavez (lnx1138)
affects: ubuntu → sysvinit (Ubuntu)
bugproxy (bugproxy)
tags: added: targetmilestone-inin1504
removed: targetmilestone-inin1410
Changed in sysvinit (Ubuntu):
assignee: nobody → Taco Screen team (taco-screen-team)
bugproxy (bugproxy)
tags: added: targetmilestone-inin1604
removed: targetmilestone-inin1504
Steve Langasek (vorlon)
Changed in sysvinit (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → Adam Conrad (adconrad)
importance: Undecided → Low
status: New → Triaged
Changed in sysvinit (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sysvinit - 2.88dsf-59.3ubuntu5

---------------
sysvinit (2.88dsf-59.3ubuntu5) yakkety; urgency=medium

  * Deal with the case where cpu0 might be offline; pick the first available
    CPU in the list of online CPUs. (LP: #1389309)

 -- Mathieu Trudel-Lapierre <email address hidden> Wed, 27 Apr 2016 13:20:33 -0400

Changed in sysvinit (Ubuntu):
status: Triaged → Fix Released
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.