Kernel BUG with "Enabling large folios for 5.17"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Matthew,

Linux is "too stable" for me, so I accepted your challenge ;)

I installed Ubuntu 18.04 in KVM on XFS (/boot is on ext4, /boot/efi is
FAT32) and compiled the latest master branch kernel with the "Enabling
large folios for 5.17" patchset as originally posted. I skipped two
patches that are already applied.

I ran my favorite multi-hour tests, no problems at all. I updated
Linux to today's master branch
(626b2dda7651a7c766108db4cdc0825db05b980d) and rebased your patches.
Everything was good after the reboot.

Then I ran "make kselftest" in the kernel sources. After some time,
the VM hung. I rebooted it and saved the journal.

First lines indicating the problem:

Jan 27 19:19:43 u2 kernel: BUG: Bad page map in process perl
pte:800000016042a867 pmd:107075067
Jan 27 19:19:43 u2 kernel: page:0000000065c0a20e refcount:0
mapcount:-1 mapping:0000000000000000 index:0x1 pfn:0x16042a
Jan 27 19:19:43 u2 kernel: flags:
0x17ffffc000000a(referenced|dirty|node=0|zone=2|lastcpupid=0x1fffff)
Jan 27 19:19:43 u2 kernel: raw: 0017ffffc000000a ffffded8c5802848
ffffded8c57dce88 0000000000000000
Jan 27 19:19:43 u2 kernel: raw: 0000000000000001 0000000000000000
00000000fffffffe 0000000000000000
Jan 27 19:19:43 u2 kernel: page dumped because: bad pte
Jan 27 19:19:43 u2 kernel: addr:000055776837c000 vm_flags:08100073
anon_vma:ffff933b4806fcb8 mapping:0000000000000000 index:55776837c
Jan 27 19:19:43 u2 kernel: file:(null) fault:0x0 mmap:0x0 readpage:0x0
Jan 27 19:19:43 u2 kernel: CPU: 3 PID: 13643 Comm: perl Not tainted
5.17.0-rc1+ #5

Included patches:
7d4b632eef492e15b558ae2fe5f59deb49270239 (HEAD -> folios518)
selftests/vm/transhuge-stress: Support file-backed PMD folios
f67279e0938e09077b58f0a185acee876353c83a mm/filemap: Support
VM_HUGEPAGE for file mappings
84de62e698521142e94edf4b69f4a62de7dfa3d2 mm/readahead: Switch to
page_cache_ra_order
20bbe78c1e7c81fa989d145f014c83ace771a768 mm/readahead: Align file
mappings for non-DAX
ffd9a8df1268896d402a9659472a252f5e3cb264 mm/readahead: Add large folio readahead
35111be807df642f37a1f12d14cebd244f61b877 mm: Make large folios depend on THP
fbabe6cb112df41796953198f8241f827cd96623 mm/vmscan: Optimise
shrink_page_list for non-PMD-sized folios
5e9555c63787ff9a73705b4e0d54f1584245d455 mm: Fix READ_ONLY_THP warning
4ef4d099dc583478fac76dedd600da08748b85b1 mm/vmscan: Free non-shmem
folios without splitting them
c07245a33e96432654a27814650a8c21538e9c54 filemap: Allow large folios
to be added to the page cache
626b2dda7651a7c766108db4cdc0825db05b980d (origin/master, origin/HEAD)
Merge tag 'rpmsg-v5.17-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux

Attaching .config and the journal for the failed session.

-- 
Regards,
Pavel Roskin

Attachment: journal-oops
Description: Binary data

Attachment: kernel-config
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux