keywords: ip pbx voip gateway gsm gateway

× Questions about D110/210/410 T1/E1/J1 PRI Cards

PRI got event: HDLC Abort (6) on D-channel

7 years 3 months ago #9239 by markgo
補充下:
tail -f /var/log/asterisk/message
[Nov 24 13:38:11] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Nov 24 13:38:13] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Nov 24 13:38:13] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Nov 24 13:38:13] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Nov 24 13:38:13] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Nov 24 13:38:14] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Nov 24 13:38:15] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Nov 24 13:38:15] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Nov 24 13:38:16] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Nov 24 13:38:17] NOTICE[25605] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
我發現這個錯誤出現的越來越頻繁
7 years 3 months ago #9240 by markgo
我在B機器修改了配置
/etc/dahdi/system.conf
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16

span=2,2,0,ccs,hdb3
# termtype: te
bchan=32-46,48-62
dchan=47

loadzone = cn
defaultzone = cn


/etc/asterisk/chan_dahdi.conf
[trunkgroups]

[channels]
context=from-pstn
pridialplan=national
signalling=pri_cpe
switchtype=national
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
callgroup=1
pickupgroup=1
echocancel=yes
echocancelwhenbridged=yes
echotraining=800 ;modify on 23/11 13:20
rxgain=2.0
txgain=2.0
immediate=no
resetinterval=never

; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
group=1
switchtype=national
signalling=pri_net
resetinterval=never
context=in-hotline
channel => 1-15,17-31

group=2
switchtype=national
signalling=pri_cpe
resetinterval=never
context=in-hotline
channel => 32-46,48-62


可是日誌依然有該錯誤:
[Nov 24 15:22:43] NOTICE[2370] chan_dahdi.c: PRI got event: HDLC Abort (6) on D-channel of span 2
[Nov 24 15:22:44] NOTICE[2369] chan_dahdi.c: PRI got event: HDLC Abort (6) on D-channel of span 1
[Nov 24 15:22:44] NOTICE[2370] chan_dahdi.c: PRI got event: HDLC Abort (6) on D-channel of span 2
[Nov 24 15:22:46] NOTICE[2369] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
[Nov 24 15:22:58] NOTICE[2369] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
[Nov 24 15:23:00] NOTICE[2370] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 2
[Nov 24 15:23:00] NOTICE[2369] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
[Nov 24 15:23:02] NOTICE[2370] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 2
[Nov 24 15:23:02] NOTICE[2369] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
7 years 3 months ago #9241 by chunlei.yi
hi,

你好,Latency是设备占用pci总线的时长,初始值是由系统bios来设定的,可以更改。
你这个问题是丢包导致的,运行 cat /proc/interrupts 看下板卡是否有中断共享。可以qq联系我,我帮你远程看下 qq:376868580
7 years 3 months ago #9243 by markgo
謝謝解答。
cat /proc/interrupts
CPU0       CPU1       CPU2       CPU3       CPU4       CPU5       CPU6       CPU7
  0:        120          0          0          0          0          0          0          0   IO-APIC-edge      timer
  1:          2          0          0          0          0          0          0          0   IO-APIC-edge      i8042
  4:          2          0          0          0          0          0          0          0   IO-APIC-edge
  8:          1          0          0          0          0          0          0          0   IO-APIC-edge      rtc0
  9:          0          0          0          0          0          0          0          0   IO-APIC-fasteoi   acpi
 12:          4          0          0          0          0          0          0          0   IO-APIC-edge      i8042
 18:       8953       7196          0          0          0    3255689          0          0   IO-APIC-fasteoi   wct4xxp
 24:         15          0          0          0          0          0          0          0  HPET_MSI-edge      hpet2
 25:          0          0          0          0          0          0          0          0  HPET_MSI-edge      hpet3
 26:          0          0          0          0          0          0          0          0  HPET_MSI-edge      hpet4
 27:          0          0          0          0          0          0          0          0  HPET_MSI-edge      hpet5
 28:          0          0          0          0          0          0          0          0  HPET_MSI-edge      hpet6
 29:       4585          0          0       1830          0          0          0      19698   PCI-MSI-edge      ahci
 30:          0          0          0          0          0          0          0          0   PCI-MSI-edge      ahci
 31:        280          0          0          0          0          0          0          0   PCI-MSI-edge      snd_hda_intel
 32:     105184          0          0          0          0          0          0          0   PCI-MSI-edge      snd_hda_intel
 33:         43          0          0      24167          0          0          0          0   PCI-MSI-edge      eth0
NMI:          0          0          0          0          0          0          0          0   Non-maskable interrupts
LOC:     118244      77362     241734     137735     139913      89046     292546      99661   Local timer interrupts
SPU:          0          0          0          0          0          0          0          0   Spurious interrupts
PMI:          0          0          0          0          0          0          0          0   Performance monitoring interrupts
IWI:          0          0          0          0          0          0          0          0   IRQ work interrupts
RES:        326        127      11670       3112       3208        362        104         88   Rescheduling interrupts
CAL:         50        197        199        197        184        200        188        192   Function call interrupts
TLB:        811        479        111        106        816       1316        882        657   TLB shootdowns
TRM:          0          0          0          0          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0          0          0          0          0   Threshold APIC interrupts
MCE:          0          0          0          0          0          0          0          0   Machine check exceptions
MCP:         17         17         17         17         17         17         17         17   Machine check polls
ERR:          0
MIS:          0


其中IRQ 18為wct4XXP,而且grub裏都添加了nousb選項啟動。所以中斷沒共享。
7 years 3 months ago #9245 by markgo
你好,請問我能有什麼辦法測試下是卡的問題還是系統的問題嗎?
7 years 3 months ago #9249 by chunlei.yi
hi,

请发送ssh或者teamviewer信息到我邮箱,我先帮你远程查看下。
email:This email address is being protected from spambots. You need JavaScript enabled to view it.
Time to create page: 0.040 seconds
Powered by Kunena Forum