Skip to content

Instantly share code, notes, and snippets.

@mcgrof
Created February 28, 2025 16:19
Show Gist options
  • Save mcgrof/ff79fde8858dde677af33b54d9959524 to your computer and use it in GitHub Desktop.
Save mcgrof/ff79fde8858dde677af33b54d9959524 to your computer and use it in GitHub Desktop.
2 MiB
fio --name=nvme-test --ioengine=io_uring_cmd --filename=/dev/ng3n1 --size=2M --bs=2M --iodepth=1 --rw=write
BUG: unable to handle page fault for address: 000000300000002c
[54217.435580] #PF: supervisor read access in kernel mode
[54217.438270] #PF: error_code(0x0000) - not-present page
[54217.441323] PGD 0 P4D 0
[54217.442815] Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
[54217.445521] CPU: 0 UID: 0 PID: 2163 Comm: fio Not tainted 6.14.0-rc4-bhdev+ #29
[54217.449090] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 2024.11-5 01/28/2025
[54217.453053] RIP: 0010:__blk_rq_map_sg+0xce/0x400
[54217.455364] Code: 10 44 89 44 24 0c 89 34 24 e8 ce a9 05 00 4c 8b 4c 24 18 48 8b 4c 24 10 44 8b 44 24 0c 8b 34 24 48 89 c2 4c 89 f0 49 89 14 24 <4c> 8b 12 44 89 f7 48 c1 e8 0c 81 e7 ff 0f 00 00 48 c1 e0 06 48 03
[54217.463845] RSP: 0018:ffffaf39c3be7a90 EFLAGS: 00010202
[54217.466315] RAX: 000000013ad27000 RBX: ffff9661e011b000 RCX: ffff9661e0f24000
[54217.469744] RDX: 000000300000002c RSI: 0000000000001000 RDI: ffff9661e011c000
[54217.473341] RBP: 0000000000000080 R08: 0000000000000081 R09: ffff9661e42e6200
[54217.476652] R10: 0000000145ebd000 R11: 0000000000000080 R12: ffffaf39c3be7b50
[54217.479668] R13: 0000000000001000 R14: 000000013ad27000 R15: 0000000000000000
[54217.482611] FS: 00007f11495eedc0(0000) GS:ffff96623bc00000(0000) knlGS:0000000000000000
[54217.485776] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[54217.488543] CR2: 000000300000002c CR3: 0000000124f5a004 CR4: 0000000000772ef0
[54217.491004] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[54217.493812] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[54217.496959] PKRU: 55555554
[54217.498170] Call Trace:
[54217.499463] <TASK>
[54217.500536] ? __die_body.cold+0x19/0x26
[54217.502005] ? page_fault_oops+0xa2/0x230
[54217.503917] ? __kmalloc_noprof+0x33f/0x4e0
[54217.506015] ? do_user_addr_fault+0x63/0x640
[54217.508056] ? exc_page_fault+0x7a/0x190
[54217.509786] ? asm_exc_page_fault+0x22/0x30
[54217.511162] ? __blk_rq_map_sg+0xce/0x400
[54217.512334] ? mempool_alloc_noprof+0x5d/0x1a0
[54217.514338] ? bio_split_rw_at+0xee/0x240
[54217.515563] nvme_prep_rq.part.0+0xad/0xa00 [nvme]
[54217.517709] ? blk_rq_append_bio+0x46/0xd0
[54217.519267] nvme_queue_rq+0x85/0x1e0 [nvme]
[54217.521126] blk_mq_dispatch_rq_list+0x126/0x7d0
[54217.522633] ? sbitmap_get+0x4e/0xe0
[54217.524318] __blk_mq_sched_dispatch_requests+0xae/0x630
[54217.525678] ? preempt_count_add+0x69/0xa0
[54217.526730] ? _raw_spin_lock+0x13/0x40
[54217.527721] blk_mq_sched_dispatch_requests+0x29/0x70
[54217.529756] blk_mq_run_hw_queue+0x263/0x2e0
[54217.531466] nvme_uring_cmd_io+0x257/0x280 [nvme_core]
[54217.533553] io_uring_cmd+0x94/0x110
[54217.534927] io_issue_sqe+0x245/0x590
[54217.536394] ? io_cache_alloc_new+0x15/0x60
[54217.538232] io_submit_sqes+0x1f7/0x5f0
[54217.539366] ? __io_uring_add_tctx_node+0x4d/0x140
[54217.541167] __do_sys_io_uring_enter+0x3ff/0x740
[54217.542842] ? preempt_count_add+0x47/0xa0
[54217.544538] ? up_read+0x37/0x70
[54217.545884] ? do_user_addr_fault+0x18e/0x640
[54217.547496] do_syscall_64+0x4b/0x110
[54217.548726] entry_SYSCALL_64_after_hwframe+0x76/0x7e
[54217.550580] RIP: 0033:0x55e548a8b2db
[54217.551686] Code: c0 74 74 8b b5 98 00 00 00 85 f6 74 53 48 8b 45 20 8b 7d 00 41 ba 01 00 00 00 45 31 c0 45 31 c9 31 d2 44 8b 28 44 89 f0 0f 05 <49> 89 c7 89 c3 85 c0 7e 9c 89 c2 44 89 ee 4c 89 e7 31 db e8 7d f4
[54217.558152] RSP: 002b:00007ffed2d5cdc0 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
[54217.560180] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000055e548a8b2db
[54217.561675] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000006
[54217.563164] RBP: 000055e553114900 R08: 0000000000000000 R09: 0000000000000000
[54217.564716] R10: 0000000000000001 R11: 0000000000000246 R12: 00007f113ee89000
[54217.566164] R13: 0000000000000000 R14: 00000000000001aa R15: 0000000000000000
[54217.568089] </TASK>
[54217.568818] Modules linked in: sunrpc 9p nls_iso8859_1 nls_cp437 crc32c_generic vfat fat kvm_intel kvm ghash_clmulni_intel sha512_ssse3 sha512_generic sha256_ssse3 sha1_ssse3 aesni_intel gf128mul crypto_simd cryptd 9pnet_virtio virtio_balloon virtio_console joydev button evdev serio_raw drm nvme_fabrics dm_mod nfnetlink vsock_loopback vmw_vsock_virtio_transport_common vsock autofs4 ext4 crc16 mbcache jbd2 btrfs blake2b_generic efivarfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid1 raid0 md_mod virtio_net net_failover virtio_blk failover nvme psmouse nvme_core virtio_pci virtio_pci_legacy_dev virtio_pci_modern_dev virtio virtio_ring
[54217.586389] CR2: 000000300000002c
[54217.587272] ---[ end trace 0000000000000000 ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment