Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261397AbUKCDpx (ORCPT ); Tue, 2 Nov 2004 22:45:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261402AbUKCDpx (ORCPT ); Tue, 2 Nov 2004 22:45:53 -0500 Received: from relay02.pair.com ([209.68.5.16]:38418 "HELO relay02.pair.com") by vger.kernel.org with SMTP id S261397AbUKCDpn (ORCPT ); Tue, 2 Nov 2004 22:45:43 -0500 X-pair-Authenticated: 66.190.53.4 Message-ID: <41885464.8060905@cybsft.com> Date: Tue, 02 Nov 2004 21:45:40 -0600 From: "K.R. Foley" User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fernando Pablo Lopez-Lezcano CC: Ingo Molnar , Mark_H_Johnson@raytheon.com, Thomas Gleixner , Florian Schmidt , Lee Revell , Paul Davis , LKML , Bill Huey , Adam Heath , Michal Schmidt , Karsten Wiese , Rui Nuno Capela Subject: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.6.8 References: <20041102191858.GB1216@elte.hu> <20041102192709.GA1674@elte.hu> <1099450468.19451.260.camel@cmn37.stanford.edu> In-Reply-To: <1099450468.19451.260.camel@cmn37.stanford.edu> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2480 Lines: 62 Fernando Pablo Lopez-Lezcano wrote: > On Tue, 2004-11-02 at 11:27, Ingo Molnar wrote: > >>* Ingo Molnar wrote: >> >>>>This build appears to run OK and then in the middle of the real time >>>>tests stops doing useful work (during network test). >>> >>>weird, the deadlock detector did not trigger, although it is a clear >>>circular deadlock: >> >>ah ... found it - a fair portion of spinlocks and rwlocks had deadlock >>detection turned off in -V0.6.6 - amongst them ptype_lock. I've uploaded >>-V0.6.9 that fixes this. > > > This happens with V0.6.9 running on an Athlon64: > > r8169 Gigabit Ethernet driver 1.6LK loaded > ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 16 (level, low) -> IRQ 16 > divert: allocating divert_blk for eth0 > eth0: Identified chip type is 'RTL8169s/8110s'. > eth0: RTL8169 at 0xf88a0f00, 00:0c:76:b3:c2:43, IRQ 16 > BUG: atomic counter underflow at: > [] dump_stack+0x23/0x30 (20) > [] qdisc_destroy+0xe1/0xf0 (28) > [] dev_shutdown+0x3d/0xa0 (28) > [] unregister_netdevice+0x12b/0x2a0 (36) > [] unregister_netdev+0x1e/0x30 (16) > [] rtl8169_remove_one+0x25/0x50 [r8169] (32) > [] pci_device_remove+0x76/0x80 (24) > [] device_release_driver+0x6d/0x70 (24) > [] driver_detach+0x2b/0x40 (20) > [] bus_remove_driver+0x3f/0x70 (20) > [] driver_unregister+0x1c/0x30 (16) > [] pci_unregister_driver+0x1c/0x30 (16) > [] rtl8169_cleanup_module+0x17/0x1b [r8169] (12) > [] sys_delete_module+0x121/0x150 (96) > [] sysenter_past_esp+0x52/0x71 (-8124) > --------------------------- > | preempt count: 00000001 ] > | 1-level deep critical section nesting: > ---------------------------------------- > .. [] .... print_traces+0x1d/0x60 > .....[] .. ( <= dump_stack+0x23/0x30) > > divert: freeing divert_blk for eth0 > ip_tables: (C) 2000-2002 Netfilter core team > > -- Fernando > > > Several of us get this. I believe this bug exists in upstream kernels also, it just doesn't get caught without the detection Ingo has added. kr - 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/