cpu/offlining test fails on armhf

Bug #1053594 reported by Chris Wayne
This bug report is a duplicate of:  Bug #1328943: Offlining test fails on Arm64. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
In Progress
Low
Jeff Lane 

Bug Description

Environment: Panda board ES rev b1
Image: 12.04 preinstalled omap4 desktop image
checkbox version: trunk (bzr rev 1676)

Summary:

cpu/offlining test fails on armhf with the following error:
./scripts/cpu_offlining: line 11: echo: write error: Operation not permitted ERROR: Failed to offline cpu0 ./scripts/cpu_offlining: line 25: echo: write error: Invalid argument

Steps to reproduce:
1) bzr branch lp:checkbox
2) Run checkbox from source
3) Note test fails with given error

Tags: armhf
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Chris, can you tell us what's under /sys/devices/system/cpu on the Pandaboard (since I don't have access to mine)?

Changed in checkbox:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for checkbox because there has been no activity for 60 days.]

Changed in checkbox:
status: Incomplete → Expired
Chris Wayne (cwayne)
Changed in checkbox:
status: Expired → New
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

I'm sure there's some difference in the /sys/devices/system/cpu tree on ARM vs x86, so I'll confirm this. Needs a closer examination though

Changed in checkbox:
status: New → Confirmed
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

CPU0 is special and on some arm platforms cannot be offlined.

Revision history for this message
Jeff Lane  (bladernr) wrote :

Proposed fix... just not do it at all for CPU0...

The current code offilnes everything that has an online feature in /sys/devices/system/cpu/cpuX.

Changed in checkbox:
importance: Undecided → Low
status: Confirmed → In Progress
assignee: nobody → Jeff Lane (bladernr)
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Is this still in progress?

affects: checkbox → plainbox-provider-checkbox
Revision history for this message
Jeff Lane  (bladernr) wrote :

This is also seen on some arm64 boards. Some arm systems expose the offlining interface and some do not, and some may expose it but don't make it accessible. The other bug is being actively worked on to remedy this.

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.