[Asterisk-Users] Zaptel modules load, but Asterisk fails at startup

Francesco Peeters (Asterisk) francesco at fampeeters.com
Wed Jan 11 13:26:16 MST 2006


On Wed, January 11, 2006 19:35, Stephen Bosch said:
> I'm running Asterisk on a Gentoo box with the Zaptel 1.2.1 drivers.
>
> If I boot the machine without having the wcfxs module autoload, then
> install the module with modprobe, asterisk works just fine.
>
> If I boot the machine and autoload the wcfxs module, the module loads
> fine:
>
>> Jan 11 11:06:55 asterisk Zapata Telephony Interface Registered on major
>> 196
>> Jan 11 11:06:55 asterisk ACPI: PCI Interrupt Link [LNKC] enabled at IRQ
>> 10
>> Jan 11 11:06:55 asterisk PCI: setting IRQ 10 as level-triggered
>> Jan 11 11:06:55 asterisk ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link
>> [LNKC] -> GSI 10 (level, low) -> IRQ 10
>> Jan 11 11:06:55 asterisk Freshmaker version: 73
>> Jan 11 11:06:55 asterisk Freshmaker passed register test
>> Jan 11 11:06:55 asterisk Module 0: Installed -- AUTO FXS/DPO
>> Jan 11 11:06:55 asterisk Module 1: Not installed
>> Jan 11 11:06:55 asterisk Module 2: Not installed
>> Jan 11 11:06:55 asterisk Module 3: Installed -- AUTO FXO (FCC mode)
>> Jan 11 11:06:55 asterisk Found a Wildcard TDM: Wildcard TDM400P REV I (2
>> modules)
>
> The module is running:
>
>> asterisk sfbosch # lsmod
>> Module                  Size  Used by
>> wctdm                  39936  -
>> zaptel                226756  -
>> asterisk sfbosch #
>
> But Asterisk behaves as though it were not:
>
>>  [chan_zap.so] => (Zapata Telephony w/PRI)
>>   == Parsing '/etc/asterisk/zapata.conf': Found
>> Jan 11 11:32:53 WARNING[5778]: chan_zap.c:920 zt_open: Unable to specify
>> channel 1: No such device or address
>> Jan 11 11:32:53 ERROR[5778]: chan_zap.c:6847 mkintf: Unable to open
>> channel 1: No such device or address
>> here = 0, tmp->channel = 1, channel = 1
>> Jan 11 11:32:53 ERROR[5778]: chan_zap.c:10251 setup_zap: Unable to
>> register channel '1'
>> Jan 11 11:32:53 WARNING[5778]: loader.c:414 __load_resource:
>> chan_zap.so: load_module failed, returning -1
>> Jan 11 11:32:53 WARNING[5778]: loader.c:554 load_modules: Loading module
>> chan_zap.so failed!
>> Warning, flexible rate not heavily tested!
>> asterisk sfbosch # Ouch ... error while writing audio data: : Broken
>> pipe
>
> Looking at this now as I write this, it seems that some module
> dependencies aren't loading, but I can't be sure. Does anybody have an
> idea what's going on here?
>
> -Stephen-

Try running ztcfg -vvv

-- 
F Peeters
  PIII 450 - 1 GB - * 1.2 - BRIstuff 0.3.0 Pre 1 - Florz patch
  2 Sweex HFC-PCI modes=2 sync_slave=2 timer_card=0
    Cologne HFC-S pins #52, #54, #55 connected in parallel for synching.
  AMD Duron 1GHz - 1GB - * 1.2.1
  2 Sweex HFC-PCI cards



More information about the asterisk-users mailing list