mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.5.44 (now 2.5.46-c929): Strange oopses triggered by .
Date: Wed, 6 Nov 2002 23:49:40 +0200	[thread overview]
Message-ID: <6C6A40E5238@vcnet.vc.cvut.cz> (raw)

On  6 Nov 02 at 23:09, Petr Vandrovec wrote:
> 
> I'm getting really nervous :-( Is kdb able to track who caused unbalanced
> in_atomic() incrementation? 
> 
> After more than week of stable system I run simple 
> "arp vanicka.vc.cvut.cz" few minutes ago, and after arp output I got 
> sleeping function called from illegal context, quickly followed by two
> scheduling while atomic, and finally it died because of userspace faults 
> when in_atomic() is != 0 are treated as kernel ones...
> 
> As I saw nobody else reporting this or simillar problem, I'll start
> looking at e100 driver I use. Maybe it did not occured because of I
> was running -acX kernels since 25th Oct until yesterday. Anybody knows?

-acX use special stack for hardware IRQs, and preempt_count() is
copied only from task -> hwirq, not other way around (because of it
assumes that preempt_count() is same on exit as it was on enter...).
That's probably reason why -acX was working for me almost two weeks,
but as soon as I returned back to non-ac, it died.
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                    

             reply	other threads:[~2002-11-06 22:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 21:49 Petr Vandrovec [this message]
2002-11-07  0:41 ` Preempt count check when leaving IRQ? (Was: Re: 2.5.44 (now 2.5.46-c929): Strange oopses triggered by .) Roger Larsson
  -- strict thread matches above, loose matches on Subject: below --
2002-11-06 21:09 2.5.44 (now 2.5.46-c929): Strange oopses triggered by Petr Vandrovec

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=6C6A40E5238@vcnet.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®