kernel libraries

jriker1

New Member
Dec 18, 2022
15
0
1
Fresh install of ProxMox 7.3.1. I'm trying to compile drivers to test a cable card if it can run in ProxMox natively and be accessed by a virtual machine running on it. Have another thread about passthrough but thought I'd post this separate. Instructions say:

Install make, gcc, perl, kernel-devel and kernel-headers for your distribution.
Note: your running kernel is the same as the kernel-header and kernel-devel
installed. Then run:
make
sudo make install
sudo modprobe ctn91xx

Installed make, and installed gcc. Perl was already there.

The kernel-devel and kernel-headers not sure of but if run a couple commands oddly both return things:

apt install pve-kernel-5.15
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pve-kernel-5.15 is already the newest version (7.2-14).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


apt install pve-kernel-5.15.74-1-pve
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pve-kernel-5.15.74-1-pve is already the newest version (5.15.74-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

When I try to run make I get

make
/bin/sh: 1: cd: can't cd to /lib/modules/5.15.74-1-pve/build
make: *** [Makefile:38: ctn91xx_module] Error 2


that build folder doesn't exist. Any thoughts?
 
Thanks. Was having problem finding apt install pve-headers but found something in one of those documents similar to the below and that got me past the make.

apt install pve-headers-5.15.30-2-pve

Probably need some research on the few sites that talk about this but now getting:

Installing ctn91xx driver...
make[1]: Entering directory '/usr/src/linux-headers-5.15.74-1-pve'
arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils support
INSTALL /lib/modules/5.15.74-1-pve/extra/ctn91xx.ko
SIGN /lib/modules/5.15.74-1-pve/extra/ctn91xx.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD /lib/modules/5.15.74-1-pve
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-5.15.74-1-pve'
cp 98-ctn91xx.rules /etc/udev/rules.d/
/sbin/depmod -a
 

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!