[App_rpt-users] DAHDI

qrz at tg9aor.net qrz at tg9aor.net
Tue Sep 3 00:12:34 UTC 2019


uname -a yields
Linux transcoder 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 
armv7l GNU/Linux

This was a working system (node 48455) previous to a update upgrade. 
After which it no longer worked. sudo asterisk -c yields:
AllStarLink Asterisk Version 1.01 2/13/2018 GIT Version adaec47
Copyright (C) 1999 - 2018 Digium, Inc. Jim Dixon, AllStarLink Inc. and 
others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' 
for details.
This is free software, with components licensed under the GNU General 
Public
License version 2 and other licenses; you are welcome to redistribute it 
under
certain conditions. Type 'core show license' for details.
=========================================================================
[ Booting...
[ Reading Master Configuration ]
[ Initializing Custom Configuration Options ]
[Sep  3 06:07:10] NOTICE[3545]: dnsmgr.c:394 do_reload: Managed DNS 
entries will be refreshed every 300 seconds.
[Sep  3 06:07:10] NOTICE[3545]: cdr.c:1416 do_reload: CDR simple logging 
enabled.
[Sep  3 06:07:10] NOTICE[3545]: loader.c:874 load_modules: 55 modules 
will be loaded.
..............[Sep  3 06:07:10] WARNING[3545]: chan_iax2.c:12750 
load_module: Unable to open IAX timing interface: No such file or 
directory
......................................... ]
Asterisk Ready.
*CLI> [Sep  3 06:07:11] NOTICE[3551]: app_rpt.c:22184 rpt_master: Normal 
Repeater Init  48455
[Sep  3 06:07:11] WARNING[3566]: chan_dahdi.c:928 dahdi_open: Unable to 
open '/dev/dahdi/pseudo': No such file or directory
[Sep  3 06:07:11] ERROR[3566]: chan_dahdi.c:7906 chandup: Unable to dup 
channel: No such file or directory
rpt:Sorry unable to obtain Rx channel
[Sep  3 06:07:12] WARNING[3551]: app_rpt.c:22240 rpt_master: rpt_thread 
restarted on node 48455
[Sep  3 06:07:12] WARNING[3567]: chan_dahdi.c:928 dahdi_open: Unable to 
open '/dev/dahdi/pseudo': No such file or directory
[Sep  3 06:07:12] ERROR[3567]: chan_dahdi.c:7906 chandup: Unable to dup 
channel: No such file or directory
rpt:Sorry unable to obtain Rx channel
[Sep  3 06:07:14] NOTICE[3551]: app_rpt.c:22228 rpt_master: RPT thread 
restarted on 48455
[Sep  3 06:07:14] WARNING[3551]: app_rpt.c:22240 rpt_master: rpt_thread 
restarted on node 48455
[Sep  3 06:07:14] WARNING[3570]: chan_dahdi.c:928 dahdi_open: Unable to 
open '/dev/dahdi/pseudo': No such file or directory
[Sep  3 06:07:14] ERROR[3570]: chan_dahdi.c:7906 chandup: Unable to dup 
channel: No such file or directory
rpt:Sorry unable to obtain Rx channel
[Sep  3 06:07:16] NOTICE[3551]: app_rpt.c:22228 rpt_master: RPT thread 
restarted on 48455
[Sep  3 06:07:16] WARNING[3551]: app_rpt.c:22240 rpt_master: rpt_thread 
restarted on node 48455
[Sep  3 06:07:16] WARNING[3571]: chan_dahdi.c:928 dahdi_open: Unable to 
open '/dev/dahdi/pseudo': No such file or directory
[Sep  3 06:07:16] ERROR[3571]: chan_dahdi.c:7906 chandup: Unable to dup 
channel: No such file or directory
rpt:Sorry unable to obtain Rx channel
[Sep  3 06:07:18] NOTICE[3551]: app_rpt.c:22228 rpt_master: RPT thread 
restarted on 48455
[Sep  3 06:07:18] WARNING[3551]: app_rpt.c:22240 rpt_master: rpt_thread 
restarted on node 48455
[Sep  3 06:07:18] WARNING[3573]: chan_dahdi.c:928 dahdi_open: Unable to 
open '/dev/dahdi/pseudo': No such file or directory
[Sep  3 06:07:18] ERROR[3573]: chan_dahdi.c:7906 chandup: Unable to dup 
channel: No such file or directory
rpt:Sorry unable to obtain Rx channel
[Sep  3 06:07:20] NOTICE[3551]: app_rpt.c:22228 rpt_master: RPT thread 
restarted on 48455
[Sep  3 06:07:20] WARNING[3551]: app_rpt.c:22240 rpt_master: rpt_thread 
restarted on node 48455
[Sep  3 06:07:20] WARNING[3575]: chan_dahdi.c:928 dahdi_open: Unable to 
open '/dev/dahdi/pseudo': No such file or directory
[Sep  3 06:07:20] ERROR[3575]: chan_dahdi.c:7906 chandup: Unable to dup 
channel: No such file or directory
rpt:Sorry unable to obtain Rx channel
[Sep  3 06:07:22] NOTICE[3551]: app_rpt.c:22228 rpt_master: RPT thread 
restarted on 48455
[Sep  3 06:07:22] WARNING[3551]: app_rpt.c:22240 rpt_master: rpt_thread 
restarted on node 48455
[Sep  3 06:07:22] WARNING[3577]: chan_dahdi.c:928 dahdi_open: Unable to 
open '/dev/dahdi/pseudo': No such file or directory
[Sep  3 06:07:22] ERROR[3577]: chan_dahdi.c:7906 chandup: Unable to dup 
channel: No such file or directory
rpt:Sorry unable to obtain Rx channel
[Sep  3 06:07:24] ERROR[3551]: app_rpt.c:22223 rpt_master: Continual RPT 
thread restarts, killing Asterisk

The HOW TO DAHDI MAKE says to run ls -l under /usr/src/ and go into the 
dahdi-linux-complete-xxxxxx     but doing so gives me only these:

~# ls -l /usr/src/
total 16
drw-r-xr-x  3 root root 4096 Jul 10  2018 asl-dahdi-linux-2.11.1
drwxr-xr-x 24 root root 4096 Sep  3 05:26 linux-headers-4.19.66+
drwxr-xr-x 24 root root 4096 Sep  3 05:26 linux-headers-4.19.66-v7+
drwxr-xr-x  3 root root 4096 Apr 18  2018 sense-hat

I try to make under the asl-dahdi-linux but gives me errors:
1# make
make -C linux all
make[1]: Entering directory '/usr/src/asl-dahdi-linux-2.11.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory 
'/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory 
'/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/firmware'
make -C /lib/modules/4.19.66-v7+/build 
SUBDIRS=/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi 
DAHDI_INCLUDE=/usr/src/asl-dahdi-linux-2.11.1/linux/include 
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory '/usr/src/linux-headers-4.19.66-v7+'
/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/Kbuild:126: CPU 
Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.
   CC [M]  
/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/xpp/xbus-core.o
/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/xpp/xbus-core.c: In 
function ‘xbus_new’:
/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/xpp/xbus-core.c:1615:2: 
error: implicit declaration of function ‘init_timer’ 
[-Werror=implicit-function-declaration]
   init_timer(&xbus->command_timer);
   ^~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:303: recipe for target 
'/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/xpp/xbus-core.o' 
failed
make[4]: *** 
[/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/xpp/xbus-core.o] 
Error 1
scripts/Makefile.build:544: recipe for target 
'/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/xpp' failed
make[3]: *** [/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/xpp] 
Error 2
Makefile:1519: recipe for target 
'_module_/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi' failed
make[2]: *** 
[_module_/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.19.66-v7+'
Makefile:74: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/asl-dahdi-linux-2.11.1/linux'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2


Is there any way to fix this issue?

Thanks. TG9AOR



More information about the App_rpt-users mailing list