public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "K.R. Foley" <kr@cybsft.com>
To: Fernando Pablo Lopez-Lezcano <nando@ccrma.Stanford.EDU>
Cc: Ingo Molnar <mingo@elte.hu>,
	Mark_H_Johnson@raytheon.com, Thomas Gleixner <tglx@linutronix.de>,
	Florian Schmidt <mista.tapas@gmx.net>,
	Lee Revell <rlrevell@joe-job.com>,
	Paul Davis <paul@linuxaudiosystems.com>,
	LKML <linux-kernel@vger.kernel.org>, Bill Huey <bhuey@lnxw.com>,
	Adam Heath <doogie@debian.org>,
	Michal Schmidt <xschmi00@stud.feec.vutbr.cz>,
	Karsten Wiese <annabellesgarden@yahoo.de>,
	Rui Nuno Capela <rncbc@rncbc.org>
Subject: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.6.8
Date: Tue, 02 Nov 2004 21:45:40 -0600	[thread overview]
Message-ID: <41885464.8060905@cybsft.com> (raw)
In-Reply-To: <1099450468.19451.260.camel@cmn37.stanford.edu>

Fernando Pablo Lopez-Lezcano wrote:
> On Tue, 2004-11-02 at 11:27, Ingo Molnar wrote:
> 
>>* Ingo Molnar <mingo@elte.hu> 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:
>  [<c0108153>] dump_stack+0x23/0x30 (20)
>  [<c02f5e91>] qdisc_destroy+0xe1/0xf0 (28)
>  [<c02f60ad>] dev_shutdown+0x3d/0xa0 (28)
>  [<c02e6ffb>] unregister_netdevice+0x12b/0x2a0 (36)
>  [<c0273ffe>] unregister_netdev+0x1e/0x30 (16)
>  [<f8b0b8b5>] rtl8169_remove_one+0x25/0x50 [r8169] (32)
>  [<c01f55a6>] pci_device_remove+0x76/0x80 (24)
>  [<c025f15d>] device_release_driver+0x6d/0x70 (24)
>  [<c025f18b>] driver_detach+0x2b/0x40 (20)
>  [<c025f5ff>] bus_remove_driver+0x3f/0x70 (20)
>  [<c025fb0c>] driver_unregister+0x1c/0x30 (16)
>  [<c01f586c>] pci_unregister_driver+0x1c/0x30 (16)
>  [<f8b0d357>] rtl8169_cleanup_module+0x17/0x1b [r8169] (12)
>  [<c013fdb1>] sys_delete_module+0x121/0x150 (96)
>  [<c010729d>] sysenter_past_esp+0x52/0x71 (-8124)
> ---------------------------
> | preempt count: 00000001 ]
> | 1-level deep critical section nesting:
> ----------------------------------------
> .. [<c013dc3d>] .... print_traces+0x1d/0x60
> .....[<c0108153>] ..   ( <= 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

  reply	other threads:[~2004-11-03  3:45 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-02 18:00 [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.6.8 Mark_H_Johnson
2004-11-02 19:18 ` Ingo Molnar
2004-11-02 19:27   ` Ingo Molnar
2004-11-02 22:04     ` K.R. Foley
2004-11-02 23:21     ` [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.6.9 Rui Nuno Capela
2004-11-02 23:44       ` Bill Huey
2004-11-03  0:39       ` Rui Nuno Capela
2004-11-03  1:15         ` Ingo Molnar
2004-11-03  1:21       ` Ingo Molnar
2004-11-03  2:54     ` [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.6.8 Fernando Pablo Lopez-Lezcano
2004-11-03  3:45       ` K.R. Foley [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-02 22:35 Mark_H_Johnson
2004-11-03  8:39 ` Ingo Molnar
2004-11-03  8:42   ` Ingo Molnar
2004-11-03 10:00     ` Ingo Molnar
2004-11-03 12:39       ` Ingo Molnar
2004-11-03 19:51         ` Florian Schmidt
2004-11-03 23:02           ` Adam Heath
2004-11-02 21:39 Mark_H_Johnson
2004-11-02 20:42 Mark_H_Johnson
2004-11-02 21:09 ` Ingo Molnar
2004-11-02 15:44 Mark_H_Johnson
2004-11-02 19:38 ` Ingo Molnar
2004-11-02 19:49 ` Ingo Molnar
2004-10-31 12:54 [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4] Lee Revell
2004-10-31 13:13 ` Ingo Molnar
2004-10-31 13:40   ` Ingo Molnar
2004-10-31 15:20     ` Florian Schmidt
2004-10-31 15:59       ` Florian Schmidt
2004-10-31 19:06         ` Florian Schmidt
2004-11-01 13:42           ` Ingo Molnar
2004-11-01 13:53             ` Ingo Molnar
2004-11-01 14:06               ` Ingo Molnar
2004-11-01 15:47                 ` Thomas Gleixner
2004-11-02 15:06                   ` [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.6.8 Ingo Molnar
2004-11-02 17:52                     ` K.R. Foley
2004-11-02 19:37                       ` Ingo Molnar
2004-11-02 19:40                         ` K.R. Foley
2004-11-02 19:24                     ` Norberto Bensa
2004-11-02 19:35                       ` Ingo Molnar
2004-11-02 23:09                     ` Karsten Wiese
2004-11-03  1:12                       ` Ingo Molnar
2004-11-03 10:15                         ` Karsten Wiese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41885464.8060905@cybsft.com \
    --to=kr@cybsft.com \
    --cc=Mark_H_Johnson@raytheon.com \
    --cc=annabellesgarden@yahoo.de \
    --cc=bhuey@lnxw.com \
    --cc=doogie@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mista.tapas@gmx.net \
    --cc=nando@ccrma.Stanford.EDU \
    --cc=paul@linuxaudiosystems.com \
    --cc=rlrevell@joe-job.com \
    --cc=rncbc@rncbc.org \
    --cc=tglx@linutronix.de \
    --cc=xschmi00@stud.feec.vutbr.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox