[Asterisk-Dev] wcte11xp on 64bit system

Carlos Hernandez carlosh at linuxservices.co.nz
Fri May 27 23:26:18 MST 2005


Hello:

I have yellow alarm issues on my E1 link.

In short:
When I move the card to a 32bit system running A at H it works fine with same card,
so I don't think its a hardware failure..
I'd like to know some debug methods, so I can track this one down..
to the very driver level, I need basic advice on how-to do this debug..


Card: te100p
CPU: AMD64 Athlon..
Motherboard K8T800-A
Chipset: VIA K8T800 + 8237
Hyperthreading and all that

Fedora Core3,  2.6.11-1.14_FC3 x86_64 GNU/Linux

I am getting lots of these:

  == Primary D-Channel on span 1 up
    -- B-channel 0/6 successfully restarted on span 1
    -- B-channel 0/7 successfully restarted on span 1
    -- B-channel 0/8 successfully restarted on span 1
    -- B-channel 0/9 successfully restarted on span 1
    -- B-channel 0/10 successfully restarted on span 1
  == Primary D-Channel on span 1 down

and in /var/log/asterisk/full
...
PRI got event: HDLC Abort (6) on Primary D-channel of span 1
PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
...


And zttool -vv shows Yellow/Red ,  OK,  Yellow..

And on console:
wcte1xxp: Setting yellow alarm
wcte1xxp: Clearing yellow alarm
..

Yes, I have tried CRC on and off

I tracked the change log for the driver:

2005-04-11 02:15  russell * wcte11xp.c (v1-0.8): correct module name
2005-04-10 21:12  russell * wcte11xp.c (v1-0.7): fix module name in interrupt request
2005-04-03 01:13  mattf	* wcte11xp.c (1.11): J1 mode changes
2005-03-31 17:57  russell * wcfxs.c, wct4xxp.c, wcte11xp.c (v1-0.[8,4,6]): add use counts to
			prevent kernel panics (bug #3773)
2005-03-21 00:14  markster * wct4xxp.c (1.57), wctdm.c (1.109), wcte11xp.c (1.10): Add use
			counts to currently shipping stuff (bug #3773)
2005-03-01 10:09  russell * zaptel.init (tags: v1-0-7) (v1-0.4): add wcte11xp to zaptel.init
			(bug #3689)
2005-03-01 09:35  russell * Makefile, wcte11xp.c (v1-0.[8,5]) (utags: v1-0-7): add an alias
			for wctdm, add some subvendor ids for the te110p (bug #3684)





zaptel.conf:
span=1,1,0,ccs,hdb3,crc4
bchan=1-10
unused=11-15,17-31
dchan=16
loadzone=us
defaultzone=us



/etc/asterisk/zapata.conf
[trunkgroups]

[channels]
language=en
context=from-pstn
switchtype=euroisdn
signalling=pri_cpe

rxgain=0.0
txgain=0.0
immediate=no
amaflags=billing
faxdetect=incoming
musiconhold=default

restrictcid=no
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
group=0
callgroup=1
pickupgroup=1

channel => 1-10


Also, the pci_dev_id changes after each reboot, but for this one, I applied (and works) the
a bug-fix I found to overcome that, in wcte11xp.c



Any help will be greatly appreciated,

Carlos Hernandez
LINUX Services Ltd.
Digium Resellers for New Zealand







More information about the asterisk-dev mailing list