Can't update mpi3mr

LucKolen

New Member
Nov 21, 2023
1
0
1
I'm currently using an up to date version of Promox 8 and this version includes mpi3mr 8.5.1.0.0:

Code:
root@pvetemp:~# uname -a
Linux pvetemp 6.8.4-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-3 (2024-05-02T11:55Z) x86_64 GNU/Linux
root@pvetemp:~# pveversion
pve-manager/8.2.2/9355359cd7afbae4 (running kernel: 6.8.4-3-pve)
root@pvetemp:~# apt update && apt dist-upgrade
[...]
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@pvetemp:~# modinfo mpi3mr
filename: /lib/modules/6.8.4-3-pve/kernel/drivers/scsi/mpi3mr/mpi3mr.ko
version: 8.5.1.0.0
[...]


However, the newest version is 8.8.1.0.0 (available here: https://www.broadcom.com/products/storage/host-bus-adapters/sas-nvme-9600-24i). Installing this version results in the following output:

Code:
root@pvetemp:~# dpkg -i mpi3mr-8.8.1.0.0-1dkms.noarch.deb
(Reading database ... 119626 files and directories currently installed.)
Preparing to unpack mpi3mr-8.8.1.0.0-1dkms.noarch.deb ...

Uninstall of mpi3mr module (version 8.8.1.0.0) beginning:
Unpacking mpi3mr (8.8.1.0.0-1dkms) over (8.8.1.0.0-1dkms) ...
Setting up mpi3mr (8.8.1.0.0-1dkms) ...
Deprecated feature: REMAKE_INITRD (/usr/src/mpi3mr-8.8.1.0.0/dkms.conf)
Deprecated feature: MODULES_CONF_ALIAS_TYPE (/usr/src/mpi3mr-8.8.1.0.0/dkms.conf)
Creating symlink /var/lib/dkms/mpi3mr/8.8.1.0.0/source -> /usr/src/mpi3mr-8.8.1.0.0
Sign command: /lib/modules/6.8.4-3-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/mpi3mr/8.8.1.0.0/source/dkms.conf)
Deprecated feature: MODULES_CONF_ALIAS_TYPE (/var/lib/dkms/mpi3mr/8.8.1.0.0/source/dkms.conf)

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.8.4-3-pve -C /lib/modules/6.8.4-3-pve/build M=/var/lib/dkms/mpi3mr/8.8.1.0.0/build modules....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.4-3-pve (x86_64)
Consult /var/lib/dkms/mpi3mr/8.8.1.0.0/build/make.log for more information.
Sign command: /lib/modules/6.8.4-3-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/mpi3mr/8.8.1.0.0/source/dkms.conf)
Deprecated feature: MODULES_CONF_ALIAS_TYPE (/var/lib/dkms/mpi3mr/8.8.1.0.0/source/dkms.conf)

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.8.4-3-pve -C /lib/modules/6.8.4-3-pve/build M=/var/lib/dkms/mpi3mr/8.8.1.0.0/build modules....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.4-3-pve (x86_64)
Consult /var/lib/dkms/mpi3mr/8.8.1.0.0/build/make.log for more information.
root@pvetemp:~# cat /var/lib/dkms/mpi3mr/8.8.1.0.0/build/make.log
DKMS make.log for mpi3mr-8.8.1.0.0 for kernel 6.8.4-3-pve (x86_64)
Sat May 11 05:18:44 PM CEST 2024
make: Entering directory '/usr/src/linux-headers-6.8.4-3-pve'
  CC [M]  /var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_os.o
  CC [M]  /var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_fw.o
  CC [M]  /var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_app.o
  CC [M]  /var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_debugfs.o
  CC [M]  /var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_transport.o
/var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_fw.c: In function ‘mpi3mr_cleanup_resources’:
/var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_fw.c:4339:17: error: implicit declaration of function ‘pci_disable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
  4339 |                 pci_disable_pcie_error_reporting(pdev);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_fw.c: In function ‘mpi3mr_setup_resources’:
/var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_fw.c:4392:9: error: implicit declaration of function ‘pci_enable_pcie_error_reporting’ [-Werror=implicit-function-declaration]
  4392 |         pci_enable_pcie_error_reporting(pdev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:243: /var/lib/dkms/mpi3mr/8.8.1.0.0/build/mpi3mr_fw.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.8.4-3-pve/Makefile:1926: /var/lib/dkms/mpi3mr/8.8.1.0.0/build] Error 2
make: *** [Makefile:240: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.8.4-3-pve'

Is this an issue that can be fixed within Proxmox? Currently I can't successfully pass through my 9600-24i to my TrueNAS VM and it was noted here that this is fixed in this mpi3mr version.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!