Ok, so rebuilding the Dahdi drivers worked – but the process as shown in the wiki did not work, nor did the –reinstall command – it looks like DKMS is by default building things with -j 4, and that’s too much for a Pi – my SSH connection was getting killed during the Dahdi recompile. So I had to manually do it with this command:
dkms build -m asl-dahdi-linux -v 2.11.1 -j 1
dkms install -m asl-dahdi-linux -v 2.11.1 -j 1 –force
Once I’d done that, I could load up the dahdi kernel module, and asterisk would start up. It appears I am connected to the network with the new node – however I’m having the following message spew into /var/log/asterisk/messages multiple times a second:
[Apr 11 17:21:22] WARNING[1387] chan_simpleusb.c: Unable to re-open DSP device 1 (usb_45984): No such file or directory
Anyone got any ideas?
Jeremy, NQ0M
From: Jeremy Utley <jerutley@gmail.com>
Sent: Wednesday, April 11, 2018 4:43 PM
To: 'Users of Asterisk app_rpt' <app_rpt-users@lists.allstarlink.org>
Subject: Problems with setup from newest image
So last week while I was on vacation, I had an SD card filesystem go corrupt – lots of damaged files, Asterisk segfaulting on startup, all kinds of weird stuff happening. So I decided to rebuild this node (45984) with the newest stuff – this was my last Arch-based node, and I wanted to get back to the Debian base. So, I pulled down the 20180228 raspbian stretch image, wrote it to a new SD card, booted up the Pi, ssh’d in, expanded the filesystem, updated all packages to latest, and went thru the setup process. BTW, I love the new menu-based system – but the menu should include a way to get out to shell (if it does already, I apologize, but I did not see an option for that in it).
After I did the node setup, and the pi rebooted, I’m getting odd errors from trying to start Asterisk. Here’s an entry from journalctl:
Apr 11 16:14:33 uhf.wi0la.org systemd[1]: asterisk.service: Job asterisk.service/start failed with result 'dependency'.
Apr 11 16:14:33 uhf.wi0la.org systemd[1]: dev-dahdi-pseudo.device: Job dev-dahdi-pseudo.device/start failed with result 'timeout'.
I’m suspecting that the upgrade of the kernel I did on the first boot is making Dahdi not come up properly, so I’m trying a rebuild of Dahdi via:
apt-get install --reinstall asl-dahdi-linux-dkms
Don’t know if this will fix the problem or not – will know as soon as the process finishes. But isn’t DKMS supposed to handle this automatically?
Jeremy, NQ0M