This issue can be triggered by running the libhugetlbfs test suite: AUTOTEST_PATH=/home/ubuntu/autotest sudo -E autotest/client/autotest- local --verbose autotest/client/tests/libhugetlbfs/control
The brk_near_huge test seems to be the cause: 07:31:49 DEBUG| [stdout] misaligned_offset (1024K: 64): PASS (inconclusive) 07:31:49 DEBUG| [stdout] truncate_above_4GB (1024K: 64): PASS 07:31:49 ERROR| [stderr] brk_near_huge: malloc.c:2406: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed. 07:31:49 DEBUG| [stdout] brk_near_huge (1024K: 64): The test will hung here. But the system is still alive. The dmesg will be cleared. When I try to reboot the system, it will hang with: [ 621.223467] systemd-shutdow: 39 output lines suppressed due to ratelimiting [ 621.230541] systemd-shutdown[1]: Sending SIGTERM to remaining processes... Full log can be found here: http://pastebin.ubuntu.com/25423167/ I need to use virsh reset to get it back to normal. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1712724 Title: s390 zKVM complains about "illegal operation" to s390/mm/pgalloc.c Status in linux package in Ubuntu: Triaged Bug description: [ 543.516708] kernel BUG at /build/linux-a7axPg/linux-4.12.0/arch/s390/mm/pgalloc.c:84! [ 543.516783] illegal operation: 0001 ilc:1 [#1] SMP [ 543.516785] Modules linked in: xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat xt_tcpudp bridge stp llc iptable_filter openvswitch nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_defrag_ipv6 nf_nat nf_conntrack binfmt_misc zfs(PO) zunicode(PO) zavl(PO) zcommon(PO) znvpair(PO) spl(O) vfio_ccw vfio_mdev mdev vfio_iommu_type1 vfio ib_iser rdma_cm iw_cm ib_cm ib_core nfsd iscsi_tcp auth_rpcgss nfs_acl lockd grace libiscsi_tcp libiscsi sunrpc scsi_transport_iscsi ip_tables x_tables btrfs zlib_deflate raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 linear ghash_s390 prng aes_s390 des_s390 des_generic sha512_s390 sha256_s390 virtio_net sha1_s390 sha_common virtio_blk virtio_scsi [ 543.516828] CPU: 0 PID: 10024 Comm: task-size-overr Tainted: P O 4.12.0-12-generic #13-Ubuntu [ 543.516829] Hardware name: IBM 2964 N63 400 (KVM/Linux) [ 543.516830] task: 000000000cdb9e00 task.stack: 00000000099e8000 [ 543.516831] Krnl PSW : 0704d00180000000 00000000001274ec (crst_table_upgrade+0x124/0x130) [ 543.516841] R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:1 PM:0 RI:0 EA:3 [ 543.516842] Krnl GPRS: 0000000000010000 0000040000000000 00000000243d7800 0020000000000000 [ 543.516843] 0000000000001000 0000000000000000 0000000000000032 0000000000000000 [ 543.516844] 0000000080000000 0020000000000000 0000000000000000 0000000000001000 [ 543.516845] 0020000000000000 00000000243d7800 00000000001239f6 00000000099ebbe0 [ 543.516853] Krnl Code: 00000000001274de: c0e5002446c1 brasl %r14,5b0260 [ 543.516853] 00000000001274e4: a7f4ffb8 brc 15,127454 [ 543.516853] #00000000001274e8: a7f40001 brc 15,1274ea [ 543.516853] >00000000001274ec: a728fff4 lhi %r2,-12 [ 543.516853] 00000000001274f0: a7f4ffee brc 15,1274cc [ 543.516853] 00000000001274f4: 0707 bcr 0,%r7 [ 543.516853] 00000000001274f6: 0707 bcr 0,%r7 [ 543.516853] 00000000001274f8: c00400000000 brcl 0,1274f8 [ 543.516862] Call Trace: [ 543.516864] ([<00000000085d8578>] 0x85d8578) [ 543.516868] [<00000000002f529a>] get_unmapped_area+0x72/0x120 [ 543.516870] [<00000000002f931a>] do_mmap+0xfa/0x3e0 [ 543.516873] [<00000000002d6292>] vm_mmap_pgoff+0xca/0x120 [ 543.516874] [<00000000002f6962>] SyS_mmap_pgoff+0x10a/0x2a0 [ 543.516875] [<00000000002f6b72>] SyS_old_mmap+0x7a/0xa8 [ 543.516880] [<0000000000864c1c>] system_call+0xc4/0x27c [ 543.516881] Last Breaking-Event-Address: [ 543.516882] [<00000000001274e8>] crst_table_upgrade+0x120/0x130 [ 543.516883] [ 543.516883] ---[ end trace 036f94bf79a83905 ]--- ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: linux-image-4.12.0-12-generic 4.12.0-12.13 ProcVersionSignature: Ubuntu 4.12.0-12.13-generic 4.12.8 Uname: Linux 4.12.0-12-generic s390x NonfreeKernelModules: zfs zunicode zavl 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' ApportVersion: 2.20.6-0ubuntu6 Architecture: s390x ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. Date: Thu Aug 24 05:01:08 2017 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lspci: Lsusb: Error: command ['lsusb'] failed with exit code 1: PciMultimedia: ProcEnviron: TERM=vt220 PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=C SHELL=/bin/bash ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb' ProcKernelCmdLine: root=UUID=d86dc8de-6ac8-4e4b-aba8-92872a209a8c crashkernel=196M RelatedPackageVersions: linux-restricted-modules-4.12.0-12-generic N/A linux-backports-modules-4.12.0-12-generic N/A linux-firmware 1.167 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1712724/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp