From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederic Weisbecker Subject: Re: [Announce] 2.6.29-rc4-rt2 Date: Fri, 13 Feb 2009 04:09:20 +0100 Message-ID: <20090213030919.GA5826@nowhere> References: <20090213004812.GA5824@nowhere> <20090213021626.GA5807@nowhere> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Thomas Gleixner , LKML , rt-users , Ingo Molnar , Steven Rostedt , Peter Zijlstra , Carsten Emde , Clark Williams To: Thomas Gleixner Return-path: Received: from fk-out-0910.google.com ([209.85.128.188]:33492 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752470AbZBMDJZ (ORCPT ); Thu, 12 Feb 2009 22:09:25 -0500 Content-Disposition: inline In-Reply-To: <20090213021626.GA5807@nowhere> Sender: linux-rt-users-owner@vger.kernel.org List-ID: On Fri, Feb 13, 2009 at 03:16:26AM +0100, Frederic Weisbecker wrote: > On Fri, Feb 13, 2009 at 01:48:12AM +0100, Frederic Weisbecker wrote: > > On Thu, Feb 12, 2009 at 11:56:38PM +0100, Thomas Gleixner wrote: > > > We are pleased to announce the first update to our new preempt-rt > > > series. It fixes the reported bugs and some more. > > > > > > Download locations: > > > > > > http://rt.et.redhat.com/download/ > > > http://www.kernel.org/pub/linux/kernel/projects/rt/ > > > > > > Information on the RT patch can be found at: > > > > > > http://rt.wiki.kernel.org/index.php/Main_Page > > > > > > to build the 2.6.29-rc4-rt2 tree, the following patches should be > > > applied: > > > > > > http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.29-rc4.tar.bz2 > > > http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.29-rc4-rt2.bz2 > > > > > > The broken out patches are also available at the same download > > > locations. > > > > > > Enjoy ! > > > > > > Thomas, Ingo > > > > > > Hi, > > > > It fixes the rt-concerned warning I had. > > Now, a new little lockdep info, tell me if you need my config, I changed > > it a bit: > > > > [ 0.012874] INFO: trying to register non-static key. > > [ 0.012940] the code is fine but needs lockdep annotation. > > [ 0.013008] turning off the locking correctness validator. > > [ 0.013847] Pid: 0, comm: swapper Not tainted 2.6.29-rc4-rt2-tip #2 > > [ 0.013917] Call Trace: > > [ 0.013981] [] __lock_acquire+0x1825/0x1b20 > > [ 0.014053] [] ? __lock_acquire+0x59b/0x1b20 > > [ 0.014125] [] ? mark_held_locks+0x56/0xa0 > > [ 0.014197] [] lock_acquire+0x9f/0xe0 > > [ 0.014267] [] ? rt_spin_lock_slowlock+0x38/0x310 > > [ 0.014342] [] __spin_lock_irqsave+0x51/0x70 > > [ 0.014415] [] ? rt_spin_lock_slowlock+0x38/0x310 > > [ 0.014489] [] rt_spin_lock_slowlock+0x38/0x310 > > [ 0.014562] [] ? debug_check_no_locks_freed+0x9c/0x160 > > [ 0.014636] [] rt_spin_lock+0x4c/0xa0 > > [ 0.014706] [] compat_down_timeout+0x21/0x60 > > [ 0.014780] [] acpi_os_wait_semaphore+0x4e/0x5d > > [ 0.014853] [] acpi_ut_acquire_mutex+0x43/0x87 > > [ 0.014926] [] acpi_ns_root_initialize+0x28/0x2ab > > [ 0.014999] [] ? __raw_spin_lock_init+0x38/0x70 > > [ 0.015073] [] acpi_initialize_subsystem+0x69/0x91 > > [ 0.015147] [] acpi_early_init+0x50/0xf5 > > [ 0.015219] [] start_kernel+0x3d2/0x4ca > > [ 0.015290] [] x86_64_start_reservations+0x99/0xb9 > > [ 0.015362] [] x86_64_start_kernel+0xfc/0x10b > > [ 0.015436] [] ? early_idt_handler+0x0/0x71 > > > > Oh and I just tested the tracers. > > It seems to run fine for all of them except sysprof. > > It passes the self-test but doesn't produce any trace when I manually try. > > > > Not completely sure this is only in -rt so I'm pulling very latest -tip > > and will see if I find the same problem there. > > > About sysprof, it's an -rt problem, I don't see it on -tip. > The sysprof hrtimer callback is never called. > > I'm digging to see what is happening. I didn't put my ftrace_printk at the right place. It doesn't come from hrtimer. The problem comes from get_irq_regs() which always returns NULL on the sysprof hrtimer calback, then the trace is immediately dropped by sysprof. That's weird, smp_apic_timer_interrupt() calls set_irq_regs() so it should find it. Now I'm preempted by my bed.