[asterisk-users] tormenta2 drivers

BSD Guy
Wed, 05 Jul 2006 16:14:01 -0000

Hi all, I've been running a generic tor2 card from
varion in a box for a couple years now with a few
pri's going to it.  I thought it was time to pick up
another card to experiment with and have on hand as a
backup so the boss picked up another varion tormenta2
card but I sure can't seem to get it installed.

I started out with the latest debian netboot cd and
upgraded to the 2.6 kernel.  Everything seems smooth
there.  I downloaded zaptel-1.2.6, ran make linux26
and installed it, here's the resulting dmesg output on
reboot:
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.6 Echo Canceller: KB1
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 20 (level,
low) -> IRQ 20
Detected Tormenta 2 Quad T1/PRI or E1/PRA at
0xfcf00800/0xfcf00000 irq 20
Xilinx Chip successfully loaded, configured and
started!!
Tormenta 2 Quad T1/PRI Card
Detected Card number: 2

ztcfg -vvv gets me:

Zaptel Configuration
=====================
SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet
(DSX-1)
SPAN 2: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet
(DSX-1)
SPAN 3: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet
(DSX-1)
SPAN 4: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet
(DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: Clear channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: Clear channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: Clear channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: Clear channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: Clear channel (Default) (Slaves: 14)
Channel 15: Clear channel (Default) (Slaves: 15)
Channel 16: Clear channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Slaves: 17)
Channel 18: Clear channel (Default) (Slaves: 18)
Channel 19: Clear channel (Default) (Slaves: 19)
Channel 20: Clear channel (Default) (Slaves: 20)
Channel 21: Clear channel (Default) (Slaves: 21)
Channel 22: Clear channel (Default) (Slaves: 22)
Channel 23: Clear channel (Default) (Slaves: 23)
Channel 24: D-channel (Default) (Slaves: 24)

24 channels configured.

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


/etc/zaptel.conf is the same as my other server:
span=1,1,0,esf,b8zs
span=2,0,0,esf,b8zs
span=3,0,0,esf,b8zs
span=4,0,0,esf,b8zs
bchan=1-23
dchan=24
loadzone=us
defaultzone=us

lsmod:
tor2                   90784  0
zaptel                229636  1 tor2


My functional box is running a much older zaptel
(1.0.2) - I seem to recall there being a reason I went
with it over the latest when I installed it, but I
sure don't remember what it would have been.  Anyway
here's its dmesg:
Zapata Telephony Interface Registered on major 196
Detected Tormenta 2 Quad T1/PRI or E1/PRA at
0xfcf00800/0xfcf00000 irq 16
Xilinx Chip successfully loaded, configured and
started!!
Tormenta 2 Quad T1/PRI Card
Detected Card number: 0
Tor2: Launching card: 0
Registered Tormenta2 PCI
Registered tone zone 0 (United States / North America)
SPAN 1: Primary Sync Source
Zaptel: Master changed to Tor2/0/2
Zaptel: Master changed to Tor2/0/3
Zaptel: Master changed to Tor2/0/4

It seems as if i'm missing the whole "launching card"
bit.  Any suggestions as to what is actually happening
here would be greatly appreciated.  I spend most of my
time with freebsd so perhaps I've missed an obvious
answer.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around