[asterisk-bugs] [DAHDI-linux 0015647]: Server crash after I do ntpdate -u ntp.nasa.gov
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Oct 29 13:31:18 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15647
======================================================================
Reported By: missnebun
Assigned To: sruffell
======================================================================
Project: DAHDI-linux
Issue ID: 15647
Category: dahdi_dummy
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
JIRA:
Reviewboard Link:
Resolution: fixed
Fixed in Version: 2.3.0
======================================================================
Date Submitted: 2009-08-03 22:14 CDT
Last Modified: 2009-10-29 13:31 CDT
======================================================================
Summary: Server crash after I do ntpdate -u ntp.nasa.gov
Description:
I compile the last version ... the same ...
I do ntpdate -u ntpnasa.gov takes like few min with the error and then
crash.
Aug 3 22:44:34 pbx1 kernel: BUG: soft lockup - CPU#1 stuck for 10s!
[swapper:0]
Aug 3 22:44:34 pbx1 kernel:
Aug 3 22:44:34 pbx1 kernel: Pid: 0, comm: swapper
Aug 3 22:44:34 pbx1 kernel: EIP: 0060:[<c060f4d8>] CPU: 1
Aug 3 22:44:34 pbx1 kernel: EIP is at _spin_unlock_irqrestore+0x8/0x9
Aug 3 22:44:34 pbx1 kernel: EFLAGS: 00000246 Tainted: G
(2.6.18-128.2.1.el5PAE https://issues.asterisk.org/view.php?id=1)
Aug 3 22:44:34 pbx1 kernel: EAX: f8f737f0 EBX: 00000002 ECX: 00000246
EDX: 00000200
Aug 3 22:44:34 pbx1 kernel: ESI: 00000001 EDI: f8f819e0 EBP: 00000000 DS:
007b ES: 007b
Aug 3 22:44:34 pbx1 kernel: CR0: 8005003b CR2: b7d54000 CR3: 0072c000
CR4: 000006f0
Aug 3 22:44:34 pbx1 kernel: [<f8f69b90>] dahdi_receive+0x755/0x776
[dahdi]
Aug 3 22:44:34 pbx1 kernel: [<f8f6d147>] dahdi_transmit+0x11/0x48d
[dahdi]
Aug 3 22:44:34 pbx1 kernel: [<f8efd26b>] dahdi_dummy_timer+0x8b/0xcc
[dahdi_dummy]
Aug 3 22:44:34 pbx1 kernel: [<f8efd1e0>] dahdi_dummy_timer+0x0/0xcc
[dahdi_dummy]
Aug 3 22:44:34 pbx1 kernel: [<c042c5b1>] run_timer_softirq+0xfb/0x151
Aug 3 22:44:34 pbx1 kernel: [<c0429047>] __do_softirq+0x87/0x114
Aug 3 22:44:34 pbx1 kernel: [<c04073d7>] do_softirq+0x52/0x9c
Aug 3 22:44:34 pbx1 kernel: [<c04059d7>] apic_timer_interrupt+0x1f/0x24
Aug 3 22:44:34 pbx1 kernel: [<c0403bb0>] default_idle+0x0/0x59
Aug 3 22:44:34 pbx1 kernel: [<c0403be1>] default_idle+0x31/0x59
Aug 3 22:44:34 pbx1 kernel: [<c0403ca8>] cpu_idle+0x9f/0xb9
Aug 3 22:44:34 pbx1 kernel: =======================
Aug 3 22:44:44 pbx1 kernel: BUG: soft lockup - CPU#1 stuck for 10s!
[swapper:0]
Aug 3 22:44:44 pbx1 kernel:
Aug 3 22:44:44 pbx1 kernel: Pid: 0, comm: swapper
Aug 3 22:44:44 pbx1 kernel: EIP: 0060:[<c060f4d8>] CPU: 1
Aug 3 22:44:44 pbx1 kernel: EIP is at _spin_unlock_irqrestore+0x8/0x9
Aug 3 22:44:44 pbx1 kernel: EFLAGS: 00000246 Tainted: G
(2.6.18-128.2.1.el5PAE https://issues.asterisk.org/view.php?id=1)
Aug 3 22:44:44 pbx1 kernel: EAX: f8f737f0 EBX: 00000002 ECX: 00000246
EDX: 00000200
Aug 3 22:44:44 pbx1 kernel: ESI: 00000001 EDI: f8f819e0 EBP: 00000000 DS:
007b ES: 007b
Aug 3 22:44:44 pbx1 kernel: CR0: 8005003b CR2: b7d54000 CR3: 0072c000
CR4: 000006f0
Aug 3 22:44:44 pbx1 kernel: [<f8f69b90>] dahdi_receive+0x755/0x776
[dahdi]
Aug 3 22:44:44 pbx1 kernel: [<f8f69bad>] dahdi_receive+0x772/0x776
[dahdi]
Aug 3 22:44:44 pbx1 kernel: [<f8efd26b>] dahdi_dummy_timer+0x8b/0xcc
[dahdi_dummy]
Aug 3 22:44:44 pbx1 kernel: [<f8efd1e0>] dahdi_dummy_timer+0x0/0xcc
[dahdi_dummy]
Aug 3 22:44:44 pbx1 kernel: [<c042c5b1>] run_timer_softirq+0xfb/0x151
Aug 3 22:44:44 pbx1 kernel: [<c0429047>] __do_softirq+0x87/0x114
Aug 3 22:44:44 pbx1 kernel: [<c04073d7>] do_softirq+0x52/0x9c
Aug 3 22:44:44 pbx1 kernel: [<c04059d7>] apic_timer_interrupt+0x1f/0x24
Aug 3 22:44:44 pbx1 kernel: [<c0403bb0>] default_idle+0x0/0x59
Aug 3 22:44:44 pbx1 kernel: [<c0403be1>] default_idle+0x31/0x59
Aug 3 22:44:44 pbx1 kernel: [<c0403ca8>] cpu_idle+0x9f/0xb9
Aug 3 22:44:44 pbx1 kernel: =======================
Aug 3 22:44:54 pbx1 kernel: BUG: soft lockup - CPU#1 stuck for 10s!
[swapper:0]
Aug 3 22:44:54 pbx1 kernel:
Aug 3 22:44:54 pbx1 kernel: Pid: 0, comm: swapper
Aug 3 22:44:54 pbx1 kernel: EIP: 0060:[<c060f4d8>] CPU: 1
Aug 3 22:44:54 pbx1 kernel: EIP is at _spin_unlock_irqrestore+0x8/0x9
Aug 3 22:44:54 pbx1 kernel: EFLAGS: 00000246 Tainted: G
(2.6.18-128.2.1.el5PAE https://issues.asterisk.org/view.php?id=1)
Aug 3 22:44:54 pbx1 kernel: EAX: f8f737f0 EBX: 00000002 ECX: 00000246
EDX: 00000200
Aug 3 22:44:54 pbx1 kernel: ESI: 00000001 EDI: f8f859f0 EBP: 00000000 DS:
007b ES: 007b
Aug 3 22:44:54 pbx1 kernel: CR0: 8005003b CR2: b7d54000 CR3: 0072c000
CR4: 000006f0
Aug 3 22:44:54 pbx1 kernel: [<f8f69b90>] dahdi_receive+0x755/0x776
[dahdi]
Aug 3 22:44:54 pbx1 kernel: [<f8f69440>] dahdi_receive+0x5/0x776
[dahdi]
Aug 3 22:44:54 pbx1 kernel: [<f8efd26b>] dahdi_dummy_timer+0x8b/0xcc
[dahdi_dummy]
Aug 3 22:44:54 pbx1 kernel: [<f8efd1e0>] dahdi_dummy_timer+0x0/0xcc
[dahdi_dummy]
Aug 3 22:44:54 pbx1 kernel: [<c042c5b1>] run_timer_softirq+0xfb/0x151
Aug 3 22:44:54 pbx1 kernel: [<c0429047>] __do_softirq+0x87/0x114
Aug 3 22:44:54 pbx1 kernel: [<c04073d7>] do_softirq+0x52/0x9c
Aug 3 22:44:54 pbx1 kernel: [<c04059d7>] apic_timer_interrupt+0x1f/0x24
Aug 3 22:44:54 pbx1 kernel: [<c0403bb0>] default_idle+0x0/0x59
Aug 3 22:44:54 pbx1 kernel: [<c0403be1>] default_idle+0x31/0x59
Aug 3 22:44:54 pbx1 kernel: [<c0403ca8>] cpu_idle+0x9f/0xb9
Aug 3 22:44:54 pbx1 kernel: =======================
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0015070 BUG: soft lockup - CPU#0 stuck for 10s!...
======================================================================
----------------------------------------------------------------------
(0112917) svnbot (reporter) - 2009-10-29 13:31
https://issues.asterisk.org/view.php?id=15647#c112917
----------------------------------------------------------------------
Repository: dahdi
Revision: 7437
U linux/trunk/drivers/dahdi/dahdi-base.c
------------------------------------------------------------------------
r7437 | sruffell | 2009-10-29 13:31:17 -0500 (Thu, 29 Oct 2009) | 10 lines
dahdi-base: Do not allow jumps in system time to lock up the system
w/core_timer
Since dahdi coretimer uses the number of milliseconds that has actually
passed
to determine how many times to call dahdi_receive, it is possible that if
the
system time shifts after dahdi is started, that the system can appear to
lock
up while the core timer attempts to catch up. This change prevents soft
lock
ups under these conditions. This is brings the dahdi_dummy changes in
r6933
into dahdi-base.
(related to issue https://issues.asterisk.org/view.php?id=15647)
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=7437
Issue History
Date Modified Username Field Change
======================================================================
2009-10-29 13:31 svnbot Note Added: 0112917
======================================================================
More information about the asterisk-bugs
mailing list