[Asterisk-Users] Two zaptel T1 cards: no clock from one
Fernando Macías
fmacias at validata.com.mx
Fri Dec 3 19:37:07 MST 2004
I have a similar issue. I am trying to get two TE410Ps to operate
together correctly on the same box. The first card has operated well
for months. The other is always reported as "internally clocked" no
matter what I do. I used to run on RedHat 8.0 (old, I know) and it was
not until I moved to FC2 (kernel 2.6) the system became stable. Also,
you have to make sure the Digium boards do not share interrupts with
anything else. Confirm with cat /proc/interrupts. I have no experience
with multi CPU systems, but from your output it seems that the IRQs are
indeed different.
The problem persists in my system. The second card reports no clock.
However, the devices attached to it work consistently and I don't get
regular IRQ misses anymore. I say regular because with RH8 IRQ misses
for the new card would show up all the time. Now they only occur under
heavy network activity, such as copying a very large file from another
server.
Fernando
On Dec 3, 2004, at 6:57 PM, Kevin Blackham wrote:
> List,
>
> I have a TE410P (T1 mode, all PRI) and a T100P (fxoks, for fxs channel
> bank). I cannot seem to get the T100P to send any clock to the
> channel bank. I prefer that it use the same clock source as the
> TE410P, but it doesn't matter if it's not in sync just as long as it's
> there.
>
> The TE410P is configured 3x pri_cpe, 1x pri_net. The three cpe go to
> XO Sonus switch, the net to legacy PBX. Clock is received from telco,
> old PBX receives clock from zaptel card, everything's green there, but
> the other card, the T100P, seems to not send any timing at all, as
> verified by our T1 analyzer, and is persistently in red alarm. In
> fact, even if I stick a loopback plug in the T100P, the alarm persists
> (loopback causes a result in the TE410P). The T100P and channel bank
> were just pulled from another working * box, and the configuration is
> nearly identical, except it was the only T1 interface.
>
> System: Supermicro dual Xeon 2.4, both cards on same PCI bus.
> Cards: one T100P, one TE410P.
> Config: spans 1-4 for quad card (module loaded first), span 5 is
> single port card
> Channel bank: Access Bank II, 12 FXS
>
> Info dumps (some snipped for brevity)
>
> lspci (snipped, these are the only devices on bus 5):
> 0000:05:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX
> Modem/ISDN interface
> 0000:05:03.0 Communication controller: Xilinx Corporation: Unknown
> device 0314 (rev 01)
>
> cat /proc/interrupts (odd, shouldn't the T100P be generating 1000
> ints/sec?):
> CPU0 CPU1 CPU2 CPU3
> 0: 20727 0 18569488 0 IO-APIC-edge timer
> 9: 0 0 0 0 IO-APIC-level acpi
> 28: 177705 0 0 0 IO-APIC-level eth0
> 29: 9282 0 0 0 IO-APIC-level eth1
> 72: 35845 0 0 0 IO-APIC-level dpti0
> 100: 102 0 0 0 IO-APIC-level t1xxp
> 104: 18342391 0 0 0 IO-APIC-level t4xxp
>
> lsmod:
> Module Size Used by
> wct1xxp 17568 0
> wct4xxp 70048 0
> zaptel 226436 222 wct1xxp,wct4xxp
> e1000 87348 0
> crc_ccitt 3072 1 zaptel
>
> zaptel.conf:
> span=1,1,0,esf,b8zs
> span=2,2,0,esf,b8zs
> span=3,3,0,esf,b8zs
> span=4,4,0,esf,b8zs
> span=5,0,0,esf,b8zs
> bchan=1-23
> dchan=24
> bchan=25-47
> dchan=48
> bchan=49-71
> dchan=72
> bchan=73-95
> dchan=96
> fxoks=97-108
> #fxoks=109-120
> loadzone = us
> defaultzone=us
>
> asterisk/zapata.conf:
> [channels]
> language=en
> echocancel=yes
> echocancelwhenbridged=no
> echotraining=yes
> echotraining=800
> immediate=no
> ;--pstn--
> context=from-pstn
> signalling=pri_cpe
> switchtype=dms100
> group = 1
> channel => 1-23,25-47,49-71
> ;--pri to pbx--
> signalling=pri_net
> switchtype=dms100
> group = 3
> channel => 73-95
> ;--channel bank--
> context=fax+modem
> signalling=fxo_ks
> channel => 97-108
>
> a snippet from dmesg:
> ACPI: PCI interrupt 0000:05:03.0[A] -> GSI 104 (level, low) -> IRQ 104
> Found TE410P at base address f8401000, remapped to f9b98000
> TE410P version c01a009b
> FALC version: 00000005, Board ID: 00
> <registers snipped>
> TE410P: Launching card: 0
> TE410P: Setting up global serial parameters
> Found a Wildcard: Wildcard TE410P-Xilinx
> ACPI: PCI interrupt 0000:05:02.0[A] -> GSI 100 (level, low) -> IRQ 100
> Framer: DS21552, Revision: 3 (T1)
> Found a Wildcard: Digium Wildcard T100P T1/PRI
> Registered tone zone 0 (United States / North America)
> TE410P: Span 1 configured for ESF/B8ZS
> SPAN 1: Primary Sync Source
> TE410P: Span 2 configured for ESF/B8ZS
> SPAN 2: Secondary Sync Source
> TE410P: Span 3 configured for ESF/B8ZS
> SPAN 3: Tertiary Sync Source
> TE410P: Span 4 configured for ESF/B8ZS
> SPAN 4: Quaternary Sync Source
> Using ESF/B8ZS coding/framing
> Calling startup (flags is 4099)
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list