[Asterisk-Users] chan_capi, Eicon Diva server BRI, kernel 2.6?
Patrick
asterisk at puzzled.xs4all.nl
Mon Sep 27 06:23:10 MST 2004
Hi list,
Does chan_capi work with kernel 2.6? The Eicon Diva server card loads
fine judging from /var/log/messages but Asterisk gives an error when
trying to load the chan_capi module. I'm using chan_capi-0.3.5,
zaptel-1.0.0, libpri-1.0.0 and asterisk-1.0.0 on a Fedora box with
kernel 2.6.8-1.584. Zaptel and ilbpri work fine as does *. I have seen a
msg that may be related and don't know if this fix is included in Red
Hat's 584 kernel:
http://listserv.isdn4linux.de/pipermail/i4ldeveloper/2004-August/000630.html
Here are the kernel options compiled in:
#
# Active cards
#
CONFIG_ISDN_DRV_ICN=m
CONFIG_ISDN_DRV_PCBIT=m
CONFIG_ISDN_DRV_SC=m
CONFIG_ISDN_DRV_ACT2000=m
CONFIG_ISDN_DRV_TPAM=m
CONFIG_HYSDN=m
CONFIG_HYSDN_CAPI=y
#
# CAPI subsystem
#
CONFIG_ISDN_CAPI=m
CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON=y
CONFIG_ISDN_CAPI_MIDDLEWARE=y
CONFIG_ISDN_CAPI_CAPI20=m
CONFIG_ISDN_CAPI_CAPIFS_BOOL=y
CONFIG_ISDN_CAPI_CAPIFS=m
CONFIG_ISDN_CAPI_CAPIDRV=m
#
# CAPI hardware drivers
#
#
# Active AVM cards
#
CONFIG_CAPI_AVM=y
CONFIG_ISDN_DRV_AVMB1_B1ISA=m
CONFIG_ISDN_DRV_AVMB1_B1PCI=m
CONFIG_ISDN_DRV_AVMB1_B1PCIV4=y
CONFIG_ISDN_DRV_AVMB1_T1ISA=m
CONFIG_ISDN_DRV_AVMB1_B1PCMCIA=m
CONFIG_ISDN_DRV_AVMB1_AVM_CS=m
CONFIG_ISDN_DRV_AVMB1_T1PCI=m
CONFIG_ISDN_DRV_AVMB1_C4=m
#
# Active Eicon DIVA Server cards
#
CONFIG_CAPI_EICON=y
CONFIG_ISDN_DIVAS=m
CONFIG_ISDN_DIVAS_BRIPCI=y
CONFIG_ISDN_DIVAS_PRIPCI=y
CONFIG_ISDN_DIVAS_DIVACAPI=m
CONFIG_ISDN_DIVAS_USERIDI=m
CONFIG_ISDN_DIVAS_MAINT=m
Output from /var/log/messages:
Sep 26 01:51:04 voice kernel: kcapi: Controller 1: Diva Server BRI-2M
PCI attached
Sep 26 01:51:05 voice kernel: kcapi: card 1 "Diva Server BRI-2M PCI"
ready.
Output from lsmod:
Module Size Used by
divacapi 156913 0
capi 13313 0
capifs 3785 2 capi
kernelcapi 39009 2 divacapi,capi
diva_idi 21517 0
divas 73785 0
divadidd 12697 3 divacapi,diva_idi,divas
wcfxo 11424 0
zaptel 203396 1 wcfxo
And the error that Asterisk generated (chan_capi was installed):
[chan_capi.so] => (Common ISDN API for Asterisk) == Parsing
'/etc/asterisk/capi.conf': Found
2004-09-26 01:56:25 NOTICE[-151078944]: chan_capi.c:2636 load_module:
CAPI not installed!
2004-09-26 01:56:25 WARNING[-151078944]: loader.c:334 ast_load_resource:
chan_capi.so: load_module failed, returning -1
2004-09-26 01:56:25 WARNING[-151078944]: chan_capi.c:2812 unload_module:
Unable to unregister from CAPI! == Unregistered channel type 'CAPI'
2004-09-26 01:56:25 WARNING[-151078944]: loader.c:380 load_modules:
Loading module chan_capi.so failed!
Thanks!
Regards,
Patrick
More information about the asterisk-users
mailing list