keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D110/210/410 T1/E1/J1 PRI Cards

OpenVox multiple D410P Dahdi configuration problem - one works, two fails

11 years 1 month ago #8663 by AlexH
Problem:

As per the subject line, if I have only one D410P in this server it then Dahdi starts without problems, if we put two in then the service can not be started.


Detailed Description:

Installed two D410P cards with locator IDs 0 and 1
Did a standard Dahdi install from source.

modprobe dahdi
modprobe wct4xxp debug=1

Everything looks OK

dahdi_genconf

Edited /etc/dahdi/system.conf

dahdi_cfg -vvv

Kernel crashes, server stops responding.


System:

Fedora 18 (Spherical Cow)
Kernel 3.8.1-201.FC18.i686.PAE
Dahdi 2.6.1 + 2.6.1
Libpri 1.4.14
Asterisk 11
2 x OpenVox D410P
Server IBM x3650 M2


/etc/dahdi/system.conf:

# Autogenerated by /sbin/dahdi_genconf on Thu Mar 14 14:53:57 2013
# If you edit this file and execute /sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
# echocanceller=mg2,1-15,17-31

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47
# echocanceller=mg2,32-46,48-62

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
span=3,3,0,ccs,hdb3,crc4
# termtype: te
bchan=63-77,79-93
dchan=78
# echocanceller=mg2,63-77,79-93

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
span=4,4,0,ccs,hdb3,crc4
# termtype: te
bchan=94-108,110-124
dchan=109
# echocanceller=mg2,94-108,110-124

# Span 5: TE4/1/1 "T4XXP (PCI) Card 1 Span 1"
span=5,5,0,ccs,hdb3,crc4
# termtype: te
bchan=125-139,141-155
dchan=140
# echocanceller=mg2,125-139,141-155

# Span 6: TE4/1/2 "T4XXP (PCI) Card 1 Span 2"
span=6,6,0,ccs,hdb3,crc4
# termtype: te
bchan=156-170,172-186
dchan=171
# echocanceller=mg2,156-170,172-186

# Span 7: TE4/1/3 "T4XXP (PCI) Card 1 Span 3"
span=7,7,0,ccs,hdb3,crc4
# termtype: te
bchan=187-201,203-217
dchan=202
# echocanceller=mg2,187-201,203-217

# Span 8: TE4/1/4 "T4XXP (PCI) Card 1 Span 4"
span=8,8,0,ccs,hdb3,crc4
# termtype: te
bchan=218-232,234-248
dchan=233
# echocanceller=mg2,218-232,234-248

# Global data

loadzone = uk
defaultzone = uk




lspci:

16:02.0 Communication controller: Digium, Inc. Wildcard TE410P/TE412P quad-span T1/E1/J1 card 3.3V (rev 02)
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
Interrupt: pin A routed to IRQ 7
Region 0: Memory at 97c00000 (32-bit, non-prefetchable)
Kernel driver in use: wct4xxp

1b:02.0 Communication controller: Digium, Inc. Wildcard TE410P/TE412P quad-span T1/E1/J1 card 3.3V (rev 02)
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
Interrupt: pin A routed to IRQ 7
Region 0: Memory at 97a00000 (32-bit, non-prefetchable)
Kernel driver in use: wct4xxp


/proc/interrupts:

CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
0: 878462 0 0 0 0 0 0 0 IO-APIC-edge timer
1: 0 0 0 0 0 0 0 0 IO-APIC-edge i8042
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
14: 3222 0 0 0 0 0 0 0 IO-APIC-edge ata_piix
15: 0 0 0 0 0 0 0 0 IO-APIC-edge ata_piix
16: 5391 0 0 0 0 0 0 0 IO-APIC-fasteoi ioc0
17: 4365 0 0 0 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb5
18: 0 0 0 0 0 0 0 0 IO-APIC-fasteoi uhci_hcd:usb4, uhci_hcd:usb6
19: 50 0 0 0 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb7
21: 0 0 0 0 0 0 0 0 IO-APIC-fasteoi ata_piix
22: 0 0 0 0 0 0 0 0 IO-APIC-fasteoi i801_smbus
27: 0 0 0 0 0 0 0 0 IO-APIC-fasteoi wct4xxp
47: 0 0 0 0 0 0 0 0 IO-APIC-fasteoi wct4xxp
66: 3 0 0 0 0 0 0 0 PCI-MSI-edge ioat-msix
67: 3 0 0 0 0 0 0 0 PCI-MSI-edge ioat-msix
68: 3 0 0 0 0 0 0 0 PCI-MSI-edge ioat-msix
69: 3 0 0 0 0 0 0 0 PCI-MSI-edge ioat-msix
70: 3 0 0 0 0 0 0 0 PCI-MSI-edge ioat-msix
71: 3 0 0 0 0 0 0 0 PCI-MSI-edge ioat-msix
72: 3 0 0 0 0 0 0 0 PCI-MSI-edge ioat-msix
73: 3 0 0 0 0 0 0 0 PCI-MSI-edge ioat-msix
74: 6529 0 0 0 0 0 0 0 PCI-MSI-edge em1-0
75: 1230 0 0 0 0 0 0 0 PCI-MSI-edge em1-1
76: 1917 0 0 0 0 0 0 0 PCI-MSI-edge em1-2
77: 501 0 0 0 0 0 0 0 PCI-MSI-edge em1-3
78: 2591 0 0 0 0 0 0 0 PCI-MSI-edge em1-4
79: 1310 0 0 0 0 0 0 0 PCI-MSI-edge em1-5
80: 140 0 0 0 0 0 0 0 PCI-MSI-edge em1-6
81: 614 0 0 0 0 0 0 0 PCI-MSI-edge em1-7
83: 1 0 0 0 0 0 0 0 PCI-MSI-edge em2-0
84: 0 0 0 0 0 0 0 0 PCI-MSI-edge em2-1
85: 0 0 0 0 0 0 0 0 PCI-MSI-edge em2-2
86: 0 0 0 0 0 0 0 0 PCI-MSI-edge em2-3
87: 0 0 0 0 0 0 0 0 PCI-MSI-edge em2-4
88: 0 0 0 0 0 0 0 0 PCI-MSI-edge em2-5
89: 0 0 0 0 0 0 0 0 PCI-MSI-edge em2-6
90: 0 0 0 0 0 0 0 0 PCI-MSI-edge em2-7
NMI: 54 5 5 3 29 3 5 3 Non-maskable interrupts
LOC: 397864 37182 25763 29544 1023154 24480 37543 16696 Local timer interrupts
SPU: 0 0 0 0 0 0 0 0 Spurious interrupts
PMI: 54 5 5 3 29 3 5 3 Performance monitoring interrupts
IWI: 0 0 0 0 0 0 0 0 IRQ work interrupts
RTR: 7 0 0 0 0 0 0 0 APIC ICR read retries
RES: 4930 1580 1665 923 1119 1027 1353 1387 Rescheduling interrupts
CAL: 316 330 309 355 1038 906 1099 841 Function call interrupts
TLB: 11 6 3 1 1 4 3 1 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: 13 13 13 13 13 13 13 13 Machine check polls
ERR: 0
MIS: 0


dmesg:

Mar 14 14:52:10 DEV-AST-1 kernel: [ 616.425480] dahdi: Telephony Interface Registered on major 196
Mar 14 14:52:10 DEV-AST-1 kernel: [ 616.426004] dahdi: Version: 2.6.1
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.453429] wct4xxp 0000:16:02.0: Found TE4XXP
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.453845] wct4xxp 0000:16:02.0: DMA memory base of size 2048 at f3d33000. Read: f3d33400 and Write f3d33000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.454959] wct4xxp 0000:16:02.0: Firmware Version: c01a0000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.455502] wct4xxp 0000:16:02.0: Burst Mode: On
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.456756] wct4xxp 0000:16:02.0: FALC Framer Version: Unknown (VSTR = 0x00)
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.457513] wct4xxp 0000:16:02.0: Board ID: 00
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.457907] wct4xxp 0000:16:02.0: Reg 0: 0x33d33400
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.458468] wct4xxp 0000:16:02.0: Reg 1: 0x33d33000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.458899] wct4xxp 0000:16:02.0: Reg 2: 0x97c00008
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.459464] wct4xxp 0000:16:02.0: Reg 3: 0x00000000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.459896] wct4xxp 0000:16:02.0: Reg 4: 0x00000000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.460421] wct4xxp 0000:16:02.0: Reg 5: 0x97c00014
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.460858] wct4xxp 0000:16:02.0: Reg 6: 0xc01a0000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.461342] wct4xxp 0000:16:02.0: Reg 7: 0x00001f00
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.461768] wct4xxp 0000:16:02.0: Reg 8: 0x00000000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.462256] wct4xxp 0000:16:02.0: Reg 9: 0x00000000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.462677] wct4xxp 0000:16:02.0: Reg 10: 0x97c00028
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.463364] wct4xxp 0000:16:02.0: Found a Wildcard: Wildcard TE410P (2nd Gen)
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.464286] wct4xxp 0000:16:02.0: OCT Result: 0004/000a
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.464758] wct4xxp 0000:16:02.0: VPM450: Not Present
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.465324] wct4xxp 0000:1b:02.0: Found TE4XXP
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.465720] wct4xxp 0000:1b:02.0: DMA memory base of size 2048 at f4e45000. Read: f4e45400 and Write f4e45000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.466750] wct4xxp 0000:1b:02.0: Firmware Version: c01a0000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.467315] wct4xxp 0000:1b:02.0: Burst Mode: On
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.468574] wct4xxp 0000:1b:02.0: FALC Framer Version: Unknown (VSTR = 0x00)
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.469276] wct4xxp 0000:1b:02.0: Board ID: 01
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.469658] wct4xxp 0000:1b:02.0: Reg 0: 0x34e45400
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.470166] wct4xxp 0000:1b:02.0: Reg 1: 0x34e45000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.470585] wct4xxp 0000:1b:02.0: Reg 2: 0x97a00008
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.471139] wct4xxp 0000:1b:02.0: Reg 3: 0x00000000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.471557] wct4xxp 0000:1b:02.0: Reg 4: 0x00000000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.472079] wct4xxp 0000:1b:02.0: Reg 5: 0x97a00014
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.472498] wct4xxp 0000:1b:02.0: Reg 6: 0xc01a0000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.472931] wct4xxp 0000:1b:02.0: Reg 7: 0x10001f00
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.473485] wct4xxp 0000:1b:02.0: Reg 8: 0x00000000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.473917] wct4xxp 0000:1b:02.0: Reg 9: 0x00000000
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.474451] wct4xxp 0000:1b:02.0: Reg 10: 0x97a00028
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.475181] wct4xxp 0000:1b:02.0: Found a Wildcard: Wildcard TE410P (2nd Gen)
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.476064] wct4xxp 0000:1b:02.0: OCT Result: 0004/000a
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.476589] wct4xxp 0000:1b:02.0: VPM450: Not Present
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.477228] wct4xxp 0000:16:02.0: TE4XXP: Launching card: 0
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.484943] wct4xxp 0000:16:02.0: TE4XXP: Setting up global serial parameters
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.485801] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 0
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.486723] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 1
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.487660] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 2
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.488616] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 3
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.492757] wct4xxp 0000:16:02.0: TE4XXP: Setting up global serial parameters
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.493651] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 0
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.494487] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 1
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.495343] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 2
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.496223] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 3
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.499762] wct4xxp 0000:16:02.0: TE4XXP: Setting up global serial parameters
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.500652] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 0
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.518123] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 1
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.535470] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 2
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.552532] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 3
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.574069] wct4xxp 0000:16:02.0: TE4XXP: Setting up global serial parameters
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.591062] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 0
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.607308] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 1
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.623312] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 2
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.638593] wct4xxp 0000:16:02.0: Successfully initialized serial bus for unit 3
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.652543] wct4xxp 0000:1b:02.0: TE4XXP: Launching card: 1
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.672056] wct4xxp 0000:1b:02.0: TE4XXP: Setting up global serial parameters
Mar 14 14:52:26 DEV-AST-1 kernel: [ 632.686027] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 0
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.700188] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 1
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.713737] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 2
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.726769] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 3
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.742867] wct4xxp 0000:1b:02.0: TE4XXP: Setting up global serial parameters
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.756021] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 0
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.769111] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 1
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.782009] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 2
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.795036] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 3
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.811747] wct4xxp 0000:1b:02.0: TE4XXP: Setting up global serial parameters
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.825017] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 0
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.838571] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 1
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.852035] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 2
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.865570] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 3
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.882681] wct4xxp 0000:1b:02.0: TE4XXP: Setting up global serial parameters
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.896832] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 0
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.911034] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 1
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.925166] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 2
Mar 14 14:52:27 DEV-AST-1 kernel: [ 632.938904] wct4xxp 0000:1b:02.0: Successfully initialized serial bus for unit 3
11 years 1 month ago #8664 by chunlei.yi
hi,

pls send me remote access, I will check it for you. you can contact me via msn or skype

msn: This email address is being protected from spambots. You need JavaScript enabled to view it.
skype: chunlei.yi
11 years 1 month ago #8666 by AlexH
Hi Chunlei,

I am afraid that due to PCI-DSS restrictions I can not let you ssh onto any of our servers. Is there anything I can send you that would help work out what is wrong? I did try to post the section of /var/log/messages showing what happened when I ran dahdi_cfg, but even trimmed down it was too large for the text posting restrictions here. I will try to zip it and upload if I can.

Thanks,
Alex
11 years 1 month ago #8667 by AlexH
/var/log/messages showing what happened when I ran dahdi_cfg
Attachments:
11 years 1 month ago #8670 by chunlei.yi
hi alex,

you can use the following dahdi driver to try
downloads.openvox.cn/pub/drivers/dahdi-l...e-2.6.1+2.6.1.tar.gz
if still have problem,i advice you to replace the system with one lower kernel version.it's better if i can check it via teamviewer,pls contact me via msn or skype when you are online
11 years 1 month ago #8679 by AlexH
Hi Chunlei,

I have downloaded that OpenVox Dahdi driver 2.6.1+2.6.1 release 1.3.5, but it will not compile under kernel 3.8.1 or 3.6.10.

It gives error:

CC [M] /home/asteriskpbx/src/asterisk-complete/openvox/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wcb4xxp/base.o
/home/asteriskpbx/src/asterisk-complete/openvox/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wcb4xxp/base.c:38:46: fatal error: asm/system.h: No such file or directory
compilation terminated.


Is there a recomended kernel version I should be using?
Time to create page: 0.044 seconds
Powered by Kunena Forum