test_map in ubuntu_bpf failed on D PowerPC

Bug #1802474 reported by Po-Hsu Lin on 2018-11-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned
Disco
Undecided
Unassigned

Bug Description

The test_map test will fail with the following error on powerpc boxes:

$ sudo ./test_maps
libbpf: object file doesn't contain bpf program
Failed to load SK_SKB parse prog

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.18.0-11-generic 4.18.0-11.12~18.04.1
ProcVersionSignature: Ubuntu 4.18.0-11.12~18.04.1-generic 4.18.12
Uname: Linux 4.18.0-11-generic ppc64le
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: ppc64el
Date: Fri Nov 9 08:37:46 2018
ProcLoadAvg: 0.18 0.51 0.47 1/1615 14440
ProcSwaps:
 Filename Type Size Used Priority
 /swap.img file 8388544 0 -2
ProcVersion: Linux version 4.18.0-11-generic (buildd@bos02-ppc64el-012) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #12~18.04.1-Ubuntu SMP Thu Oct 25 12:58:39 UTC 2018
SourcePackage: linux-signed-hwe-edge
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.695 GHz (cpu 1)
 avg: 3.694 GHz
cpu_runmode:
 Could not retrieve current diagnostics mode,
 No kernel interface to firmware
cpu_smt: SMT=8

Po-Hsu Lin (cypressyew) wrote :

Can be found on Cosmic 4.18 as well.

summary: - test_map in ubuntu_bpf failed on Bionic 4.18 PowerPC
+ test_map in ubuntu_bpf failed on 4.18 PowerPC
tags: added: cosmic
Po-Hsu Lin (cypressyew) on 2019-05-09
affects: linux-signed-hwe-edge (Ubuntu) → linux (Ubuntu)
tags: added: disco
Changed in linux (Ubuntu Disco):
status: New → Confirmed
Changed in linux (Ubuntu Cosmic):
status: New → Confirmed

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1802474

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

On Disco the result is a bit different:
  libbpf: Error loading ELF section .BTF: -22. Ignored and continue.
  libbpf: object file doesn't contain bpf program

summary: - test_map in ubuntu_bpf failed on 4.18 PowerPC
+ test_map in ubuntu_bpf failed on C/D PowerPC
Brad Figg (brad-figg) on 2019-07-24
tags: added: cscc
Po-Hsu Lin (cypressyew) on 2019-09-16
tags: added: ubuntu-bpf
Po-Hsu Lin (cypressyew) on 2019-09-27
no longer affects: linux (Ubuntu Cosmic)
summary: - test_map in ubuntu_bpf failed on C/D PowerPC
+ test_map in ubuntu_bpf failed onD PowerPC
summary: - test_map in ubuntu_bpf failed onD PowerPC
+ test_map in ubuntu_bpf failed on D PowerPC
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers