[Asterisk-bsd] Syslog error with TDM411

Marios Andreou marios at comand.net
Fri May 13 21:36:12 CDT 2005


I get this error MOSTLY when I'm in asterisk console and 'set verbose 99'

After I hang up the phone the syslog (message log) goes crazy with this info:

May 12 14:33:36 kernel: Polarity reversed (-1 -> 1)
May 12 14:33:37 asterisk[652]: WARNING[652]: chan_zap.c:1699 in zt_call: Unable to reset default ring on 'Zap/1-1'
May 12 14:33:37 kernel: Polarity reversed (1 -> -1)
May 12 14:33:44 asterisk[652]: WARNING[652]: chan_zap.c:1474 in zt_set_hook: zt hook failed: Device busy
May 12 14:33:45 kernel: Ouch, part reset, quickly restoring reality (0)
May 12 14:33:45 kernel: !!!!!!! DTMF_ROW_0_PEAK  iREG 0 = 0  should be 55c2
May 12 14:33:45 kernel: !!!!!!! DTMF_ROW_1_PEAK  iREG 1 = 0  should be 51e6
May 12 14:33:45 kernel: !!!!!!! DTMF_ROW2_PEAK  iREG 2 = 0  should be 4b85
May 12 14:33:45 kernel: !!!!!!! DTMF_ROW3_PEAK  iREG 3 = 0  should be 4937
May 12 14:33:45 kernel: !!!!!!! DTMF_COL1_PEAK  iREG 4 = 0  should be 3333
May 12 14:33:45 kernel: !!!!!!! DTMF_FWD_TWIST  iREG 5 = 0  should be 202
May 12 14:33:45 kernel: !!!!!!! DTMF_RVS_TWIST  iREG 6 = ff33  should be 202
May 12 14:33:45 kernel: !!!!!!! DTMF_ROW_RATIO_TRES  iREG 7 = 0  should be 198
May 12 14:33:45 kernel: !!!!!!! DTMF_COL_RATIO_TRES  iREG 8 = 0  should be 198
May 12 14:33:45 kernel: !!!!!!! DTMF_ROW_2ND_ARM  iREG 9 = 98  should be 611
May 12 14:33:45 kernel: !!!!!!! DTMF_COL_2ND_ARM  iREG a = 0  should be 202
May 12 14:33:45 kernel: !!!!!!! DTMF_PWR_MIN_TRES  iREG b = 0  should be e5
May 12 14:33:45 kernel: !!!!!!! DTMF_OT_LIM_TRES  iREG c = 2  should be a1c
May 12 14:33:45 kernel: !!!!!!! OSC1_COEF  iREG d = 0  should be 7b30
May 12 14:33:45 kernel: !!!!!!! OSC1X  iREG e = 0  should be 63
May 12 14:33:45 kernel: !!!!!!! OSC1Y  iREG f = 30  should be 0
May 12 14:33:45 kernel: !!!!!!! OSC2_COEF  iREG 10 = 0  should be 7870
May 12 14:33:45 kernel: !!!!!!! OSC2X  iREG 11 = 0  should be 7d
May 12 14:33:45 kernel: !!!!!!! OSC2Y  iREG 12 = 70  should be 0
May 12 14:33:45 kernel: !!!!!!! RING_OSC  iREG 14 = 0  should be 7ef0
May 12 14:33:45 kernel: !!!!!!! RING_X  iREG 15 = 0  should be 160
May 12 14:33:45 kernel: !!!!!!! PULSE_ENVEL  iREG 17 = 0  should be 2000
May 12 14:33:45 kernel: !!!!!!! PULSE_X  iREG 18 = 0  should be 2000
May 12 14:33:45 kernel: !!!!!!! RECV_DIGITAL_GAIN  iREG 1a = 0  should be 2000
May 12 14:33:45 kernel: !!!!!!! XMIT_DIGITAL_GAIN  iREG 1b = 0  should be 4000
May 12 14:33:45 kernel: !!!!!!! LOOP_CLOSE_TRES  iREG 1c = 0  should be 1000
May 12 14:33:45 kernel: !!!!!!! RING_TRIP_TRES  iREG 1d = 0  should be 3600
May 12 14:33:45 kernel: !!!!!!! COMMON_MIN_TRES  iREG 1e = 0  should be 1000
May 12 14:33:45 kernel: !!!!!!! COMMON_MAX_TRES  iREG 1f = 0  should be 200
May 12 14:33:45 kernel: !!!!!!! PWR_ALARM_Q1Q2  iREG 20 = 0  should be 7c0
May 12 14:33:45 kernel: !!!!!!! PWR_ALARM_Q3Q4  iREG 21 = 0  should be 2600
May 12 14:33:45 kernel: !!!!!!! PWR_ALARM_Q5Q6  iREG 22 = 0  should be 1b80
May 12 14:33:45 kernel: !!!!!!! LOOP_CLOSURE_FILTER  iREG 23 = 0  should be 8000
May 12 14:33:45 kernel: !!!!!!! RING_TRIP_FILTER  iREG 24 = 80  should be 320
May 12 14:33:45 kernel: !!!!!!! TERM_LP_POLE_Q1Q2  iREG 25 = 0  should be 8c
May 12 14:33:45 kernel: !!!!!!! TERM_LP_POLE_Q3Q4  iREG 26 = 0  should be 100
May 12 14:33:45 kernel: !!!!!!! TERM_LP_POLE_Q5Q6  iREG 27 = 8c  should be 10
May 12 14:33:45 kernel: !!!!!!! CM_BIAS_RINGING  iREG 28 = 0  should be c00
May 12 14:33:45 kernel: !!!!!!! DCDC_MIN_V  iREG 29 = 0  should be c00
May 12 14:33:45 kernel: !!!!!!! DCDC_XTRA  iREG 2a = 0  should be 1000
May 12 14:33:45 kernel: !!!!!!! LOOP_CLOSE_TRES_LOW  iREG 2b = 0  should be 1000
May 12 14:33:45 kernel: !!!!! Init Indirect Registers UNSUCCESSFULLY.
May 12 14:33:45 kernel: Indirect Registers failed verification.
May 12 14:33:45 kernel: Power alarm on module 1, resetting!
May 12 14:33:46 kernel: Ouch, part reset, quickly restoring reality (0)
May 12 14:33:46 kernel: !!!!!!! DTMF_ROW_0_PEAK  iREG 0 = 0  should be 55c2
May 12 14:33:46 kernel: !!!!!!! DTMF_ROW_1_PEAK  iREG 1 = 0  should be 51e6
May 12 14:33:46 kernel: !!!!!!! DTMF_ROW2_PEAK  iREG 2 = 0  should be 4b85
May 12 14:33:46 kernel: !!!!!!! DTMF_ROW3_PEAK  iREG 3 = 0  should be 4937
May 12 14:33:46 kernel: !!!!!!! DTMF_COL1_PEAK  iREG 4 = 0  should be 3333
May 12 14:33:46 kernel: !!!!!!! DTMF_FWD_TWIST  iREG 5 = 0  should be 202
May 12 14:33:46 kernel: !!!!!!! DTMF_RVS_TWIST  iREG 6 = ff33  should be 202
May 12 14:33:46 kernel: !!!!!!! DTMF_ROW_RATIO_TRES  iREG 7 = 0  should be 198
May 12 14:33:46 kernel: !!!!!!! DTMF_COL_RATIO_TRES  iREG 8 = 0  should be 198
May 12 14:33:46 kernel: !!!!!!! DTMF_ROW_2ND_ARM  iREG 9 = 98  should be 611
May 12 14:33:46 kernel: !!!!!!! DTMF_COL_2ND_ARM  iREG a = 0  should be 202
May 12 14:33:46 kernel: !!!!!!! DTMF_PWR_MIN_TRES  iREG b = 0  should be e5
May 12 14:33:46 kernel: !!!!!!! DTMF_OT_LIM_TRES  iREG c = 2  should be a1c
May 12 14:33:46 kernel: !!!!!!! OSC1_COEF  iREG d = 0  should be 7b30
May 12 14:33:46 kernel: !!!!!!! OSC1X  iREG e = 0  should be 63
May 12 14:33:46 kernel: !!!!!!! OSC1Y  iREG f = 30  should be 0
May 12 14:33:46 kernel: !!!!!!! OSC2_COEF  iREG 10 = 0  should be 7870
May 12 14:33:46 kernel: !!!!!!! OSC2X  iREG 11 = 0  should be 7d
May 12 14:33:46 kernel: !!!!!!! OSC2Y  iREG 12 = 70  should be 0
May 12 14:33:46 kernel: !!!!!!! RING_OSC  iREG 14 = 0  should be 7ef0
May 12 14:33:46 kernel: !!!!!!! RING_X  iREG 15 = 0  should be 160
May 12 14:33:46 kernel: !!!!!!! PULSE_ENVEL  iREG 17 = 0  should be 2000
May 12 14:33:46 kernel: !!!!!!! PULSE_X  iREG 18 = 0  should be 2000
May 12 14:33:46 kernel: !!!!!!! RECV_DIGITAL_GAIN  iREG 1a = 0  should be 2000
May 12 14:33:46 kernel: !!!!!!! XMIT_DIGITAL_GAIN  iREG 1b = 0  should be 4000
May 12 14:33:46 kernel: !!!!!!! LOOP_CLOSE_TRES  iREG 1c = 0  should be 1000
May 12 14:33:46 kernel: !!!!!!! RING_TRIP_TRES  iREG 1d = 0  should be 3600
May 12 14:33:46 kernel: !!!!!!! COMMON_MIN_TRES  iREG 1e = 0  should be 1000
May 12 14:33:46 kernel: !!!!!!! COMMON_MAX_TRES  iREG 1f = 0  should be 200
May 12 14:33:46 kernel: !!!!!!! PWR_ALARM_Q1Q2  iREG 20 = 0  should be 7c0
May 12 14:33:46 kernel: !!!!!!! PWR_ALARM_Q3Q4  iREG 21 = 0  should be 2600
May 12 14:33:46 kernel: !!!!!!! PWR_ALARM_Q5Q6  iREG 22 = 0  should be 1b80
May 12 14:33:46 kernel: !!!!!!! LOOP_CLOSURE_FILTER  iREG 23 = 0  should be 8000
May 12 14:33:46 kernel: !!!!!!! RING_TRIP_FILTER  iREG 24 = 80  should be 320
May 12 14:33:46 kernel: !!!!!!! TERM_LP_POLE_Q1Q2  iREG 25 = 0  should be 8c
May 12 14:33:46 kernel: !!!!!!! TERM_LP_POLE_Q3Q4  iREG 26 = 0  should be 100
May 12 14:33:46 kernel: !!!!!!! TERM_LP_POLE_Q5Q6  iREG 27 = 8c  should be 10
May 12 14:33:46 kernel: !!!!!!! CM_BIAS_RINGING  iREG 28 = 0  should be c00
May 12 14:33:46 kernel: !!!!!!! DCDC_MIN_V  iREG 29 = 0  should be c00
May 12 14:33:46 kernel: !!!!!!! DCDC_XTRA  iREG 2a = 0  should be 1000
May 12 14:33:46 kernel: !!!!!!! LOOP_CLOSE_TRES_LOW  iREG 2b = 0  should be 1000
May 12 14:33:46 kernel: !!!!! Init Indirect Registers UNSUCCESSFULLY.
May 12 14:33:46 kernel: Indirect Registers failed verification.
May 12 14:33:46 kernel: Power alarm on module 1, resetting!
May 12 14:33:46 kernel: Ouch, part reset, quickly restoring reality (0)
...
...
And so on and on and on 
...
Forever and ever and ever
....

Until I reboot. (That is the only way that I know of any other solution to reset the pci I'm willing to try)
I still have full control over the system but the TDM is dead no phone calls can be placed nor received and a lot of static if I put the phone off hook.

So the solution for me is to reboot and cross my fingers that it will not happen in the next phone call. Actually it did this to me twice one after the other without beeing in the asterisk console.

This information will be asked for sure so here it is:
System:
FreeBSD 5.4-PRERELEASE i386

zaptel & asterisk from ports
zaptel-0.9_1
asterisk-1.0.7

TDM411B REV E/F

Thanks in advanced.



More information about the Asterisk-BSD mailing list