[asterisk-users] TE410P (1st) without cables always green

Marcio Gomes mpglista at microlink.com.br
Tue Feb 7 12:23:14 CST 2012


Hello Shaun,

Thanks for your answer, I try all dahdi I can compile in Slackware 13.1 and 13.37 ( recently I downgrade to 13.1, to compile some
older kernels,  but it is not the answer. )

>It looks like your development box is having problems with
>interrupts from the card. Once you run dahdi_cfg for the span  you
>  should be getting 10000 interrupts/sec and above I can see you only
>  got 28.

Yeah.. I forget to look at it.  As i say, I try with all.. let's go.. I recompile the
dahdi-linux-complete-2.6.0+2.6.0 witj  2.6.33.4 kernel. The interrupt problems persists.

   20:        630       1476   IO-APIC-fasteoi   wct4xxp


>  Do your development boxes work with an older version of DAHDI? Just
>  not 2.3.0.1?  Also, why not upgrade to 2.5.0.2 or the trunk of the
>  2.6 branch?

All versions 2.2.XXX to SVN same problems...

This is interrupt outputs to today SVN :

   20:       1348       1788   IO-APIC-fasteoi   wct4xxp



**  This warning message, can be ignored in compilation ?

                  from /usr/src/ASTERISK/20111212/DAHDI/dahdi-kernel/drivers/dahdi/dahdi-base.c:67:
            In function 'copy_from_user',
     inlined from 'dahdi_chan_write' at /usr/src/ASTERISK/20111212/DAHDI/dahdi-kernel/drivers/dahdi/dahdi-base.c:2449:
/usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:212: warning: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct
   CC [M]  /usr/src/ASTERISK/20111212/DAHDI/dahdi-kernel/drivers/dahdi/dahdi-sysfs.o

** In production box a intersting cat /proc/interrupts,

* this is the working setup

# cat /usr/src/ASTERISK/COMPILA/zaptel/ChangeLog
0.1.6:
         * Move network structures to be malloc()'d when needed
         * Add HDLC PPP Support
         * Fix multi-channel stuff in zaptel and torisa


uname -a
Linux zap1 2.6.11.12-ul2 #6 SMP Mon Dec 14 17:40:08 BRST 2009 i686 unknown unknown GNU/Linux

zap1*CLI>  show version
Asterisk CVS-HEAD-11/14/05-18:16:29 built by root at zap1 on a i686 running Linux


cat /proc/interrupts
            CPU0       CPU1
   0:   15203536          0    IO-APIC-edge  timer
   8:          2          0    IO-APIC-edge  rtc
   9:          0          0   IO-APIC-level  acpi
  14:      42471          0    IO-APIC-edge  ide0
  15:        175          0    IO-APIC-edge  ide1
169:   15161016          0   IO-APIC-level  libata, wcfxo
177:     130432          0   IO-APIC-level  eth0
193:   15159692          0   IO-APIC-level  t4xxp
201:   15160988          0   IO-APIC-level  wcfxo
NMI:          0          0
LOC:   15203154   15203153
ERR:          0
MIS:          0


* this is the NEW setup , the system has 2 hardisks with 2 slacks, 2 asterisk setups.. all compiled from sources ( I not like
pre build softwares , when i am in trouble I have serious problems to modify, and slackware has poor packages but is lovely
stable distrib )


cat /proc/interrupts ( this kernel are without SMP compilation, but the problem is the same if I compile with SMP )

root at zap2:/etc/dahdi# cat /proc/interrupts
            CPU0
   0:         73   IO-APIC-edge      timer
   1:          2   IO-APIC-edge      i8042
   2:          0    XT-PIC-XT        cascade
   9:          4   IO-APIC-fasteoi
  12:          4   IO-APIC-edge      i8042
  14:       1476   IO-APIC-edge      ata_piix
  15:       8583   IO-APIC-edge      ata_piix
  18:      62007   IO-APIC-fasteoi   ata_piix, wcfxo
  19:      62119   IO-APIC-fasteoi   wcfxo
  21:       1022   IO-APIC-fasteoi   eth0
  22:       1039   IO-APIC-fasteoi   wct4xxp
NMI:          0   Non-maskable interrupts
LOC:      20739   Local timer interrupts
SPU:          0   Spurious interrupts
PMI:          0   Performance monitoring interrupts
PND:          0   Performance pending work
RES:          0   Rescheduling interrupts
CAL:          0   Function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
THR:          0   Threshold APIC interrupts
MCE:          0   Machine check exceptions
MCP:          1   Machine check polls
ERR:          0



In new and old SPAN 2 is without cable.

[2]
active=yes
alarms=OK
description=T4XXP (PCI) Card 0 Span 2
name=TE4/0/2
manufacturer=Digium
devicetype=Wildcard TE410P/TE405P (1st Gen)
location=Board ID Switch 0
basechan=32
totchans=31
irq=22
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


I really not understand de APIC changes in IO-APIC-XXXX  and the greater 100 Interrupt numbers in old setups.. can you help me ?



regards,

marcio





More information about the asterisk-users mailing list