Skip to content

modprobe: ERROR: could not insert 'nv_peer_mem': Invalid argument #116

@nnurlan008

Description

@nnurlan008

Hello,

I am trying to install nv_peer_memory module to my machine with the following specifications:

OS: Ubuntu 22.04.1
GPU: Nvidia Tesla K40c
Nvidia Driver Version: 470.199.02:
MLNX Driver Version: MLNX_OFED_LINUX-23.07-0.5.1.2
RNIC: Mellanox Connectx-4

I get the following error when I run sudo dpkg -i nvidia-peer-memory-dkms_1.2-0_all.deb:
depmod... modprobe: ERROR: could not insert 'nv_peer_mem': Invalid argument dpkg: error processing package nvidia-peer-memory-dkms (--install): installed nvidia-peer-memory-dkms package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: nvidia-peer-memory-dkms

output of ls -l /lib/modules:
total 12
drwxr-xr-x 2 root root 4096 Nov 1 21:30 5.17.0-1035-oem
drwxr-xr-x 5 root root 4096 Nov 1 21:30 6.2.0-26-generic
drwxr-xr-x 6 root root 4096 Nov 3 21:48 6.2.0-36-generic

output of ls -l /usr/src/ofa_kernel/:
total 4
lrwxrwxrwx 1 root root 16 Nov 3 21:48 default -> 6.2.0-36-generic
drwxr-xr-x 3 root root 4096 Nov 3 17:38 x86_64

Can you please help me solve this issue?

Thanks and regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions