[Home]

Summary:DAHLIN-00101: BUG: soft lockup - CPU#0 stuck for 10s! @dahdi_receive
Reporter:Bill McGonigle (bill_mcgonigle)Labels:
Date Opened:2009-05-08 18:21:34Date Closed:2009-09-23 23:01:08
Priority:MajorRegression?No
Status:Closed/CompleteComponents:dahdi (the module)
Versions:2.1.0.4 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I'm running the elastix distribution, which recently switched from zaptel to dahdi, I believe.

Now I frequently experience system unresponsiveness (console/net/etc) and get these messages on the console and in dmesg.  dahdi_receive seems to be on the top of the stack in each case.

Kernel is: 2.6.18-92.1.22.el5
Asterisk is: 1.4.24.1-0


****** ADDITIONAL INFORMATION ******

BUG: soft lockup - CPU#0 stuck for 10s! [swapper:0]

Pid: 0, comm:              swapper
EIP: 0060:[<c0609c88>] CPU: 0
EIP is at _spin_unlock_irqrestore+0x8/0x9
EFLAGS: 00000246    Tainted: G       (2.6.18-92.1.22.el5 #1)
EAX: f8a191b0 EBX: 00000002 ECX: 00000246 EDX: 00000200
ESI: 00000001 EDI: f8a27360 EBP: 00000000 DS: 007b ES: 007b
CR0: 8005003b CR2: f8d2ee84 CR3: 37829000 CR4: 000006d0
[<f8a12ee9>] dahdi_receive+0x752/0x773 [dahdi]
[<f8add26b>] dahdi_dummy_timer+0x8b/0xcc [dahdi_dummy]
[<f8add1e0>] dahdi_dummy_timer+0x0/0xcc [dahdi_dummy]
[<c042dbcf>] run_timer_softirq+0xfb/0x151
[<c042a712>] __do_softirq+0x5a/0xbb
[<c0407461>] do_softirq+0x52/0x9d
[<c04059bf>] apic_timer_interrupt+0x1f/0x24
[<c0403ccf>] mwait_idle+0x25/0x38
[<c0403c90>] cpu_idle+0x9f/0xb9
[<c06ed9ee>] start_kernel+0x379/0x380
=======================
Comments:By: Shaun Ruffell (sruffell) 2009-05-08 19:13:43

What is the version of dahdi that you're currently running?

By: Bill McGonigle (bill_mcgonigle) 2009-05-08 19:34:55

2.1.0.4 was the option I picked in the 'version' field.  But I can query anything else that'd be helpful (not sure what to look for!).

By: Shaun Ruffell (sruffell) 2009-05-08 19:53:43

Just to make sure we're on the same sheet (as I'm not familiar with elastix) do you think you could download and install from the sources?

http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz

By: Bill McGonigle (bill_mcgonigle) 2009-05-13 16:05:02

Sorry I haven't done a build yet, but I saw a subsequent lockup in the iax2 module as well and am now chasing down a kernel bug that might be the real problem.  I'll make a note here once I've tested that proposed patch.

By: Tzafrir Cohen (tzafrir) 2009-05-18 10:45:05

The Elastix package has a number of patches (mostly backports).

What is the output of:

 rpm -qa | grep dahdi; uname -r

(But generally Elastix bugs should be reported to http://bugs.elastix.org/ )

By: Leif Madsen (lmadsen) 2009-09-18 09:39:18

Suspending this issue due to lack of response from reporter, and that this issue should probably be filed upstream to Elastix. Thanks!

By: Bill McGonigle (bill_mcgonigle) 2009-09-23 22:26:18

Thanks, I downloaded the dahdi source package, and it looks like a patch added in August should address this.  I'll re-close this now.

By: Bill McGonigle (bill_mcgonigle) 2009-09-23 22:28:02

sorry, it doesn't look like mantis lets reporters close bugs.

By: Shaun Ruffell (sruffell) 2009-09-23 23:00:00

I'm going to assume that this was related to the dahdi_dummy commit that is in both the trunk and the 2.2 branch (https://origsvn.digium.com/svn/dahdi/linux/branches/2.2@6934)

So this will be the next 2.2 release after 2.2.0.2 and when 2.3.0 comes out.