[Home]

Summary:DAHLIN-00248: Outgoing Natively Bridged Call Completely Locks the Box
Reporter:Vladimir Mikhelson (vmikhelson)Labels:
Date Opened:2011-08-10 22:34:05Date Closed:2011-08-12 11:15:03
Priority:CriticalRegression?Yes
Status:Closed/CompleteComponents:General
Versions:2.5.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:CentOS 5.6 Kernel 2.6.18-238.19.1.el5 Asterisk 1.8.5.0 FreePBX 2.9.0.7 Pentium III, PCI pci:0000:00:0e.0 wctdm+ e159:0001 Wildcard TDM400P REV I -- Generic pci:0000:00:10.0 wctdm24xxp+ d161:8005 Wildcard TDM410P -- Digium Attachments:( 0) 0001-patch.1
( 1) 0001-wcte12xp-wctdm24xxp-Force-local-interrupts-off-in-th.patch
Description:Any call which is Natively Bridged from an FXS to an FXO line completely locks the system to the extent the keyboard becomes unresponsive.

Cold boot is the only remedy.

Downgrading DAHDI to 2.4.1.2 resolves the issue.
Comments:By: Shaun Ruffell (sruffell) 2011-08-10 23:50:38.924-0500

I don't have access to a system with both cards like you're reported right now, but I was wondering if you were in a position to try the attached 0001-wcte12xp-wctdm24xxp-Force-local-interrupts-off-in-th.patch.

By: Vladimir Mikhelson (vmikhelson) 2011-08-11 22:12:41.244-0500

Shaun,

I have probably done something wrong, but this is what I got when I tried to apply the patch:

[root@pbx 1.8.5.0]# patch -p0 < 0001-wcte12xp-wctdm24xxp-Force-local-interrupts-off-in-th.patch
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From bc9745c570a2a00a86491c713481036c429fd374 Mon Sep 17 00:00:00 2001
|From: Shaun Ruffell <sruffell@digium.com>
|Date: Wed, 10 Aug 2011 23:42:33 -0500
|Subject: [PATCH] wcte12xp, wctdm24xxp: Force local interrupts off in the
| interrupt handler.
|
|r10066 "wctdm24xxp, wcte12xp: Run the ISR with interrupts disabled."
|requested that the interrupt handler be run in "fast" mode (disabled)
|but this isn't necessarily guaranteed. This change has the interrupt
|handler itself disable all the interrupts in the interrupt handler
|directly.
|
|DAHLIN-248
|
|Reported-by: Vladimir Mikhelson <email here>
|Signed-off-by: Shaun Ruffell <sruffell@digium.com>
|---
| drivers/dahdi/voicebus/voicebus.c |    4 ++++
| 1 files changed, 4 insertions(+), 0 deletions(-)
|
|diff --git a/drivers/dahdi/voicebus/voicebus.c b/drivers/dahdi/voicebus/voicebus.c
|index 16f3466..c236cba 100644
|--- a/drivers/dahdi/voicebus/voicebus.c
|+++ b/drivers/dahdi/voicebus/voicebus.c
--------------------------
File to patch:

Please advise.

Thank you,
Vladimir

By: Vladimir Mikhelson (vmikhelson) 2011-08-11 22:32:22.184-0500

Modified patch 0001.

By: Vladimir Mikhelson (vmikhelson) 2011-08-11 22:34:48.592-0500

Shaun,

I took the liberty and modified your patch file headers.  Can you please confirm I did it right.  Patch uploaded as 0001-patch.1

The patch is now applied.  Let me compile and test it.

Thank you,
Vladimir

By: Vladimir Mikhelson (vmikhelson) 2011-08-11 22:48:09.393-0500

Shaun,

It worked!!!  Good job!!

I will continue testing, but all test calls did not hang up the server.

Thank you,
Vladimir


By: Shaun Ruffell (sruffell) 2011-08-12 11:13:41.601-0500

Thanks Vladimir for reporting / testing. I've committed this to trunk in [r10118|http://svnview.digium.com/svn/dahdi?view=revision&revision=10118] and onto the 2.5 branch in [r10119|http://svnview.digium.com/svn/dahdi?view=revision&revision=10119].  I'll also roll another release of 2.5 here soon.

Thanks again.