Hey, not sure this is a bug, but since I have installed a new AMD Radeon RX 6700 XT (Navy Flounder/Navi22) the amdgpu module triggers two "resource sanity checks" on each boot (by the way: not sure what is supposed to cause the "G" taint to the kernel – according to `lsmod | awk '{print $1}' | xargs modinfo -F intree` all modules say they are "intree" and this is a clean build of 5.18 from kernel.org with no modifications; but I do run an unsigned kernel, so the E seems right):
[ +0.000006] resource sanity check: requesting [mem 0x7800000000-0x7bffffffff], which spans more than BOOTFB [mem 0x7800000000-0x78002fffff] [ +0.000003] ------------[ cut here ]------------ [ +0.000000] WARNING: CPU: 23 PID: 318 at arch/x86/mm/pat/memtype.c:776 memtype_reserve_io+0x115/0x130 [ +0.000003] Modules linked in: amdgpu(E+) sd_mod(E+) gpu_sched(E) t10_pi(E) i2c_algo_bit(E) drm_dp_helper(E) crc64_rocksoft_generic(E) cec(E) crc64_rocksoft(E) rc_core(E) crc_t10dif(E) sr_mod(E+) drm_ttm_helper(E) crct10dif_generic(E) crc64(E) cdrom(E) ttm(E) hid_generic(E) usbhid(E) hid(E) crct10dif_pclmul(E) c> [ +0.000013] CPU: 23 PID: 318 Comm: systemd-udevd Tainted: G E 5.18.0-citadel #1 [ +0.000002] Hardware name: ASUS System Product Name/TUF GAMING B550-PLUS WIFI II, BIOS 2604 02/25/2022 [ +0.000000] RIP: 0010:memtype_reserve_io+0x115/0x130 [ +0.000002] Code: 89 ef e8 5e f7 ff ff e9 68 ff ff ff 8b 54 24 0c 4c 89 f6 48 89 ef e8 0a fe ff ff 85 c0 78 ca 8b 44 24 0c 89 03 e9 4a ff ff ff <0f> 0b e9 29 ff ff ff e8 af 18 90 00 66 66 2e 0f 1f 84 00 00 00 00 [ +0.000000] RSP: 0018:ffffb342c098fad0 EFLAGS: 00010286 [ +0.000001] RAX: 00000000ffffffff RBX: ffffb342c098fb24 RCX: 0000000000000000 [ +0.000001] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ +0.000000] RBP: 0000007800000000 R08: 0000000000000000 R09: 0000000000000000 [ +0.000001] R10: 0000000000000000 R11: 0000000000000000 R12: 0000007c00000000 [ +0.000000] R13: 0000000000000001 R14: 0000000400000000 R15: ffff8cfb918a6040 [ +0.000001] FS: 00007f2b807a38c0(0000) GS:ffff8d024edc0000(0000) knlGS:0000000000000000 [ +0.000001] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ +0.000000] CR2: 0000562bbd54b0f8 CR3: 000000013232a000 CR4: 0000000000750ee0 [ +0.000001] PKRU: 55555554 [ +0.000000] Call Trace: [ +0.000001] <TASK> [ +0.000001] ? _dev_info+0x6c/0x96 [ +0.000003] arch_io_reserve_memtype_wc+0x2e/0x50 [ +0.000001] amdgpu_bo_init+0x2b/0x70 [amdgpu] [ +0.000111] gmc_v10_0_sw_init+0x2ef/0x460 [amdgpu] [ +0.000107] amdgpu_device_init.cold+0x1434/0x1be2 [amdgpu] [ +0.000131] ? _raw_spin_unlock_irqrestore+0x23/0x50 [ +0.000002] ? pci_bus_read_config_word+0x49/0x90 [ +0.000004] amdgpu_driver_load_kms+0x15/0x120 [amdgpu] [ +0.000105] amdgpu_pci_probe+0x1cb/0x3e0 [amdgpu] [ +0.000097] local_pci_probe+0x45/0x90 [ +0.000002] ? pci_match_device+0xdf/0x140 [ +0.000002] pci_device_probe+0xc5/0x240 [ +0.000002] really_probe+0x1aa/0x390 [ +0.000002] __driver_probe_device+0x112/0x190 [ +0.000001] driver_probe_device+0x1e/0x90 [ +0.000001] __driver_attach+0xc8/0x1e0 [ +0.000001] ? __device_attach_driver+0xf0/0xf0 [ +0.000001] ? __device_attach_driver+0xf0/0xf0 [ +0.000001] bus_for_each_dev+0x7c/0xd0 [ +0.000001] bus_add_driver+0x154/0x200 [ +0.000001] driver_register+0x8f/0xf0 [ +0.000001] ? 0xffffffffc08c0000 [ +0.000001] do_one_initcall+0x44/0x210 [ +0.000002] ? kmem_cache_alloc_trace+0x177/0x2b0 [ +0.000002] do_init_module+0x4c/0x260 [ +0.000002] __do_sys_finit_module+0xb7/0x130 [ +0.000002] do_syscall_64+0x3b/0x90 [ +0.000002] entry_SYSCALL_64_after_hwframe+0x44/0xae [ +0.000002] RIP: 0033:0x7f2b80c5af79 [ +0.000001] Code: 48 8d 3d da db 0d 00 0f 05 eb a5 66 0f 1f 44 00 00 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 c7 9e 0d 00 f7 d8 64 89 01 48 [ +0.000000] RSP: 002b:00007fffd1afde58 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ +0.000001] RAX: ffffffffffffffda RBX: 0000562bbd54f130 RCX: 00007f2b80c5af79 [ +0.000001] RDX: 0000000000000000 RSI: 0000562bbd548890 RDI: 0000000000000018 [ +0.000000] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000562bbd544e20 [ +0.000001] R10: 0000000000000018 R11: 0000000000000246 R12: 0000562bbd548890 [ +0.000000] R13: 0000000000000000 R14: 0000562bbd546d70 R15: 0000562bbd54f130 [ +0.000001] </TASK> [ +0.000001] ---[ end trace 0000000000000000 ]---
and then right below that:
[ +0.000021] resource sanity check: requesting [mem 0x7800000000-0x7afeffffff], which spans more than BOOTFB [mem 0x7800000000-0x78002fffff] [ +0.000001] caller amdgpu_ttm_init+0x127/0x450 [amdgpu] mapping multiple BARs
Can this be fixed to make the boot slient again? Or is there some setting in the UEFI I should change? I do have resizable BAR active and I do have the SR-IOV setting set to "auto". The mainboard runs a B550 chipset with a Ryzen 9 5900X plugged into it. There should be enough RAM available, since I have 32 GB installed.
Let me know if you need more information.
Cheers, Kai
P.S.: Attached to this e-mail you find the dmesg filtered for amdgpu and drm messages.