воскресенье

[Bug 1813127] Re: ptrace-tm-spd-gpr in powerpc/ptrace from ubuntu_kerenl_selftests failed on Bionic P8

selftests: ptrace-tm-spd-gpr
========================================
test: ptrace_tm_spd_gpr
tags: git_version:unknown
success: ptrace_tm_spd_gpr
ok 1..3 selftests: ptrace-tm-spd-gpr [PASS]

Passed with Bionic 4.15.0-46.49 on PPC

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

** Changed in: ubuntu-kernel-tests
Status: In Progress => Fix Committed

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/1813127

Title:
ptrace-tm-spd-gpr in powerpc/ptrace from ubuntu_kerenl_selftests
failed on Bionic P8

Status in ubuntu-kernel-tests:
Fix Committed
Status in linux package in Ubuntu:
Invalid
Status in linux source package in Bionic:
Fix Committed

Bug description:
== Justification ==
ptrace-tm-spd-gpr in powerpc/ptrace will fail with Power8 on Bionic:
$ sudo ./ptrace-tm-spd-gpr
test: ptrace_tm_spd_gpr
tags: git_version:c186097-dirty
!! killing ptrace_tm_spd_gpr
!! child died by signal 15
failure: ptrace_tm_spd_gpr

This is due to a segmentation fault that happens on the child process
prior to setting cptr[2] = 1. This causes the parent process to wait
forever at 'while (!pptr[2])' and the test to be killed by the test
harness framework by timeout.

== Fix ==
48dc0ef (selftests/powerpc: Fix ptrace tm failure)
This patch can be cherry-picked for Bionic.

== Test ==
After the patch, the test will pass with:
$ sudo ./ptrace-tm-spd-gpr
test: ptrace_tm_spd_gpr
tags: git_version:c186097-dirty
success: ptrace_tm_spd_gpr

== Regression potential ==
None, change for the testing tool only.


This issue only exist in Bionic P8:
$ sudo ./ptrace-tm-spd-gpr
test: ptrace_tm_spd_gpr
tags: git_version:c186097-dirty
!! killing ptrace_tm_spd_gpr
!! child died by signal 15
failure: ptrace_tm_spd_gpr

Result on P9:
$ sudo ./ptrace-tm-spd-gpr
test: ptrace_tm_spd_gpr
tags: git_version:unknown
[SKIP] Test skipped on line 125
skip: ptrace_tm_spd_gpr

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-43-generic 4.15.0-43.46
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Uname: Linux 4.15.0-43-generic ppc64le
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jan 24 06:57 seq
 crw-rw---- 1 root audio 116, 33 Jan 24 06:57 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:
CurrentDmesg: [ 3531.661373] ptrace-tm-spd-g[22437]: unhandled signal 11 at 0000000000000000 nip 00000f7428473330 lr 00000f742847317c code 1
Date: Thu Jan 24 07:59:27 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/mapper/mpath0-part2 ro console=hvc0
ProcLoadAvg: 0.32 0.53 0.33 1/1478 23438
ProcSwaps:
 Filename Type Size Used Priority
 /swap.img file 8388544 0 -2
ProcVersion: Linux version 4.15.0-43-generic (buildd@bos02-ppc64el-020) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #46-Ubuntu SMP Thu Dec 6 14:43:28 UTC 2018
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-43-generic N/A
 linux-backports-modules-4.15.0-43-generic N/A
 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 4)
 avg: 3.694 GHz
cpu_runmode:
 Could not retrieve current diagnostics mode,
 No kernel interface to firmware
cpu_smt: SMT=8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1813127/+subscriptions

Комментариев нет:

Отправить комментарий