netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Stefan Rompf <srompf@isg.de>
Cc: netdev@oss.sgi.com
Subject: Re: 2.5.50 BUG_TRAP on !dev->deadbeaf, and oopses
Date: Mon, 09 Dec 2002 11:51:18 -0800	[thread overview]
Message-ID: <3DF4F436.6020807@pacbell.net> (raw)
In-Reply-To: 3DF3CAC8.5070309@pacbell.net


> Is there someone who has a clear explanation of exactly how "deadbeaf"
> was once expected to work -- and now (since sometime before about
> 2.5.40) evidently doesn't?
> 
> It seems to be driven by side effects, and whatever comments are in
> the code aren't any help.  The only case "deadbeaf" could be set is
> still documented as an error path ... 

All that still holds true.  There's something fishy going on, or
just old cruft that's lingered.  I suppose I should just patch it
and see if contradictory information appears then.

>> Plus: this kind of bugcatch should use magic numbers, or maybe zero.
>> Assuming "any nonzero value is valid", like this assertion does, is
>> clearly going to fail for any of the class of bugs highlighted by
>> slab poisoning.  (0xa5a5a5a5 gets accepted as valid...)

Actually I found a place where the wrong pointer was being used.
Heh -- lucky me, to make my point that way ... a stray pointer
happened to point to a zero, and so triggered that warning.  As a
bugcatch it's pretty poor:  it wouldn't normally trigger on that
kind of bug, either.

- Dave

      reply	other threads:[~2002-12-09 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-30 21:09 2.5.50 BUG_TRAP on !dev->deadbeaf, and oopses David Brownell
2002-12-01 12:45 ` Stefan Rompf
2002-12-02 18:44   ` David Brownell
2002-12-08 22:42     ` David Brownell
2002-12-09 19:51       ` David Brownell [this message]

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=3DF4F436.6020807@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=netdev@oss.sgi.com \
    --cc=srompf@isg.de \
    /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;
as well as URLs for NNTP newsgroup(s).