2 cards X100P on the same server

Hi everybody,

I have two X100P card on my asterisk server. But I can’t start asterisk :

Feb 20 22:29:41 WARNING[4598] chan_zap.c: Unable to specify channel 2: Device or resource busy Feb 20 22:29:41 ERROR[4598] chan_zap.c: Unable to open channel 2: Device or resource busy here = 0, tmp->channel = 2, channel = 2 Feb 20 22:29:41 ERROR[4598] chan_zap.c: Unable to register channel '2' Feb 20 22:29:41 WARNING[4598] loader.c: chan_zap.so: load_module failed, returning -1 Feb 20 22:29:41 WARNING[4598] loader.c: Loading module chan_zap.so failed!

How do I configure zaptel.conf and zapata.conf ?

zaptel.conf :

fxsks=1-2 loadzone=fr defaultzone=fr

zapata.conf :

[code][channels]

context=default
signalling=fxs_ks
channel => 1-2[/code]

Is that correct ?

(sorry for my bad english, i’m a french people).

What happens when you run ztcfg -vvvvc ? Also You did modprobe ?

Hi,

All modules are succesfuly loaded :

root@ZOLA:/etc# lsmod | grep zap zaptel 225540 2 wcfxo,ztdummy crc_ccitt 2432 1 zaptel

[code]root@ZOLA:/etc# ztcfg -vvvv

Zaptel Configuration

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)

2 channels configured.

ZT_CHANCONFIG failed on channel 2: No such device or address (6)[/code]

my zaptel.conf :

fxsks=1-2 loadzone=fr defaultzone=fr

any idea please ?

Does this suggest that one of the cards couldn’t be configured? Several people noticed failure when installing two X100P cards in one machine - an uncommon practice. (Saw a thread in Asterisk-users list two weeks ago.) If you have specific reasons to do so, you would want to make sure that no IRQ conflict exists. Also use zttool to make sure the channels work properly before starting Asterisk.

This configuration functioned perfectly until we decided to move the server. The 2 cards functioned and could take and pass from the calls.

No the problem of IRQ. The first card is on bus 0a and the second on the 0b.

0000:02:0a.0 Communication controller: Motorola Wildcard X100P 0000:02:0b.0 Communication controller: Motorola Wildcard X100P

any idea ?

I have these logs too :

Feb 21 11:56:03 WARNING[4472]: chan_zap.c:921 zt_open: Unable to specify channel 2: Device or resource busy Feb 21 11:56:03 ERROR[4472]: chan_zap.c:6880 mkintf: Unable to open channel 2: Device or resource busy here = 0, tmp->channel = 2, channel = 2 Feb 21 11:56:03 ERROR[4472]: chan_zap.c:10308 setup_zap: Unable to register channel '1' Feb 21 11:56:03 WARNING[4472]: loader.c:414 __load_resource: chan_zap.so: load_module failed, returning -1 -- Unregistered channel 1 Feb 21 11:56:03 WARNING[4472]: loader.c:554 load_modules: Loading module chan_zap.so failed!

any idea ?

[quote=“azer”]This configuration functioned perfectly until we decided to move the server. The 2 cards functioned and could take and pass from the calls.

No the problem of IRQ. The first card is on bus 0a and the second on the 0b.
[/quote]

What’s the nature of the move? I mean, move the cards to a new server or just power down and relocate? Any other changes?

The output you displayed seems to come from lspci. What about /proc/interrupts?