keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D-110P 1 Span E1/T1/J1 Interface Card

D110P - PRI span 1/0: Provisioned, Down, Active

10 years 6 months ago #9133 by alois216
*Describe the problem in details(logs, errors)
D110P - PRI span 1/0: Provisioned, Down, Active

Unable to get the span UP, it goes from green to yellow alarms with errors like this.
[Oct 15 08:13:49] NOTICE[6276]: chan_dahdi.c:13520 pri_dchannel: PRI got event: No more alarm (5) on Primary D-channel of span 1

[Oct 15 08:14:04] NOTICE[6276]: chan_dahdi.c:13520 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1

In intense debug mode I only see outgoing frames.


*Show versions of kernel and Linux distribution
CentOS release 6.4 (Final)

# uname -a
Linux pbx01.voip.fio.cz 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


*Show versions of asterisk and zaptel/dahdi
libpri-1.4.11.5
dahdi-linux-complete-2.7.0+2.7.0 from downloads.openvox.cn
asterisk-1.6.2.24


*Give model of OpenVox products
Digium Wildcard TE110P T1/E1 Card 0

05:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Device 79fe:0001
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 (250ns min, 32000ns max)
Interrupt: pin A routed to IRQ 17
Region 0: I/O ports at c000
Region 1: Memory at f7300000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=55mA PME(D0+,D1-,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: wcte11xp
Kernel modules: wcte11xp, hisax, netjet


# dahdi_scan
[1]
active=yes
alarms=RED
description=Digium Wildcard TE110P T1/E1 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Digium Wildcard TE110P T1/E1
location=PCI Bus 05 Slot 02
basechan=1
totchans=31
irq=0
type=digital-E1
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS/CRC4


*Give debug and error information from your system
[Oct 15 08:13:49] NOTICE[6276]: chan_dahdi.c:13520 pri_dchannel: PRI got event: No more alarm (5) on Primary D-channel of span 1

[Oct 15 08:14:04] NOTICE[6276]: chan_dahdi.c:13520 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
[Oct 15 08:14:04] NOTICE[6276]: chan_dahdi.c:13520 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
[Oct 15 08:14:04] NOTICE[6276]: chan_dahdi.c:13520 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1


*Show zaptel(zaptel.conf and zapata.conf) or dahdi (system.conf and chan_dahdi.conf) configuration files and extension.conf if your have a trouble with dialplan
# cat /etc/dahdi/system.conf
# Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
#echocanceller=mg2,1-15,17-31
# Global data
loadzone = cz
defaultzone = cz


# cat /etc/asterisk/dahdi-channels.conf
; Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER)
group=0,11
context=dialin
switchtype = euroisdn
;signalling = pri_cpe
signalling = em_w
channel => 1-15,17-31
context = default
group = 63


# cat /etc/asterisk/chan_dahdi.conf
[trunkgroups]

[channels]

#include /etc/asterisk/dahdi-channels.conf


*Give demsg message after loading the driver
dahdi: Version: 2.7.0
dahdi: Telephony Interface Registered on major 196
IRQ 17/wcte11xp: IRQF_DISABLED is not guaranteed on shared IRQs
FALC version: 00000005
TE110P: Setting up global serial parameters for E1 FALC V2.2
TE110P: Successfully initialized serial bus for card
Found a Wildcard: Digium Wildcard TE110P T1/E1
TE110P: Span configured for CCS/HDB3/CRC4
Calling startup (flags is 4099)
wcte1xxp: Setting yellow alarm



*Give output of the command: cat /proc/interrupts
# cat /proc/interrupts
CPU0 CPU1
0: 125 0 IO-APIC-edge timer
1: 809 0 IO-APIC-edge i8042
8: 0 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
16: 3438564 0 IO-APIC-fasteoi eth1
17: 18850 15840263 IO-APIC-fasteoi wcte11xp
25: 138712 0 PCI-MSI-edge ahci
26: 270511 0 PCI-MSI-edge
NMI: 466 638 Non-maskable interrupts
LOC: 665869 533292 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 466 638 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
RES: 8956 10672 Rescheduling interrupts
CAL: 77 102 Function call interrupts
TLB: 8195 8603 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 59 59 Machine check polls
ERR: 0
MIS: 0


i] Last edited by alois216 at 2013-10-15 16:45 [/i
10 years 6 months ago #9134 by chunlei.yi
hi,

you can disable the crc4 in your side and telcom side then restart dahdi and asterisk to try, if still have problem, you can contact me via skype, i will help you to check it remotely

skype:chunlei.yi
10 years 6 months ago #9135 by alois216

Original posted by chunlei.yi at 2013-10-15 17:30


hi,

you can disable the crc4 in your side and telcom side then restart dahdi and asterisk to try, if still have problem, you can contact me via skype, i will help you to check it remotely

skype:chu ...


I've already tried that it has the same effect. Any other ideas?
10 years 6 months ago #9139 by chunlei.yi
hi,

you can add the following parameters at the kernel line in grub.conf then reboot the system to try
example:
title Elastix (2.6.18-238.12.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.12.1.el5 ro root=/dev/VolGroup00/LogVol00 acpi=off noapic
initrd /initrd-2.6.18-238.12.1.el5.img
10 years 6 months ago #9142 by alois216

Original posted by chunlei.yi at 2013-10-16 09:34


hi,

you can add the following parameters at the kernel line in grub.conf then reboot the system to try
example:
title Elastix (2.6.18-238.12.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.1 ...



I'm afraid that on 64bit SMP kernel apic has to stay on without it the system freezes with softlockups and is unworkable. Anyway I've put the card on it's own interrupt and enabled SMP IRQ Affinity to be processed on 2nd cpu. This is a result of dahdi_test

# dahdi_test
Opened pseudo dahdi interface, measuring accuracy...
99.999% 99.999% 99.998% 99.996% 99.997% 99.997% 99.997% 99.997%
--- Results after 498 passes ---
Best: 100.000% -- Worst: 99.994% -- Average: 99.997233%
Cummulative Accuracy (not per pass): 99.997

# cat /proc/interrupts
CPU0 CPU1
0: 223 0 IO-APIC-edge timer
1: 9 0 IO-APIC-edge i8042
2: 0 0 XT-PIC-XT cascade
8: 0 0 IO-APIC-edge rtc0
12: 4 0 IO-APIC-edge i8042
16: 894676 0 IO-APIC-fasteoi eth1
17: 4652 983329 IO-APIC-fasteoi wcte11xp
24: 4891 0 PCI-MSI-edge ahci
NMI: 27 26 Non-maskable interrupts
LOC: 924577 924472 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 27 26 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
RES: 135 184 Rescheduling interrupts
CAL: 69 103 Function call interrupts
TLB: 244 357 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 5 5 Machine check polls
ERR: 0
MIS: 0
Time to create page: 0.044 seconds
Powered by Kunena Forum