[asterisk-bugs] [DAHDI-linux 0017724]: [patch] Race condition in handling writes to proslic LINEFEED register

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 27 06:38:36 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:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2010-07-27 06:32 CDT
Last Modified:              2010-07-27 06:38 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.




====================================================================== 

---------------------------------------------------------------------- 
 (0125107) alecdavis (manager) - 2010-07-27 06:38
 https://issues.asterisk.org/view.php?id=17724#c125107 
---------------------------------------------------------------------- 
uploaded wctdm24xxp_fxs_answer.diff.txt which has the debug printing.

No fixes yet :(

example: /var/log/kern.log output just as answering the ringing phone.

Jul 27 23:36:04 asterix kernel: [502125.649772] wctdm24xxp 0000:05:04.0:
Setting FXS hook state to 0 (00)
Jul 27 23:36:05 asterix kernel: [502126.274793] wctdm24xxp 0000:05:04.0:
Setting FXS hook state to 2 (00)
Jul 27 23:36:05 asterix kernel: [502126.674785] wctdm24xxp 0000:05:04.0:
Setting FXS hook state to 1 (00)
Jul 27 23:36:05 asterix kernel: [502126.963805] wctdm24xxp 0000:05:04.0:
Setting FXS hook state to 2 (00)
Jul 27 23:36:06 asterix kernel: [502127.565772] wctdm24xxp 0000:05:04.0:
Setting FXS hook state to 1 (00)
Jul 27 23:36:06 asterix kernel: [502127.600222] wctdm24xxp 0000:05:04.0:
wctdm: Card 3 Going off hook
Jul 27 23:36:07 asterix kernel: [502128.856725] wctdm24xxp 0000:05:04.0:
Channel 3 TIMEOUT: Set Reverse Polarity 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-27 06:38 alecdavis      Note Added: 0125107                          
======================================================================




More information about the asterisk-bugs mailing list