WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
install: Add option to disable VPMADT032 echo canceller driver.
Due to Sangoma's persistent negligence and incompetence, the VPMADT032
drivers cannot be built on newer kernels, due to the objtool change
made in kernel commit torvalds/linux@0b10177.
Since the VPMADT032 involves a binary, the source for which is not
present in the tree, only Sangoma can fix this issue. Since this is
unlikely to happen anytime soon, given their incompetence and gross
mismanagement to date, add an option to disable this particular driver
so the rest of DAHDI Linux can successfully compile and install.
--drivers install: Also install DAHDI drivers removed in 2018
640
+
--disable-vpmadt032 install: Disable VPMADT032 echo canceller driver from building (temporarily required on newer kernels)
639
641
--generic install: Use generic kernel headers that do not match the installed kernel version
640
642
--autokvers install: Automatically pass the appropriate value for KVERS for DAHDI compilation (only needed on non-Debian systems)
641
643
--extcodecs install: Specify this if any external codecs are being or will be installed
@@ -2108,12 +2110,22 @@ get_dahlin_source() {
2108
2110
2109
2111
# Not yet merged
2110
2112
dahlin_apply_pr 77 # EXTRA_CFLAGS removal
2111
-
dahlin_apply_pr 79 # vpmadt032 binary blob
2112
2113
dahlin_apply_pr 92 # del_timer_sync wrapper
2113
2114
dahlin_apply_pr 96 # from_timer renamed to timer_container_of
2114
2115
dahlin_apply_pr 98 # hrtimer_init changed to hrtimer_setup
2115
2116
dahlin_apply_pr 99 # use module_init/module_exit instead of init_module/cleanup_module
2116
2117
2118
+
# See https://github.com/asterisk/dahdi-linux/issues/97
2119
+
# Sangoma needs to recreate the binary, until they do that, this driver is unusable on newer kernels
2120
+
# and the target must be disabled to build the rest of DAHDI Linux.
2121
+
# Sangoma is AWOL, so it might be a while...
2122
+
if [ "$DAHDI_DISABLE_VPMADT032"="1" ];then
2123
+
git_patch "vpmadt032_disable.diff"
2124
+
else
2125
+
# Not yet merged
2126
+
dahlin_apply_pr 79 # vpmadt032 binary blob
2127
+
fi
2128
+
2117
2129
# New Features
2118
2130
if [ "$EXTRA_FEATURES"="1" ];then
2119
2131
# Real time dial pulsing (DAHDI to Asterisk)
@@ -2273,7 +2285,30 @@ install_dahdi() {
2273
2285
# if KSRC/KVERS env vars are set, they will automatically propagate to children
2274
2286
$AST_MAKE$DAHDI_CFLAGS
2275
2287
if [ $?-ne 0 ];then
2276
-
die "DAHDI Linux compilation failed, aborting install"
2288
+
echoerr "DAHDI Linux compilation failed, aborting install"
2289
+
if [ "$DAHDI_DISABLE_VPMADT032"!="1" ];then
2290
+
echoerr "*** Suggestion ***"
2291
+
echoerr "If using a newer kernel, consider retrying install with --disable-vpmadt032 if VPMADT032 echo canceller is not required."
2292
+
echoerr ""
2293
+
echoerr "*** More Details ***"
2294
+
echoerr "As you may know, Sangoma has not been maintaining DAHDI for years, even to perform adequate maintenance,"
2295
+
echoerr "and DAHDI is currently community maintained, e.g. via PhreakScript."
2296
+
echoerr "However, the VPMADT032 EC requires a binary firmware blob, an updated version of which is required,"
2297
+
echoerr "and which can only come from Sangoma. As a result, until Sangoma gets their act together,"
2298
+
echoerr "if you use an affected kernel version, the only way to successfully build DAHDI Linux"
2299
+
echoerr "is to either:"
2300
+
echoerr "1) Disable this driver, and that is what --disable-vpmadt032 does."
2301
+
echoerr "2) Build the kernel from source, applying this patch: https://github.com/InterLinked1/phreakscript/blob/master/patches/objtool_check_nonfatal.diff"
2302
+
echoerr " (There are some examples of this in the CI, if you choose this route: https://github.com/InterLinked1/phreakscript/blob/master/.github/workflows/main.yml)"
2303
+
echoerr ""
2304
+
echoerr "See this issue for more details: https://github.com/asterisk/dahdi-linux/issues/97"
2305
+
echoerr ""
2306
+
echoerr "The only way to get this fixed is to get Sangoma to do something about it."
2307
+
echoerr "We suggest you call Sangoma to file a complaint at (877) 344-4861 x2,3,5"
2308
+
echoerr "or by opening a case online at https://help.sangoma.com/s/"
2309
+
echoerr "Otherwise, they will continue doing nothing, just like they have been."
0 commit comments