Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945943AbXBVBsJ (ORCPT ); Wed, 21 Feb 2007 20:48:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1945944AbXBVBsJ (ORCPT ); Wed, 21 Feb 2007 20:48:09 -0500 Received: from nf-out-0910.google.com ([64.233.182.188]:47717 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1945943AbXBVBsH (ORCPT ); Wed, 21 Feb 2007 20:48:07 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding:from; b=Hu8hN+FmTPE9LxUyIfMFr9P9FejMadjaPtiMFw4fN+L+5fA4jzcvKtL9W4Wrv/pi8KG0desqI0qdypPY4nYcrtRwwJIgs9H2e3u75sCogzSu2gkYzPWiGvYb4pmm/oXOI5DN0kywRzF4XqHYpogYdfW6CSk286+4VAMYF7LT8ZE= Message-ID: <45DCF644.9040009@googlemail.com> Date: Thu, 22 Feb 2007 02:47:48 +0100 User-Agent: Thunderbird 1.5.0.9 (X11/20070212) MIME-Version: 1.0 To: tglx@linutronix.de CC: Michal Piotrowski , LKML , Ingo Molnar Subject: Re: 2.6.20-git15 BUG: soft lockup detected on CPU#0! - timers? References: <6bffcb0e0702201054rb839bb2m11ef8d33bacffdb8@mail.gmail.com> <1172008584.25076.0.camel@localhost.localdomain> <6bffcb0e0702201437o66db38d5j3066eb3c9951a270@mail.gmail.com> <1172072023.25076.64.camel@localhost.localdomain> <6bffcb0e0702210738p687ca1bdt2c568d7ed5904fff@mail.gmail.com> <1172088044.25076.125.camel@localhost.localdomain> In-Reply-To: <1172088044.25076.125.camel@localhost.localdomain> X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit From: Michal Piotrowski Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3162 Lines: 90 Thomas Gleixner napisa?(a): > Michal, > > On Wed, 2007-02-21 at 16:38 +0100, Michal Piotrowski wrote: >>> But you still have those softirq pending messages, right ? >> Yes >> >> (+ new NOHZ: local_softirq_pending 02) > > Yike, that's the timer softirq. > > Can you add the patch below, maybe it gives us some useful info. Please > enable lockdep (your last config had it already) > I hope this helps. irq event stamp: 103630856 hardirqs last enabled at (103630855): [] _spin_unlock_irq+0x22/0x43 hardirqs last disabled at (103630856): [] tick_nohz_stop_sched_tick+0x13/0x1fd softirqs last enabled at (103630824): [] __do_softirq+0xe4/0xea softirqs last disabled at (103630819): [] do_softirq+0x64/0xd1 NOHZ: local_softirq_pending 20, 00000001 (gdb) l *0xc031356a 0xc031356a is in _spin_unlock_irq (include2/asm/irqflags.h:48). 43 __asm__ __volatile__("cli" : : : "memory"); 44 } 45 46 static inline void raw_local_irq_enable(void) 47 { 48 __asm__ __volatile__("sti" : : : "memory"); 49 } 50 51 /* 52 * Used in the idle loop; sti takes one instruction cycle (gdb) l *0xc013a00e 0xc013a00e is in tick_nohz_stop_sched_tick (/mnt/md0/devel/linux-git/kernel/time/tick-sched.c:158). 153 ktime_t last_update, expires, now, delta; 154 int cpu; 155 156 local_irq_save(flags); 157 158 cpu = smp_processor_id(); 159 ts = &per_cpu(tick_cpu_sched, cpu); 160 161 if (unlikely(ts->nohz_mode == NOHZ_MODE_INACTIVE)) 162 goto end; (gdb) l *0xc01265df 0xc01265df is in __do_softirq (/mnt/md0/devel/linux-git/kernel/softirq.c:251). 246 247 trace_softirq_exit(); 248 249 account_system_vtime(current); 250 _local_bh_enable(); 251 } 252 253 #ifndef __ARCH_HAS_DO_SOFTIRQ 254 255 asmlinkage void do_softirq(void) (gdb) l *0xc0106a75 0xc0106a75 is in do_softirq (/mnt/md0/devel/linux-git/arch/i386/kernel/irq.c:222). 217 irqctx->tinfo.previous_esp = current_stack_pointer; 218 219 /* build the stack frame on the softirq stack */ 220 isp = (u32*) ((char*)irqctx + sizeof(*irqctx)); 221 222 asm volatile( 223 " xchgl %%ebx,%%esp \n" 224 " call __do_softirq \n" 225 " movl %%ebx,%%esp \n" 226 : "=b"(isp) http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.21-rc1/git-config http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.21-rc1/git-dmesg Regards, Michal -- Michal K. K. Piotrowski LTG - Linux Testers Group (PL) (http://www.stardust.webpages.pl/ltg/) LTG - Linux Testers Group (EN) (http://www.stardust.webpages.pl/linux_testers_group_en/) - 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/