keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D110/210/410 T1/E1/J1 PRI Cards

D210E : ZT_SPANCONFIG failed on span 1: No such device or ..

15 years 7 months ago #1882 by ibrozovi
Hello everyone!

I have OpenVox D210 Card in Dell PowerEdge 2950 server.
All DIP switches are by default - spans are set to E1, card is in Digium compatible mode.

OS is Fedora 9, kernel 2.6.25-14.fc9.i686 #1 SMP.

lspci -vv:
0f:00.0 Communication controller: Digium, Inc. Wildcard TE210P dual-span T1/E1/J1 card 3.3V (rev 02)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32
Interrupt: pin A routed to IRQ 16
Region 0: Memory at de4ffc00 (32-bit, non-prefetchable)
Kernel driver in use: wct4xxp
Kernel modules: wct4xxp


$ modprobe zaptel debug=1
/var/log/messages shows:
: Zapata Telephony Interface Registered on major 196
: Zaptel Version: 1.4.12.1
: Zaptel Echo Canceller: MG2

$ modprobe wct4xxp debug=1
/var/log/messages shows:
: Found TE2XXP at base address de4ffc00, remapped to f8844c00
: TE2XXP version c01a0000, burst OFF
: FALC version: 00000005, Board ID: 07
: Reg 0: 0x3599c400
: Reg 1: 0x3599c000
: Reg 2: 0xde4ffc08
: Reg 3: 0x00000000
: Reg 4: 0x00000000
: Reg 5: 0xde4ffc14
: Reg 6: 0xc01a0000
: Reg 7: 0x70001f00
: Reg 8: 0x00000000
: Reg 9: 0x00000000
: Reg 10: 0xde4ffc28
: Found a Wildcard: Wildcard TE210P

After loading modules, there are some "files" in /dev/zap, but there is nothing in /proc/zaptel/

/etc/zaptel.conf:
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
span=2,2,0,ccs,hdb3,crc4
bchan=32-46,48-62
dchan=47


libpri version is 1.4.7
zaptel version is 1.4.12.1

$ ztcfg -vvvv
Zaptel Version: 1.4.12.1
Echo Canceller: MG2
Configuration
======================

SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02....
....
Channel 16: D-channel (Default) (Slaves: 16)
....
62 channels to configure.

ZT_SPANCONFIG failed on span 1: No such device or address (6)

/var/log/messages shows nothing after running ztcfg.


Strace of ztcfg shows that it fails at:
ioctl(3, 0x40244a12, 0x807e2e0) = -1 EINVAL (Invalid argument)

3 is file descriptor of opened /dev/zap/ctl.

Any help ?

Moving card in another PCI-E slot did not help...


Any ideas ?
15 years 7 months ago #1883 by james.zhu
hello:
please
1) the wheel of card id. the default is 0 if you have one card only.
=========================
: TE2XXP version c01a0000, burst OFF
: FALC version: 00000005, Board ID: 07
=========================
and
2) please unload the ztdummy if you have hardware already.
regards!
James.zhu

15 years 7 months ago #1900 by ibrozovi

hello:
please
1) the wheel of card id. the default is 0 if you have one card only.
=========================
: TE2XXP version c01a0000, burst OFF
: FALC version: 00000005, Board ID: 07
=========================


Sorry but I don't understand what do you mean by "the wheel of card id.".

Yes, this is only card in server, and board ID was detected as "07". So it should be 00. What could be the problem, what to do so it could be detected with board ID 00 ?

My colleague and I were curious so we played with kernel driver source (zaptel-1.4.12.1/kernel/wct4xxp/base.c) and changed source to force wc->order to 0. After that, loading module successfully created /dev/zaptel/1 and /dev/zaptel/2 files, ztcfg didn't complain, and I was able to make a call through E1 line.
But I don't like solutions like that. What to do ? :)

and
2) please unload the ztdummy if you have hardware already.
regards!


ztdummy is not loaded.
15 years 7 months ago #1901 by james.zhu
hello,
have you read the user manual for that? yes, "it must be 00", otherwise, it will cause error. have you set it back to 0?, please check the "card serial number select", set it back to 0, if it is other value. if you modify the code, we can not guarantee the card work properly.
regards!
James.zhu

Time to create page: 0.030 seconds
Powered by Kunena Forum