root@proxmox:~# uname -a
Linux proxmox 4.4.62-1-pve #1 SMP PVE 4.4.62-88 (Thu, 18 May 2017 09:18:43 +0200) x86_64 GNU/Linux
root@proxmox:~# cd /tmp/
root@proxmox:/tmp# unzip ServerU_plcm_Linux_v05.zip
-bash: unzip: command not found
root@proxmox:/tmp# apt-get install unzip pve-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
zip
The following NEW packages will be installed:
pve-headers-4.4.62-1-pve unzip
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,414 kB of archives.
After this operation, 395 kB of additional disk space will be used.
Get:1 http://download.proxmox.com/debian/ jessie/pve-no-subscription pve-headers-4.4.62-1-pve amd64 4.4.62-88 [7,253 kB]
Get:2 http://ftp.de.debian.org/debian/ jessie/main unzip amd64 6.0-16+deb8u3 [162 kB]
Fetched 7,414 kB in 0s (9,848 kB/s)
Selecting previously unselected package pve-headers-4.4.62-1-pve.
(Reading database ... 70271 files and directories currently installed.)
Preparing to unpack .../pve-headers-4.4.62-1-pve_4.4.62-88_amd64.deb ...
Unpacking pve-headers-4.4.62-1-pve (4.4.62-88) ...
Selecting previously unselected package unzip.
Preparing to unpack .../unzip_6.0-16+deb8u3_amd64.deb ...
Unpacking unzip (6.0-16+deb8u3) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up pve-headers-4.4.62-1-pve (4.4.62-88) ...
Setting up unzip (6.0-16+deb8u3) ...
root@proxmox:/tmp# unzip ServerU_plcm_Linux_v05.zip
Archive: ServerU_plcm_Linux_v05.zip
creating: ServerU_plcm_Linux_v05/
creating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/Makefile
extracting: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/Module.symvers
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/modules.order
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/plcm_drv.c
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/plcm_drv.ko
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/plcm_drv.mod.c
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/plcm_drv.mod.o
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/plcm_drv.o
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/README
creating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/sample_src/
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/sample_src/alerta.sh
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/sample_src/escreve_sample.c
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/serveru-plcm-util.c
inflating: ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/serveru-plcm-util.h
root@proxmox:/tmp# cd ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05
root@proxmox:/tmp/ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05# sed -i -e 's/KVER3),3/KVER3),4/' Makefile
root@proxmox:/tmp/ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05# make clean default
rm -f serveru-plcm-util escreve_sample *.ko *.o
#gcc -O2 serveru-plcm-util.c -o serveru-plcm-util
make -C /lib/modules/4.4.62-1-pve/build M=/tmp/ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05 modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.62-1-pve'
CC [M] /tmp/ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/plcm_drv.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/plcm_drv.mod.o
LD [M] /tmp/ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05/plcm_drv.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.62-1-pve'
root@proxmox:/tmp/ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05# insmod plcm_drv.ko
insmod: ERROR: could not insert module plcm_drv.ko: Input/output error
root@proxmox:/tmp/ServerU_plcm_Linux_v05/ServerU_plcm_Linux_v05# dmesg | grep plcm
[ 268.498669] plcm_drv: Could not find LPT to use...
[ 268.498669] plcm_drv: unable to access any LPT