GPUs not found - Rocky 10.2, A40 GPUs

nvidia-bug-report.log.gz (515.3 KB)

Lifted this 8xA40 system (from Exxact) to Rocky 10, and followed the instructions in Rocky Linux — NVIDIA Driver Installation Guide to install the drivers. Upon reboot, I get “No devices found.” from the nvidia-smi command, and lots of these:

Sep 10 10:55:33 du-exxact-0 kernel: NVRM: GPU 0000:21:00.0: GPU failed probe-time init, open returning -EIO

in /var/log/messages. There are other messages in dmesg:

[ 3.911776] nvidia 0000:41:00.0: Direct firmware load for nvidia/615.71.09/gsp_ga10x.bin failed with error -2
[ 3.912967] nvidia 0000:41:00.0: Direct firmware load for nvidia/615.71.09/ucodes_ga10x.bin failed with error -2

for each of the eight GPUs, as well as lines like this:

[ 4.067581] [drm] [nvidia-drm] [GPU ID 0x00002100] Loading driver
[ 4.068421] NVRM: GPU 0000:21:00.0: GPU failed probe-time init, open returning -EIO
[ 4.068806] [drm:nv_drm_dev_load [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00002100] Failed to allocate NvKmsKapiDevice

I’ve run the nvidia-bug-report script and attached its output to this message.

I’m at a loss as to why it wouldn’t find the GPUs.

The driver needs to load those firmware files in order to initialize the GPU. If I’m reading your log correctly, Rocky put the kernel module nvidia.ko inside your initramfs but failed to include the firmware files, so the driver was unable to load them and failed initialization. You either need to include the relevant firmware files in the initramfs or move the NVIDIA kernel drivers out of the initramfs and let the system load them after mounting the root filesystem.

I don’t think you’re far off in your assessment of the issue.

What worked was (a) dracut --force --regenerate-all and (b) rebooting. After that, all eight GPUs were visible and working.