powerpc/pmu/ebb test in ubuntu_kernel_selftest failed with "error while loading shared libraries" on Bionic/Cosmic PowerPC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Cosmic |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
== Justification ==
The selftests/
error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
0x00000f046f
This is because the Ubuntu toolchain builds has PIE enabled by default.
== Fix ==
98415da0 (selftests/
This fix will use -no-pie flag to build the test.
Patch already landed in Disco, and can be cherry-picked for B/C.
For Xenial, we don't have this test in our tree thus it can be ignored.
== Test ==
Patch verified on a Bionic P9 system, all the ebb tests will pass.
== Regression Potential ==
None.
This patchset is just for the kernel testing tool.
== Original Bug Report ==
In linux/tools/
selftests: reg_access_test
=======
./reg_access_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc at 0x00000e3dcc384550 for symbol `' out of range
not ok 1..1 selftests: reg_access_test [FAIL]
selftests: event_attribute
=======
./event_
not ok 1..2 selftests: event_attribute
selftests: cycles_test
=======
./cycles_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc at 0x00000baa1a664750 for symbol `' out of range
not ok 1..3 selftests: cycles_test [FAIL]
selftests: cycles_
=======
./cycles_
not ok 1..4 selftests: cycles_
selftests: pmc56_overflow_test
=======
./pmc56_
not ok 1..5 selftests: pmc56_overflow_test [FAIL]
selftests: ebb_vs_
=======
./ebb_vs_
not ok 1..6 selftests: ebb_vs_
selftests: cpu_event_
=======
./cpu_event_
not ok 1..7 selftests: cpu_event_
selftests: cpu_event_
=======
./cpu_event_
not ok 1..8 selftests: cpu_event_
selftests: task_event_
=======
./task_
not ok 1..9 selftests: task_event_
selftests: task_event_
=======
./task_
not ok 1..10 selftests: task_event_
selftests: multi_ebb_
=======
./multi_
not ok 1..11 selftests: multi_ebb_
selftests: multi_counter_test
=======
./multi_
not ok 1..12 selftests: multi_counter_test [FAIL]
selftests: pmae_handling_test
=======
./pmae_
not ok 1..13 selftests: pmae_handling_test [FAIL]
selftests: close_clears_
=======
./close_
not ok 1..14 selftests: close_clears_
selftests: instruction_
=======
./instruction_
not ok 1..15 selftests: instruction_
selftests: fork_cleanup_test
=======
./fork_
not ok 1..16 selftests: fork_cleanup_test [FAIL]
selftests: ebb_on_child_test
=======
./ebb_on_
not ok 1..17 selftests: ebb_on_child_test [FAIL]
selftests: ebb_on_
=======
./ebb_on_
not ok 1..18 selftests: ebb_on_
selftests: back_to_
=======
./back_
not ok 1..19 selftests: back_to_
selftests: lost_exception_test
=======
./lost_
not ok 1..20 selftests: lost_exception_test [FAIL]
selftests: no_handler_test
=======
./no_handler_test: error while loading shared libraries: R_PPC64_ADDR16_HI reloc at 0x00000ac7d0b64650 for symbol `' out of range
not ok 1..21 selftests: no_handler_test [FAIL]
selftests: cycles_
=======
./cycles_
not ok 1..22 selftests: cycles_
For the ptrace in powerpc (powerpc/ptrace):
test: ptrace_tm_spd_gpr
tags: git_version:
!! killing ptrace_tm_spd_gpr
!! child died by signal 15
failure: ptrace_tm_spd_gpr
not ok 1..3 selftests: ptrace-tm-spd-gpr [FAIL]
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-43-generic ppc64le
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jan 22 04:30 seq
crw-rw---- 1 root audio 116, 33 Jan 22 04:30 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: ppc64el
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Tue Jan 22 06:56:25 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciMultimedia:
ProcFB:
ProcKernelCmdLine: root=/dev/
ProcLoadAvg: 0.08 0.02 0.02 1/1489 41341
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 8388544 0 -2
ProcVersion: Linux version 4.15.0-43-generic (buildd@
RelatedPackageV
linux-
linux-
linux-firmware 1.173.3
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDump_list: total 0
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_dscr: DSCR is 0
cpu_freq:
min: 3.694 GHz (cpu 159)
max: 3.694 GHz (cpu 1)
avg: 3.694 GHz
cpu_runmode:
Could not retrieve current diagnostics mode,
No kernel interface to firmware
cpu_smt: SMT=8
summary: |
- powerpc test in ubuntu_kernel_selftest failed on Bionic PowerPC + powerpc/pmu/ebb test in ubuntu_kernel_selftest failed on Bionic PowerPC |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Cosmic): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
This change was made by a bot.