[powerpc] Kernel oops while running xfstests w/ext4 (5.18-rc6-next-20220510)

Sachin Sant sachinp at linux.ibm.com
Wed May 11 19:26:47 AEST 2022


While running xfstests (specifically ext4/032) w/ext4 on a POWER9 LPAR running
linux-next version 5.18.0-rc6-next-20220510 following crash is seen:

[  472.486440] EXT4-fs (loop0): resized filesystem to 41943040
[  472.760888] BUG: Kernel NULL pointer dereference at 0x0000002c
[  472.760891] Faulting instruction address: 0xc0000000007729f4
[  472.760894] Oops: Kernel access of bad area, sig: 11 [#1]
[  472.760913] LE PAGE_SIZE=64K MMU=Hash SMP NR_CPUS=2048 NUMA pSeries
[  472.760921] Modules linked in: loop(E) dm_mod(E) nft_fib_inet(E) nft_fib_ipv4(E) nft_fib_ipv6(E) nft_fib(E) nft_reject_inet(E) nf_reject_ipv4(E) nf_reject_ipv6(E) nft_reject(E) nft_ct(E) nft_chain_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) ip_set(E) bonding(E) rfkill(E) tls(E) nf_tables(E) libcrc32c(E) nfnetlink(E) sunrpc(E) pseries_rng(E) vmx_crypto(E) ext4(E) mbcache(E) jbd2(E) sr_mod(E) cdrom(E) sd_mod(E) sg(E) lpfc(E) nvmet_fc(E) nvmet(E) ibmvscsi(E) scsi_transport_srp(E) ibmveth(E) nvme_fc(E) nvme(E) nvme_fabrics(E) nvme_core(E) t10_pi(E) scsi_transport_fc(E) crc64_rocksoft(E) crc64(E) tg3(E) ipmi_devintf(E) ipmi_msghandler(E) fuse(E)
[  472.761006] CPU: 8 PID: 5139 Comm: kworker/u193:0 Tainted: G            E     5.18.0-rc6-next-20220510 #2
[  472.761013] Workqueue: loop0 loop_rootcg_workfn [loop]
[  472.761027] NIP:  c0000000007729f4 LR: c00000000077331c CTR: c0000000009e9ac0
[  472.761032] REGS: c00000002d95b3a0 TRAP: 0380   Tainted: G            E      (5.18.0-rc6-next-20220510)
[  472.761038] MSR:  800000000280b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 24008822  XER: 00000000
[  472.761057] CFAR: c000000000772b80 IRQMASK: 0 
[  472.761057] GPR00: c00000000077331c c00000002d95b640 c000000002a7cf00 c00000002d95b8e0 
[  472.761057] GPR04: c00000006fd58200 0000000000000001 0000000000000010 0000000000000040 
[  472.761057] GPR08: 0000000000000020 0000000000000000 0000000000010000 c0080000089570f8 
[  472.761057] GPR12: 0000000000008000 c00000001ec46300 0000000000000000 c000000054e32200 
[  472.761057] GPR16: 5deadbeef0000100 0000000000000000 0000000000000000 0000000000000000 
[  472.761057] GPR20: 000000007fffffff c009fffffc817a00 c00000002d95b748 c00000002d95b8e0 
[  472.761057] GPR24: 0000000000000001 0000000000000000 c0000000842b1c00 0000000000000000 
[  472.761057] GPR28: 0000000000000000 0000000000000000 c00000006fd58200 c00000002d95b8e0 
[  472.761126] NIP [c0000000007729f4] blk_add_rq_to_plug+0x74/0x1d0
[  472.761135] LR [c00000000077331c] blk_mq_try_issue_list_directly+0x18c/0x1d0
[  472.761141] Call Trace:
[  472.761144] [c00000002d95b640] [c0000000842b1c00] 0xc0000000842b1c00 (unreliable)
[  472.761153] [c00000002d95b680] [c000000000773244] blk_mq_try_issue_list_directly+0xb4/0x1d0
[  472.761160] [c00000002d95b6d0] [c00000000077b38c] blk_mq_sched_insert_requests+0x13c/0x240
[  472.761168] [c00000002d95b720] [c000000000772658] blk_mq_flush_plug_list+0x118/0x440
[  472.761175] [c00000002d95b7c0] [c00000000075ecbc] __blk_flush_plug+0x17c/0x200
[  472.761183] [c00000002d95b840] [c00000000075efe0] blk_finish_plug+0x50/0x70
[  472.761190] [c00000002d95b870] [c00000000061a2a4] __iomap_dio_rw+0x444/0x960
[  472.761200] [c00000002d95ba60] [c00000000061a7e0] iomap_dio_rw+0x20/0x90
[  472.761208] [c00000002d95ba80] [c008000008c56424] ext4_file_read_iter+0x17c/0x2d0 [ext4]
[  472.761237] [c00000002d95bac0] [c008000009822aa8] lo_rw_aio.isra.36+0x260/0x320 [loop]
[  472.761245] [c00000002d95bb40] [c008000009824030] loop_process_work+0x448/0xb70 [loop]
[  472.761253] [c00000002d95bc90] [c000000000183744] process_one_work+0x2b4/0x5b0
[  472.761262] [c00000002d95bd30] [c000000000183ab8] worker_thread+0x78/0x600
[  472.761269] [c00000002d95bdc0] [c0000000001901d4] kthread+0x124/0x130
[  472.761276] [c00000002d95be10] [c00000000000ce04] ret_from_kernel_thread+0x5c/0x64
[  472.761284] Instruction dump:
[  472.761288] 893f0014 38e00040 39000020 2fa90000 7d283f9e 7e8a4840 409400b4 e93e0000 
[  472.761300] e9290068 71290008 40820024 3d400001 <813d002c> 614affff 7e895040 41950090 
[  472.761314] ---[ end trace 0000000000000000 ]---
[  472.769088] 
[  473.769091] Kernel panic - not syncing: Fatal exception

5.18.0-rc6-next-20220509 build did not exhibit this problem.
Will try git bisect and report back with results.

- Sachin



More information about the Linuxppc-dev mailing list