hugeshmctl01 from hugetlb in ubuntu_ltp failed on B / E

Bug #1866196 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)
Invalid
Undecided
Unassigned

Bug Description

Issue found on Bionic, across amd64 / arm64 / i386 / P8 / s390x

<<<test_start>>>
tag=hugeshmctl01 stime=1583419276
cmdline="hugeshmctl01 -i 5"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1229: INFO: Timeout per run is 0h 05m 00s
mem.c:817: INFO: set nr_hugepages to 128
hugeshmctl01.c:198: PASS: pid, size, # of attaches and mode are correct - pass #0
hugeshmctl01.c:198: PASS: pid, size, # of attaches and mode are correct - pass #1
hugeshmctl01.c:263: PASS: new mode and change time are correct
hugeshmctl01.c:280: PASS: shmctl in func_rmid() failed as expected, shared memory appears to be removed
tst_checkpoint.c:149: BROK: hugeshmctl01.c:152: tst_checkpoint_wait(0, 10000): ETIMEDOUT (110)
mem.c:817: INFO: set nr_hugepages to 0

Summary:
passed 4
failed 0
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=11 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>

dmesg on s2lp3:
[84600.210919] BUG: non-zero pgtables_bytes on freeing mm: 16384
[84600.211628] BUG: non-zero pgtables_bytes on freeing mm: 16384
[84601.361848] LTP: starting hugeshmctl01 (hugeshmctl01 -i 5)
[84602.435421] User process fault: interruption code 003b ilc:2 in hugeshmctl01[2aa33f00000+25000]
[84602.435435] Failing address: 0000020000000000 TEID: 0000020000000400
[84602.435437] Fault in primary space mode while using user ASCE.
[84602.435439] AS:000000079ec141c7 R3:0000000000000024
[84602.435444] CPU: 3 PID: 74199 Comm: hugeshmctl01 Tainted: P O 4.15.0-91-generic #92-Ubuntu
[84602.435445] Hardware name: IBM 2964 N63 400 (LPAR)
[84602.435447] User PSW : 00000000a994e531 00000000a60b6ea2
[84602.435449] R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 RI:0 EA:3
[84602.435450] User GPRS: 0000000000000000 000002aa00000002 0000000000000000 0000000000000004
[84602.435451] 000002aa33f06602 000003ffb679ecf8 0000000000000000 0000000000000000
[84602.435452] 000003ff00000002 000002aa00000000 000002aa00000000 0000020000000000
[84602.435453] 000003ffb69a6000 000002aa33f1b300 000002aa33f06602 000003ffd6d7dfa8
[84602.435462] User Code: 000002aa33f06640: e31010000012 lt %r1,0(%r1)
                          000002aa33f06646: a7840038 brc 8,000002aa33f066b6
                         #000002aa33f0664a: c4b80001061b lgrl %r11,000002aa33f27280
                         >000002aa33f06650: 50a0b000 st %r10,0(%r11)
                          000002aa33f06654: a7690001 lghi %r6,1
                          000002aa33f06658: a7590000 lghi %r5,0
                          000002aa33f0665c: a7490000 lghi %r4,0
                          000002aa33f06660: a739008d lghi %r3,141
[84602.435472] Last Breaking-Event-Address:
[84602.435476] [<000002aa33f06602>] 0x2aa33f06602

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-91-generic 4.15.0-91.92
ProcVersionSignature: Ubuntu 4.15.0-91.92-generic 4.15.18
Uname: Linux 4.15.0-91-generic s390x
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
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.9-0ubuntu7.11
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: Thu Mar 5 14:41:35 2020
HibernationDevice: RESUME=UUID=e2735dd1-cbbc-4424-9c25-d37d073d9414
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=38f7d570-2973-4055-b668-12a9ace1e0c7 crashkernel=196M audit=0 BOOT_IMAGE=0
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-91-generic N/A
 linux-backports-modules-4.15.0-91-generic N/A
 linux-firmware 1.173.16
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew)
tags: added: 4.15 ubuntu-ltp
tags: added: kqa-blocker sru-20200217
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: hugeshmctl01 from hugetlb in ubuntu_ltp failed on B

The dmesg on amd64 node is a bit different:
[ 54.538879] LTP: starting hugeshmctl01 (hugeshmctl01 -i 5)
[ 55.553049] show_signal_msg: 5 callbacks suppressed
[ 55.553054] hugeshmctl01[1417]: segfault at 7f575ba00000 ip 0000555c49e4d7a7 sp 00007ffd92fb8e20 error 6 in hugeshmctl01[555c49e48000+23000]

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue can be reproduce with 4.15.0-90 / 4.15.0-88
[ 94.916925] BUG: non-zero pgtables_bytes on freeing mm: 16384
[ 94.917898] BUG: non-zero pgtables_bytes on freeing mm: 16384
[ 95.810214] LTP: starting hugeshmctl01 (hugeshmctl01 -i 5)
[ 96.815430] report_user_fault: 41 callbacks suppressed
[ 96.815431] User process fault: interruption code 003b ilc:2 in hugeshmctl01[2aa2fc80000+25000]
[ 96.815444] Failing address: 0000020000000000 TEID: 0000020000000400
[ 96.815445] Fault in primary space mode while using user ASCE.
[ 96.815448] AS:000000079c0441c7 R3:0000000000000024
[ 96.815452] CPU: 0 PID: 3288 Comm: hugeshmctl01 Tainted: P O 4.15.0-90-generic #91-Ubuntu
[ 96.815453] Hardware name: IBM 2964 N63 400 (LPAR)
[ 96.815455] User PSW : 000000009f0ad0ae 000000000332f726
[ 96.815456] R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 RI:0 EA:3
[ 96.815458] User GPRS: 0000000000000000 000002aa00000002 0000000000000000 0000000000000004
[ 96.815459] 000002aa2fc86602 000003ff9421ecf8 0000000000000000 0000000000000000
[ 96.815460] 000003ff00000002 000002aa00000000 000002aa00000000 0000020000000000
[ 96.815460] 000003ff94426000 000002aa2fc9b300 000002aa2fc86602 000003fff1cfe5e8
[ 96.815469] User Code: 000002aa2fc86640: e31010000012 lt %r1,0(%r1)
                          000002aa2fc86646: a7840038 brc 8,000002aa2fc866b6
                         #000002aa2fc8664a: c4b80001061b lgrl %r11,000002aa2fca7280
                         >000002aa2fc86650: 50a0b000 st %r10,0(%r11)
                          000002aa2fc86654: a7690001 lghi %r6,1
                          000002aa2fc86658: a7590000 lghi %r5,0
                          000002aa2fc8665c: a7490000 lghi %r4,0
                          000002aa2fc86660: a739008d lghi %r3,141
[ 96.815480] Last Breaking-Event-Address:
[ 96.815484] [<000002aa2fc86602>] 0x2aa2fc86602

description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on Eoan as well.

summary: - hugeshmctl01 from hugetlb in ubuntu_ltp failed on B
+ hugeshmctl01 from hugetlb in ubuntu_ltp failed on B / E
tags: added: 5.3 eoan
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

hugeshmctl01 passed with Bionic 4.15.0-92 AMD64 node amaura.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Passed with Bionic ARM64, i386, P8, s390x.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Passed with Eoan AMD64, ARM64, P8/P9, s390x

Closing this issue.

Changed in ubuntu-kernel-tests:
status: New → Fix Released
Changed in linux (Ubuntu):
status: Confirmed → Invalid
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.