All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-xfs@vger.kernel.org
Subject: [Bug 215804] [xfstests generic/670] Unable to handle kernel paging request at virtual address fffffbffff000008
Date: Thu, 07 Apr 2022 02:18:18 +0000	[thread overview]
Message-ID: <bug-215804-201763-9PWNuogprJ@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-215804-201763@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=215804

--- Comment #10 from Zorro Lang (zlang@redhat.com) ---
(In reply to Matthew Wilcox from comment #9)
> Created attachment 300704 [details]
> Proposed fix
> 
> Please test on arm64; generic/670 passes on x86-64 with this patch, but then
> it passed before.

Hi Matthew,

The reproducer (of this bug) test passed on aarch64 with this patch. But I just
hit another panic on x86_64 as below[1], by doing regression test(run trinity).

As it's not reproducible 100%, so I'm trying to reproduce it without your
patch. If you think it's another issue, not a regression from your patch, I'll
report another bug to track it.

Thanks,
Zorro

[1]
[  361.335242] futex_wake_op: trinity-c9 tries to shift op by -354; fix this
program 
[  367.675001] futex_wake_op: trinity-c19 tries to shift op by -608; fix this
program 
[  383.028587] page:00000000b6110ce7 refcount:6 mapcount:0
mapping:00000000fd87c1f3 index:0x174 pfn:0x8d6c00 
[  383.039316] head:00000000b6110ce7 order:9 compound_mapcount:0
compound_pincount:0 
[  383.047703] aops:xfs_address_space_operations [xfs] ino:a6 dentry
name:"trinity-testfile2" 
[  383.057131] flags:
0x57ffffc0012005(locked|uptodate|private|head|node=1|zone=2|lastcpupid=0x1fffff) 
[  383.067258] raw: 0057ffffc0012005 0000000000000000 dead000000000122
ffff888136653410 
[  383.075925] raw: 0000000000000174 ffff88810bee5900 00000006ffffffff
0000000000000000 
[  383.084589] page dumped because: VM_BUG_ON_FOLIO(folio_nr_pages(old) !=
nr_pages) 
[  383.092987] ------------[ cut here ]------------ 
[  383.098154] kernel BUG at mm/memcontrol.c:6857! 
[  383.103235] invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI 
[  383.109456] CPU: 16 PID: 22651 Comm: trinity-c14 Kdump: loaded Not tainted
5.18.0-rc1+ #1 
[  383.118586] Hardware name: Dell Inc. PowerEdge R430/0CN7X8, BIOS 2.8.0
05/23/2018 
[  383.126938] RIP: 0010:mem_cgroup_migrate+0x21f/0x300 
[  383.132483] Code: 48 89 ef e8 73 78 e7 ff 0f 0b 48 c7 c6 20 0a d8 94 48 89
ef e8 62 78 e7 ff 0f 0b 48 c7 c6 80 0a d8 94 48 89 ef e8 51 78 e7 ff <0f> 0b e8
9a 2b ba ff 89 de 4c 89 ef e8 c0 3c ff ff 48 89 ea 48 b8 
[  383.153442] RSP: 0018:ffffc90023f1f6f8 EFLAGS: 00010282 
[  383.159275] RAX: 0000000000000045 RBX: 0000000000000200 RCX:
0000000000000000 
[  383.167239] RDX: 0000000000000001 RSI: ffffffff94ea1540 RDI:
fffff520047e3ecf 
[  383.175202] RBP: ffffea00235b0000 R08: 0000000000000045 R09:
ffff8888091fda47 
[  383.183165] R10: ffffed110123fb48 R11: 0000000000000001 R12:
ffffea0005f59b00 
[  383.191130] R13: 0000000000000000 R14: ffffea00235b0034 R15:
ffff88810bee5900 
[  383.199094] FS:  00007fda9afb2740(0000) GS:ffff888809000000(0000)
knlGS:0000000000000000 
[  383.208123] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 
[  383.214535] CR2: 00007fda9a36c07c CR3: 0000000182c78001 CR4:
00000000003706e0 
[  383.222498] DR0: 00007fda9aecd000 DR1: 00007fda9aece000 DR2:
0000000000000000 
[  383.230461] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
00000000000f0602 
[  383.238424] Call Trace: 
[  383.241151]  <TASK> 
[  383.243490]  iomap_migrate_page+0xdc/0x490 
[  383.248068]  move_to_new_page+0x1fa/0xdf0 
[  383.252545]  ? remove_migration_ptes+0xf0/0xf0 
[  383.257497]  ? try_to_migrate+0x13d/0x260 
[  383.261975]  ? try_to_unmap+0x150/0x150 
[  383.266248]  ? try_to_unmap_one+0x1cd0/0x1cd0 
[  383.271110]  ? anon_vma_ctor+0xe0/0xe0 
[  383.275294]  ? page_get_anon_vma+0x240/0x240 
[  383.280064]  __unmap_and_move+0xc38/0x1090 
[  383.284638]  ? unmap_and_move_huge_page+0x1210/0x1210 
[  383.290278]  ? __lock_release+0x4bd/0x9f0 
[  383.294759]  ? alloc_migration_target+0x267/0x8d0 
[  383.300015]  unmap_and_move+0xd6/0xe50 
[  383.304209]  ? migrate_page+0x250/0x250 
[  383.308496]  migrate_pages+0x6c5/0x12a0 
[  383.312778]  ? migrate_page+0x250/0x250 
[  383.317063]  ? buffer_migrate_page_norefs+0x10/0x10 
[  383.322510]  ? sched_clock_cpu+0x15/0x1b0 
[  383.326991]  move_pages_and_store_status.isra.0+0xe9/0x1b0 
[  383.333117]  ? migrate_pages+0x12a0/0x12a0 
[  383.337692]  ? __might_fault+0xb8/0x160 
[  383.341979]  do_pages_move+0x343/0x450 
[  383.346166]  ? move_pages_and_store_status.isra.0+0x1b0/0x1b0 
[  383.352587]  ? find_mm_struct+0x353/0x5c0 
[  383.357065]  kernel_move_pages+0x13c/0x1e0 
[  383.361641]  ? do_pages_move+0x450/0x450 
[  383.366024]  ? ktime_get_coarse_real_ts64+0x128/0x160 
[  383.371666]  ? lockdep_hardirqs_on+0x79/0x100 
[  383.376530]  ? ktime_get_coarse_real_ts64+0x128/0x160 
[  383.382176]  __x64_sys_move_pages+0xdc/0x1b0 
[  383.386951]  ? syscall_trace_enter.constprop.0+0x179/0x250 
[  383.393081]  do_syscall_64+0x3b/0x90 
[  383.397064]  entry_SYSCALL_64_after_hwframe+0x44/0xae 
[  383.402706] RIP: 0033:0x7fda9ac43dfd 
[  383.406698] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d fb 5f 1b 00 f7 d8 64 89 01 48 
[  383.427647] RSP: 002b:00007ffde3a9cb48 EFLAGS: 00000246 ORIG_RAX:
0000000000000117 
[  383.436092] RAX: ffffffffffffffda RBX: 0000000000000002 RCX:
00007fda9ac43dfd 
[  383.444057] RDX: 00000000022b0760 RSI: 0000000000000038 RDI:
0000000000000000 
[  383.452020] RBP: 00007fda9af49000 R08: 00000000022ac6f0 R09:
0000000000000000 
[  383.459983] R10: 00000000022ac600 R11: 0000000000000246 R12:
0000000000000117 
[  383.467946] R13: 00007fda9afb26c0 R14: 00007fda9af49058 R15:
00007fda9af49000 
[  383.475917]  </TASK> 
[  383.478355] Modules linked in: 8021q garp mrp bridge stp llc vsock_loopback
vmw_vsock_virtio_transport_common ieee802154_socket ieee802154
vmw_vsock_vmci_transport vsock vmw_vmci mpls_router ip_tunnel af_key qrtr hidp
bnep rfcomm bluetooth can_bcm can_raw can pptp gre l2tp_ppp l2tp_netlink
l2tp_core pppoe pppox ppp_generic slhc crypto_user ib_core nfnetlink
scsi_transport_iscsi atm sctp ip6_udp_tunnel udp_tunnel tls iTCO_wdt
iTCO_vendor_support intel_rapl_msr dell_wmi_descriptor video dcdbas
intel_rapl_common intel_uncore_frequency intel_uncore_frequency_common sb_edac
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm mgag200
i2c_algo_bit drm_shmem_helper drm_kms_helper irqbypass rapl intel_cstate
intel_uncore syscopyarea rfkill sysfillrect mei_me sysimgblt joydev fb_sys_fops
pcspkr ipmi_ssif mxm_wmi mei lpc_ich ipmi_si ipmi_devintf ipmi_msghandler
acpi_power_meter sunrpc drm fuse xfs libcrc32c sd_mod t10_pi
crc64_rocksoft_generic crc64_rocksoft crc64 sg crct10dif_pclmul 
[  383.478527]  crc32_pclmul crc32c_intel ahci ghash_clmulni_intel libahci
libata tg3 megaraid_sas wmi 
[  383.585790] ---[ end trace 0000000000000000 ]--- 
[  383.611622] RIP: 0010:mem_cgroup_migrate+0x21f/0x300 
[  383.617187] Code: 48 89 ef e8 73 78 e7 ff 0f 0b 48 c7 c6 20 0a d8 94 48 89
ef e8 62 78 e7 ff 0f 0b 48 c7 c6 80 0a d8 94 48 89 ef e8 51 78 e7 ff <0f> 0b e8
9a 2b ba ff 89 de 4c 89 ef e8 c0 3c ff ff 48 89 ea 48 b8 
[  383.638159] RSP: 0018:ffffc90023f1f6f8 EFLAGS: 00010282 
[  383.644005] RAX: 0000000000000045 RBX: 0000000000000200 RCX:
0000000000000000 
[  383.651983] RDX: 0000000000000001 RSI: ffffffff94ea1540 RDI:
fffff520047e3ecf 
[  383.659955] RBP: ffffea00235b0000 R08: 0000000000000045 R09:
ffff8888091fda47 
[  383.667927] R10: ffffed110123fb48 R11: 0000000000000001 R12:
ffffea0005f59b00 
[  383.675901] R13: 0000000000000000 R14: ffffea00235b0034 R15:
ffff88810bee5900 
[  383.683875] FS:  00007fda9afb2740(0000) GS:ffff888809000000(0000)
knlGS:0000000000000000 
[  383.692917] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 
[  383.699331] CR2: 00007fda9a36c07c CR3: 0000000182c78001 CR4:
00000000003706e0 
[  383.707303] DR0: 00007fda9aecd000 DR1: 00007fda9aece000 DR2:
0000000000000000 
[  383.715281] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
00000000000f0602 
[  385.747373] trinity-main (14692) used greatest stack depth: 20912 bytes left

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2022-04-07  2:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05  4:44 [Bug 215804] New: [xfstests generic/670] Unable to handle kernel paging request at virtual address fffffbffff000008 bugzilla-daemon
2022-04-05  4:48 ` [Bug 215804] " bugzilla-daemon
2022-04-05  5:13 ` bugzilla-daemon
2022-04-05  5:26 ` [Bug 215804] New: " Dave Chinner
2022-04-05  5:27 ` [Bug 215804] " bugzilla-daemon
2022-04-05 16:27 ` bugzilla-daemon
2022-04-05 19:23 ` [Bug 215804] New: " Matthew Wilcox
2022-04-05 20:48   ` Yang Shi
2022-04-05 19:23 ` [Bug 215804] " bugzilla-daemon
2022-04-05 20:48 ` bugzilla-daemon
2022-04-05 22:57 ` bugzilla-daemon
2022-04-06  4:32 ` bugzilla-daemon
2022-04-06 12:57 ` bugzilla-daemon
2022-04-07  2:18 ` bugzilla-daemon [this message]
2022-04-07  2:33 ` bugzilla-daemon
2022-04-07  2:54 ` bugzilla-daemon
2022-04-08 18:54 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-215804-201763-9PWNuogprJ@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.