[asterisk-bugs] [DAHDI-linux 0017724]: [patch] Race condition in handling writes to proslic LINEFEED register
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jul 28 07:00:30 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17724
======================================================================
Reported By: alecdavis
Assigned To:
======================================================================
Project: DAHDI-linux
Issue ID: 17724
Category: wctdm24xxp
Reproducibility: always
Severity: minor
Priority: normal
Status: new
JIRA: DAHDI-677
Reviewboard Link:
======================================================================
Date Submitted: 2010-07-27 06:32 CDT
Last Modified: 2010-07-28 07:00 CDT
======================================================================
Summary: [patch] Race condition in handling writes to proslic
LINEFEED register
Description:
set_lasttxhook_interruptible times out waiting for SLIC_LF_OPPENDING on
fxs->lasttxhook to go.
Even changing the timeout in set_lasttxhook_interruptible to 2 Seconds,
the bottom half of <b>if (SLIC_LF_OPPENDING & fxs->lasttxhook) {</b>
randomly get executed.
======================================================================
----------------------------------------------------------------------
(0125185) alecdavis (manager) - 2010-07-28 07:00
https://issues.asterisk.org/view.php?id=17724#c125185
----------------------------------------------------------------------
uploaded wctdm24xxp_fxs_answer.diff2.txt which has minimal debug printing.
Works around the current problem, where a Proslic LF register is not set
correctly (or is overwritten by a successive write), by forcibly rewriting
it.
In addition I noticed a click after 3 seconds of answering the call on the
FXS port. This is the ohttimer expiring, and messing with the line. Now if
the ohttimer expires and we are offhook, well just leave the lines as is,
now same as the TDM400 (wctdm.c).
Issue History
Date Modified Username Field Change
======================================================================
2010-07-28 07:00 alecdavis Note Added: 0125185
======================================================================
More information about the asterisk-bugs
mailing list