[asterisk-users] chan_dahdi.so fails to load : Inappropriate ioctl for device

herb at cfht.hawaii.edu herb at cfht.hawaii.edu
Tue Sep 1 17:41:40 CDT 2009


Aloha,

I'm not sure why I'm getting this error, but I can't seem to get
chan_dahdi to load. SIP & IAX2 are working fine.

Debian 4 w/ 2.6.28 kernel. Asterisk 1.6.1.5, dahdi-linux 2.2.0.2,
dahdi-tools-2.2.0

CLI> module load chan_dahdi.so
Unable to load module chan_dahdi.so
Command 'module load chan_dahdi.so' failed.
[Sep 1 10:57:51] WARNING[31696]: pbx.c:4550 ast_register_application2:
Already have an application 'DAHDISendKeypadFacility'
[Sep 1 10:57:51] ERROR[31696]: chan_dahdi.c:8786 mkintf: Unable to get
parameters: Inappropriate ioctl for device
[Sep 1 10:57:51] ERROR[31696]: chan_dahdi.c:14170 build_channels: Unable
to register channel '1'

# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard AEX410 Board 1
name=WCTDM/0
manufacturer=Digium
devicetype=Wildcard AEX410 with VPMADT032
location=PCI Express Bus 11 Slot 09
basechan=1
totchans=4
irq=16
[2]
active=yes
alarms=UNCONFIGURED
description=DAHDI_DUMMY/1 (source: HRtimer) 1
name=DAHDI_DUMMY/1
manufacturer=
devicetype=DAHDI Dummy Timing
location=
basechan=5
totchans=0
irq=0

Note, I have compiled DAHDI 2.2.0.2 but it still shows 2.1.0.4 in the
tool. Version bug? If it should say 2.2.0.2, then that could be my
problem. But how do I correct that?

# dahdi_cfg -vvv
DAHDI Tools Version - 2.2.0

DAHDI Version: 2.1.0.4
Echo Canceller(s):
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 04)

4 channels to configure.

Setting echocan for channel 1 to none
Setting echocan for channel 2 to none
Setting echocan for channel 3 to none
Setting echocan for channel 4 to none

I have looked up everything I can about this problem, and nothing has lead
me to a solution. Any help would be great appreciated.

Thanks,
Herb



More information about the asterisk-users mailing list