proxmox dist update kernel from 6.14.11-5-pve to 6.17.13-1-pve

fnc1

New Member
Feb 7, 2025
2
0
1
I'm having an issue with the kernel getting it to update.
PVE was 9.0.x and going to 9.1.x, I had an error when it got to the kernel update (through the GUI, but am on 9.1.6 now and 6.14 works but not 6.17)

I had to reboot and select the old kernel to get back in 6.14.11-5-pve
I believe this dist-upgrade is failing on the mellanox3 card driver- what do i need to do to update to the current kernel
this is what i have right now...

Code:
pveversion
pve-manager/9.1.6/71482d1833ded40a (running kernel: 6.14.11-5-pve)

Code:
pveversion -v
proxmox-ve: not correctly installed (running kernel: 6.14.11-5-pve)
pve-manager: 9.1.6 (running version: 9.1.6/71482d1833ded40a)
proxmox-kernel-helper: 9.0.4
proxmox-kernel-6.14.11-5-pve-signed: 6.14.11-5
proxmox-kernel-6.14: 6.14.11-5
proxmox-kernel-6.14.11-2-pve-signed: 6.14.11-2
proxmox-kernel-6.8: 6.8.12-15
proxmox-kernel-6.8.12-15-pve-signed: 6.8.12-15
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
ceph-fuse: 19.2.3-pve1
corosync: 3.1.10-pve1
criu: 4.1.1-1
frr-pythontools: 10.4.1-1+pve1
ifupdown2: 3.3.0-1+pmx12
intel-microcode: 3.20251111.1~deb13u1
ksm-control-daemon: 1.5-1
libjs-extjs: 7.0.0-5
libproxmox-acme-perl: 1.7.0
libproxmox-backup-qemu0: 2.0.2
libproxmox-rs-perl: 0.4.1
libpve-access-control: 9.0.5
libpve-apiclient-perl: 3.4.2
libpve-cluster-api-perl: 9.0.7
libpve-cluster-perl: 9.0.7
libpve-common-perl: 9.1.7
libpve-guest-common-perl: 6.0.2
libpve-http-server-perl: 6.0.5
libpve-network-perl: 1.2.5
libpve-rs-perl: 0.11.4
libpve-storage-perl: 9.1.0
libspice-server1: 0.15.2-1+b1
lvm2: 2.03.31-2+pmx1
lxc-pve: 6.0.5-4
lxcfs: 6.0.4-pve1
novnc-pve: 1.6.0-3
proxmox-backup-client: 4.1.4-1
proxmox-backup-file-restore: 4.1.4-1
proxmox-backup-restore-image: 1.0.0
proxmox-firewall: 1.2.1
proxmox-kernel-helper: 9.0.4
proxmox-mail-forward: 1.0.2
proxmox-mini-journalreader: 1.6
proxmox-offline-mirror-helper: 0.7.3
proxmox-widget-toolkit: 5.1.8
pve-cluster: 9.0.7
pve-container: 6.1.2
pve-docs: 9.1.2
pve-edk2-firmware: 4.2025.05-2
pve-esxi-import-tools: 1.0.1
pve-firewall: 6.0.4
pve-firmware: 3.18-1
pve-ha-manager: 5.1.1
pve-i18n: 3.6.6
pve-qemu-kvm: 10.1.2-7
pve-xtermjs: 5.5.0-3
qemu-server: 9.1.4
smartmontools: 7.4-pve1
spiceterm: 3.4.1
swtpm: 0.8.0+pve3
vncterm: 1.9.1
zfsutils-linux: 2.4.0-pve1

Code:
apt dist-upgrade
The following packages were automatically installed and are no longer required:
  libzpool6linux  proxmox-headers-6.14.11-2-pve  proxmox-rrd-migration-tool
Use 'apt autoremove' to remove them.

Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
  4 not fully installed or removed.
  Space needed: 0 B / 68.7 GB available

Continue? [Y/n] y
Setting up proxmox-kernel-6.17.13-1-pve-signed (6.17.13-1) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.17.13-1-pve /boot/vmlinuz-6.17.13-1-pve
Sign command: /lib/modules/6.17.13-1-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Autoinstall of module kernel-mft-dkms/4.22.1 for kernel 6.17.13-1-pve (x86_64)
Building module(s)...(bad exit status: 2)
Failed command:
make -j12 KERNELRELEASE=6.17.13-1-pve all KPVER=6.17.13-1-pve

Error! Bad return status for module build on kernel: 6.17.13-1-pve (x86_64)
Consult /var/lib/dkms/kernel-mft-dkms/4.22.1/build/make.log for more information.

Autoinstall on 6.17.13-1-pve failed for module(s) kernel-mft-dkms(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/proxmox-kernel-6.17.13-1-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.17.13-1-pve-signed (--configure):
 installed proxmox-kernel-6.17.13-1-pve-signed package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of proxmox-kernel-6.17:
 proxmox-kernel-6.17 depends on proxmox-kernel-6.17.13-1-pve-signed | proxmox-kernel-6.17.13-1-pve; however:
  Package proxmox-kernel-6.17.13-1-pve-signed is not configured yet.
  Package proxmox-kernel-6.17.13-1-pve is not installed.
  Package proxmox-kernel-6.17.13-1-pve-signed which provides proxmox-kernel-6.17.13-1-pve is not configured yet.

dpkg: error processing package proxmox-kernel-6.17 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-default-kernel:
 proxmox-default-kernel depends on proxmox-kernel-6.17; however:
  Package proxmox-kernel-6.17 is not configured yet.

dpkg: error processing package proxmox-default-kernel (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
 proxmox-ve depends on proxmox-default-kernel; however:
  Package proxmox-default-kernel is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 proxmox-kernel-6.17.13-1-pve-signed
 proxmox-kernel-6.17
 proxmox-default-kernel
 proxmox-ve
Error: Sub-process /usr/bin/dpkg returned an error code (1)

Code:
cat  /var/lib/dkms/kernel-mft-dkms/4.22.1/build/make.log
DKMS (dkms-3.2.2) make.log for kernel-mft-dkms/4.22.1 for kernel 6.17.13-1-pve (x86_64)
Wed Mar 11 09:19:57 AM CDT 2026

Building module(s)
# command: make -j12 KERNELRELEASE=6.17.13-1-pve all KPVER=6.17.13-1-pve
cd mst_backward_compatibility/mst_pci && make
make[1]: Entering directory '/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci'
make -C /lib/modules/6.17.13-1-pve/build M=/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci CONFIG_CTF= CONFIG_CC_STACKPROTECTOR_STRONG=  modules
make[2]: Entering directory '/usr/src/linux-headers-6.17.13-1-pve'
make[3]: Entering directory '/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci'
  CC [M]  ../../nnt_driver/nnt_device.o
  CC [M]  ../../nnt_driver/nnt_dma.o
  CC [M]  ../../nnt_driver/nnt_pci_conf_access.o
  CC [M]  ../../nnt_driver/nnt_pci_conf_access_no_vsec.o
  CC [M]  ../../nnt_driver/nnt_memory_access.o
  CC [M]  ../../nnt_driver/nnt_ioctl.o
  CC [M]  mst_pci_bc.o
mst_pci_bc.c:6:10: fatal error: nnt_ioctl.h: No such file or directory
    6 | #include "nnt_ioctl.h"
      |          ^~~~~~~~~~~~~
compilation terminated.
make[5]: *** [/usr/src/linux-headers-6.17.13-1-pve/scripts/Makefile.build:287: mst_pci_bc.o] Error 1
make[5]: *** Waiting for unfinished jobs....
../../nnt_driver/nnt_memory_access.c:7:5: warning: no previous prototype for ‘write_memory’ [-Wmissing-prototypes]
    7 | int write_memory(struct nnt_device* nnt_device, struct nnt_rw_operation* write_operation)
      |     ^~~~~~~~~~~~
../../nnt_driver/nnt_memory_access.c:21:5: warning: no previous prototype for ‘read_memory’ [-Wmissing-prototypes]
   21 | int read_memory(struct nnt_device* nnt_device, struct nnt_rw_operation* read_operation)
      |     ^~~~~~~~~~~
../../nnt_driver/nnt_memory_access.c:34:5: warning: no previous prototype for ‘init_memory’ [-Wmissing-prototypes]
   34 | int init_memory(void* user_buffer, struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~
../../nnt_driver/nnt_memory_access.c: In function ‘init_memory’:
../../nnt_driver/nnt_memory_access.c:41:59: warning: ordered comparison of pointer with integer zero [-Wextra]
   41 |     if (nnt_device->memory_device.hardware_memory_address <= 0) {
      |                                                           ^~
../../nnt_driver/nnt_pci_conf_access_no_vsec.c:6:5: warning: no previous prototype for ‘read_no_vsec’ [-Wmissing-prototypes]
    6 | int read_no_vsec(struct nnt_device* nnt_device, unsigned int offset,
      |     ^~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access_no_vsec.c:49:5: warning: no previous prototype for ‘write_no_vsec’ [-Wmissing-prototypes]
   49 | int write_no_vsec(struct nnt_device* nnt_device, unsigned int offset,
      |     ^~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access_no_vsec.c:102:5: warning: no previous prototype for ‘is_wo_gw’ [-Wmissing-prototypes]
  102 | int is_wo_gw(struct nnt_device* nnt_device)
      |     ^~~~~~~~
../../nnt_driver/nnt_device.c:114:5: warning: no previous prototype for ‘create_file_name_mstflint’ [-Wmissing-prototypes]
  114 | int create_file_name_mstflint(struct pci_dev* pci_device, struct nnt_device* nnt_dev, enum nnt_device_type device_type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:127:5: warning: no previous prototype for ‘create_file_name_mft’ [-Wmissing-prototypes]
  127 | int create_file_name_mft(struct pci_dev* pci_device, struct nnt_device* nnt_dev, enum nnt_device_type device_type)
      |     ^~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:141:5: warning: no previous prototype for ‘nnt_device_structure_init’ [-Wmissing-prototypes]
  141 | int nnt_device_structure_init(struct nnt_device** nnt_device)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:160:5: warning: no previous prototype for ‘create_nnt_device’ [-Wmissing-prototypes]
  160 | int create_nnt_device(struct pci_dev* pci_device, enum nnt_device_type device_type,
      |     ^~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:224:5: warning: no previous prototype for ‘create_device_file’ [-Wmissing-prototypes]
  224 | int create_device_file(struct nnt_device* current_nnt_device, dev_t device_number,
      |     ^~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:272:5: warning: no previous prototype for ‘check_if_vsec_supported’ [-Wmissing-prototypes]
  272 | int check_if_vsec_supported(struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:291:5: warning: no previous prototype for ‘create_devices’ [-Wmissing-prototypes]
  291 | int create_devices(dev_t device_number, struct file_operations* fop,
      |     ^~~~~~~~~~~~~~
../../nnt_driver/nnt_dma.c:9:5: warning: no previous prototype for ‘dma_mapping_page’ [-Wmissing-prototypes]
    9 | int dma_mapping_page(unsigned int total_pinned, unsigned int page_mapped_counter,
      |     ^~~~~~~~~~~~~~~~
../../nnt_driver/nnt_dma.c:38:5: warning: no previous prototype for ‘pin_user_pages_in_kernel_space’ [-Wmissing-prototypes]
   38 | int pin_user_pages_in_kernel_space(unsigned int total_pages, unsigned int total_pinned,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_dma.c:77:5: warning: no previous prototype for ‘pin_user_memory_in_kernel_space’ [-Wmissing-prototypes]
   77 | int pin_user_memory_in_kernel_space(unsigned int total_pages, struct nnt_device* nnt_device,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_dma.c:123:5: warning: no previous prototype for ‘map_dma_pages’ [-Wmissing-prototypes]
  123 | int map_dma_pages(struct nnt_page_info* page_info, struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~~~
../../nnt_driver/nnt_dma.c:164:5: warning: no previous prototype for ‘release_dma_pages’ [-Wmissing-prototypes]
  164 | int release_dma_pages(struct nnt_page_info* page_info, struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:9:5: warning: no previous prototype for ‘clear_vsec_semaphore’ [-Wmissing-prototypes]
    9 | int clear_vsec_semaphore(struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:22:5: warning: no previous prototype for ‘get_semaphore_ticket’ [-Wmissing-prototypes]
   22 | int get_semaphore_ticket(struct nnt_device* nnt_device, unsigned int* lock_value,
      |     ^~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:52:5: warning: no previous prototype for ‘lock_vsec_semaphore’ [-Wmissing-prototypes]
   52 | int lock_vsec_semaphore(struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:110:5: warning: no previous prototype for ‘wait_on_flag’ [-Wmissing-prototypes]
  110 | int wait_on_flag(struct nnt_device* nnt_device, u8 expected_val)
      |     ^~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:134:5: warning: no previous prototype for ‘set_address_space’ [-Wmissing-prototypes]
  134 | int set_address_space(struct nnt_device* nnt_device, unsigned int address_space)
      |     ^~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:204:5: warning: no previous prototype for ‘set_rw_address’ [-Wmissing-prototypes]
  204 | int set_rw_address(unsigned int* offset, unsigned int rw)
      |     ^~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:224:5: warning: no previous prototype for ‘read’ [-Wmissing-prototypes]
  224 | int read(struct nnt_device* nnt_device, unsigned int offset,
      |     ^~~~
../../nnt_driver/nnt_pci_conf_access.c:280:5: warning: no previous prototype for ‘write’ [-Wmissing-prototypes]
  280 | int write(struct nnt_device* nnt_device, unsigned int offset,
      |     ^~~~~
../../nnt_driver/nnt_pci_conf_access.c:334:5: warning: no previous prototype for ‘address_space_to_capability’ [-Wmissing-prototypes]
  334 | int address_space_to_capability(u_int16_t address_space)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:361:5: warning: no previous prototype for ‘get_space_support_status’ [-Wmissing-prototypes]
  361 | int get_space_support_status(struct nnt_device* nnt_device, u_int16_t address_space)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:376:5: warning: no previous prototype for ‘init_vsec_capability_mask’ [-Wmissing-prototypes]
  376 | int init_vsec_capability_mask(struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:403:6: warning: no previous prototype for ‘check_vsec_minimum_support’ [-Wmissing-prototypes]
  403 | void check_vsec_minimum_support(struct nnt_device* nnt_device)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:14:5: warning: no previous prototype for ‘dma_pages_ioctl’ [-Wmissing-prototypes]
   14 | int dma_pages_ioctl(unsigned int command, void* user_buffer,
      |     ^~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:50:5: warning: no previous prototype for ‘read_dword_ioctl’ [-Wmissing-prototypes]
   50 | int read_dword_ioctl(void* user_buffer, struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:80:5: warning: no previous prototype for ‘get_nnt_device_parameters’ [-Wmissing-prototypes]
   80 | int get_nnt_device_parameters(struct nnt_device_parameters* nnt_parameters, struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:109:5: warning: no previous prototype for ‘pci_connectx_wa’ [-Wmissing-prototypes]
  109 | int pci_connectx_wa(struct nnt_connectx_wa* connectx_wa, struct nnt_device* nnt_device)
      |     ^~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:142:5: warning: no previous prototype for ‘vpd_read’ [-Wmissing-prototypes]
  142 | int vpd_read(struct nnt_vpd* vpd, struct nnt_device* nnt_device)
      |     ^~~~~~~~
../../nnt_driver/nnt_ioctl.c:187:5: warning: no previous prototype for ‘vpd_write’ [-Wmissing-prototypes]
  187 | int vpd_write(struct nnt_vpd* vpd, struct nnt_device* nnt_device)
      |     ^~~~~~~~~
make[4]: *** [/usr/src/linux-headers-6.17.13-1-pve/Makefile:2016: .] Error 2
make[3]: *** [/usr/src/linux-headers-6.17.13-1-pve/Makefile:248: __sub-make] Error 2
make[3]: Leaving directory '/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci'
make[2]: *** [Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.17.13-1-pve'
make[1]: *** [Makefile:29: all] Error 2
make[1]: Leaving directory '/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci'
make: *** [Makefile:4: all] Error 2

# exit code: 2
# elapsed time: 00:00:01
----------------------------------------------------------------

Thanks for looking