Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#75419 - kernel: nvme misaligned __add_pages
Attached to Project:
Arch Linux
Opened by Stefan de Konink (skinkie) - Monday, 25 July 2022, 11:10 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 September 2022, 00:14 GMT
Opened by Stefan de Konink (skinkie) - Monday, 25 July 2022, 11:10 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 September 2022, 00:14 GMT
|
DetailsDescription:
[ 1.088605] nvme nvme0: pci function 0000:02:00.0 [ 1.118556] ------------[ cut here ]------------ [ 1.118557] Misaligned __add_pages start: 0xa0400 end: #a0403 [ 1.118563] WARNING: CPU: 10 PID: 137 at mm/memory_hotplug.c:243 __add_pages+0x109/0x110 [ 1.118569] Modules linked in: nvme sr_mod(+) xhci_pci nvme_core crc32_pclmul cdrom xhci_pci_renesas [ 1.118574] CPU: 10 PID: 137 Comm: kworker/u24:5 Not tainted 5.18.14-arch1-1 #1 2cce37e37e4ad1ef84b589b4dfa593feee5baa49 [ 1.118576] Hardware name: MEDION MD34135/2559/B360H4-EM, BIOS 360H4W0X.115 06/17/2019 [ 1.118577] Workqueue: nvme-reset-wq nvme_reset_work [nvme] [ 1.118583] RIP: 0010:__add_pages+0x109/0x110 [ 1.118585] Code: b5 c6 05 8c fc 1f 01 01 e8 66 bd fa ff eb db 49 8d 4c 24 ff 48 89 da 48 c7 c6 f2 95 6d b5 48 c7 c7 20 7d 70 b5 e8 04 5d fa ff <0f> 0b eb bc 0f 1f 00 66 0f 1f 00 0f 1f 44 00 00 41 57 41 56 4c 8d [ 1.118587] RSP: 0018:fffface5c0607c78 EFLAGS: 00010282 [ 1.118588] RAX: 0000000000000000 RBX: 00000000000a0400 RCX: c0000000ffffefff [ 1.118590] RDX: 0000000000000000 RSI: 00000000ffffefff RDI: 0000000000000001 [ 1.118591] RBP: 00000000000a0404 R08: 0000000000000000 R09: fffface5c0607a88 [ 1.118592] R10: 0000000000000003 R11: ffffffffb5ecaa08 R12: 00000000000a0404 [ 1.118593] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000004 [ 1.118594] FS: 0000000000000000(0000) GS:ffff935eadc80000(0000) knlGS:0000000000000000 [ 1.118595] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.118596] CR2: 00007f2332c45674 CR3: 0000000461010005 CR4: 00000000003706e0 [ 1.118597] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1.118598] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1.118599] Call Trace: [ 1.118601] <TASK> [ 1.118602] add_pages+0x16/0x70 [ 1.118606] memremap_pages+0x303/0x600 [ 1.118610] devm_memremap_pages+0x21/0x60 [ 1.118611] pci_p2pdma_add_resource+0x144/0x330 [ 1.118616] nvme_reset_work+0x332/0x1270 [nvme f36678f7d3e47489d3bddc0b856416a990a351ce] [ 1.118620] ? enqueue_task+0x4a/0x180 [ 1.118623] ? ttwu_do_wakeup+0x17/0x170 [ 1.118626] ? try_to_wake_up+0x23e/0x560 [ 1.118629] process_one_work+0x1c4/0x380 [ 1.118632] worker_thread+0x51/0x390 [ 1.118634] ? rescuer_thread+0x3b0/0x3b0 [ 1.118635] kthread+0xdb/0x110 [ 1.118637] ? kthread_complete_and_exit+0x20/0x20 [ 1.118638] ret_from_fork+0x1f/0x30 [ 1.118642] </TASK> [ 1.118643] ---[ end trace 0000000000000000 ]--- [ 1.118645] ------------[ cut here ]------------ [ 1.118645] WARNING: CPU: 10 PID: 137 at arch/x86/mm/init_64.c:956 add_pages+0x5e/0x70 [ 1.118648] Modules linked in: nvme sr_mod(+) xhci_pci nvme_core crc32_pclmul cdrom xhci_pci_renesas [ 1.118652] CPU: 10 PID: 137 Comm: kworker/u24:5 Tainted: G W 5.18.14-arch1-1 #1 2cce37e37e4ad1ef84b589b4dfa593feee5baa49 [ 1.118654] Hardware name: MEDION MD34135/2559/B360H4-EM, BIOS 360H4W0X.115 06/17/2019 [ 1.118654] Workqueue: nvme-reset-wq nvme_reset_work [nvme] [ 1.118658] RIP: 0010:add_pages+0x5e/0x70 [ 1.118660] Code: 02 73 20 48 89 15 ea cd 41 02 48 89 15 f3 cd 41 02 48 c1 e2 0c 48 03 15 90 a2 4f 01 48 89 15 39 cb 41 02 5b 5d e9 76 4f d8 00 <0f> 0b eb b8 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 66 0f 1f 00 [ 1.118662] RSP: 0018:fffface5c0607cb0 EFLAGS: 00010282 [ 1.118663] RAX: 00000000ffffffea RBX: 00000000000a0400 RCX: c0000000ffffefff [ 1.118664] RDX: 0000000000000000 RSI: 00000000ffffefff RDI: 0000000000000001 [ 1.118665] RBP: 0000000000000004 R08: 0000000000000000 R09: fffface5c0607a88 [ 1.118665] R10: 0000000000000003 R11: ffffffffb5ecaa08 R12: 0000000000000000 [ 1.118666] R13: 0000000000000000 R14: ffff935b4389bbb0 R15: 0000000000000004 [ 1.118667] FS: 0000000000000000(0000) GS:ffff935eadc80000(0000) knlGS:0000000000000000 [ 1.118668] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.118669] CR2: 00007f2332c45674 CR3: 0000000461010005 CR4: 00000000003706e0 [ 1.118670] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1.118671] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1.118672] Call Trace: [ 1.118672] <TASK> [ 1.118673] memremap_pages+0x303/0x600 [ 1.118675] devm_memremap_pages+0x21/0x60 [ 1.118676] pci_p2pdma_add_resource+0x144/0x330 [ 1.118679] nvme_reset_work+0x332/0x1270 [nvme f36678f7d3e47489d3bddc0b856416a990a351ce] [ 1.118684] ? enqueue_task+0x4a/0x180 [ 1.118686] ? ttwu_do_wakeup+0x17/0x170 [ 1.118688] ? try_to_wake_up+0x23e/0x560 [ 1.118691] process_one_work+0x1c4/0x380 [ 1.118693] worker_thread+0x51/0x390 [ 1.118695] ? rescuer_thread+0x3b0/0x3b0 [ 1.118697] kthread+0xdb/0x110 [ 1.118698] ? kthread_complete_and_exit+0x20/0x20 [ 1.118699] ret_from_fork+0x1f/0x30 [ 1.118702] </TASK> [ 1.118703] ---[ end trace 0000000000000000 ]--- Should this be upstreamed? |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 11 September 2022, 00:14 GMT
Reason for closing: No response
Sunday, 11 September 2022, 00:14 GMT
Reason for closing: No response
As in reported upstream by you? If you can repro with 5.19.arch1-1 then yeah probably. There is a patch [1] currently in linux-next which may or may not be relevant.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/mm/memory_hotplug.c?id=943189db4f