NVIDIA RmInitAdapter failed! issue

HI Team,

We have recently attached a NVIDIA GPU to our ubuntu 20 VM through PCI from VMware vcenter sphere. Post that we have installed the necessary drivers and rebooted the VM post that we still do not detect drivers using nvidia-smi command.

These are the error logs gathered.

dmesg | grep -i nvrm
[ 7.774997] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0b:00.0)
[ 7.774998] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR2 is 0M @ 0x0 (PCI:0000:0b:00.0)
[ 7.775009] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR5 is 0M @ 0x0 (PCI:0000:0b:00.0)
[ 7.826661] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 570.172.08 Tue Jul 8 18:31:33 UTC 2025
[ 11.819187] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x24:0x72:1512)
[ 11.821085] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 13.987252] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 13.989194] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 16.049078] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 16.050965] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 18.205027] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 18.207130] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 29.269092] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 29.270960] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 31.464971] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 31.466823] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 34.036793] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 34.038657] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 36.232967] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 36.234829] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 38.428774] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 38.430965] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 40.624807] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 40.627030] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 75.212450] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 75.214544] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 107.452354] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 107.454433] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 2694.030411] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 2694.032445] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 3104.222923] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 3104.224816] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[ 7990.014366] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[ 7990.016375] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[11315.538590] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[11315.540537] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[12076.540245] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[12076.542192] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[12078.736152] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[12078.738065] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[12080.948122] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[12080.950086] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[12083.144238] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[12083.146224] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[12085.340407] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[12085.342427] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[12087.536016] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[12087.538042] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[13507.868212] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[13507.870283] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16144.406315] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16144.408217] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16146.626151] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16146.628040] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16155.346209] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16155.348414] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16159.622097] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16159.624115] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16161.886068] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16161.888103] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16164.094226] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16164.096341] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16166.302041] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16166.304089] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16168.510170] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16168.512358] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16170.718034] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16170.720127] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
[16172.926162] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x65:2520)
[16172.928383] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0

dmesg | grep -i nvidia
[ 7.718623] nvidia: loading out-of-tree module taints kernel.
[ 7.718632] nvidia: module license ‘NVIDIA’ taints kernel.
[ 7.758961] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 7.771935] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[ 7.774997] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
[ 7.774998] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
[ 7.775009] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
[ 7.826661] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 570.172.08 Tue Jul 8 18:31:33 UTC 2025
[ 7.836242] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 570.172.08 Tue Jul 8 17:57:10 UTC 2025
[ 7.840243] [drm] [nvidia-drm] [GPU ID 0x00000b00] Loading driver
[ 7.840244] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:0b:00.0 on minor 1
[ 8.859892] audit: type=1400 audit(1754394128.044:2): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“nvidia_modprobe” pid=2213 comm=“apparmor_parser”
[ 8.859896] audit: type=1400 audit(1754394128.044:3): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“nvidia_modprobe//kmod” pid=2213 comm=“apparmor_parser”
[ 11.812298] caller os_map_kernel_space.part.0+0xa2/0xb0 [nvidia] mapping multiple BARs
root@ANPR-VID-AI02:/home/unx40423#

I’ve also blacklisted nouveau as well, but we still find these error.

Let us know a fix to issue

These the logs which were generated in the server.

nvidia-bug-report.log (3.4 MB)

Hi there @bhavanap2201, welcome to the NVIDIA developer forums.

From your logs:

Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

So blacklisting of nouveau does not seem to have worked.

Also: → An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.

Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:

The NVIDIA driver provided by Ubuntu can be installed by launching the “Software & Updates” application, and by selecting the NVIDIA driver from the “Additional Drivers” tab.

If you see this you should either follow the recommendation of using the distribution installation method or do a clean uninstall of the existing drivers.