<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Helo, <br>
<br>
I am upgrading a linux box ( Slackware + asterisk 1.0 + zaptel 0.9 )
to new asterisk 1.8 + dahdi. <br>
<br>
- In old softwares versions the box is working well. <br>
<br>
- After upgrade to slackware 13.37 + dahdi ( 2.3.X to SVN ) +
asterisk , before asterisk is loaded and PRI/E1 Cables ( Span 1/2 )
+ T1 ( Span 3/4 for Addtran channels banks ) ,<br>
all Spans are in OK ( Green ) mode. <br>
<br>
- I go to another developer box, and the same problems cames up, is
very dificult for me work in the productions box ( only 02:00 am to
04:00 am ). <br>
<br>
- Follwing my developer box setup : <br>
<br>
1) System.conf ( I am working at this time with only 1 spam ) <br>
<br>
span=1,1,0,ccs,hdb3,crc4<br>
# termtype: te<br>
bchan=1-15,17-31<br>
dchan=16<br>
echocanceller=mg2,1-15,17-31<br>
<br>
loadzone = us<br>
defaultzone = us<br>
<br>
<br>
2) <br>
modprobe wct4xxp debug=3<br>
root@zap4:~# dahdi_cfg -v<br>
DAHDI Tools Version - 2.3.0<br>
<br>
DAHDI Version: 2.3.0.1<br>
Echo Canceller(s):<br>
Configuration<br>
======================<br>
<br>
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)<br>
<br>
31 channels to configure.<br>
<br>
Setting echocan for channel 1 to mg2<br>
Setting echocan for channel 2 to mg2<br>
Setting echocan for channel 3 to mg2<br>
Setting echocan for channel 4 to mg2<br>
Setting echocan for channel 5 to mg2<br>
Setting echocan for channel 6 to mg2<br>
Setting echocan for channel 7 to mg2<br>
Setting echocan for channel 8 to mg2<br>
Setting echocan for channel 9 to mg2<br>
Setting echocan for channel 10 to mg2<br>
Setting echocan for channel 11 to mg2<br>
Setting echocan for channel 12 to mg2<br>
Setting echocan for channel 13 to mg2<br>
Setting echocan for channel 14 to mg2<br>
Setting echocan for channel 15 to mg2<br>
Setting echocan for channel 16 to none<br>
Setting echocan for channel 17 to mg2<br>
Setting echocan for channel 18 to mg2<br>
Setting echocan for channel 19 to mg2<br>
Setting echocan for channel 20 to mg2<br>
Setting echocan for channel 21 to mg2<br>
Setting echocan for channel 22 to mg2<br>
Setting echocan for channel 23 to mg2<br>
Setting echocan for channel 24 to mg2<br>
Setting echocan for channel 25 to mg2<br>
Setting echocan for channel 26 to mg2<br>
Setting echocan for channel 27 to mg2<br>
Setting echocan for channel 28 to mg2<br>
Setting echocan for channel 29 to mg2<br>
Setting echocan for channel 30 to mg2<br>
Setting echocan for channel 31 to mg2<br>
<br>
3) dahdi_scan <br>
<br>
dahdi_scan |more<br>
[1]<br>
active=yes<br>
alarms=OK =================================> Here is the proble,
the span is without cables. <br>
description=T4XXP (PCI) Card 0 Span 1<br>
name=TE4/0/1<br>
manufacturer=Digium<br>
devicetype=Wildcard TE410P/TE405P (1st Gen)<br>
location=Board ID Switch 0<br>
basechan=1<br>
totchans=31<br>
irq=20<br>
type=digital-E1<br>
syncsrc=0<br>
lbo=0 db (CSU)/0-133 feet (DSX-1)<br>
coding_opts=HDB3<br>
framing_opts=CCS,CRC4<br>
coding=HDB3<br>
framing=CCS<br>
<br>
4) dmesg , I put some informantion in bold. <br>
<br>
dahdi: Telephony Interface Unloaded<br>
dahdi: Telephony Interface Registered on major 196<br>
dahdi: Version: 2.3.0.1<br>
Found TE4XXP at base address e9100000, remapped to f895a000<br>
DMA memory base of size 4096 at f6513000. Read: f6513800 and Write
f6513000<br>
TE4XXP version c01a009b, burst OFF<br>
card 0: FALC framer is v2.1 or earlier.<br>
FALC version: 00000005, Board ID: 00<br>
Reg 0: 0x36513800<br>
Reg 1: 0x36513000<br>
Reg 2: 0x07fc07fc<br>
Reg 3: 0x00000000<br>
Reg 4: 0x00000000<br>
Reg 5: 0x00000000<br>
Reg 6: 0xc01a009b<br>
Reg 7: 0x00001300<br>
Reg 8: 0x010200ff<br>
Reg 9: 0x00fd0000<br>
Reg 10: 0x0000004a<br>
<b>IRQ 20/wct4xxp: IRQF_DISABLED is not guaranteed on shared IRQs <br>
wct4xxp 0000:05:00.0: Enabled 1sec error counter interrupt<br>
wct4xxp 0000:05:00.0: Enabled errored second interrupt<br>
wct4xxp 0000:05:00.0: Enabled 1sec error counter interrupt<br>
wct4xxp 0000:05:00.0: Enabled errored second interrupt<br>
wct4xxp 0000:05:00.0: Enabled 1sec error counter interrupt<br>
wct4xxp 0000:05:00.0: Enabled errored second interrupt<br>
wct4xxp 0000:05:00.0: Enabled 1sec error counter interrupt<br>
wct4xxp 0000:05:00.0: Enabled errored second interrupt<br>
</b>Found a Wildcard: Wildcard TE410P/TE405P (1st Gen)<br>
TE4XXP: Launching card: 0<br>
TE4XXP: Setting up global serial parameters<br>
Successfully initialized serial bus for unit 0<br>
Successfully initialized serial bus for unit 1<br>
Successfully initialized serial bus for unit 2<br>
Successfully initialized serial bus for unit 3<br>
About to enter spanconfig!<br>
TE4XXP: Configuring span 1<br>
Done with spanconfig!<br>
TE4XXP: Configured channel 1 (TE4/0/1/1) sigtype 128<br>
dahdi_echocan_mg2: Registered echo canceler 'MG2'<br>
TE4XXP: Configured channel 2 (TE4/0/1/2) sigtype 128<br>
TE4XXP: Configured channel 3 (TE4/0/1/3) sigtype 128<br>
TE4XXP: Configured channel 4 (TE4/0/1/4) sigtype 128<br>
TE4XXP: Configured channel 5 (TE4/0/1/5) sigtype 128<br>
TE4XXP: Configured channel 6 (TE4/0/1/6) sigtype 128<br>
TE4XXP: Configured channel 7 (TE4/0/1/7) sigtype 128<br>
TE4XXP: Configured channel 8 (TE4/0/1/8) sigtype 128<br>
TE4XXP: Configured channel 9 (TE4/0/1/9) sigtype 128<br>
TE4XXP: Configured channel 10 (TE4/0/1/10) sigtype 128<br>
TE4XXP: Configured channel 11 (TE4/0/1/11) sigtype 128<br>
TE4XXP: Configured channel 12 (TE4/0/1/12) sigtype 128<br>
TE4XXP: Configured channel 13 (TE4/0/1/13) sigtype 128<br>
TE4XXP: Configured channel 14 (TE4/0/1/14) sigtype 128<br>
TE4XXP: Configured channel 15 (TE4/0/1/15) sigtype 128<br>
TE4XXP: Configured channel 16 (TE4/0/1/16) sigtype 896<br>
TE4XXP: Configured channel 17 (TE4/0/1/17) sigtype 128<br>
TE4XXP: Configured channel 18 (TE4/0/1/18) sigtype 128<br>
TE4XXP: Configured channel 19 (TE4/0/1/19) sigtype 128<br>
TE4XXP: Configured channel 20 (TE4/0/1/20) sigtype 128<br>
TE4XXP: Configured channel 21 (TE4/0/1/21) sigtype 128<br>
TE4XXP: Configured channel 22 (TE4/0/1/22) sigtype 128<br>
TE4XXP: Configured channel 23 (TE4/0/1/23) sigtype 128<br>
TE4XXP: Configured channel 24 (TE4/0/1/24) sigtype 128<br>
TE4XXP: Configured channel 25 (TE4/0/1/25) sigtype 128<br>
TE4XXP: Configured channel 26 (TE4/0/1/26) sigtype 128<br>
TE4XXP: Configured channel 27 (TE4/0/1/27) sigtype 128<br>
TE4XXP: Configured channel 28 (TE4/0/1/28) sigtype 128<br>
TE4XXP: Configured channel 29 (TE4/0/1/29) sigtype 128<br>
TE4XXP: Configured channel 30 (TE4/0/1/30) sigtype 128<br>
TE4XXP: Configured channel 31 (TE4/0/1/31) sigtype 128<br>
dahdi: Registered tone zone 0 (United States / North America)<br>
About to enter startup!<br>
TE4XXP: Span 1 configured for CCS/HDB3/CRC4<br>
wct4xxp 0000:05:00.0: timing source auto<br>
wct4xxp 0000:05:00.0: Evaluating spans for timing source<br>
wct4xxp 0000:05:00.0: span 1 is green : syncpos 1<br>
<b>wct4xxp 0000:05:00.0: RCLK source set to span 1<br>
wct4xxp 0000:05:00.0: Recovered timing mode, RCLK set to span 1<br>
wct4xxp: LOF/LFA detected on span 1 but debouncing for 2500 ms<br>
wct4xxp: LOS detected on span 1 but debouncing for 2500 ms</b><br>
SPAN 1: Primary Sync Source<br>
VPM400: Not Present<br>
OCT Result: 0000/000a<br>
VPM450: Not Present<br>
Completed startup!<br>
Detected loss of E1 alignment on span 0!<br>
<br>
<br>
<br>
5) cat /proc/interrupts <br>
<br>
cat /proc/interrupts 1<br>
CPU0 CPU1<br>
0: 598466 686790 IO-APIC-edge timer<br>
1: 4 4 IO-APIC-edge i8042<br>
8: 0 0 IO-APIC-edge rtc0<br>
9: 0 0 IO-APIC-fasteoi acpi<br>
16: 0 0 IO-APIC-fasteoi pata_jmicron<br>
19: 488966 400468 IO-APIC-fasteoi ata_piix, ata_piix<br>
20: 20 8 IO-APIC-fasteoi wct4xxp<br>
28: 3267 3254 PCI-MSI-edge eth0<br>
NMI: 1285298 1285102 Non-maskable interrupts<br>
LOC: 686792 598229 Local timer interrupts<br>
SPU: 0 0 Spurious interrupts<br>
PMI: 0 0 Performance monitoring interrupts<br>
PND: 0 0 Performance pending work<br>
RES: 535 493 Rescheduling interrupts<br>
CAL: 25 36 Function call interrupts<br>
TLB: 136 124 TLB shootdowns<br>
TRM: 0 0 Thermal event interrupts<br>
THR: 0 0 Threshold APIC interrupts<br>
MCE: 0 0 Machine check exceptions<br>
MCP: 5 5 Machine check polls<br>
ERR: 1<br>
MIS: 0<br>
<br>
<br>
best regards, <br>
<br>
Marcio Gomes<br>
<br>
<br>
<br>
</body>
</html>