Mellanox/nv_peer_memory

nv_peer_mem dissapearing after a reboot

thaivo88 opened this issue · 1 comments

I'm running on Ubuntu 18.04 (bionic) (kernel: 4.15.0-46-generic), installed both MLNX_OFED and nv_peer_mem but when I reboot the system nv_peer_mem isn't found in lsmod but does show up with modinfo. I have to keep installing nv_peer_mem back on the system.
Does anyone know how to fix this issue?

lsmod | grep nv_peer

modinfo nv_peer_mem

filename: /lib/modules/4.15.0-46-generic/updates/dkms/nv_peer_mem.ko
version: 1.0-8
license: Dual BSD/GPL
description: NVIDIA GPU memory plug-in
author: Yishai Hadas
srcversion: 9F372F055FA43FA7440C57D
depends: ib_core
retpoline: Y
name: nv_peer_mem
vermagic: 4.15.0-46-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4

Issue Resolved:

$ cat /etc/modules-load.d/nv_peer_mem.conf
Load nv_peer_mem at boot
nv_peer_mem