Страница 1 из 4

D-channel is down and up!

Добавлено: 28 янв 2014, 16:52
b_s_n
Здравствуйте.

Проблема старая и избитая, тем не менее, перечитав и перепробовав все рекомендации на форумах положительного результата не добился.
Поэтому господа, взываю к помощи, может у кого получилось.

ПО следующее: OS Ubuntu Server 12.04 LTS, Asterisk 11.4.0
Железо: Digium TE133 PCIe (E1 поток)

Изначально всё работало по SIP протоколу. Сейчас захотели перейти на другого провайдера, используя E1 поток.
Поставил всё по мануалу: libpri, настроил DAHDI.
Обжал кабель для E1: 12 -> 12, 45 -> 45. Работает только с прямым, с кроссом не поднимается.

Параметры по синхронизации и таймингам уточнял у провайдера: синхра от них, используют crc4

/etc/dahdi/system.conf

Код: Выделить всё

span=1,1,0,CCS,HDB3,CRC4
bchan=1-15,17-31
dchan=16
loadzone=ru
defaultzone=ru
Вот логи debug span 1:

Код: Выделить всё

[2014-01-28 09:59:38] VERBOSE[1322] sig_pri.c: == Primary D-Channel on span 1 up
[2014-01-28 09:59:52] VERBOSE[1322][color=#FF0000] chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (I): T200 expired N200 times sending RR/RNR in state 8(Timer recovery)[/color]
[2014-01-28 09:59:52] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 09:59:52] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 8(Timer recovery) to 5(Awaiting establishment)
[2014-01-28 09:59:52] VERBOSE[1322] sig_pri.c: Span 1: Processing event PRI_EVENT_DCHAN_DOWN(2)
[2014-01-28 09:59:52] VERBOSE[1322] [color=#FF8000]sig_pri.c: == Primary D-Channel on span 1 down[/color]
[2014-01-28 09:59:52] WARNING[1322] [color=#FF8000]sig_pri.c: Span 1: D-channel is down![/color]
[2014-01-28 09:59:52] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Got SABME from network peer.
[2014-01-28 09:59:52] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending UA
[2014-01-28 09:59:53] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 09:59:53] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Got SABME from network peer.
[2014-01-28 09:59:53] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending UA
[2014-01-28 09:59:54] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 09:59:54] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Got SABME from network peer.
[2014-01-28 09:59:54] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending UA
[2014-01-28 09:59:55] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 09:59:56] VERBOSE[1322] [color=#FF0000]chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)[/color]
[2014-01-28 09:59:56] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
[2014-01-28 09:59:56] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
[2014-01-28 09:59:57] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 SAPI/TEI=0/0 Kick starting link
[2014-01-28 09:59:57] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 09:59:57] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
[2014-01-28 09:59:57] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Got UA
[2014-01-28 09:59:57] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 5(Awaiting establishment) to 7(Multi-frame established)
[2014-01-28 09:59:57] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_ESTABLISH_CONFIRM(2)
[2014-01-28 09:59:57] VERBOSE[1322] sig_pri.c: Span 1: Processing event PRI_EVENT_DCHAN_UP(1)
[2014-01-28 09:59:57] VERBOSE[1322] sig_pri.c: == Primary D-Channel on span 1 up
[2014-01-28 10:00:11] VERBOSE[1322] [color=#FF8000]chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (I): T200 expired N200 times sending RR/RNR in state 8(Timer recovery)[/color]
[2014-01-28 10:00:11] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 10:00:11] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 8(Timer recovery) to 5(Awaiting establishment)
[2014-01-28 10:00:11] VERBOSE[1322] sig_pri.c: Span 1: Processing event PRI_EVENT_DCHAN_DOWN(2)
[2014-01-28 10:00:11] VERBOSE[1322] sig_pri.c: == Primary D-Channel on span 1 down
[2014-01-28 10:00:11] WARNING[1322] sig_pri.c: Span 1: D-channel is down!
[2014-01-28 10:00:11] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Got UA
[2014-01-28 10:00:11] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 5(Awaiting establishment) to 7(Multi-frame established)
[2014-01-28 10:00:11] VERBOSE[1322] sig_pri.c: Span 1: Processing event PRI_EVENT_DCHAN_UP(1)
[2014-01-28 10:00:11] VERBOSE[1322] sig_pri.c: == Primary D-Channel on span 1 up
[2014-01-28 10:00:25] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (I): T200 expired N200 times sending RR/RNR in state 8(Timer recovery)
[2014-01-28 10:00:25] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 10:00:25] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 8(Timer recovery) to 5(Awaiting establishment)
[2014-01-28 10:00:25] VERBOSE[1322] sig_pri.c: Span 1: Processing event PRI_EVENT_DCHAN_DOWN(2)
[2014-01-28 10:00:25] VERBOSE[1322] [color=#FF8000]sig_pri.c: == Primary D-Channel on span 1 down[/color]
[2014-01-28 10:00:25] WARNING[1322] [color=#FF8000]sig_pri.c: Span 1: D-channel is down![/color]
[2014-01-28 10:00:26] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 10:00:27] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 10:00:28] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 10:00:29] VERBOSE[1322] [color=#FF0000]chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)[/color]
[2014-01-28 10:00:29] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
[2014-01-28 10:00:29] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
[2014-01-28 10:00:30] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 SAPI/TEI=0/0 Kick starting link
[2014-01-28 10:00:30] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-28 10:00:30] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
[2014-01-28 10:00:30] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 Got UA
[2014-01-28 10:00:30] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 Changing from state 5(Awaiting establishment) to 7(Multi-frame established)
[2014-01-28 10:00:30] VERBOSE[1322] chan_dahdi.c: PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_ESTABLISH_CONFIRM(2)
[2014-01-28 10:00:30] VERBOSE[1322] sig_pri.c: Span 1: Processing event PRI_EVENT_DCHAN_UP(1)
[2014-01-28 10:00:30] VERBOSE[1322] [color=#FF8000]sig_pri.c: == Primary D-Channel on span 1 up[/color]
Единственное что я ещё не сделал, так это не отключил USB в BIOS.
Так как железка сейчас висит на одном прерывании с USB:

cat /proc/interrupts

Код: Выделить всё

           CPU0       CPU1       CPU2       CPU3
  0:        235          0          0          0  IR-IO-APIC-edge      timer
  8:          1          0          0          0  IR-IO-APIC-edge      rtc0
  9:          0          0          0          0  IR-IO-APIC-fasteoi   acpi
 16:   56192200          0          0          0  IR-IO-APIC-fasteoi   ehci_hcd:usb1, wcte13xp0
 23:        142          0          0          0  IR-IO-APIC-fasteoi   ehci_hcd:usb2
 40:          0          0          0          0  DMAR_MSI-edge      dmar0
 43:       5664     153987          0          0  IR-PCI-MSI-edge      ahci
 44:    2496078          0          0          0  IR-PCI-MSI-edge      eth0-rx-0
 45:    1600111          0          0          0  IR-PCI-MSI-edge      eth0-tx-0
 46:          3          0          0          0  IR-PCI-MSI-edge      eth0
NMI:       1760        106        104        122   Non-maskable interrupts
LOC:    2985930    2232919    2671416    3559712   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:       1760        106        104        122   Performance monitoring interrupts
IWI:          0          0          0          0   IRQ work interrupts
RES:      60615     133633      83982      61356   Rescheduling interrupts
CAL:        167        194        156        169   Function call interrupts
TLB:       2846       2970       2307       3266   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:        189        189        189        189   Machine check polls
ERR:          0
MIS:          0
Господа. Надеюсь на вашу помощь. Устал биться.

Re: D-channel is down and up!

Добавлено: 28 янв 2014, 16:59
ded
Проблема на стороне провайдера.
Не бейтесь.
А какая длина патч корда Е1?

Re: D-channel is down and up!

Добавлено: 28 янв 2014, 17:04
b_s_n
Спасибо.
Кабель сделал совсем короткий, не больше метра.
Завтра придет тех. поддержка со стороны провайдера. Будем смотреть.

Re: D-channel is down and up!

Добавлено: 28 янв 2014, 17:05
ded
Знаете как диагностируется правильность работыы Е1? Петлями - заглушками. Сделайте Loopback - протестируете, что у вас всё ОК, а на мультиплексоре оператора они сами посмотрят.

Re: D-channel is down and up!

Добавлено: 28 янв 2014, 17:17
b_s_n
patlooptest вроде называется.
Видел в документации от Digium. Обязательно проверю.
Спасибо.

Re: D-channel is down and up!

Добавлено: 28 янв 2014, 17:27
ded
Изображение
Теоретическая часть:
http://www.cisco.com/en/US/tech/tk1076/ ... da27.shtml

Re: D-channel is down and up!

Добавлено: 28 янв 2014, 17:47
b_s_n
Оо..спасибо большое.
К плате Digium шла заглушка loopback.
Потестирую, отпишусь если не получится.

Re: D-channel is down and up!

Добавлено: 28 янв 2014, 23:11
b_s_n
Сделал тесты согласно такому мануалу:
http://kb.digium.com/articles/Configura ... E1-T1-card

Выдает ошибки, похоже что проблемы всё-таки у меня в железе, либо в самой плате, либо встала в сервере не как надо (с прерыванием может проблемы):

For Span 1: ./patlooptest /dev/dahdi/1 -t 300 -v
Лог:

Код: Выделить всё

Using Timeout of 300 Seconds
Going for it...
Error 1 (loop 0, offset 1, error 1): Unexpected result, Read: 0xff, Expected 0x00.
Error 2 (loop 0, offset 2, error 2): Unexpected result, Read: 0xff, Expected 0x00.
Error 3 (loop 0, offset 3, error 3): Unexpected result, Read: 0xff, Expected 0x00.
Error 4 (loop 0, offset 4, error 4): Unexpected result, Read: 0xff, Expected 0x00.
Error 5 (loop 0, offset 5, error 5): Unexpected result, Read: 0xff, Expected 0x00.
Error 6 (loop 0, offset 6, error 6): Unexpected result, Read: 0xff, Expected 0x00.
Error 7 (loop 0, offset 7, error 7): Unexpected result, Read: 0xff, Expected 0x00.
Error 8 (loop 0, offset 8, error 8): Unexpected result, Read: 0xff, Expected 0x00.
Error 9 (loop 0, offset 9, error 9): Unexpected result, Read: 0xff, Expected 0x00.
Error 10 (loop 0, offset 10, error 10): Unexpected result, Read: 0xff, Expected 0x00.
Error 11 (loop 0, offset 11, error 11): Unexpected result, Read: 0xff, Expected 0x00.
Error 12 (loop 0, offset 12, error 12): Unexpected result, Read: 0xff, Expected 0x00.
Error 13 (loop 0, offset 13, error 13): Unexpected result, Read: 0xff, Expected 0x00.
Error 14 (loop 0, offset 14, error 14): Unexpected result, Read: 0xff, Expected 0x00.
Error 15 (loop 0, offset 15, error 15): Unexpected result, Read: 0xff, Expected 0x00.
Error 16 (loop 0, offset 16, error 16): Unexpected result, Read: 0xff, Expected 0x00.
Error 17 (loop 0, offset 17, error 17): Unexpected result, Read: 0xff, Expected 0x00.
Error 18 (loop 0, offset 18, error 18): Unexpected result, Read: 0xff, Expected 0x00.
Error 19 (loop 0, offset 19, error 19): Unexpected result, Read: 0xff, Expected 0x00.
Error 20 (loop 0, offset 20, error 20): Unexpected result, Read: 0xff, Expected 0x00.
Error 21 (loop 0, offset 21, error 21): Unexpected result, Read: 0xff, Expected 0x00.
Error 22 (loop 0, offset 22, error 22): Unexpected result, Read: 0xff, Expected 0x00.
Error 23 (loop 0, offset 23, error 23): Unexpected result, Read: 0xff, Expected 0x00.
Error 24 (loop 0, offset 24, error 24): Unexpected result, Read: 0xff, Expected 0x00.
Error 25 (loop 0, offset 25, error 25): Unexpected result, Read: 0xff, Expected 0x00.
Error 26 (loop 0, offset 26, error 26): Unexpected result, Read: 0xff, Expected 0x00.
Error 27 (loop 0, offset 27, error 27): Unexpected result, Read: 0xff, Expected 0x00.
Error 28 (loop 0, offset 28, error 28): Unexpected result, Read: 0xff, Expected 0x00.
Error 29 (loop 0, offset 29, error 29): Unexpected result, Read: 0xff, Expected 0x00.
Error 30 (loop 0, offset 30, error 30): Unexpected result, Read: 0xff, Expected 0x00.
Error 31 (loop 0, offset 31, error 31): Unexpected result, Read: 0xff, Expected 0x00.
Error 32 (loop 0, offset 32, error 32): Unexpected result, Read: 0xff, Expected 0x00.
Error 33 (loop 0, offset 33, error 33): Unexpected result, Read: 0xff, Expected 0x00.
Error 34 (loop 0, offset 34, error 34): Unexpected result, Read: 0xff, Expected 0x00.
Error 35 (loop 0, offset 35, error 35): Unexpected result, Read: 0xff, Expected 0x00.
Error 36 (loop 0, offset 36, error 36): Unexpected result, Read: 0xff, Expected 0x00.
Error 37 (loop 0, offset 37, error 37): Unexpected result, Read: 0xff, Expected 0x00.
Error 38 (loop 0, offset 38, error 38): Unexpected result, Read: 0xff, Expected 0x00.
Error 39 (loop 0, offset 39, error 39): Unexpected result, Read: 0xff, Expected 0x00.
Error 40 (loop 0, offset 40, error 40): Unexpected result, Read: 0xff, Expected 0x00.
Error 41 (loop 0, offset 41, error 41): Unexpected result, Read: 0xff, Expected 0x00.
Error 42 (loop 0, offset 42, error 42): Unexpected result, Read: 0xff, Expected 0x00.
Error 43 (loop 0, offset 43, error 43): Unexpected result, Read: 0xff, Expected 0x00.
Error 44 (loop 0, offset 44, error 44): Unexpected result, Read: 0xff, Expected 0x00.
Error 45 (loop 0, offset 45, error 45): Unexpected result, Read: 0xff, Expected 0x00.
Error 46 (loop 0, offset 46, error 46): Unexpected result, Read: 0xff, Expected 0x00.
Error 47 (loop 0, offset 47, error 47): Unexpected result, Read: 0xff, Expected 0x00.
Error 48 (loop 0, offset 48, error 48): Unexpected result, Read: 0xff, Expected 0x00.
Error 49 (loop 0, offset 49, error 49): Unexpected result, Read: 0xff, Expected 0x00.
Error 50 (loop 0, offset 50, error 50): Unexpected result, Read: 0xff, Expected 0x00.
Error 51 (loop 0, offset 51, error 51): Unexpected result, Read: 0xff, Expected 0x00.
Error 52 (loop 0, offset 52, error 52): Unexpected result, Read: 0xff, Expected 0x00.
Error 53 (loop 0, offset 53, error 53): Unexpected result, Read: 0xff, Expected 0x00.
Error 54 (loop 0, offset 54, error 54): Unexpected result, Read: 0xff, Expected 0x00.
Error 55 (loop 0, offset 55, error 55): Unexpected result, Read: 0xff, Expected 0x00.
Error 56 (loop 0, offset 56, error 56): Unexpected result, Read: 0xff, Expected 0x00.
Error 57 (loop 0, offset 57, error 57): Unexpected result, Read: 0xff, Expected 0x00.
Error 58 (loop 0, offset 58, error 58): Unexpected result, Read: 0xff, Expected 0x00.
Error 59 (loop 0, offset 59, error 59): Unexpected result, Read: 0xff, Expected 0x00.
Error 60 (loop 0, offset 60, error 60): Unexpected result, Read: 0xff, Expected 0x00.
Error 61 (loop 0, offset 61, error 61): Unexpected result, Read: 0xff, Expected 0x00.
Error 62 (loop 0, offset 62, error 62): Unexpected result, Read: 0xff, Expected 0x00.
Error 63 (loop 0, offset 63, error 63): Unexpected result, Read: 0xff, Expected 0x00.
Error 64 (loop 0, offset 64, error 64): Unexpected result, Read: 0xff, Expected 0x00.
Error 65 (loop 0, offset 65, error 65): Unexpected result, Read: 0xff, Expected 0x00.
Error 66 (loop 0, offset 66, error 66): Unexpected result, Read: 0xff, Expected 0x00.
Error 67 (loop 0, offset 67, error 67): Unexpected result, Read: 0xff, Expected 0x00.
Error 68 (loop 0, offset 68, error 68): Unexpected result, Read: 0xff, Expected 0x00.
Error 69 (loop 0, offset 69, error 69): Unexpected result, Read: 0xff, Expected 0x00.
Error 70 (loop 0, offset 70, error 70): Unexpected result, Read: 0xff, Expected 0x00.
Error 71 (loop 0, offset 71, error 71): Unexpected result, Read: 0xff, Expected 0x00.
Error 72 (loop 0, offset 72, error 72): Unexpected result, Read: 0xff, Expected 0x00.
Error 73 (loop 0, offset 73, error 73): Unexpected result, Read: 0xff, Expected 0x00.
Error 74 (loop 0, offset 74, error 74): Unexpected result, Read: 0xff, Expected 0x00.
Error 75 (loop 0, offset 75, error 75): Unexpected result, Read: 0xff, Expected 0x00.
Error 76 (loop 0, offset 76, error 76): Unexpected result, Read: 0xff, Expected 0x00.
Error 77 (loop 0, offset 77, error 77): Unexpected result, Read: 0xff, Expected 0x00.
Error 78 (loop 0, offset 78, error 78): Unexpected result, Read: 0xff, Expected 0x00.
Error 79 (loop 0, offset 79, error 79): Unexpected result, Read: 0xff, Expected 0x00.
Error 80 (loop 0, offset 80, error 80): Unexpected result, Read: 0xff, Expected 0x00.
Error 81 (loop 0, offset 81, error 81): Unexpected result, Read: 0xff, Expected 0x00.
Error 82 (loop 0, offset 82, error 82): Unexpected result, Read: 0xff, Expected 0x00.
Error 83 (loop 0, offset 83, error 83): Unexpected result, Read: 0xff, Expected 0x00.
Error 84 (loop 0, offset 84, error 84): Unexpected result, Read: 0xff, Expected 0x00.
Error 85 (loop 0, offset 85, error 85): Unexpected result, Read: 0xff, Expected 0x00.
Error 86 (loop 0, offset 86, error 86): Unexpected result, Read: 0xff, Expected 0x00.
Error 87 (loop 0, offset 87, error 87): Unexpected result, Read: 0xff, Expected 0x00.
Error 88 (loop 0, offset 88, error 88): Unexpected result, Read: 0xff, Expected 0x00.
Error 89 (loop 0, offset 89, error 89): Unexpected result, Read: 0xff, Expected 0x00.
Error 90 (loop 0, offset 90, error 90): Unexpected result, Read: 0xff, Expected 0x00.
Error 91 (loop 0, offset 91, error 91): Unexpected result, Read: 0xff, Expected 0x00.
Error 92 (loop 0, offset 92, error 92): Unexpected result, Read: 0xff, Expected 0x00.
Error 93 (loop 0, offset 93, error 93): Unexpected result, Read: 0xff, Expected 0x00.
Error 94 (loop 0, offset 94, error 94): Unexpected result, Read: 0xff, Expected 0x00.
Error 95 (loop 0, offset 95, error 95): Unexpected result, Read: 0xff, Expected 0x00.
Error 96 (loop 0, offset 96, error 96): Unexpected result, Read: 0xff, Expected 0x00.
Error 97 (loop 0, offset 97, error 97): Unexpected result, Read: 0xff, Expected 0x00.
Error 98 (loop 0, offset 98, error 98): Unexpected result, Read: 0xff, Expected 0x00.
Error 99 (loop 0, offset 99, error 99): Unexpected result, Read: 0xff, Expected 0x00.
Error 100 (loop 0, offset 100, error 100): Unexpected result, Read: 0xff, Expected 0x00.
Error 101 (loop 0, offset 101, error 101): Unexpected result, Read: 0xff, Expected 0x00.
Error 102 (loop 0, offset 102, error 102): Unexpected result, Read: 0xff, Expected 0x00.
Error 103 (loop 0, offset 103, error 103): Unexpected result, Read: 0xff, Expected 0x00.
....................................................................................................
и т. д.
У меня закончились варианты тестирования.
Буду рад если посоветуете что-то ещё.

А вообще буду признателен за рекомендации PRI плат E1, желательно чтобы с астериском были совместимы.
Спасибо!

Re: D-channel is down and up!

Добавлено: 28 янв 2014, 23:40
ded
Все совместимы, не заморачивайтесь. Возможно таки тут
56192200 0 0 0 IR-IO-APIC-fasteoi ehci_hcd:usb1, wcte13xp0
значит попробуйте задизаблить все USB legacy функции в БИОСе. И, если есть врзможность, переставить карту в другой слот.

Re: D-channel is down and up!

Добавлено: 29 янв 2014, 20:52
b_s_n
В продолжении моих испытаний.

Переустановил dahdi.
Скачал с офф. сайта последнюю версию (2.9.0), поставил, вроде завелась.

Теперь модуль сел на отдельное прерывание:

cat /proc/interrupts

Код: Выделить всё

           CPU0       CPU1       CPU2       CPU3
  0:         61          0          0          0  IR-IO-APIC-edge      timer
  8:          1          0          0          0  IR-IO-APIC-edge      rtc0
  9:          0          0          0          0  IR-IO-APIC-fasteoi   acpi
 16:         28          0          0          0  IR-IO-APIC-fasteoi   ehci_hcd:usb1
 23:         76          0          0          0  IR-IO-APIC-fasteoi   ehci_hcd:usb2
 40:          0          0          0          0  DMAR_MSI-edge      dmar0
 43:       5044      13863          0          0  IR-PCI-MSI-edge      ahci
 44:      16441          0          0          0  IR-PCI-MSI-edge      eth0-rx-0
 45:       9123          0          0          0  IR-PCI-MSI-edge      eth0-tx-0
 46:          3          0          0          0  IR-PCI-MSI-edge      eth0
 50:    4092426          0          0          0  IR-PCI-MSI-edge      wcte13xp0

И вроде бы всё заработало. Но через 10 минут отвалилось.
Если поменять какой-то параметр. то всё снова оживает, оставить в покое и через 10 минут отвалится с надписью
TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
Затем через несколько минут снова up!

Вот логи:

Код: Выделить всё

[2014-01-29 20:31:58] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 < [08 02 80 90]
[2014-01-29 20:31:58] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: User (0)
[2014-01-29 20:31:58] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
[2014-01-29 20:31:58] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Received message for call 0x7ff9880ba780 on link 0x20b4ef0 TEI/SAPI 0/0
[2014-01-29 20:31:58] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 -- Processing IE 8 (cs0, Cause)
[2014-01-29 20:31:58] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 q931.c:8944 post_handle_q931_message: Call 27 enters state 0 (Null). Hold state: Idle
[2014-01-29 20:31:58] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 q931.c:7135 q931_hangup: Hangup other cref:27
[2014-01-29 20:31:58] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 q931.c:6892 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
[2014-01-29 20:31:58] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Destroying call 0x7ff9880ba780, ourstate Null, peerstate Null, hold-state Idle
[2014-01-29 20:31:58] VERBOSE[1327] sig_pri.c: Span 1: Processing event PRI_EVENT_HANGUP_ACK(9)
[2014-01-29 20:43:15] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (I): T200 expired N200 times sending RR/RNR in state 8(Timer recovery)
[2014-01-29 20:43:15] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:15] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Changing from state 8(Timer recovery) to 5(Awaiting establishment)
[2014-01-29 20:43:15] VERBOSE[1327] sig_pri.c: Span 1: Processing event PRI_EVENT_DCHAN_DOWN(2)
[2014-01-29 20:43:15] VERBOSE[1327] sig_pri.c: == Primary D-Channel on span 1 down
[2014-01-29 20:43:15] WARNING[1327] sig_pri.c: Span 1: D-channel is down!
[2014-01-29 20:43:15] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Got SABME from network peer.
[2014-01-29 20:43:15] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending UA
[2014-01-29 20:43:16] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:16] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Got SABME from network peer.
[2014-01-29 20:43:16] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending UA
[2014-01-29 20:43:17] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:18] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Got SABME from network peer.
[2014-01-29 20:43:18] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending UA
[2014-01-29 20:43:18] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:19] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Got SABME from network peer.
[2014-01-29 20:43:19] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending UA
[2014-01-29 20:43:19] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
[2014-01-29 20:43:19] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
[2014-01-29 20:43:19] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
[2014-01-29 20:43:20] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Not configured for PTMP. Ignoring MDL message: 4(TEI Identity Check Request)
[2014-01-29 20:43:20] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 SAPI/TEI=0/0 Kick starting link
[2014-01-29 20:43:20] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:20] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
[2014-01-29 20:43:21] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:21] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Not configured for PTMP. Ignoring MDL message: 4(TEI Identity Check Request)
[2014-01-29 20:43:22] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:22] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Not configured for PTMP. Ignoring MDL message: 6(TEI Identity Remove)
[2014-01-29 20:43:22] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Not configured for PTMP. Ignoring MDL message: 6(TEI Identity Remove)
[2014-01-29 20:43:23] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:24] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
[2014-01-29 20:43:24] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
[2014-01-29 20:43:24] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
[2014-01-29 20:43:25] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 SAPI/TEI=0/0 Kick starting link
[2014-01-29 20:43:25] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:25] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
[2014-01-29 20:43:26] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:27] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:28] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:29] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
[2014-01-29 20:43:29] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
[2014-01-29 20:43:29] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
[2014-01-29 20:43:30] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 SAPI/TEI=0/0 Kick starting link
[2014-01-29 20:43:30] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:30] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
[2014-01-29 20:43:31] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:32] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:33] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 Sending SABME
[2014-01-29 20:43:34] VERBOSE[1327] chan_dahdi.c: PRI Span: 1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)