From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261747AbVGEUq5 (ORCPT ); Tue, 5 Jul 2005 16:46:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261908AbVGEUq5 (ORCPT ); Tue, 5 Jul 2005 16:46:57 -0400 Received: from unused.mind.net ([69.9.134.98]:61388 "EHLO echo.lysdexia.org") by vger.kernel.org with ESMTP id S261747AbVGEUpA (ORCPT ); Tue, 5 Jul 2005 16:45:00 -0400 Date: Tue, 5 Jul 2005 13:43:56 -0700 (PDT) From: William Weston X-X-Sender: weston@echo.lysdexia.org To: Ingo Molnar cc: linux-kernel@vger.kernel.org Subject: Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-45 In-Reply-To: <20050703181229.GA32741@elte.hu> Message-ID: References: <200506281927.43959.annabellesgarden@yahoo.de> <200506301952.22022.annabellesgarden@yahoo.de> <20050630205029.GB1824@elte.hu> <200507010027.33079.annabellesgarden@yahoo.de> <20050701071850.GA18926@elte.hu> <20050703140432.GA19074@elte.hu> <20050703181229.GA32741@elte.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 [] dump_stack+0x23/0x25 (20) [] __WARN_ON+0x66/0x86 (52) [] __up_mutex+0x14e/0x304 (40) [] up_mutex+0x39/0xe3 (28) [] delayed_work_timer_fn+0x3a/0x41 (24) [] run_timer_softirq+0x208/0x46d (60) [] ksoftirqd+0xee/0x1ad (36) [] kthread+0xb6/0xba (44) [] kernel_thread_helper+0x5/0xb (554565660) --------------------------- | preempt count: 00000002 ] | 2-level deep critical section nesting: ---------------------------------------- .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= __WARN_ON+0x21/0x86) .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= 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:[] 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 [] show_regs+0x164/0x16e (36) [] nmi_watchdog_tick+0x189/0x2b7 (52) [] default_do_nmi+0x7a/0x18a (52) [] do_nmi+0x5d/0x6f (24) [] nmi_stack_correct+0x1d/0x22 (92) [] rt_down_trylock+0x29/0x179 (36) [] vprintk+0x22e/0x2c3 (116) [] printk+0x20/0x22 (20) [] __WARN_ON+0x61/0x86 (52) [] __down_mutex+0x4e2/0x689 (108) [] _spin_lock_irqsave+0x24/0x89 (32) [] lock_timer_base+0x1f/0x3a (20) [] try_to_del_timer_sync+0x1f/0x5f (28) [] del_timer_sync+0x2a/0xb1 (44) [] exit_itimers+0x117/0x1a9 (56) [] __exit_signal+0xfd/0x1c8 (32) [] release_task+0x81/0x16a (40) [] exit_notify+0x64f/0x972 (60) [] do_exit+0x24b/0x40d (44) [] wait_for_helper+0x0/0xb0 (24) [] kernel_thread_helper+0x5/0xb (557408284) --------------------------- | preempt count: 00010004 ] | 4-level deep critical section nesting: ---------------------------------------- .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= __WARN_ON+0x21/0x86) .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= vprintk+0x26/0x2c3) .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= nmi_watchdog_tick+0x154/0x2b7) .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= 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:[] 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 [] show_regs+0x164/0x16e (36) [] nmi_watchdog_tick+0x189/0x2b7 (52) [] default_do_nmi+0x7a/0x18a (52) [] do_nmi+0x5d/0x6f (24) [] nmi_stack_correct+0x1d/0x22 (160) [] _spin_lock_irq+0x24/0x7b (28) [] wait_for_completion+0xa6/0xdb (48) [] do_fork+0xf1/0x1e2 (132) [] kernel_thread+0x86/0x8c (96) [] __call_usermodehelper+0x66/0x68 (24) [] worker_thread+0x1a1/0x266 (108) [] kthread+0xb6/0xba (44) [] kernel_thread_helper+0x5/0xb (1051926556) --------------------------- | preempt count: 00010002 ] | 2-level deep critical section nesting: ---------------------------------------- .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= nmi_watchdog_tick+0x154/0x2b7) .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= 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 [] dump_stack+0x23/0x25 (20) [] __WARN_ON+0x66/0x86 (52) [] up_mutex+0x160/0x3b6 (36) [] delayed_work_timer_fn+0x3a/0x41 (24) [] run_timer_softirq+0x208/0x46d (60) [] ksoftirqd+0xee/0x1ad (36) [] kthread+0xb6/0xba (44) [] kernel_thread_helper+0x5/0xb (1052131356) --------------------------- | preempt count: 00000002 ] | 2-level deep critical section nesting: ---------------------------------------- .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= __WARN_ON+0x21/0x86) .. [] .... add_preempt_count+0x1c/0x1e .....[] .. ( <= 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