RHEL8 system running debug kernel hangs with the warning at fs/super.c:1674 __sb_start_write+0x2b9/0x300

Solution Verified - Updated -

Issue

  • RHEL8 system running debug kernel hangs with the following warning message.
[396802.650592] WARNING: CPU: 7 PID: 980 at fs/super.c:1674 __sb_start_write+0x2b9/0x300
[396802.123723]  do_page_fault+0x3d/0x520
[396802.651298] Modules linked in: tcp_diag udp_diag inet_diag nfsv3 nfs_acl rpcsec_gss_krb5 nfsv4 dns_resolver nfs lockd grace fscache xt_conntrack xt_owner nft_counter ip_tables nft_compat nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink vfat fat ext4 mbcache jbd2 intel_rapl_msr intel_rapl_common nfit libnvdimm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rapl pcspkr hyperv_fb hv_utils hv_balloon joydev binfmt_misc auth_rpcgss sunrpc xfs libcrc32c mlx5_core mlxfw sd_mod tls t10_pi sg pci_hyperv pci_hyperv_intf serio_raw hv_storvsc hv_netvsc scsi_transport_fc hyperv_keyboard hid_hyperv hv_vmbus crc32c_intel dm_mirror dm_region_hash dm_log dm_mod
[396802.123723]  ? page_fault+0x8/0x30
[396802.651298] CPU: 7 PID: 980 Comm: systemd-journal Kdump: loaded Tainted: GBW ----------- 4.18.0-305.65.1.el8_4.x86_64+debug #1
[396802.123723]  page_fault+0x1e/0x30
[396802.651298] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS Hyper-V UEFI Release v4.1 05/09/2022
[396802.123723] RIP: 0033:0x7f9a3eb92edc
[396802.651298] RIP: 0010:__sb_start_write+0x2b9/0x300
[396802.123723] Code: e8 49 eb ed ff b8 01 00 00 00 f0 44 0f b1 a3 78 01 00 00 0f 85 5a ff ff ff 0f b6 43 1c 48 8b 93 d0 00 00 00 c0 e8 05 83 e0 02 <88> 42 10 8b 3b e8 1a eb ed ff e9 3a ff ff ff 0f 1f 44 00 00 ba 06
[396802.651298] Code: fd ff ff be 01 00 00 00 48 89 df e8 61 01 99 ff 65 ff 0d 12 40 c4 59 84 c0 0f 85 47 fe ff ff 31 c0 45 84 f6 0f 84 38 ff ff ff <0f> 0b e9 31 ff ff ff 31 f6 48 89 df e8 36 01 99 ff e9 16 ff ff ff
[396802.123723] RSP: 002b:00007f9a32e08c90 EFLAGS: 00010246
[396802.651298] RSP: 0000:ffff88a27ba5fb48 EFLAGS: 00010202
[396802.123723] RAX: 0000000000000000 RBX: 0000557deb5d0d50 RCX: 00007f9a3e3d3e57
[396802.651298] RAX: 0000000000000000 RBX: ffff889ff41da500 RCX: ffffffffa5d90c84
[396802.123723] RDX: 00007f9a3f0de000 RSI: 00007f9a3ebe317c RDI: 0000000000000000
[396802.651298] RDX: 0000000000000000 RSI: ffffffffa5c1adc4 RDI: ffffffffa99e61bc
[396802.123723] RBP: 00007f9a3ebe3160 R08: 00007f9a32e09700 R09: 00007f9a32e09700
[396802.123723] R10: 000000000000001c R11: 0000000000000000 R12: 0000000000000002
[396802.651298] RBP: 00000000000002e0 R08: ffffed13c1e0d1a2 R09: 0000000000000000
[396802.123723] R13: 00007ffce0246fdf R14: 0000000000000000 R15: 00007f9a32e08d80
[396802.123723] irq event stamp: 0
[396802.729110] R10: ffff889e0f068d0b R11: ffffed13c1e0d1a1 R12: 00000000ffffffff
[396802.123723] hardirqs last  enabled at (0): [<0000000000000000>] 0x0
[396802.744230] R13: ffff889ff41da640 R14: 0000000000000001 R15: ffff889ff41da390
[396802.123723] hardirqs last disabled at (0): [<ffffffffa5c07982>] copy_process+0x1aa2/0x61e0
[396802.753408] FS:  00007f9a3f0cc980(0000) GS:ffff88a32f200000(0000) knlGS:0000000000000000
[396802.123723] softirqs last  enabled at (0): [<ffffffffa5c079c8>] copy_process+0x1ae8/0x61e0
[396802.763015] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[396802.123723] softirqs last disabled at (0): [<0000000000000000>] 0x0
[396802.123723] ---[ end trace 4acb268f2fbff7da ]---
[396802.770412] CR2: 00007f9a356e7610 CR3: 000000227bbda006 CR4: 00000000003706e0
[396866.156046] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[396866.161374] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[396866.166588] Call Trace:
[396866.169835]  __xfs_filemap_fault+0x339/0x6a0 [xfs]
[396866.173997]  ? xfs_file_read_iter+0x740/0x740 [xfs]
[396866.178034]  ? kasan_record_aux_stack+0x9e/0xb0
[396866.181670]  ? call_rcu+0x19c/0xf20
[396866.185774]  ? vm_normal_page+0x74/0x280
[396866.189162]  ? entry_SYSCALL_64_after_hwframe+0x6a/0xdf
[396866.193426]  do_page_mkwrite+0x192/0x350
[396866.197247]  do_wp_page+0x7d4/0xc10
[396866.200635]  ? finish_mkwrite_fault+0x2d0/0x2d0
[396866.204383]  ? pte_pfn+0x100/0x100
[396866.207581]  __handle_mm_fault+0xeed/0x11c0
[396866.211103]  ? rcu_read_unlock+0x50/0x50
[396866.214429]  ? lock_release+0x591/0xd70
[396866.217742]  ? copy_page_range+0x2650/0x2650
[396866.221180]  ? down_read_trylock+0x19b/0x360
[396866.224640]  ? __do_page_fault+0x29c/0xa90
[396866.228377]  ? handle_mm_fault+0x5d1/0x750
[396866.231580]  handle_mm_fault+0x27b/0x750
[396866.234874]  __do_page_fault+0x3ee/0xa90
[396866.237993]  ? page_fault+0x8/0x30
[396866.240815]  do_page_fault+0x3d/0x520
[396866.243837]  ? page_fault+0x8/0x30
[396866.246684]  page_fault+0x1e/0x30
[396866.249507] RIP: 0033:0x7f9a3eb94e4b
[396866.252361] Code: 00 48 89 ef 44 89 54 24 2c 4c 89 44 24 20 e8 2c e3 ed ff 85 c0 0f 88 24 ff ff ff 48 8b 44 24 50 4c 8b 44 24 20 44 8b 54 24 2c <4c> 89 40 18 e9 a2 fd ff ff 0f 1f 40 00 48 8b 54 24 38 48 8b 44 24
[396866.263229] RSP: 002b:00007ffce0244600 EFLAGS: 00010246
[396866.266834] RAX: 00007f9a356e75f8 RBX: 00000000000c1700 RCX: 00007f9a3ebe35f4
[396866.271371] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000557deb1b2ad0
[396866.275959] RBP: 0000557deb466e80 R08: 00000000035dc120 R09: 00000000014da5f8
[396866.280312] R10: 0000000000000000 R11: 0000000000000000 R12: 0000557deb6b3570
[396866.284712] R13: 0000000000000028 R14: 00007ffce0244638 R15: 00007ffce0244630

Environment

  • Red Hat Enterprise Linux 8
  • kernel-debug-core (debug kernel)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content