2018-03-27 15:51:08 |
bugproxy |
bug |
|
|
added bug |
2018-03-27 15:51:11 |
bugproxy |
tags |
|
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 |
|
2018-03-27 15:51:12 |
bugproxy |
ubuntu: assignee |
|
Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
|
2018-03-27 15:51:14 |
bugproxy |
affects |
ubuntu |
linux (Ubuntu) |
|
2018-03-27 16:21:33 |
Frank Heimes |
bug task added |
|
ubuntu-power-systems |
|
2018-03-27 16:21:41 |
Frank Heimes |
ubuntu-power-systems: importance |
Undecided |
Medium |
|
2018-03-27 16:21:46 |
Frank Heimes |
ubuntu-power-systems: status |
New |
Triaged |
|
2018-03-27 16:21:59 |
Frank Heimes |
ubuntu-power-systems: assignee |
|
Canonical Kernel Team (canonical-kernel-team) |
|
2018-03-27 16:22:16 |
Frank Heimes |
tags |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 triage-g |
|
2018-03-27 21:41:06 |
Joseph Salisbury |
linux (Ubuntu): status |
New |
Triaged |
|
2018-03-27 21:41:09 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2018-03-27 21:41:16 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Artful |
|
2018-03-27 21:41:16 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Artful) |
|
2018-03-27 21:41:24 |
Joseph Salisbury |
linux (Ubuntu Artful): importance |
Undecided |
Medium |
|
2018-03-27 21:41:27 |
Joseph Salisbury |
linux (Ubuntu Artful): status |
New |
Triaged |
|
2018-03-27 21:41:31 |
Joseph Salisbury |
linux (Ubuntu Artful): assignee |
|
Joseph Salisbury (jsalisbury) |
|
2018-03-27 21:41:33 |
Joseph Salisbury |
linux (Ubuntu): assignee |
Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
Joseph Salisbury (jsalisbury) |
|
2018-03-27 21:48:01 |
Joseph Salisbury |
linux (Ubuntu Artful): status |
Triaged |
In Progress |
|
2018-03-27 21:48:04 |
Joseph Salisbury |
linux (Ubuntu): status |
Triaged |
In Progress |
|
2018-03-27 21:48:12 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Bionic |
|
2018-03-27 21:48:12 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Bionic) |
|
2018-03-28 05:39:03 |
Frank Heimes |
ubuntu-power-systems: status |
Triaged |
In Progress |
|
2018-03-30 19:33:06 |
Joseph Salisbury |
description |
---Problem Description---
AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu 17.10
---Additional Hardware Info---
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 176
On-line CPU(s) list: 0-175
Thread(s) per core: 4
Core(s) per socket: 22
Socket(s): 2
NUMA node(s): 8
Model: 2.2 (pvr 004e 1202)
Model name: POWER9, altivec supported
CPU max MHz: 2800.0000
CPU min MHz: 2300.0000
L1d cache: 32K
L1i cache: 32K
L2 cache: 512K
L3 cache: 10240K
NUMA node0 CPU(s): 0-87
NUMA node8 CPU(s): 88-175
NUMA node250 CPU(s):
NUMA node251 CPU(s):
NUMA node252 CPU(s):
NUMA node253 CPU(s):
NUMA node254 CPU(s):
NUMA node255 CPU(s):
Machine Type = P9, DD2.2, Witherspoon, baremetal
---Steps to Reproduce---
AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal machines causing trouble to userspace tools and software that relie on that information, notably operf and opreport (from oprofile 1.2.0+) will refuse to run without that information show a error message like:
gromero@ltc-wspoon3:/boot$ operf
NULL returned for one or both of AT_PLATFORM/AT_BASE_PLATFORM
AT_PLATFORM: power9; AT_BASE_PLATFORM: (null)
Unable to obtain cpu_type
Verify that a pre-1.0 version of OProfile is not in use.
If the /dev/oprofile/cpu_type file exists, locate the pre-1.0 OProfile
installation, and use its 'opcontrol' command, passing the --deinit option.
Unable to ascertain cpu type. Exiting.
---uname output---
linux-image-4.13.0-36-generic 4.13.0-36.40
Userspace tool common name: operf, opreport
Dear maintainer. please consider applying the following fix that's already available upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=e4b79900222b8cccd4da4a7a89581f
Thank you. |
== SRU Justification ==
AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal machines
causing trouble to userspace tools and software that rely on that information,
notably operf and opreport (from oprofile 1.2.0+) will refuse to run without
that information.
This bug is fixed by commit e4b79900222b, which is in linux-next and just
landed in mainline, but is not contained in any release as of yet.
== Fix ==
e4b79900222b ("powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features")
== Regression Potential ==
Low. Limited to powerpc.
== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.
---Problem Description---
AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu 17.10
---Additional Hardware Info---
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 176
On-line CPU(s) list: 0-175
Thread(s) per core: 4
Core(s) per socket: 22
Socket(s): 2
NUMA node(s): 8
Model: 2.2 (pvr 004e 1202)
Model name: POWER9, altivec supported
CPU max MHz: 2800.0000
CPU min MHz: 2300.0000
L1d cache: 32K
L1i cache: 32K
L2 cache: 512K
L3 cache: 10240K
NUMA node0 CPU(s): 0-87
NUMA node8 CPU(s): 88-175
NUMA node250 CPU(s):
NUMA node251 CPU(s):
NUMA node252 CPU(s):
NUMA node253 CPU(s):
NUMA node254 CPU(s):
NUMA node255 CPU(s):
Machine Type = P9, DD2.2, Witherspoon, baremetal
---Steps to Reproduce---
AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal machines causing trouble to userspace tools and software that relie on that information, notably operf and opreport (from oprofile 1.2.0+) will refuse to run without that information show a error message like:
gromero@ltc-wspoon3:/boot$ operf
NULL returned for one or both of AT_PLATFORM/AT_BASE_PLATFORM
AT_PLATFORM: power9; AT_BASE_PLATFORM: (null)
Unable to obtain cpu_type
Verify that a pre-1.0 version of OProfile is not in use.
If the /dev/oprofile/cpu_type file exists, locate the pre-1.0 OProfile
installation, and use its 'opcontrol' command, passing the --deinit option.
Unable to ascertain cpu type. Exiting.
---uname output---
linux-image-4.13.0-36-generic 4.13.0-36.40
Userspace tool common name: operf, opreport
Dear maintainer. please consider applying the following fix that's already available upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=e4b79900222b8cccd4da4a7a89581f
Thank you. |
|
2018-04-02 18:28:49 |
Seth Forshee |
linux (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2018-04-03 15:52:40 |
Kleber Sacilotto de Souza |
linux (Ubuntu Artful): status |
In Progress |
Fix Committed |
|
2018-04-03 15:56:27 |
Frank Heimes |
ubuntu-power-systems: status |
In Progress |
Fix Committed |
|
2018-04-10 09:32:30 |
Brad Figg |
tags |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 triage-g |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 triage-g verification-needed-artful |
|
2018-04-10 18:18:26 |
Gustavo Romero |
tags |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 triage-g verification-needed-artful |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 triage-g verification-done-artful |
|
2018-04-10 18:20:29 |
bugproxy |
tags |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 triage-g verification-done-artful |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 triage-g verification-needed-artful |
|
2018-04-10 18:21:24 |
Gustavo Romero |
tags |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 triage-g verification-needed-artful |
architecture-ppc64le bugnameltc-166086 severity-medium targetmilestone-inin1710 triage-g verification-done-artful |
|
2018-04-13 23:43:34 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-04-23 09:21:59 |
Launchpad Janitor |
linux (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2018-04-23 09:21:59 |
Launchpad Janitor |
cve linked |
|
2017-5715 |
|
2018-04-23 09:21:59 |
Launchpad Janitor |
cve linked |
|
2017-5754 |
|
2018-04-23 09:21:59 |
Launchpad Janitor |
cve linked |
|
2018-8043 |
|
2018-04-23 14:37:38 |
Frank Heimes |
ubuntu-power-systems: status |
Fix Committed |
Fix Released |
|