linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: William Weston <weston@sysex.net>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-45
Date: Tue, 5 Jul 2005 13:43:56 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0507051155050.13165@echo.lysdexia.org> (raw)
In-Reply-To: <20050703181229.GA32741@elte.hu>

On Sun, 3 Jul 2005, Ingo Molnar wrote:
> 
> i've uploaded the -50-45 patch, can you under this kernel trigger a 
> 'meltdown' on your SMT box?

Hi Ingo,

Here's the results of trying out everything from -50-45 through -51-01 on
the SMT box:

-50-47 looks better.  4x burnP6 + wmcube doesn't bring the box to a halt
anymore.  Running VLC along with a kernel compile brought all running
processes to a halt.  SysRq-I couldn't recover the system (unless I just
wasn't patient enough), but SysRq-S + SysRq-U + SysRq-B was able to sync,
unmount, and reboot.  -50-45 and -50-46 seemed to have similar behavior.

-50-48 won't boot:

softirq-timer/0/4[CPU#0]: BUG in __up_mutex at kernel/rt.c:1485
 [<c0103ec7>] dump_stack+0x23/0x25 (20)
 [<c0121580>] __WARN_ON+0x66/0x86 (52)
 [<c013bd49>] __up_mutex+0x14e/0x304 (40)
 [<c013c4a3>] up_mutex+0x39/0xe3 (28)
 [<c0131aca>] delayed_work_timer_fn+0x3a/0x41 (24)
 [<c012a7f6>] run_timer_softirq+0x208/0x46d (60)
 [<c0126833>] ksoftirqd+0xee/0x1ad (36)
 [<c0136786>] kthread+0xb6/0xba (44)
 [<c01010c5>] kernel_thread_helper+0x5/0xb (554565660)
---------------------------
| preempt count: 00000002 ]
| 2-level deep critical section nesting:
----------------------------------------
.. [<c013efaa>] .... add_preempt_count+0x1c/0x1e
.....[<c012153b>] ..   ( <= __WARN_ON+0x21/0x86)
.. [<c013efaa>] .... add_preempt_count+0x1c/0x1e
.....[<c013ffc4>] ..   ( <= print_traces+0x1b/0x52)

------------------------------
| showing all locks held by: |  (softirq-timer/0/4 [def10030,  98]):
------------------------------

ACPI: Processor [CPU1] (supports 8 throttling states)
ACPI: Processor [CPU2] (supports 8 throttling states)
khelper/163[CPU#1]: BUG in set_new_owner at kernel/rt.c:822
NMI watchdog detected lockup on CPU#1 (50000/50000)

Pid: 163, comm:              khelper
EIP: 0060:[<c013b7c4>] CPU: 1
EIP is at __down_trylock+0x88/0x369
 EFLAGS: 00000082    Not tainted  (2.6.12-RT-V0.7.50-48-debug)
EAX: c03da258 EBX: c03da244 ECX: c03da250 EDX: c03da268
ESI: c03da268 EDI: 00000000 EBP: dec69d1c DS: 007b ES: 007b
CR0: 8005003b CR2: 00000000 CR3: 004f8000 CR4: 000006d0
 [<c01010b6>] show_regs+0x164/0x16e (36)
 [<c0112f94>] nmi_watchdog_tick+0x189/0x2b7 (52)
 [<c0104e80>] default_do_nmi+0x7a/0x18a (52)
 [<c0104ff4>] do_nmi+0x5d/0x6f (24)
 [<c0103b52>] nmi_stack_correct+0x1d/0x22 (92)
 [<c013c84f>] rt_down_trylock+0x29/0x179 (36)
 [<c0120e42>] vprintk+0x22e/0x2c3 (116)
 [<c0120c12>] printk+0x20/0x22 (20)
 [<c012157b>] __WARN_ON+0x61/0x86 (52)
 [<c037173b>] __down_mutex+0x4e2/0x689 (108)
 [<c037258b>] _spin_lock_irqsave+0x24/0x89 (32)
 [<c0129ccf>] lock_timer_base+0x1f/0x3a (20)
 [<c0129fa5>] try_to_del_timer_sync+0x1f/0x5f (28)
 [<c012a00f>] del_timer_sync+0x2a/0xb1 (44)
 [<c0135d06>] exit_itimers+0x117/0x1a9 (56)
 [<c012b66a>] __exit_signal+0xfd/0x1c8 (32)
 [<c012210e>] release_task+0x81/0x16a (40)
 [<c01232a8>] exit_notify+0x64f/0x972 (60)
 [<c0123816>] do_exit+0x24b/0x40d (44)
 [<c013178b>] wait_for_helper+0x0/0xb0 (24)
 [<c01010c5>] kernel_thread_helper+0x5/0xb (557408284)
---------------------------
| preempt count: 00010004 ]
| 4-level deep critical section nesting:
----------------------------------------
.. [<c013efaa>] .... add_preempt_count+0x1c/0x1e
.....[<c012153b>] ..   ( <= __WARN_ON+0x21/0x86)
.. [<c013efaa>] .... add_preempt_count+0x1c/0x1e
.....[<c0120c3a>] ..   ( <= vprintk+0x26/0x2c3)
.. [<c013efaa>] .... add_preempt_count+0x1c/0x1e
.....[<c0112f5f>] ..   ( <= nmi_watchdog_tick+0x154/0x2b7)
.. [<c013efaa>] .... add_preempt_count+0x1c/0x1e
.....[<c013ffc4>] ..   ( <= print_traces+0x1b/0x52)

------------------------------
| showing all locks held by: |  (khelper/163 [dec67930, 115]):
------------------------------

NMI watchdog detected lockup on CPU#0 (50000/50000)

Pid: 22, comm:              khelper
EIP: 0060:[<c0371315>] CPU: 0
EIP is at __down_mutex+0xbc/0x689
 EFLAGS: 00000082    Not tainted  (2.6.12-RT-V0.7.50-48-debug)
EAX: c14cde94 EBX: 00000000 ECX: 00000000 EDX: c14cdde8
ESI: c14cde80 EDI: c14cdea4 EBP: c14cde04 DS: 007b ES: 007b
CR0: 8005003b CR2: fffdf000 CR3: 004f8000 CR4: 000006d0
 [<c01010b6>] show_regs+0x164/0x16e (36)
 [<c0112f94>] nmi_watchdog_tick+0x189/0x2b7 (52)
 [<c0104e80>] default_do_nmi+0x7a/0x18a (52)
 [<c0104ff4>] do_nmi+0x5d/0x6f (24)
 [<c0103b52>] nmi_stack_correct+0x1d/0x22 (160)
 [<c03724cc>] _spin_lock_irq+0x24/0x7b (28)
 [<c03701aa>] wait_for_completion+0xa6/0xdb (48)
 [<c011f7a4>] do_fork+0xf1/0x1e2 (132)
 [<c0101151>] kernel_thread+0x86/0x8c (96)
 [<c01318a1>] __call_usermodehelper+0x66/0x68 (24)
 [<c0131d2f>] worker_thread+0x1a1/0x266 (108)
 [<c0136786>] kthread+0xb6/0xba (44)
 [<c01010c5>] kernel_thread_helper+0x5/0xb (1051926556)
---------------------------
| preempt count: 00010002 ]
| 2-level deep critical section nesting:
----------------------------------------
.. [<c013efaa>] .... add_preempt_count+0x1c/0x1e
.....[<c0112f5f>] ..   ( <= nmi_watchdog_tick+0x154/0x2b7)
.. [<c013efaa>] .... add_preempt_count+0x1c/0x1e
.....[<c013ffc4>] ..   ( <= print_traces+0x1b/0x52)

------------------------------
| showing all locks held by: |  (khelper/22 [c14c32f0, 114]):
------------------------------


-50-49 through -50-51 won't compile on my SMT debug config:

	arch/i386/kernel/vm86.c:701: error: syntax error before ',' token

-51-01 won't boot:

softirq-timer/1/13[CPU#1]: BUG in ____up_mutex at kernel/rt.c:1302
 [<c0103ea7>] dump_stack+0x23/0x25 (20)
 [<c0121410>] __WARN_ON+0x66/0x86 (52)
 [<c013ca44>] up_mutex+0x160/0x3b6 (36)
 [<c013195a>] delayed_work_timer_fn+0x3a/0x41 (24)
 [<c012a686>] run_timer_softirq+0x208/0x46d (60)
 [<c01266c3>] ksoftirqd+0xee/0x1ad (36)
 [<c0136616>] kthread+0xb6/0xba (44)
 [<c01010c5>] kernel_thread_helper+0x5/0xb (1052131356)
---------------------------
| preempt count: 00000002 ]
| 2-level deep critical section nesting:
----------------------------------------
.. [<c01402ca>] .... add_preempt_count+0x1c/0x1e
.....[<c01213cb>] ..   ( <= __WARN_ON+0x21/0x86)
.. [<c01402ca>] .... add_preempt_count+0x1c/0x1e
.....[<c01412e4>] ..   ( <= print_traces+0x1b/0x52)

------------------------------
| showing all locks held by: |  (softirq-timer/1/13 [c1490670,  98]):
------------------------------

ACPI: Processor [CPU1] (supports 8 throttling states)
ACPI: Processor [CPU2] (supports 8 throttling states)
khelper/22[CPU#1]: BUG in set_new_owner at kernel/rt.c:869
NMI watchdog detected lockup on CPU#1 (50000/50000)


BTW, -50-44 through -50-51 wouldn't compile on the UP Athlon box.  -50-43
appears to be rock-solid under the UP non-debug config.  After hammering
on it all weekend, Maximum wakeup latency was 14us (from running JACK, 
phasex, burnK7, dd, and switching from X to text console all at once).


--ww


  reply	other threads:[~2005-07-05 20:46 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28 17:27 Real-Time Preemption, -RT-2.6.12-final-V0.7.50-24 Karsten Wiese
2005-06-28 20:21 ` Ingo Molnar
2005-06-28 20:30   ` Ingo Molnar
2005-06-28 23:51     ` Karsten Wiese
2005-06-29  6:34       ` Ingo Molnar
2005-06-29  7:00         ` Ingo Molnar
2005-06-29  9:15           ` William Weston
2005-06-29 12:56             ` Ingo Molnar
2005-06-30  1:50               ` William Weston
2005-06-29 14:48             ` Karsten Wiese
2005-06-29 19:38               ` Ingo Molnar
2005-06-29 23:36                 ` Karsten Wiese
2005-06-30 17:52                   ` Karsten Wiese
2005-06-30 19:46                     ` Real-Time Preemption, -RT-2.6.12-final-V0.7.50-37 William Weston
2005-06-30 19:52                       ` Ingo Molnar
2005-06-30 20:48                         ` Ingo Molnar
2005-06-30 22:17                           ` Gene Heskett
2005-06-30 22:15                         ` Gene Heskett
2005-06-30 20:38                       ` Real-Time Preemption, -RT-2.6.12-final-V0.7.50-38 Michal Schmidt
2005-06-30 20:47                         ` Ingo Molnar
2005-06-30 20:50                     ` Real-Time Preemption, -RT-2.6.12-final-V0.7.50-24 Ingo Molnar
2005-06-30 22:27                       ` Karsten Wiese
2005-06-30 22:59                         ` William Weston
2005-07-01  1:00                           ` William Weston
2005-07-01  0:15                         ` Karsten Wiese
2005-07-01  7:18                         ` Ingo Molnar
2005-07-01 19:34                           ` Chuck Harding
2005-07-02  1:46                           ` William Weston
2005-07-02  2:02                             ` Lee Revell
2005-07-04  8:53                               ` William Weston
2005-07-04 11:16                                 ` Ingo Molnar
2005-07-13  1:18                                   ` Lee Revell
2005-07-13  1:28                                     ` Lee Revell
2005-07-13  6:35                                       ` Ingo Molnar
2005-07-13 17:20                                         ` Lee Revell
2005-07-03 14:04                             ` Ingo Molnar
2005-07-03 18:12                               ` Ingo Molnar
2005-07-05 20:43                                 ` William Weston [this message]
2005-07-06 10:04                                   ` Real-Time Preemption, -RT-2.6.12-final-V0.7.50-45 Ingo Molnar
2005-07-06 21:12                                     ` William Weston
2005-07-07 14:56                                     ` Steven Rostedt
2005-07-07 15:31                                       ` Ingo Molnar
2005-07-07 15:42                                         ` Steven Rostedt
2005-07-07 16:10                                           ` Steven Rostedt
2005-07-07 16:48                                             ` Ingo Molnar
2005-07-08  7:02                                               ` Steven Rostedt
2005-07-08  9:54                                                 ` Steven Rostedt
2005-07-08 10:00                                                   ` Ingo Molnar
2005-07-08 20:55                                               ` Bill Davidsen
2005-07-07 17:51                                             ` Ingo Molnar
2005-07-07 21:18                                               ` Real-Time Preemption, -RT-2.6.12-final-V0.7.51-12 Chuck Harding
2005-07-08  5:41                                                 ` Ingo Molnar
2005-07-08  8:00                                                   ` Ingo Molnar
2005-07-08 18:06                                                     ` Chuck Harding
2005-07-07 19:05                                     ` Real-Time Preemption, -RT-2.6.12-final-V0.7.51-08 William Weston
2005-07-07 19:18                                       ` Ingo Molnar
2005-07-07 19:46                                         ` William Weston
2005-07-07 19:52                                           ` Ingo Molnar
2005-07-08  9:23                                       ` Ingo Molnar
2005-07-08  9:29                                         ` Ingo Molnar
2005-07-08  9:45                                           ` Ingo Molnar
2005-07-08 20:30                                             ` Real-Time Preemption, -RT-2.6.12-final-V0.7.51-17 William Weston
2005-07-07  1:26                                 ` Real-Time Preemption, -RT-2.6.12-final-V0.7.50-24 William Weston
2005-07-07 10:48                                   ` Ingo Molnar
2005-07-07 18:49                                     ` Real-Time Preemption, -RT-2.6.12-final-V0.7.51-06 William Weston
2005-07-07 20:02                                     ` Real-Time Preemption, -RT-2.6.12-final-V0.7.51-12 William Weston
2005-07-08  8:03                                       ` Ingo Molnar
2005-07-08 20:12                                         ` William Weston
2005-07-09 21:24                                           ` Peter Zijlstra
2005-07-10 11:18                                             ` Peter Zijlstra
2005-07-10 15:10                                               ` Ingo Molnar
2005-07-10 15:43                                                 ` Peter Zijlstra
2005-07-10 16:12                                                   ` Peter Zijlstra
2005-07-10 18:26                                                     ` Ingo Molnar
2005-07-11 18:49                                                     ` William Weston
2005-07-08 22:33                                         ` Real-Time Preemption, -RT-2.6.12-final-V0.7.51-17 William Weston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0507051155050.13165@echo.lysdexia.org \
    --to=weston@sysex.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).