-
Notifications
You must be signed in to change notification settings - Fork 94
gim error on CentOS 8.1 with AMD FirePro S7150x2 #33
Description
Hi,
I've added the following lines to GRUB_CMDLINE_LINUX_DEFAULT:
GRUB_CMDLINE_LINUX_DEFAULT=[...] amd_iommu=on pci=realloc
I've built and install the driver, according to the README.md, with the gim.sh-script.
I've also blacklisted the amdgpu-module.
Know, if I load the module with
modprobe gim
the lspci-command only shows me the hardware-gpus, but not the virtual gpus:
lspci | grep "VGA"
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XT GL [FirePro S7150]
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XT GL [FirePro S7150]
66:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)
I got the following errors:
dmesg| grep "gim error"
[ 20.394094] gim error:(map_mmio:52) adapter has no suitable MMIO region
[ 20.395372] gim error:(gim_read_vbios:239) Invalid AMD VBIOS
[ 20.395388] gim error:(set_new_adapter:631) Failed to read vbios
[ 20.395409] gim error:(map_mmio:52) adapter has no suitable MMIO region
[ 20.395487] gim error:(gim_read_vbios:239) Invalid AMD VBIOS
[ 20.395501] gim error:(set_new_adapter:631) Failed to read vbios
[ 1896.494751] gim error:(map_mmio:52) adapter has no suitable MMIO region
[ 1896.494931] gim error:(gim_read_vbios:239) Invalid AMD VBIOS
[ 1896.494946] gim error:(set_new_adapter:631) Failed to read vbios
[ 1896.494968] gim error:(map_mmio:52) adapter has no suitable MMIO region
[ 1896.495035] gim error:(gim_read_vbios:239) Invalid AMD VBIOS
[ 1896.495050] gim error:(set_new_adapter:631) Failed to read vbios
[ 2507.741053] gim error:(map_mmio:52) adapter has no suitable MMIO region
[ 2507.741273] gim error:(gim_read_vbios:239) Invalid AMD VBIOS
[ 2507.741288] gim error:(set_new_adapter:631) Failed to read vbios
[ 2507.741308] gim error:(map_mmio:52) adapter has no suitable MMIO region
[ 2507.741377] gim error:(gim_read_vbios:239) Invalid AMD VBIOS
[ 2507.741396] gim error:(set_new_adapter:631) Failed to read vbios`
...and the complete information about gim:
dmesg| grep "gim info"
[ 20.376849] gim info:(gim_init:149) Start AMD open source GIM initialization
[ 20.376850] gim info:(gim_init:152) GPU IOV MODULE - version 1.1.4
[ 20.376851] gim info:(gim_init:154) Copyright (c) 2014-2017 Advanced Micro Devices, Inc. All rights reserved.
[ 20.377021] gim info:(parse_config_file:219) AMD GIM fb_option = 0
[ 20.377022] gim info:(parse_config_file:219) AMD GIM sched_option = 0
[ 20.377022] gim info:(parse_config_file:219) AMD GIM vf_num = 0
[ 20.377023] gim info:(parse_config_file:219) AMD GIM pf_fb = 0
[ 20.377023] gim info:(parse_config_file:219) AMD GIM vf_fb = 0
[ 20.377024] gim info:(parse_config_file:219) AMD GIM sched_interval = 0
[ 20.377024] gim info:(parse_config_file:219) AMD GIM sched_interval_us = 0
[ 20.377025] gim info:(parse_config_file:219) AMD GIM fb_clear = 0
[ 20.377026] gim info:(init_config:341) INIT CONFIG
[ 20.394085] gim info:(set_new_adapter:572) curr allocated at 00000000750f3b2f
[ 20.394088] gim info:(set_new_adapter:579) SRIOV is supported
[ 20.394091] gim info:(set_new_adapter:587) found PCI bridge device
[ 20.394093] gim info:(set_new_adapter:591) found: 02:8.0
[ 20.394135] gim info:(set_new_adapter:608) mmio_base = (null)
[ 20.394194] gim info:(set_new_adapter:610) doorbell = 00000000c5a34a74
[ 20.394236] gim info:(set_new_adapter:612) pf.fb_va = 000000007ca10271
[ 20.394259] gim info:(sriov_is_ari_enabled:164) PCI_SRIOV_CAP = 0x00000002
[ 20.394261] gim info:(sriov_is_ari_enabled:174) PCI_SRIOV_CTRL = 0x00000010
[ 20.394262] gim info:(sriov_is_ari_enabled:177) PCI_SRIOV_CTRL_ARI is set --> ARI is supported
[ 20.394651] gim info:(program_ari_mode:441) Read bif_strap8 = 0xffffffff
[ 20.394652] gim info:(program_ari_mode:446) program_ari_mode - Set ARI_Mode = PF_BUS
[ 20.394652] gim info:(program_ari_mode:456) Write bif_strap8 = 0xff9fffff
[ 20.394737] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM
[ 20.395389] gim info:(gim_probe:91) AMD GIM probe: pf_count = 0
[ 20.395406] gim info:(set_new_adapter:572) curr allocated at 00000000750f3b2f
[ 20.395406] gim info:(set_new_adapter:579) SRIOV is supported
[ 20.395408] gim info:(set_new_adapter:587) found PCI bridge device
[ 20.395409] gim info:(set_new_adapter:591) found: 02:10.0
[ 20.395427] gim info:(set_new_adapter:608) mmio_base = (null)
[ 20.395452] gim info:(set_new_adapter:610) doorbell = 000000007bc2e053
[ 20.395463] gim info:(set_new_adapter:612) pf.fb_va = 00000000f0233b7e
[ 20.395479] gim info:(sriov_is_ari_enabled:164) PCI_SRIOV_CAP = 0x00000002
[ 20.395481] gim info:(sriov_is_ari_enabled:174) PCI_SRIOV_CTRL = 0x00000010
[ 20.395482] gim info:(sriov_is_ari_enabled:177) PCI_SRIOV_CTRL_ARI is set --> ARI is supported
[ 20.395483] gim info:(program_ari_mode:441) Read bif_strap8 = 0xffffffff
[ 20.395485] gim info:(program_ari_mode:446) program_ari_mode - Set ARI_Mode = PF_BUS
[ 20.395486] gim info:(program_ari_mode:456) Write bif_strap8 = 0xff9fffff
[ 20.395486] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM
[ 20.395502] gim info:(gim_probe:91) AMD GIM probe: pf_count = 0
[ 1892.668543] gim info:(gim_exit:187) Exit AMD open source GIM!
[ 1896.468734] gim info:(gim_init:149) Start AMD open source GIM initialization
[ 1896.468735] gim info:(gim_init:152) GPU IOV MODULE - version 1.1.4
[ 1896.468736] gim info:(gim_init:154) Copyright (c) 2014-2017 Advanced Micro Devices, Inc. All rights reserved.
[ 1896.468958] gim info:(parse_config_file:219) AMD GIM fb_option = 0
[ 1896.468959] gim info:(parse_config_file:219) AMD GIM sched_option = 0
[ 1896.468960] gim info:(parse_config_file:219) AMD GIM vf_num = 0
[ 1896.468960] gim info:(parse_config_file:219) AMD GIM pf_fb = 0
[ 1896.468961] gim info:(parse_config_file:219) AMD GIM vf_fb = 0
[ 1896.468962] gim info:(parse_config_file:219) AMD GIM sched_interval = 0
[ 1896.468962] gim info:(parse_config_file:219) AMD GIM sched_interval_us = 0
[ 1896.468963] gim info:(parse_config_file:219) AMD GIM fb_clear = 0
[ 1896.468963] gim info:(init_config:341) INIT CONFIG
[ 1896.494745] gim info:(set_new_adapter:572) curr allocated at 00000000a4065a28
[ 1896.494746] gim info:(set_new_adapter:579) SRIOV is supported
[ 1896.494749] gim info:(set_new_adapter:587) found PCI bridge device
[ 1896.494750] gim info:(set_new_adapter:591) found: 02:8.0
[ 1896.494777] gim info:(set_new_adapter:608) mmio_base = (null)
[ 1896.494878] gim info:(set_new_adapter:610) doorbell = 0000000018dfb618
[ 1896.494898] gim info:(set_new_adapter:612) pf.fb_va = 000000001a80e637
[ 1896.494926] gim info:(sriov_is_ari_enabled:164) PCI_SRIOV_CAP = 0x00000002
[ 1896.494928] gim info:(sriov_is_ari_enabled:174) PCI_SRIOV_CTRL = 0x00000010
[ 1896.494928] gim info:(sriov_is_ari_enabled:177) PCI_SRIOV_CTRL_ARI is set --> ARI is supported
[ 1896.494929] gim info:(program_ari_mode:441) Read bif_strap8 = 0xffffffff
[ 1896.494929] gim info:(program_ari_mode:446) program_ari_mode - Set ARI_Mode = PF_BUS
[ 1896.494930] gim info:(program_ari_mode:456) Write bif_strap8 = 0xff9fffff
[ 1896.494930] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM
[ 1896.494947] gim info:(gim_probe:91) AMD GIM probe: pf_count = 0
[ 1896.494965] gim info:(set_new_adapter:572) curr allocated at 00000000a4065a28
[ 1896.494965] gim info:(set_new_adapter:579) SRIOV is supported
[ 1896.494967] gim info:(set_new_adapter:587) found PCI bridge device
[ 1896.494967] gim info:(set_new_adapter:591) found: 02:10.0
[ 1896.494986] gim info:(set_new_adapter:608) mmio_base = (null)
[ 1896.495003] gim info:(set_new_adapter:610) doorbell = 00000000630f5a53
[ 1896.495014] gim info:(set_new_adapter:612) pf.fb_va = 00000000207f0629
[ 1896.495031] gim info:(sriov_is_ari_enabled:164) PCI_SRIOV_CAP = 0x00000002
[ 1896.495032] gim info:(sriov_is_ari_enabled:174) PCI_SRIOV_CTRL = 0x00000010
[ 1896.495033] gim info:(sriov_is_ari_enabled:177) PCI_SRIOV_CTRL_ARI is set --> ARI is supported
[ 1896.495033] gim info:(program_ari_mode:441) Read bif_strap8 = 0xffffffff
[ 1896.495033] gim info:(program_ari_mode:446) program_ari_mode - Set ARI_Mode = PF_BUS
[ 1896.495034] gim info:(program_ari_mode:456) Write bif_strap8 = 0xff9fffff
[ 1896.495034] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM
[ 1896.495050] gim info:(gim_probe:91) AMD GIM probe: pf_count = 0
[ 2502.920164] gim info:(gim_exit:187) Exit AMD open source GIM!
[ 2507.733646] gim info:(gim_init:149) Start AMD open source GIM initialization
[ 2507.733648] gim info:(gim_init:152) GPU IOV MODULE - version 1.1.4
[ 2507.733649] gim info:(gim_init:154) Copyright (c) 2014-2017 Advanced Micro Devices, Inc. All rights reserved.
[ 2507.733667] gim info:(parse_config_file:219) AMD GIM fb_option = 0
[ 2507.733668] gim info:(parse_config_file:219) AMD GIM sched_option = 0
[ 2507.733668] gim info:(parse_config_file:219) AMD GIM vf_num = 0
[ 2507.733669] gim info:(parse_config_file:219) AMD GIM pf_fb = 0
[ 2507.733669] gim info:(parse_config_file:219) AMD GIM vf_fb = 0
[ 2507.733670] gim info:(parse_config_file:219) AMD GIM sched_interval = 0
[ 2507.733671] gim info:(parse_config_file:219) AMD GIM sched_interval_us = 0
[ 2507.733671] gim info:(parse_config_file:219) AMD GIM fb_clear = 0
[ 2507.733672] gim info:(init_config:341) INIT CONFIG
[ 2507.741048] gim info:(set_new_adapter:572) curr allocated at 00000000750f3b2f
[ 2507.741050] gim info:(set_new_adapter:579) SRIOV is supported
[ 2507.741052] gim info:(set_new_adapter:587) found PCI bridge device
[ 2507.741052] gim info:(set_new_adapter:591) found: 02:8.0
[ 2507.741085] gim info:(set_new_adapter:608) mmio_base = (null)
[ 2507.741223] gim info:(set_new_adapter:610) doorbell = 000000000fc7370a
[ 2507.741248] gim info:(set_new_adapter:612) pf.fb_va = 00000000de62fd52
[ 2507.741269] gim info:(sriov_is_ari_enabled:164) PCI_SRIOV_CAP = 0x00000002
[ 2507.741270] gim info:(sriov_is_ari_enabled:174) PCI_SRIOV_CTRL = 0x00000010
[ 2507.741271] gim info:(sriov_is_ari_enabled:177) PCI_SRIOV_CTRL_ARI is set --> ARI is supported
[ 2507.741272] gim info:(program_ari_mode:441) Read bif_strap8 = 0xffffffff
[ 2507.741272] gim info:(program_ari_mode:446) program_ari_mode - Set ARI_Mode = PF_BUS
[ 2507.741272] gim info:(program_ari_mode:456) Write bif_strap8 = 0xff9fffff
[ 2507.741273] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM
[ 2507.741289] gim info:(gim_probe:91) AMD GIM probe: pf_count = 0
[ 2507.741305] gim info:(set_new_adapter:572) curr allocated at 00000000750f3b2f
[ 2507.741305] gim info:(set_new_adapter:579) SRIOV is supported
[ 2507.741307] gim info:(set_new_adapter:587) found PCI bridge device
[ 2507.741307] gim info:(set_new_adapter:591) found: 02:10.0
[ 2507.741325] gim info:(set_new_adapter:608) mmio_base = (null)
[ 2507.741342] gim info:(set_new_adapter:610) doorbell = 00000000e6a63ac0
[ 2507.741356] gim info:(set_new_adapter:612) pf.fb_va = 00000000b9923efe
[ 2507.741372] gim info:(sriov_is_ari_enabled:164) PCI_SRIOV_CAP = 0x00000002
[ 2507.741374] gim info:(sriov_is_ari_enabled:174) PCI_SRIOV_CTRL = 0x00000010
[ 2507.741374] gim info:(sriov_is_ari_enabled:177) PCI_SRIOV_CTRL_ARI is set --> ARI is supported
[ 2507.741375] gim info:(program_ari_mode:441) Read bif_strap8 = 0xffffffff
[ 2507.741375] gim info:(program_ari_mode:446) program_ari_mode - Set ARI_Mode = PF_BUS
[ 2507.741376] gim info:(program_ari_mode:456) Write bif_strap8 = 0xff9fffff
[ 2507.741376] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM
[ 2507.741397] gim info:(gim_probe:91) AMD GIM probe: pf_count = 0
has anyone an idea, how can I fix this?