dev test in ubuntu_stress_smoke_tests throws usercopy warning s390x Ubuntu on LPAR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stress-ng |
Fix Released
|
High
|
Colin Ian King | ||
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
stress-ng (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Request [Bionic, Cosmic]
== Justification ==
When running stress-ng with the dev stressor on s390x the FIBMAP ioctl is being incorrectly invoked in a raw block device. FIBMAP is intended for files
and not block devices. This ioctl needs to be removed from the stress test.
== Fix ==
Upstream commit http://
== Testing ==
Run:
sudo stress-ng --dev 1
Without the fix the kernel will throw warning errors. With the fix the test will run correctly without kernel issues.
== Regression Potential ==
Minimal. This affects just the dev stressor in stress-ng and removes functionality that was broken.
-----
The dev test on a s390x node (Ubuntu on LPAR) will hang, kernel bug could be found in the syslog
[54084.082277] ------------[ cut here ]------------
[54084.082279] kernel BUG at mm/usercopy.c:100!
[54084.082294] illegal operation: 0001 ilc:1 [#256] SMP
[54084.082297] Modules linked in: vhost_net vhost tap cuse dccp_ipv4 dccp algif_rng salsa20_generic camellia_generic cast6_generic cast_common serpent_generic twofish_generic twofish_common lrw algif_skcipher tgr192 wp512 rmd320 rmd256 rmd160 rmd128 md4 algif_hash af_alg aufs ip6t_MASQUERADE ip6table_nat ip6table_filter ip6_tables xt_comment xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat xt_tcpudp bridge iptable_filter bpfilter openvswitch nsh nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_defrag_ipv6 nf_conncount nf_nat nf_conntrack 8021q garp mrp stp llc binfmt_misc zfs(PO) zunicode(PO) zavl(PO) icp(PO) dm_service_time zcommon(PO) znvpair(PO) dm_multipath scsi_dh_rdac scsi_dh_emc spl(O) scsi_dh_alua ghash_s390 prng aes_s390 des_s390 des_generic sha512_s390 sha256_s390
[54084.082354] sha1_s390 sha_common genwqe_card crc_itu_t chsc_sch eadm_sch ctcm fsm vfio_ccw vfio_mdev mdev vfio_iommu_type1 vfio sch_fq_codel nfsd ib_iser rdma_cm auth_rpcgss nfs_acl iw_cm lockd grace ib_cm iscsi_tcp libiscsi_tcp sunrpc libiscsi scsi_transport_
[54084.082418] CPU: 3 PID: 217520 Comm: stress-ng-dev Tainted: P D O 4.18.0-11-generic #12-Ubuntu
[54084.082420] Hardware name: IBM 2964 N63 400 (LPAR)
[54084.082422] Krnl PSW : 00000000ed7ed85f 00000000816ddc5c (usercopy_
[54084.082433] R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 RI:0 EA:3
[54084.082436] Krnl GPRS: 0000000000000320 0000000000000006 0000000000000056 0000000000000007
[54084.082438] 0000000000000007 000000007fe00000 0000000000a96d3a 0000000000000000
[54084.082441] 000003ff00000000 0000000000000006 0000000000000006 00000002acb4ee00
[54084.082443] 0000000000a96d3a 0000000000914430 0000000000386606 000000038f087a78
[54084.082449] Krnl Code: 00000000003865fa: c02000390dc4 larl %r2,aa8182
[54084.082484] Call Trace:
[54084.082487] ([<000000000038
[54084.082489] [<0000000000386
[54084.082492] [<00000000005c6
[54084.082495] [<00000000005c7
[54084.082497] [<00000000005c8
[54084.082499] [<00000000003a3
[54084.082502] [<00000000003a4
[54084.082504] [<00000000003a4
[54084.082507] [<00000000008f0
[54084.082508] Last Breaking-
[54084.082510] [<0000000000386
[54084.082512]
[54084.082513] ---[ end trace 5009dd6293a23031 ]---
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.18.0-11-generic s390x
NonfreeKernelMo
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13
Architecture: s390x
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Tue Oct 30 09:05:17 2018
HibernationDevice: RESUME=
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:
ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=
RelatedPackageV
linux-
linux-
linux-firmware 1.175
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in linux (Ubuntu): | |
assignee: | nobody → Colin Ian King (colin-king) |
importance: | Undecided → Medium |
status: | Incomplete → In Progress |
no longer affects: | linux (Ubuntu) |
summary: |
- dev test in ubuntu_stress_smoke_tests will hang on s390x Ubuntu on LPAR + dev test in ubuntu_stress_smoke_tests throws usercopy warning s390x + Ubuntu on LPAR |
Changed in stress-ng: | |
status: | Fix Committed → Fix Released |
description: | updated |
description: | updated |
This change was made by a bot.