driver install failed with error "NVRM: BAR1 is 0M" on GA100, ubuntu1804/1604

Hello,

when i try to install the driver on GA100, it is failed with below; i am not sure if any other setting on the bios is needed(4G above decode is enable); thanks your suggestions;

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 driver release.

Please see the log entries ‘Kernel module load error’ and ‘Kernel messages’ at the end of the file ‘/var/log/nvidia-installer.log’ for more information.
-> Kernel module load error: No such device
-> Kernel messages:
[ 26.934251] kauditd_printk_skb: 31 callbacks suppressed
[ 26.934252] audit: type=1400 audit(1584089326.606:43): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“docker-default” pid=1848 comm=“apparmor_parser”
[ 27.237706] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 27.238568] Bridge firewalling registered
[ 27.263381] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
[ 27.579138] Initializing XFRM netlink socket
[ 27.590558] Netfilter messages via NETLINK v0.30.
[ 27.595226] ctnetlink v0.93: registering with nfnetlink.
[ 27.835139] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
[ 132.804440] VFIO - User Level meta-driver version: 0.3
[ 132.827343] ipmi message handler version 39.2
[ 132.836197] ipmi device interface
[ 132.843332] nvidia: loading out-of-tree module taints kernel.
[ 132.843344] nvidia: module license ‘NVIDIA’ taints kernel.
[ 132.843345] Disabling lock debugging due to kernel taint
[ 132.849823] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 132.869542] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[ 132.869979] nvidia 0000:01:00.0: enabling device (0000 -> 0002)
[ 132.870099] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:01:00.0)
[ 132.870099] NVRM: The system BIOS may have misconfigured your GPU.
[ 132.870104] nvidia: probe of 0000:01:00.0 failed with error -1
[ 132.870120] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 132.870120] NVRM: None of the NVIDIA devices were initialized.
[ 132.870264] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

nouveau module is not loaded(checked by “lsmod |grep nouveau”, no output)
thanks your help first

If you already enabled above 4G decoding, then there’s something wrong with the bios. Please attach a complete dmesg from a fresh boot.
What kind of server/board model are you running?