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?
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?