On 04/24/2013 02:49 AM, Tzafrir Cohen wrote:
On Tue, Apr 23, 2013 at 05:40:46PM -0500, Karl Schmidt wrote:
$ apt-get install dahdi
Reading package lists... Done
Building dependency tree
Reading state information... Done
dahdi is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up dahdi (1:2.5.0.1-2) ...
Loading DAHDI hardware modules:
ERROR: could not insert 'dahdi': Unknown symbol in module, or unknown
parameter (see dmesg)
wct4xxp: error wcte12xp: error wct1xxp: error wcte11xp: error
wctdm24xxp: error wcfxo: error wctdm: error wcb4xxp: error wctc4xxp:
error xpp_usb: error
Error: missing /dev/dahdi!
invoke-rc.d: initscript dahdi, action "start" failed.
dpkg: error processing dahdi (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dahdi
E: Sub-process /usr/bin/dpkg returned an error code (1)
The postinst script of dahdi starts the service dahdi, which in turn
loads all kernel modules listed in /etc/dahdi/modules .
Do you have any dahdi modules installed?
I had to download and build the ones from Digium
Do you have any DAHDI hardware?
Yes
Workaround: move that file aside.
I wonder if we should change the default of that file to be generated by
running 'dahdi_genconf modules' in the postinst script.
Should not error out even if people don't have the hardware or drivers - should provide a message
telling them they need to get the drivers a different way. (where is the dahdi_genconf script and
does it build the kernel modules? )
It appeared by the package names that the drivers were installed by debain
$ wajig list dahdi
ii asterisk-dahdi 1:1.8.13.1~dfsg-3 amd64 DAHDI
devices support for the Asterisk PBX
ii dahdi 1:2.5.0.1-2 amd64 utilities
for using the DAHDI kernel modules
ii dahdi-firmware-nonfree 2.6.1-1 all DAHDI
non-free firmware
ii dahdi-linux 1:2.6.1+dfsg2-1 all DAHDI
telephony interface - Linux userspace parts
ii dahdi-source 1:2.6.1+dfsg2-1 all DAHDI
telephony interface - source code for kernel driver
But I had to download dahdi-linux-current.tar.gz from digum and build by hand
( http://downloads.digium.com/pub/telephony/ )
module-assisant no longer builds these kernel modules - has a broken zaptel entry - see: ( now very
old bug ) 641857
Some sort of message on install - and one should not get a error code if the package actually
installs.. Lots of users will need bread-crumbs if they have to build the modules.
--
--------------------------------------------------------------------------------
Karl Schmidt EMail k...@xtronics.com
Transtronics, Inc. WEB
http://secure.transtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049 FAX (785) 841-0434
Truth is mighty and will prevail.
There is nothing wrong with this,
except that it ain't so.
--Mark Twain
--------------------------------------------------------------------------------
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org