> On 07-Apr-2022, at 10:19 AM, Sachin Sant <sachinp@xxxxxxxxxxxxx> wrote: > > >> On 04-Apr-2022, at 5:04 PM, Sachin Sant <sachinp@xxxxxxxxxxxxx> wrote: >> >> While running xfstests(ext4 or XFS as fs) on a Power10 LPAR booted with today’s >> next (5.18.0-rc1-next-20220404) following crash is seen. >> >> This problem was possibly introduced with 5.17.0-next-20220330. >> Git bisect leads me to following patch >> commit 1d158814db8e7b3cbca0f2c8d9242fbec4fbc57e >> dm: conditionally enable BIOSET_PERCPU_CACHE for dm_io bioset >> > > Continue to see this problem with latest next. I can still recreate this issue against latest linux-next build. [ 1536.883400] Buffer I/O error on dev dm-0, logical block 10485497, async page read [ 1536.936018] XFS (dm-0): Unmounting Filesystem [ 1536.938849] XFS (dm-0): Mounting V5 Filesystem [ 1536.946007] XFS (dm-0): Ending clean mount [ 1536.947926] xfs filesystem being mounted at /mnt/scratch supports timestamps until 2038 (0x7fffffff) [ 1537.052850] XFS (dm-0): Unmounting Filesystem [ 1537.083979] BUG: Unable to handle kernel data access at 0x5deadbeef0000122 [ 1537.083982] Faulting instruction address: 0xc00000000015b0bc [ 1537.083984] Oops: Kernel access of bad area, sig: 11 [#1] [ 1537.084000] LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA pSeries [ 1537.084006] Modules linked in: dm_snapshot(E) dm_bufio(E) loop(E) dm_flakey(E) xfs(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) rfkill(E) ip_set(E) nf_tables(E) bonding(E) tls(E) libcrc32c(E) nfnetlink(E) sunrpc(E) nd_pmem(E) nd_btt(E) dax_pmem(E) pseries_rng(E) papr_scm(E) libnvdimm(E) vmx_crypto(E) ext4(E) mbcache(E) jbd2(E) sd_mod(E) t10_pi(E) crc64_rocksoft(E) crc64(E) sg(E) ibmvscsi(E) ibmveth(E) scsi_transport_srp(E) fuse(E) [last unloaded: scsi_debug] [ 1537.084056] CPU: 10 PID: 970489 Comm: dmsetup Tainted: G E 5.18.0-rc6-next-20220509 #2 [ 1537.084061] NIP: c00000000015b0bc LR: c00000000015afe8 CTR: c000000000753bb0 [ 1537.084064] REGS: c0000000211fb610 TRAP: 0380 Tainted: G E (5.18.0-rc6-next-20220509) [ 1537.084068] MSR: 800000000280b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE> CR: 24024824 XER: 20040000 [ 1537.084078] CFAR: c00000000015aff0 IRQMASK: 0 [ 1537.084078] GPR00: c00000000015afe8 c0000000211fb8b0 c000000002a7cf00 0000000000000000 [ 1537.084078] GPR04: c0000000f98a1378 0000000000000000 c0000000f5043b50 c00000043463e280 [ 1537.084078] GPR08: c00000043463e280 5deadbeef0000100 5deadbeef0000122 c00800000214dcb0 [ 1537.084078] GPR12: c000000000753bb0 c000000abfff1700 0000000155ee0b60 00007fffa7c29da8 [ 1537.084078] GPR16: 00007fffa7c29da8 00007fffa7c29da8 00007fffa7c63670 0000000000000000 [ 1537.084078] GPR20: 00007fffa7c33388 00007fffa7c62040 0000000155ee0b90 0000000000000131 [ 1537.084078] GPR24: c0000000025adb68 ffffffffffffffff c0000000025adb30 c000000103a5e000 [ 1537.084078] GPR28: c000000002a23ce8 c0000000f98a1378 0000000000000017 0000000000000000 [ 1537.084117] NIP [c00000000015b0bc] __cpuhp_state_remove_instance+0x19c/0x2c0 [ 1537.084125] LR [c00000000015afe8] __cpuhp_state_remove_instance+0xc8/0x2c0 [ 1537.084130] Call Trace: [ 1537.084131] [c0000000211fb8b0] [c00000000015afe8] __cpuhp_state_remove_instance+0xc8/0x2c0 (unreliable) [ 1537.084138] [c0000000211fb920] [c000000000753c14] bioset_exit+0x64/0x280 [ 1537.084144] [c0000000211fb9c0] [c008000002137744] cleanup_mapped_device+0x4c/0x1c0 [dm_mod] [ 1537.084155] [c0000000211fba00] [c008000002137a60] __dm_destroy+0x1a8/0x360 [dm_mod] [ 1537.084163] [c0000000211fbaa0] [c0080000021445c0] dev_remove+0x1b8/0x290 [dm_mod] [ 1537.084172] [c0000000211fbb30] [c00800000214488c] ctl_ioctl+0x1f4/0x7d0 [dm_mod] [ 1537.084181] [c0000000211fbd40] [c008000002144e88] dm_ctl_ioctl+0x20/0x40 [dm_mod] [ 1537.084190] [c0000000211fbd60] [c00000000055ff28] sys_ioctl+0xf8/0x190 [ 1537.084195] [c0000000211fbdb0] [c00000000003377c] system_call_exception+0x17c/0x350 [ 1537.084200] [c0000000211fbe10] [c00000000000c54c] system_call_common+0xec/0x270 [ 1537.084205] --- interrupt: c00 at 0x7fffa7529210 [ 1537.084208] NIP: 00007fffa7529210 LR: 00007fffa7c26824 CTR: 0000000000000000 [ 1537.084211] REGS: c0000000211fbe80 TRAP: 0c00 Tainted: G E (5.18.0-rc6-next-20220509) [ 1537.084215] MSR: 800000000280f033 <SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE> CR: 24004484 XER: 00000000 [ 1537.084224] IRQMASK: 0 [ 1537.084224] GPR00: 0000000000000036 00007fffc7448c30 00007fffa7607300 0000000000000003 [ 1537.084224] GPR04: 00000000c138fd04 0000000155ee0b60 0000000000000004 00007fffa7c33f98 [ 1537.084224] GPR08: 0000000000000003 0000000000000000 0000000000000000 0000000000000000 [ 1537.084224] GPR12: 0000000000000000 00007fffa7d0fa80 0000000155ee0b60 00007fffa7c29da8 [ 1537.084224] GPR16: 00007fffa7c29da8 00007fffa7c29da8 00007fffa7c63670 0000000000000000 [ 1537.084224] GPR20: 00007fffa7c33388 00007fffa7c62040 0000000155ee0b90 0000000155ee02e0 [ 1537.084224] GPR24: 00007fffa7c29da8 00007fffa7c29da8 00007fffa7c29da8 00007fffa7c29da8 [ 1537.084224] GPR28: 0000000000000001 00007fffa7c29da8 0000000000000000 00007fffa7c29da8 [ 1537.084261] NIP [00007fffa7529210] 0x7fffa7529210 [ 1537.084263] LR [00007fffa7c26824] 0x7fffa7c26824 [ 1537.084265] --- interrupt: c00 [ 1537.084267] Instruction dump: [ 1537.084270] 60000000 7f69db78 7f83e040 7c7f07b4 7bea1f24 419cffb4 eae10028 eb210038 [ 1537.084276] eb610048 e93d0000 e95d0008 2fa90000 <f92a0000> 419e0008 f9490008 3d405dea [ 1537.084284] ---[ end trace 0000000000000000 ]--- [ 1537.106557] [ 1538.106559] Kernel panic - not syncing: Fatal exception - Sachin