[Asterisk-Users] Sound Choppy

Nir Simionovich - CTO nirs at dimitel.com
Thu Nov 17 14:38:41 MST 2005


Hmm...

  I've also had some issues with choppy sounds, but my situation is somewhat
weird.
I've disabled APIC completely on the box, so not /proc/interrupts looks like
This:

           CPU0       CPU1
  0:   18394300          0          XT-PIC  timer
  1:          2          0          XT-PIC  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0          XT-PIC  rtc
 10:  183925433          0          XT-PIC  wct4xxp
 11:     920477          0          XT-PIC  eth0
 14:     654191          0          XT-PIC  ide0
 15:        136          0          XT-PIC  ide1
NMI:          0          0
LOC:   18393988   18394010
ERR:          0
MIS:          0

However, the output of lspci -vb looks like this:

00:00.0 Host bridge: Intel Corp. E7501 Memory Controller Hub (rev 01)
        Flags: bus master, fast devsel, latency 0
        Capabilities: [40] #09 [1105]

00:00.1 Class ff00: Intel Corp. E7000 Series Host RASUM Controller (rev 01)
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: fast devsel

00:02.0 PCI bridge: Intel Corp. E7000 Series Hub Interface B PCI-to-PCI
Bridge (rev 01) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, fast devsel, latency 32
        Bus: primary=00, secondary=01, subordinate=03, sec-latency=0
        Memory behind bridge: fc100000-fc2fffff

00:02.1 Class ff00: Intel Corp. E7000 Series Hub Interface B RASUM
Controller (rev 01)
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: fast devsel

00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
(prog-if 00 [UHCI])
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at <ignored>

00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
(prog-if 00 [UHCI])
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at 6c20

00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 02)
(prog-if 00 [UHCI])
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at 6c40

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 42)
(prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
        I/O behind bridge: 00007000-00007fff
        Memory behind bridge: fc300000-fdffffff

00:1f.0 ISA bridge: Intel Corp. 82801CA LPC Interface Controller (rev 02)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801CA Ultra ATA Storage Controller (rev
02) (prog-if 8a [Master SecP PriP])
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, medium devsel, latency 0
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at 6c60
        Memory at 40000000 (32-bit, non-prefetchable)

00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus Controller (rev 02)
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: medium devsel
        I/O ports at 1100

01:1c.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC (rev 04) (prog-if 20
[IO(X)-APIC])
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, 66Mhz, fast devsel, latency 0
        Memory at fc100000 (32-bit, non-prefetchable)
        Capabilities: [50] PCI-X non-bridge device.

01:1d.0 PCI bridge: Intel Corp. 82870P2 P64H2 Hub PCI Bridge (rev 04)
(prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, fast devsel, latency 40
        Bus: primary=01, secondary=02, subordinate=02, sec-latency=64
        Capabilities: [50] PCI-X bridge device.

01:1e.0 PIC: Intel Corp. 82870P2 P64H2 I/OxAPIC (rev 04) (prog-if 20
[IO(X)-APIC])
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, 66Mhz, fast devsel, latency 0
        Memory at fc101000 (32-bit, non-prefetchable)
        Capabilities: [50] PCI-X non-bridge device.

01:1f.0 PCI bridge: Intel Corp. 82870P2 P64H2 Hub PCI Bridge (rev 04)
(prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, fast devsel, latency 40
        Bus: primary=01, secondary=03, subordinate=03, sec-latency=48
        Memory behind bridge: fc200000-fc2fffff
        Capabilities: [50] PCI-X bridge device.

03:03.0 Communication controller: Xilinx Corporation: Unknown device 0314
(rev 01)
        Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at fc200000 (32-bit, non-prefetchable)

04:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
(prog-if 00 [VGA])
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, stepping, medium devsel, latency 66, IRQ 11
        Memory at fd000000 (32-bit, non-prefetchable)
        I/O ports at 7000
        Memory at fc340000 (32-bit, non-prefetchable)
        Capabilities: [5c] Power Management version 2

04:04.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev
0d)
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, medium devsel, latency 66, IRQ 11
        Memory at fc341000 (32-bit, non-prefetchable)
        I/O ports at 7400
        Memory at fc300000 (32-bit, non-prefetchable)
        Capabilities: [dc] Power Management version 2

04:05.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller
(rev 02)
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, 66Mhz, medium devsel, latency 52, IRQ 10
        Memory at fc320000 (32-bit, non-prefetchable)
        I/O ports at 7440
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device.
        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-

>From what I can tell, but maybe I'm wrong, it looks as if my TE410P card is
actually sharing the same
As my Gigabit ethernet:

 03:03.0 Communication controller: Xilinx Corporation: Unknown device 0314
(rev 01)
        Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at fc200000 (32-bit, non-prefetchable)

And 

04:05.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller
(rev 02)
        Subsystem: Intel Corp.: Unknown device 3425
        Flags: bus master, 66Mhz, medium devsel, latency 52, IRQ 10
        Memory at fc320000 (32-bit, non-prefetchable)
        I/O ports at 7440
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device.
        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-

Could this also be causing choppy issues ?

Nir S


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Brian M.
Arlinghaus
Sent: Thursday, November 17, 2005 10:58 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Sound Choppy

Is your Digium card sharing an IRQ with anything else?

Use the   lspci -vb  command to show which device is using which IRQ.  If, 
for example, a network card is using the same one as the Digium card, you
will quite possibly get choppy sound and echo.

You can usually change IRQs in the BIOS setup.  In some cases, you may have
to disable built-in hardware.  I, for example, have a Dell PowerEdge 2850
with two built-in Intel NICs.  I have had to disable both NICs and the USB
controller and install another NIC in a PCI slot so that my two Digium cards
are not sharing any IRQs.

Regards,
Brian

----- Original Message -----
From: "Abdock" <abdock at zanlink.com>
To: <asterisk-users at lists.digium.com>
Sent: Thursday, November 17, 2005 2:46 PM
Subject: [Asterisk-Users] Sound Choppy


>
> Hello,
>
> I have a calling server, dialing though the telco lines using Digium card,

> teh call gets connected but if one side speaks little loud or if they 
> speak simultaneous then the voice starts to break.
>
> Using g729 codec - IAX trunk - international gateway.
>
> Anyone can hep ?
>
> Thanks.

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

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




More information about the asterisk-users mailing list