[Asterisk-Users] te110p and interrupts

Anton Krall akrall-lists at intruder.com.mx
Mon Apr 10 16:14:32 MST 2006


This system has acpi enabled. This is how the cards looks like:
 
217:   22201132   17764597   IO-APIC-level  wcte11xp
225:   20253291   19707036   IO-APIC-level  wctdm
233:   17510466   22474179   IO-APIC-level  wctdm

 
but if you run lspci .vb to see how the system sees the cards:
 
02:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
        Subsystem: Unknown device 795e:0001
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at 2000
        Memory at dd200000 (32-bit, non-prefetchable)
        Capabilities: [40] Power Management version 2

02:08.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
        Subsystem: Unknown device b119:0001
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at 2800
        Memory at dd201000 (32-bit, non-prefetchable)
        Capabilities: [40] Power Management version 2
 
03:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
        Subsystem: Unknown device b119:0001
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at 3000
        Memory at dd400000 (32-bit, non-prefetchable)
        Capabilities: [40] Power Management version 2

 
I dont get it, the system sees everything on IRQ5 eventhough the kernel sees
everything in diff. IRQ:
 
02:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
02:08.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
03:02.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface

Also, latency for the cards is 32... 
 
i enabled the watchdog on zttool and I do see Missed IRQ/interrupts on
zttooll for the te110p card... how can I fix this?
 
Ive read some stuff around but so far.. nothing makes sense to me... :(
 


  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Infobox Peru
Sent: Monday, April 10, 2006 5:47 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] te110p and interrupts


use lspci -vb for detecting interrupt conflicts..


On 4/10/06, Anton Krall <akrall-lists at intruder.com.mx
<mailto:akrall-lists at intruder.com.mx> > wrote: 

Guys. I have an issue with a te110p card and also some tdm04b cards on the 
same system:

Zttest returns this for the tdm04b cards:

[root at mollendo ~]# /usr/src/zaptel-1.2.4/zttest 38 -v
Opened pseudo zap interface, measuring accuracy...

8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8223 sample intervals 99.621582%
8192 samples in 8192 sample intervals 100.000000% 
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8400 sample intervals 97.460938%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8438 sample intervals 96.997070%
--- Results after 15 passes ---
Best: 100.000000 -- Worst: 96.997070 -- Average: 99.601237

And for the te110p:

[root at mollendo ~]# /usr/src/zaptel-1.2.4/zttest 1 -v 
Opened pseudo zap interface, measuring accuracy...

8192 samples in 8239 sample intervals 99.426270%
8192 samples in 8200 sample intervals 99.902344%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8384 sample intervals 97.656250%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8192 sample intervals 100.000000% 
8192 samples in 8191 sample intervals 99.987793%
8192 samples in 8192 sample intervals 100.000000%
8192 samples in 8193 sample intervals 99.987793%
--- Results after 20 passes ---
Best: 100.000000 -- Worst: 97.656250 -- Average: 99.843140

Im getting problems receiving faxes which can be caused by this.

As you can see, the cards are not sharing IRQs as far as I cant tell

           CPU0       CPU1
  0:   17697848   17714488    IO-APIC-edge  timer 
  7:          2          2    IO-APIC-edge  parport0
  8:          1          0    IO-APIC-edge  rtc
  9:          0          1   IO-APIC-level  acpi
14:     103455     112606    IO-APIC-edge  ide0
15:          0          0    IO-APIC-edge  libata
169:          0          0   IO-APIC-level  uhci_hcd:usb2
185:    2793868         12   IO-APIC-level  eth0
201:          0          0   IO-APIC-level  ehci_hcd:usb1
209:          0          0   IO-APIC-level  uhci_hcd:usb3
217:   19672684   15531101   IO-APIC-level  wcte11xp
225:   17824822   17371238   IO-APIC-level  wctdm
233:   15323598   19896224   IO-APIC-level  wctdm

So, can anybody point me in the right direction in order to debug the 
problem with zttest and quality of sound?
How can I change prioritiess for the cards or maybe adjust or see if they
get their right number of interrupts, etc?

Thx for the help guys!

_______________________________________________ 
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060410/4f70849d/attachment.htm


More information about the asterisk-users mailing list