Dell Precision Mobile 5540 Fedora 37 530.30.02 kernel 6.2.7 RmInitAdapter failed! (0x24:0x40:1428) rm_init_adapter failed, device minor number 0

The driver is installed from stock dnf repository.

$ dmesg | grep -i nvidia\\\|nvrm
[    7.552704] nvidia: module license 'NVIDIA' taints kernel.
[    7.684214] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[    7.685578] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[    7.735196] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  530.30.02  Wed Feb 22 04:11:39 UTC 2023
[    7.788993] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  530.30.02  Wed Feb 22 03:45:40 UTC 2023
[    7.800253] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    9.308098] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x24:0x40:1428)
[    9.309620] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    9.310761] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
[    9.311541] [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device
BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.2.7-200.fc37.x86_64 root=/dev/mapper/blivet-root ro i915.enable_guc=3 l1tf=flush tsc=reliable systemd.unified_cgroup_hierarchy=1 rd.driver.blacklist=nouveau

Does it work with an earlier driver, e.g. 470? If not, the gpu is likely broken.

The last version it worked was 520.x. Thereafter all other versions failed. But since Fedora 37 moved to kernel 6.2 the 520.x no longer compiles for 6.2 and I have no working driver at all.

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

Related: RmInitAdapter failed! (0x24:0x40:1423) with 525.78.01 but not 520.56.06 on Fedora 37

Did you already check for bios updates?

Yes, I’m running fwupdmgr, it’s the latest.

nvidia-bug-report.log.gz (1.1 MB)

bash-5.2$ sudo fwupdmgr refresh
Updating lvfs-testing
Downloading…             [*************************************  ] Less than one minute remaining…
Updating lvfs
Downloading…             [*************************************  ]
Successfully downloaded new metadata: 2 local devices supported
bash-5.2$ sudo fwupdmgr get-updates
Devices with no available firmware updates: 
 • SSD 970 EVO Plus 2TB
 • Thunderbolt host controller
Devices with the latest available firmware version:
 • System Firmware
 • UEFI dbx
No updates available
bash-5.2$ sudo dmidecode
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Table at 0x000E0000.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: Dell Inc.
        Version: 1.20.0
        Release Date: 12/23/2022
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 32 MB
        Characteristics:
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 kB floppy services are supported (int 13h)
                3.5"/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                ACPI is supported
                USB legacy is supported
                Smart battery is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
                UEFI is supported
        BIOS Revision: 1.20

Again, to confirm, I had NO issues with NVidia drivers regardless of bios version until 525. Starting with 525 drivers basically no longer work.
And 520 does not compile with kernel 6.2 at all, i.e. I have no usable drivers at present.
Also, I can’t use CUDA 12+ with driver 520, even if it works.

Found the culprit: attempting to load NVidia firmware since 520 leads to the above failure.
Disabling “NVreg_EnableGpuFirmware” in /etc/modprobe.d/nvidia.conf allows the driver to function normally.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.