[asterisk-users] Terrible dahdi_test results

Mike Leddy mike at loop.com.br
Mon May 12 16:57:04 CDT 2014


Hello, I am trying to get a Wildcard TE110P to work in a relatively
modern HP Proliant DL385p Gen8 server. Being a potent 12 core Opteron
server I expected no problems.

Much to my dismay the dahdi_test results are constantly terrible:

# dahdi_test 
Opened pseudo dahdi interface, measuring accuracy...
89.101% 89.195% 89.142% 88.957% 88.953% 89.115% 89.089% 89.134% 
89.066% 89.021% 88.933% 89.044% 89.200% 89.017% 89.425% 89.014% 
89.140% 89.814% 89.379% 89.185% 88.943% 89.000% 89.090% 89.067% 
88.975% 88.875% 89.095% 89.130% 89.049% 89.046% 89.040% 88.945% 
89.211% 89.021% 89.091% 88.972% 88.973% 89.147% 89.003% 88.970%
--- Results after 40 passes ---
Best: 89.814% -- Worst: 88.875% -- Average: 89.089184%
Cummulative Accuracy (not per pass): 89.089

Trying to use the card results in constant 'HDLC Bad FCS' and
consequent 'HDLC Abort'.

As far as I can tell everything should be fine. The card has its 
own IO-APIC interrupt (28). I tried setting its smp_affinity to 
one cpu, changed the pci card latency... to no avail, always
the same terrible dahdi_test results.

Some info:

# uname -a
Linux mundau 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

# dmesg | egrep -i 'dahdi|te110|wcop|wcte1'
[   39.054098] dahdi: Version: 2.7.0.1
[   39.054775] dahdi: Telephony Interface Registered on major 196
[   39.128206] TE110P: Setting up global serial parameters for E1 FALC V1.2
[   39.128376] TE110P: Successfully initialized serial bus for card
[   39.131355] Found a Wildcard: Digium Wildcard TE110P T1/E1
[   39.223031] wcopenpci: Module loaded 
[   39.714308] dahdi_echocan_oslec: Registered echo canceler 'OSLEC'
[   39.716015] TE110P: Span configured for CCS/HDB3/CRC4
[   39.751770] wcte1xxp: Setting yellow alarm

# dahdi_hardware 
pci:0000:06:00.0     wcte11xp+    e159:0001 Digium Wildcard TE110P T1/E1 Board

# 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 06 Slot 01
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

Here is the /proc/interrupt info with CPU1-CPU10 removed for space:

            CPU0 ... CPU11     
   0:         71       0   IO-APIC-edge      timer
   1:          3       0   IO-APIC-edge      i8042
   3:          8       0   IO-APIC-edge      serial
   7:          1       0   IO-APIC-edge      
   8:          1       0   IO-APIC-edge      rtc0
   9:          0       0   IO-APIC-fasteoi   acpi
  12:          5       0   IO-APIC-edge      i8042
  14:          0       0   IO-APIC-edge      pata_atiixp
  15:          0       0   IO-APIC-edge      pata_atiixp
  16:         52       0   IO-APIC-fasteoi   ahci
  22:       1189       0   IO-APIC-fasteoi   ehci_hcd:usb2, ohci_hcd:usb4, ohci_hcd:usb5
  23:        157       0   IO-APIC-fasteoi   ehci_hcd:usb1, ohci_hcd:usb6, ohci_hcd:usb7
  28:    6217028       0   IO-APIC-fasteoi   wcte11xp
  44:          0       0   IO-APIC-fasteoi   uhci_hcd:usb3, hpilo
  72:          0       0   PCI-MSI-edge      AMD-Vi
  73:      29799       0   PCI-MSI-edge      hpsa0
  77:          2       0   PCI-MSI-edge      eth1-0
  78:      17413       0   PCI-MSI-edge      eth1-1
  79:       3502       0   PCI-MSI-edge      eth1-2
  80:      10967       0   PCI-MSI-edge      eth1-3
  81:       3765       0   PCI-MSI-edge      eth1-4
  82:          1       0   PCI-MSI-edge      eth2-0
  83:          1       0   PCI-MSI-edge      eth2-1
  84:          1       0   PCI-MSI-edge      eth2-2
  85:          1       0   PCI-MSI-edge      eth2-3
  86:          1       0   PCI-MSI-edge      eth2-4
  87:          1       0   PCI-MSI-edge      eth3-0
  88:          1       0   PCI-MSI-edge      eth3-1
  89:          1       0   PCI-MSI-edge      eth3-2
  90:          1       0   PCI-MSI-edge      eth3-3
  91:          1       0   PCI-MSI-edge      eth3-4
 NMI:          0       0   Non-maskable interrupts
 LOC:      36381    6631   Local timer interrupts
 SPU:          0       0   Spurious interrupts
 PMI:          0       0   Performance monitoring interrupts
 IWI:          0       0   IRQ work interrupts
 RES:      36124    8213   Rescheduling interrupts
 CAL:        599     671   Function call interrupts
 TLB:        157     226   TLB shootdowns
 TRM:          0       0   Thermal event interrupts
 THR:          0       0   Threshold APIC interrupts
 MCE:          0       0   Machine check exceptions
 MCP:         24      24   Machine check polls
 ERR:          1
 MIS:          0

Should I just give up on using the card in this server ? 
Is there anything else I can try ? 
What other information may be relevant ?

Many thanks in advance.

Mike




More information about the asterisk-users mailing list