Hi, I'm running Debian 10 and I'm unable to install dahdi-dkms on various kernels including Debian kernel packages with their corresponding headers. For example, booting into 5.10.0-0.bpo.9-amd64 with linux-headers-5.10.0-0.bpo.9-amd64 installed, I do the following:
Errors result:
/var/lib/dkms/dahdi/DEB_VERSION/build/make.log has the following:
Code:
sudo apt remove --purge dahdi-dkms
sudo apt install dahdi-dkms
Errors result:
Code:
......Building for 5.10.0-0.bpo.9-amd64 5.15.12s1avl2-lowlatency
Building initial module for 5.10.0-0.bpo.9-amd64
Error! Bad return status for module build on kernel: 5.10.0-0.bpo.9-amd64 (x86_64)
Consult /var/lib/dkms/dahdi/DEB_VERSION/build/make.log for more information.
dpkg: error processing package dahdi-dkms (--configure): installed dahdi-dkms package post-installation
script subprocess returned error exit status 10
Errors were encountered while processing:
dahdi-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
/var/lib/dkms/dahdi/DEB_VERSION/build/make.log has the following:
DKMS make.log for dahdi-DEB_VERSION for kernel 5.10.0-0.bpo.9-amd64 (x86_64)
Thu 17 Feb 17:10:48 -03 2022
make -C /lib/modules/5.10.0-0.bpo.9-amd64/build SUBDIRS=/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/DEB_VERSION/build/include DAHDI_MODULES_EXTRA="dahdi_dummy.o dahdi_echocan_oslec.o " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-0.bpo.9-amd64'
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:225: =============== ERROR ==============
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:226: 'SUBDIRS' was removed in Linux 5.3
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:227: Use 'M=' or 'KBUILD_EXTMOD=' instead
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:228: ====================================
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:229: *** .. Stop.
make[1]: *** [/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-0.bpo.9-amd64'
make: *** [Makefile:74: modules] Error 2
make -C /lib/modules/5.10.0-0.bpo.9-amd64/build SUBDIRS=/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/DEB_VERSION/build/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-0.bpo.9-amd64'
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:225: =============== ERROR ==============
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:226: 'SUBDIRS' was removed in Linux 5.3
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:227: Use 'M=' or 'KBUILD_EXTMOD=' instead
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:228: ====================================
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:229: *** .. Stop.
make[1]: *** [/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-0.bpo.9-amd64'
make: *** [Makefile:74: modules] Error 2
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory '/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi/firmware'
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
--2022-02-17 17:10:48--
[URL]http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz[/URL]
Resolving
[URL='https://downloads.digium.com/']downloads.digium.com[/URL] (
[URL='https://downloads.digium.com/']downloads.digium.com[/URL])...
[URL='https://170.249.154.172/']170.249.154.172[/URL]
Connecting to
[URL='https://downloads.digium.com/']downloads.digium.com[/URL] (
[URL='https://downloads.digium.com/']downloads.digium.com[/URL])|170.249.154.172|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’
0K .......... .......... .......... .......... .......... 34% 156K 1s
50K .......... .......... .......... .......... .......... 68% 312K 0s
100K .......... .......... .......... .......... ..... 100% 9.98M=0.5s
2022-02-17 17:10:49 (300 KB/s) - ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’ saved [149360/149360]
make[1]: Leaving directory '/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi/firmware'
make -C /lib/modules/5.10.0-0.bpo.9-amd64/build SUBDIRS=/var/lib/dkms/dahdi/DEB_VERSION/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/DEB_VERSION/build/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-0.bpo.9-amd64'
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:225: =============== ERROR ==============
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:226: 'SUBDIRS' was removed in Linux 5.3
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:227: Use 'M=' or 'KBUILD_EXTMOD=' instead
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:228: ====================================
/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:229: *** .. Stop.
make[1]: *** [/usr/src/linux-headers-5.10.0-0.bpo.9-common/Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-0.bpo.9-amd64'
make: *** [Makefile:74: modules] Error 2[/CODE]
This is happening in all kernels that I boot into.
Hope someone can help
Last edited: