Unable to insert test_bpf module on Xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
[SRU Justification]
Impact: One of the self-tests which is run by test_bpf will always fail when JIT is turned on, causing the module load to fail.
Fix: Picking two patches from upstream will fix this.
Testcase: sudo modprobe test_bpf
Risk of regression: Minimal, this modifies only a test module, no impact on normal operation.
---
With 4.4.0-119, the ubuntu_bpf_jit test will pass:
[ 127.177037] test_bpf: Summary: 291 PASSED, 0 FAILED, [0/283 JIT'ed]
PASSED: 291
FAILED: 0
But with 4.4.0-121, one test will fail
[ 221.361834] test_bpf: Summary: 290 PASSED, 1 FAILED, [282/282 JIT'ed]
PASSED: 290
FAILED: 1
stderr:
modprobe: ERROR: could not insert 'test_bpf': Invalid argument
$ sudo modprobe test_bpf
modprobe: ERROR: could not insert 'test_bpf': Invalid argument
$ dmesg|grep test_bpf|grep FAIL
[ 45.286944] test_bpf: #248 BPF_MAXINSNS: Jump, gap, jump, ... FAIL to prog_create err=-524 len=4096
[ 45.619293] test_bpf: Summary: 290 PASSED, 1 FAILED, [282/282 JIT'ed]
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-121-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Apr 20 12:29 seq
crw-rw---- 1 root audio 116, 33 Apr 20 12:29 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDmesg:
Date: Fri Apr 20 12:32:59 2018
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: Intel Corporation S1200RP
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.157.17
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/01/2015
dmi.bios.vendor: Intel Corp.
dmi.bios.version: S1200RP.
dmi.board.
dmi.board.name: S1200RP
dmi.board.vendor: Intel Corporation
dmi.board.version: G62254-407
dmi.chassis.
dmi.chassis.type: 17
dmi.chassis.vendor: .......
dmi.chassis.
dmi.modalias: dmi:bvnIntelCor
dmi.product.name: S1200RP
dmi.product.
dmi.sys.vendor: Intel Corporation
CVE References
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → Medium |
status: | New → In Progress |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Released |
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 1765698
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.