Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751766AbVJTPSN (ORCPT ); Thu, 20 Oct 2005 11:18:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751778AbVJTPSN (ORCPT ); Thu, 20 Oct 2005 11:18:13 -0400 Received: from ms-smtp-02.nyroc.rr.com ([24.24.2.56]:37094 "EHLO ms-smtp-02.nyroc.rr.com") by vger.kernel.org with ESMTP id S1751766AbVJTPSM (ORCPT ); Thu, 20 Oct 2005 11:18:12 -0400 Date: Thu, 20 Oct 2005 11:18:02 -0400 (EDT) From: Steven Rostedt X-X-Sender: rostedt@localhost.localdomain To: Thomas Gleixner cc: john stultz , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: Ktimer / -rt9 (+custom) monotonic_clock going backwards. In-Reply-To: Message-ID: References: <1129734626.19559.275.camel@tglx.tec.linutronix.de> 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 Content-Length: 3287 Lines: 89 On Thu, 20 Oct 2005, Steven Rostedt wrote: > > FYI, I just merged my changes with -rt13 and everything seems to be > working very smoothly. I've been running my kernel over an hour without > showing the backward times. I haven't even added the change from cycle_t > to be 64 bits. > > > So, knock on wood, maybe one of the latest updates fixed the problem. Or > maybe as soon as I hit send, the machine will crash. > > I'll keep you all posted. > Spoke too soon ;-) About ten minutes after sending this, the clock went backwards, and once again by 2 seconds. now=5856:283756196 last_count=5858:436968526 Where now is 5856.283756196 seconds and last count is 5858.436968526. I'll have to put this test in other places in Ingo's kernel to see if I can trigger it there. Also, after the machine rebooted into Ingo's -rt13 it hit a NMI watchdog detected lockup on bootup. This looks like a false positive since this was spit out without any pause. EXT3-fs: write access will be enabled during recovery. NMI watchdog detected lockup on CPU#0 (50000/50000) Pid: 773, comm: IRQ 14 EIP: 0060:[] CPU: 0 EIP is at trace_special_pid+0x52/0xb0 EFLAGS: 00000002 Not tainted (2.6.14-rc4-rt13) EAX: 00000000 EBX: c03efb60 ECX: c030248d EDX: 00000000 ESI: 00000002 EDI: 00000000 EBP: df4e1dcc DS: 007b ES: 007b CR0: 8005003b CR2: fffa7000 CR3: 003dc000 CR4: 000006d0 [] show_regs+0x152/0x180 (36) [] nmi_watchdog_tick+0x15a/0x220 (52) [] default_do_nmi+0x72/0x180 (96) [] do_nmi+0x50/0x60 (24) [] nmi_stack_correct+0x1d/0x22 (104) [] __down_mutex+0x40d/0x920 (124) [] _spin_lock_irqsave+0x28/0x60 (28) [] lock_timer_base+0x28/0x50 (24) [] __mod_timer+0x3e/0xe0 (36) [] __ide_set_handler+0x4d/0x80 (32) [] ide_set_handler+0x3a/0x50 (28) [] task_in_intr+0x86/0x110 (36) [] ide_intr+0xdf/0x190 (40) [] handle_IRQ_event+0x6c/0x110 (52) [] thread_edge_irq+0x66/0x110 (36) [] do_hardirq+0x47/0xc0 (20) [] do_irqd+0x77/0xb0 (32) [] kthread+0xae/0xc0 (48) [] kernel_thread_helper+0x5/0x10 (548528156) --------------------------- | preempt count: 00000004 ] | 4-level deep critical section nesting: ---------------------------------------- .. [] .... add_preempt_count+0x1a/0x20 .....[] .. ( <= __down_mutex+0x90c/0x920) .. [] .... add_preempt_count+0x1a/0x20 .....[] .. ( <= __down_mutex+0x56/0x920) .. [] .... add_preempt_count+0x1a/0x20 .....[] .. ( <= __down_mutex+0x62/0x920) .. [] .... add_preempt_count+0x1a/0x20 .....[] .. ( <= nmi_watchdog_tick+0x12b/0x220) ------------------------------ | showing all locks held by: | (IRQ 14/773 [df4de7a0, 54]): ------------------------------ #001: [c0373b40] {ide_lock} ... acquired at: ide_set_handler+0x18/0x50 I'll look into this as well. -- Steve - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/