dscr_sysfs_test in powerpc/dscr from ubuntu_kernel_selftests failed with Power9 on B/C/D

Bug #1813136 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Won't Fix
Undecided
Unassigned
Disco
Won't Fix
Undecided
Unassigned

Bug Description

This issue can be found on Power9 with Bionic / Cosmic kernel

$ sudo ./dscr_sysfs_test
test: dscr_sysfs_test
tags: git_version:c186097-dirty
!! killing dscr_sysfs_test
!! child died by signal 15
failure: dscr_sysfs_test

Passed on Power8

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-44-generic 4.15.0-44.47
ProcVersionSignature: Ubuntu 4.15.0-44.47-generic 4.15.18
Uname: Linux 4.15.0-44-generic ppc64le
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jan 24 07:22 seq
 crw-rw---- 1 root audio 116, 33 Jan 24 07:22 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: Thu Jan 24 09:29:00 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0451:80ff Texas Instruments, Inc.
 Bus 001 Device 004: ID 0557:2419 ATEN International Co., Ltd
 Bus 001 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciMultimedia:

ProcFB: 0 astdrmfb
ProcKernelCmdLine: root=UUID=acd1a0d7-f6fc-4130-928c-c8b11ad6e4be ro console=hvc0
ProcLoadAvg: 0.26 0.07 0.11 3/1363 35034
ProcLocks:
 1: FLOCK ADVISORY WRITE 3482 00:17:520 0 EOF
 2: POSIX ADVISORY WRITE 3746 00:17:580 0 EOF
 3: POSIX ADVISORY WRITE 1800 00:17:368 0 EOF
 4: FLOCK ADVISORY WRITE 3744 00:17:568 0 EOF
 5: POSIX ADVISORY WRITE 3831 00:17:588 0 EOF
ProcSwaps:
 Filename Type Size Used Priority
 /swap.img file 8388544 0 -2
ProcVersion: Linux version 4.15.0-44-generic (buildd@bos02-ppc64el-004) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #47-Ubuntu SMP Mon Jan 14 11:26:40 UTC 2019
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-44-generic N/A
 linux-backports-modules-4.15.0-44-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 = 40
cpu_coreson: Number of cores online = 40
cpu_dscr: DSCR is 5
cpu_freq:
 min: 2.862 GHz (cpu 159)
 max: 2.862 GHz (cpu 3)
 avg: 2.862 GHz
cpu_runmode:
 Could not retrieve current diagnostics mode,
 No kernel interface to firmware
cpu_smt: SMT=4

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: dscr_sysfs_test in powerpc/dscr from ubuntu_kernel_selftests failed with Power9 on Bionic

Tested with upstream code on Bionic P9, this issue can still be reproduced.

Changed in linux (Ubuntu Bionic):
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Correction: this test can be found failed with Disco with Power9 (ok with P8)

tags: added: disco
Changed in linux (Ubuntu Disco):
status: New → Confirmed
Changed in linux (Ubuntu Cosmic):
status: New → Confirmed
Changed in ubuntu-kernel-tests:
status: New → Confirmed
summary: dscr_sysfs_test in powerpc/dscr from ubuntu_kernel_selftests failed
- with Power9 on Bionic
+ with Power9 on B/C/D
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-kernel-selftests
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Failed with Eoan on P9 (passed with P8)

tags: added: sru-20200217
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

On Bionic P9, this issue still exist on P9.
On Eoan P9, it's now:
  not ok 6 selftests: dscr: dscr_sysfs_test # TIMEOUT

tags: added: sru-20200316
no longer affects: linux (Ubuntu Eoan)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue does not exist on Eoan P9
Fixed by this commit.
https://github.com/torvalds/linux/commit/850507f30c38dff21ed557cb98ab16db26c32bbc

Changed in ubuntu-kernel-tests:
status: Confirmed → Fix Released
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Changed in linux (Ubuntu Bionic):
status: Confirmed → Fix Released
Changed in linux (Ubuntu Cosmic):
status: Confirmed → Won't Fix
Changed in linux (Ubuntu Disco):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.