Running into issues after following the instructions here: https://pve.proxmox.com/wiki/Tape_D...ie_8.x_.28Preferred_method_and_recommended.29
I am working with scst 3.2.x rather than 3.1.x (though I should really be working with 3.4.x but couldn't get that working either).
I am working with scst 3.2.x rather than 3.1.x (though I should really be working with 3.4.x but couldn't get that working either).
Code:
# pveversion
pve-manager/6.0-9/508dcee0 (running kernel: 5.0.21-3-pve)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# cat /etc/apt/sources.list.d/scst-ppa.list
deb-src http://ppa.launchpad.net/scst/3.2.x/ubuntu xenial main
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Error
Unpacking scst-dkms (3.2.0~160517+git9b4a12b-bpo~buster) over (3.2.0~160517+git9b4a12b-bpo~buster) ...
Setting up scst-dkms (3.2.0~160517+git9b4a12b-bpo~buster) ...
Loading new scst-3.1.0.6681 DKMS files...
Building for 5.0.21-3-pve
Building initial module for 5.0.21-3-pve
Error! Bad return status for module build on kernel: 5.0.21-3-pve (x86_64)
Consult /var/lib/dkms/scst/3.1.0.6681/build/make.log for more information.
dpkg: error processing package scst-dkms (--install):
installed scst-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
scst-dkms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Last 20 lines of output from the log
# tail -20 /var/lib/dkms/scst/3.1.0.6681/build/make.log
^~~~~~~~~~~~~~~~~~
/var/lib/dkms/scst/3.1.0.6681/build/scst/src/scst_lib.c:9212:2: note: here
case SCST_DIF_ACTION_NONE:
^~~~
/var/lib/dkms/scst/3.1.0.6681/build/scst/src/scst_lib.c: In function ‘__scst_parse_vrprotect’:
/var/lib/dkms/scst/3.1.0.6681/build/scst/src/scst_lib.c:10459:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (dev->dpicz) {
^
/var/lib/dkms/scst/3.1.0.6681/build/scst/src/scst_lib.c:10464:3: note: here
case 1:
^~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:286: /var/lib/dkms/scst/3.1.0.6681/build/scst/src/scst_lib.o] Error 1
make[3]: *** [Makefile:1608: _module_/var/lib/dkms/scst/3.1.0.6681/build/scst/src] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-5.0.21-3-pve'
make[2]: *** [Makefile:97: all] Error 2
make[2]: Leaving directory '/var/lib/dkms/scst/3.1.0.6681/build/scst/src'
make[1]: *** [Makefile:27: all] Error 2
make[1]: Leaving directory '/var/lib/dkms/scst/3.1.0.6681/build/scst'
make: *** [Makefile:6: all] Error 2