Installing driver fails for Tesla V100

Hi, I tried to install the driver for my Tesla V100-PCIE 32GB GPU, but I got errors.

The error messages:
ERROR: Unable to load the kernel module ‘nvidia.ko’. This happens most frequently when this kernel module was built against the wrong or improperly configured
kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents
the NVIDIA kernel module from obtaining ownership of the NVIDIA GPU(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics dri
ver release.

-> Kernel messages:
NVRM: BAR0 is 0M @ 0x0 (PCI:0000:68:00.0)
[ 53.872317] NVRM: The system BIOS may have misconfigured your GPU.
[ 53.872331] nvidia: probe of 0000:68:00.0 failed with error -1
[ 53.872354] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 53.872354] NVRM: None of the NVIDIA devices were initialized.
[ 53.872541] nvidia-nvlink: Unregistered the Nvlink Core, major device number 234
[ 286.880564] VFIO - User Level meta-driver version: 0.3
[ 286.904076] nvidia-nvlink: Nvlink Core is being initialized, major device number 511
[ 286.904354] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR0 is 0M @ 0x0 (PCI:0000:68:00.0)
[ 286.904355] NVRM: The system BIOS may have misconfigured your GPU.
[ 286.904361] nvidia: probe of 0000:68:00.0 failed with error -1
[ 286.904369] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 286.904369] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 286.922295] nvidia-nvlink: Unregistered the Nvlink Core, major device number 511
[ 369.266187] ipmi message handler version 39.2
[ 369.267216] ipmi device interface
[ 369.284455] nvidia-nvlink: Nvlink Core is being initialized, major device number 511
[ 369.284722] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR0 is 0M @ 0x0 (PCI:0000:68:00.0)
[ 369.284722] NVRM: The system BIOS may have misconfigured your GPU.
[ 369.284727] nvidia: probe of 0000:68:00.0 failed with error -1
[ 369.284735] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 369.284735] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 369.302205] nvidia-nvlink: Unregistered the Nvlink Core, major device number 511
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in t
he README available on the Linux driver download page at www.nvidia.com.

Operating system: CentOS 8.
The driver: http://us.download.nvidia.com/tesla/418.87/NVIDIA-Linux-x86_64-418.87.01.run
gcc version 8.2.1 20180905 (Red Hat 8.2.1-3) (GCC)
uname -r 4.18.0-80.11.2.el8_0.x86_64
lspci
68:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe 32GB] (rev a1)
Subsystem: NVIDIA Corporation Device 124a
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 33
NUMA node: 0
Region 1: Memory at e000000000 (64-bit, prefetchable)
Region 3: Memory at e800000000 (64-bit, prefetchable)
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 25.000W
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #16, Speed 8GT/s, Width x16, ASPM not supported
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+

Currently, I have only one GPU installed on the motherboard. Before, I tried to install both a GTX 1660 Ti and a Tesla V100, but the Tesla card was not recognized by nvidia-smi.

Thank you very much for your help!
nvidia-installer.log (26.8 KB)

Please check your bios for an option like “above 4G decoding” or “large/64bit BARs” and enable it.

Thank you very much! The BIOS setting solved my problem.