[ 1169.706055] gim: loading out-of-tree module taints kernel. [ 1169.706290] gim: module verification failed: signature and/or required key missing - tainting kernel [ 1169.709673] gim info:(gim_init:149) Start AMD open source GIM initialization [ 1169.709675] gim info:(gim_init:151) GPU IOV MODULE - version 0.0 [ 1169.709676] gim info:(gim_init:154) Copyright (c) 2014-2017 Advanced Micro Devices, Inc. All rights reserved. [ 1169.709692] gim warning:(read_config_file:241) can't open /etc/gim_config because of error: -2 [ 1169.709692] gim info:(init_config:341) INIT CONFIG [ 1169.722934] gim info:(set_new_adapter:572) curr allocated at 000000008fd218cc [ 1169.722936] gim info:(set_new_adapter:579) SRIOV is supported [ 1169.722939] gim info:(set_new_adapter:587) found PCI bridge device [ 1169.722941] gim info:(set_new_adapter:588) found: 40:3.1 [ 1169.722966] gim info:(set_new_adapter:608) mmio_base = 000000006fce0f76 [ 1169.723234] gim info:(set_new_adapter:610) doorbell = 000000008e5713cd [ 1169.723235] gim error:(map_fb:369) can't iomap for BAR 0 [ 1169.723238] gim info:(set_new_adapter:612) pf.fb_va = 0000000000000000 [ 1169.723252] gim info:(sriov_is_ari_enabled:164) PCI_SRIOV_CAP = 0x00000002 [ 1169.723254] gim info:(sriov_is_ari_enabled:174) PCI_SRIOV_CTRL = 0x00000010 [ 1169.723255] gim info:(sriov_is_ari_enabled:177) PCI_SRIOV_CTRL_ARI is set --> ARI is supported [ 1169.723258] gim info:(program_ari_mode:441) Read bif_strap8 = 0x00200004 [ 1169.723258] gim info:(program_ari_mode:446) program_ari_mode - Set ARI_Mode = PF_BUS [ 1169.723259] gim info:(program_ari_mode:456) Write bif_strap8 = 0x00000004 [ 1169.723260] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM [ 1169.723381] gim info:(gim_read_vbios:243) VBIOS starts: 0x55, 0xaa [ 1169.723382] gim info:(gim_read_vbios:246) VBios size is 0x10000 [ 1169.723391] gim info:(gim_read_vbios:249) vbios allocated at 00000000792bd64a [ 1169.723392] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM [ 1169.862746] gim info:(gim_read_vbios:255) BIOS Version Major 0xF Minor 0x31 [ 1169.862777] gim info:(gim_read_vbios:270) Valid video BIOS image, [ 1169.862777] gim info:(gim_read_vbios:271) size = 0x10000, check sum is 0x541300 [ 1169.862780] gim info:(gim_post_vbios:302) Init Parser passed!, continue [ 1169.862783] gim info:(atom_chk_asic_status:332) ATOM_CheckAsicStatus - BIOS_SCRATCH_7 = 0x00000000 [ 1169.862784] gim info:(atom_chk_asic_status:335) Isolate ATOM_S7_ASIC_INIT_COMPLETE_MASK bit(s) = 0x00000000 [ 1169.862786] gim info:(atom_chk_asic_status:339) RLC_CNTL = 0x00000000 [ 1169.862786] gim info:(atom_chk_asic_status:341) Isolate RLC_CNTL__RLC_ENABLE_F32_MASK = 0x00000000 [ 1169.862787] gim info:(atom_chk_asic_status:348) ATOM_ASIC_NEED_POST [ 1169.862787] gim info:(gim_post_vbios:305) Asic needs a VBios post [ 1169.862788] gim info:(atom_post_vbios:200) ATOM_PostVBIOS: firmware_info passed [ 1169.862789] gim info:(atom_post_vbios:250) asic_init before, engine clock = 7530; memory clock =1e848 [ 1170.195669] gim info:(atom_post_vbios:256) asic_init after [ 1170.195669] gim info:(atom_post_vbios:263) atom_init_fan_cntl before [ 1170.195670] gim info:(atom_post_vbios:265) atom_init_fan_cntl after [ 1170.195671] gim info:(gim_post_vbios:311) Post INIT_ASIC successfully! [ 1170.195683] gim info:(firmware_requires_update:510) SMU option ROM version 0x111700 [ 1170.195684] gim info:(firmware_requires_update:511) versus patch version 0x111a00 [ 1170.195697] gim info:(firmware_requires_update:520) RLCV option ROM version 113 versus patch version 129 [ 1170.195697] gim info:(firmware_requires_update:526) TOC found, update it [ 1170.195699] gim info:(patch_firmware:586) Update smc_init table [ 1170.555105] BUG: unable to handle page fault for address: 0000000000020000 [ 1170.555107] #PF: supervisor write access in kernel mode [ 1170.555108] #PF: error_code(0x0002) - not-present page [ 1170.555109] PGD 0 P4D 0 [ 1170.555111] Oops: 0002 [#1] SMP NOPTI [ 1170.555113] CPU: 31 PID: 10223 Comm: insmod Tainted: G OE 5.10.0-6-amd64 #1 Debian 5.10.28-1 [ 1170.555114] Hardware name: Gigabyte Technology Co., Ltd. TRX40 AORUS XTREME/TRX40 AORUS XTREME, BIOS FBi 04/12/2021 [ 1170.555118] RIP: 0010:__memcpy+0x12/0x20 [ 1170.555119] Code: 00 b8 01 00 00 00 85 d2 74 0a c7 05 24 b5 e1 00 0f 00 00 00 c3 cc cc cc 0f 1f 44 00 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 f3 a4 [ 1170.555120] RSP: 0018:ffffba0e89d6fce0 EFLAGS: 00010246 [ 1170.555121] RAX: 0000000000020000 RBX: ffffffffc0e83980 RCX: 0000000000004000 [ 1170.555122] RDX: 0000000000000000 RSI: ffffba0e8a396000 RDI: 0000000000020000 [ 1170.555123] RBP: ffffffffc0eb3cc0 R08: ffffba0e8bd80000 R09: 0000000000000021 [ 1170.555123] R10: 0000000000000000 R11: ffff9892930fd100 R12: ffffba0e8a396000 [ 1170.555124] R13: 0000000000000002 R14: 00000000f4000000 R15: ffffba0e89f1f6a6 [ 1170.555125] FS: 00007fb4b982b540(0000) GS:ffff98966fb00000(0000) knlGS:0000000000000000 [ 1170.555126] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1170.555126] CR2: 0000000000020000 CR3: 0000000895f16000 CR4: 0000000000350ee0 [ 1170.555127] Call Trace: [ 1170.555137] patch_firmware+0x219/0x460 [gim] [ 1170.555143] gim_post_vbios+0x91/0x160 [gim] [ 1170.555148] set_new_adapter+0x229/0x700 [gim] [ 1170.555153] ? enumerate_all_pfs+0x50/0xa0 [gim] [ 1170.555157] gim_init+0x77/0x110 [gim] [ 1170.555162] ? gim_probe+0x40/0x40 [gim] [ 1170.555165] do_one_initcall+0x44/0x1d0 [ 1170.555167] ? do_init_module+0x23/0x260 [ 1170.555169] ? kmem_cache_alloc_trace+0xf5/0x200 [ 1170.555170] do_init_module+0x5c/0x260 [ 1170.555171] __do_sys_finit_module+0xb1/0x110 [ 1170.555173] do_syscall_64+0x33/0x80 [ 1170.555175] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1170.555176] RIP: 0033:0x7fb4b994c9b9 [ 1170.555177] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 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 a7 54 0c 00 f7 d8 64 89 01 48 [ 1170.555178] RSP: 002b:00007ffc86ba3198 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 1170.555179] RAX: ffffffffffffffda RBX: 00005555d08bb7a0 RCX: 00007fb4b994c9b9 [ 1170.555180] RDX: 0000000000000000 RSI: 00005555cf794260 RDI: 0000000000000003 [ 1170.555180] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007fb4b9a16640 [ 1170.555181] R10: 0000000000000003 R11: 0000000000000246 R12: 00005555cf794260 [ 1170.555182] R13: 0000000000000000 R14: 00005555d08bb760 R15: 0000000000000000 [ 1170.555183] Modules linked in: gim(OE+) rfcomm nfnetlink cmac algif_hash algif_skcipher af_alg bnep binfmt_misc btusb btrtl btbcm nls_ascii btintel iwlmvm amd64_edac_mod nls_cp437 edac_mce_amd vfat amd_energy bluetooth snd_usb_audio fat mac80211 jitterentropy_rng snd_usbmidi_lib kvm_amd drbg snd_rawmidi snd_hda_codec_hdmi joydev snd_seq_device ansi_cprng kvm mc snd_hda_intel snd_intel_dspcfg libarc4 soundwire_intel soundwire_generic_allocation ecdh_generic ecc snd_soc_core iwlwifi irqbypass snd_compress rapl wmi_bmof soundwire_cadence cfg80211 snd_hda_codec efi_pstore pcspkr snd_hda_core sg snd_hwdep soundwire_bus rfkill snd_pcm snd_timer snd ccp soundcore sp5100_tco watchdog k10temp tpm_crb tpm_tis tpm_tis_core tpm rng_core evdev acpi_cpufreq drm msr fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic hid_logitech_hidpp hid_logitech_dj dm_crypt dm_mod hid_generic usbhid hid uas usb_storage sd_mod crc32_pclmul crc32c_intel ghash_clmulni_intel mxm_wmi [ 1170.555217] ixgbe aesni_intel ahci libaes libahci crypto_simd xhci_pci cryptd xfrm_algo glue_helper dca libata xhci_hcd mdio_devres nvme libphy nvme_core usbcore ptp scsi_mod pps_core t10_pi mdio crc_t10dif crct10dif_generic i2c_piix4 crct10dif_pclmul usb_common crct10dif_common wmi button [ 1170.555229] CR2: 0000000000020000 [ 1170.555230] ---[ end trace 29a4e71ad5659815 ]--- [ 1170.754209] RIP: 0010:__memcpy+0x12/0x20 [ 1170.754210] Code: 00 b8 01 00 00 00 85 d2 74 0a c7 05 24 b5 e1 00 0f 00 00 00 c3 cc cc cc 0f 1f 44 00 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 f3 a4 [ 1170.754211] RSP: 0018:ffffba0e89d6fce0 EFLAGS: 00010246 [ 1170.754212] RAX: 0000000000020000 RBX: ffffffffc0e83980 RCX: 0000000000004000 [ 1170.754213] RDX: 0000000000000000 RSI: ffffba0e8a396000 RDI: 0000000000020000 [ 1170.754213] RBP: ffffffffc0eb3cc0 R08: ffffba0e8bd80000 R09: 0000000000000021 [ 1170.754214] R10: 0000000000000000 R11: ffff9892930fd100 R12: ffffba0e8a396000 [ 1170.754215] R13: 0000000000000002 R14: 00000000f4000000 R15: ffffba0e89f1f6a6 [ 1170.754216] FS: 00007fb4b982b540(0000) GS:ffff98966fb00000(0000) knlGS:0000000000000000 [ 1170.754217] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1170.754217] CR2: 0000000000020000 CR3: 0000000895f16000 CR4: 0000000000350ee0