Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 63 1 0 0 IO-APIC-edge timer
1: 2 2 3 3 IO-APIC-edge i8042
8: 0 0 1 0 IO-APIC-edge rtc0
9: 0 0 0 0 IO-APIC-fasteoi acpi
16: 865 865 7842 7426 IO-APIC-fasteoi 3w-sas
17: 25212 806 732 810 IO-APIC-fasteoi wanpipe1
19: 123 39 38 39 IO-APIC-fasteoi ata_piix, ata_piix
217: 2040 77 76 77 PCI-MSI-edge eth1
218: 15 24 13 73 PCI-MSI-edge eth0
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 30827 26603 25560 242571 Local timer interrupts
RES: 829 757 820 874 Rescheduling interrupts
CAL: 244 244 233 125 function call interrupts
TLB: 1781 2655 1752 2331 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
SPU: 0 0 0 0 Spurious interrupts
ERR: 0
MIS: 0
init.conf
#
# Shell settings for Dahdi initialization scripts.
# This replaces the old/per-platform files (/etc/sysconfig/zaptel,
# /etc/defaults/zaptel)
#
# The maximal timeout (seconds) to wait for udevd to finish generating
# device nodes after the modules have loaded and before running dahdi_cfg.
#DAHDI_DEV_TIMEOUT=40
# Override settings for xpp_fxloader
#XPP_FIRMWARE_DIR=/usr/share/dahdi
#XPP_HOTPLUG_DISABLED=yes
system.conf
loadzone=it
defaultzone=it
#Sangoma A102 port 1 [slot:1 bus:6 span:1] <wanpipe1>
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
echocanceller=mg2,1-15,17-31
hardhdlc=16
chan_dahdi.conf
;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2010-03-04
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak
[trunkgroups]
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;Sangoma A102 port 1 [slot:1 bus:6 span:1] <wanpipe1>
switchtype=euroisdn
context=from-pstn
group=0
echocancel=yes
signalling=pri_cpe
channel =>1-15,17-31
wanpipe1.conf
#================================================
#
# Date: Wed Dec 6 20:29:03 UTC 2006
#
# Note: This file was generated automatically
# by /usr/local/sbin/setup-sangoma program.
#
# If you want to edit this file, it is
# recommended that you use wancfg program
# to do so.
#================================================
# Sangoma Technologies Inc.
#================================================
[devices]
wanpipe1 = WAN_AFT_TE1, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 1
PCIBUS = 6
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = CRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0
TE_SIG_MODE = CCS
TE_HIGHIMPEDANCE = NO
TE_RX_SLEVEL = 430
LBO = 120OH
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 16
TDMV_HW_DTMF = NO
TDMV_HW_FAX_DETECT = NO
[w1g1]
ACTIVE_CH = ALL
TDMV_HWEC = NO
MTU = 8
dmesg | grep dahdi
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.2.0.2
dahdi_dummy: Trying to load High Resolution Timer
dahdi_dummy: Initialized High Resolution Timer
dahdi_dummy: Starting High Resolution Timer
dahdi_dummy: High Resolution Timer started, good to go
dahdi: Registered tone zone 0 (United States / North America)
cat /sys/devices/system/clocksource/clocksource0/available_clocksource
tsc hpet acpi_pm jiffies
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
hpet
--- Results after 515 passes ---
Best: 100.000 -- Worst: 99.994 -- Average: 99.997800, Difference: 99.997808
okli wrote:Do you experience any other issues?
The last results don't seem that bad at all, on some machines you simply won't get any better ones, and this does create issues.
gardo wrote:Can you check the following kernel settings?
CONFIG_HZ_100
CONFIG_PREEMPT_NONE
CONFIG_HPET
# uname -r (to get your kernel version.)
To get the kernel settings above:
# grep CONFIG_HZ_100 /boot/config-`uname -r`
# grep CONFIG_PREEMPT_NONE /boot/config-`uname -r`
vicidialDBWEB:/etc/init.d # uname -r
2.6.27.42-0.1-default
vicidialDBWEB:/etc/init.d # grep CONFIG_HZ_100 /boot/config-`uname -r`
# CONFIG_HZ_100 is not set
# CONFIG_HZ_1000 is not set
vicidialDBWEB:/etc/init.d # grep CONFIG_PREEMPT_NONE /boot/config-`uname -r`
CONFIG_PREEMPT_NONE=y
Kumba wrote:There was an issue with earlier Sangoma 3.4 drivers where if you did not have a loop establish the timing on the card would drop to 96-98 percent. The fix was to establish a loop with either a loop-back plug or a T1 crossover from one port to the other.
They have supposively fixed this and a few bugs related to it in v.3.4.7 and higher. The version of wanpipe included with ViciBox Redux (OpenSuSE ViciBox) is v.3.4.6. I will package a new version with the latest release (v.3.4.9) in a little while.
In the meantime, you can try upgrading your driver and card firmware to the latest stable sangoma release and it should fix your problem.
Users browsing this forum: No registered users and 69 guests