public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jeff Merkey" <jmerkey@timpanogas.org>
To: <jmerkey@vger.timpanogas.org>, "David S. Miller" <davem@redhat.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [VM/MEMORY-SICKNESS] 2.4.15-pre7 kmem_cache_create invalid opcode
Date: Tue, 20 Nov 2001 23:54:21 -0700	[thread overview]
Message-ID: <000601c17259$59316630$f5976dcf@nwfs> (raw)
In-Reply-To: LINKIFYIDCceeBcaFeIDAAFCeAfcbfIDDADGGdcBcIIfJGeLINKIFYHGdCJBIbeHBAdbDIceIACdGGIaeJBDbJJHbdfHFeLINKIFYJEGcacCIGAbbHCFdFfDdJdEHbEfBIIJfadAcbCaD <20011120.224723.35806752.davem@redhat.com>


----- Original Message -----
From: "David S. Miller" <davem@redhat.com>
To: <jmerkey@vger.timpanogas.org>
Cc: <linux-kernel@vger.kernel.org>; <jmerkey@timpanogas.org>
Sent: Tuesday, November 20, 2001 11:47 PM
Subject: Re: [VM/MEMORY-SICKNESS] 2.4.15-pre7 kmem_cache_create invalid
opcode


>    From: "Jeff V. Merkey" <jmerkey@vger.timpanogas.org>
>    Date: Wed, 21 Nov 2001 00:33:04 -0700
>
>    No. I think the build in linux is broken.  The Linux tree should
>    not generate garbase opcodes from the includes is make dep
>    has not been run and someone is simply building a module against
>    the include files.
>
> It executes a bogus opcode because that is how we signal
> an assertion failure, see the BUG() macro define in
> include/asm-i386/page.h
>
> If it only fails as a module, then most likely (as I stated in my
> original mail, which you decided not to read) you are trying to create
> a SLAB cache of the same name twice and it is giving you an OOPS to
> let you know about it.
>

No dave, I read it, and I am not trying to create a slab cache twice.  I
only
create it once.  I did go look at the code and I got the part of using an
invalid
opcode to generate an exception.  Sort of like an int3 embedded in the
code (the old NetWare/NT way).  :-)

> On module unload you have to kmem_cache_destroy or else you'll
> hit this assertion failure the next time you load the module.
>
> If you aren't going to look at the things I've asked you to look at to
> try and determine the problem, and will merely complain about the
> "garbage opcodes" without looking at what put those opcodes there in
> the kernel image, then your problem is one that I cannot solve.
>
> I said: "A BUG() assertion is being triggered in slab.c"
> You retort: "Nothing should make garbage opcodes execute."
>
> I am now saying: "Go look at the BUG() definition, it is a garbage
> opcode and it is on purpose".
>
> Are you now going to say: "Linux is still broken, nothing should make
> garbage opcodes, the build in Linux is broken"
>
> ???
>
> You are really a fucking pain in the ass to help Jeff.

Dave,  I went and looked at this stuff.  I have been running this code for
over a year on 2.4 and I AM NOT CREATING A SLAB CACHE TWICE!!!!
I am building an NWFS module external of the kernel tree, and unless make
dep
has been run, the default behavior of the includes causes me to drop into
the
BUG() trap.

Jeff


> -
> 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/


  reply	other threads:[~2001-11-21  6:55 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <davem@redhat.com>
2001-11-21  7:16 ` [VM/MEMORY-SICKNESS] 2.4.15-pre7 kmem_cache_create invalid opcode Jeff V. Merkey
2001-11-21  6:22   ` David S. Miller
2001-11-21  7:33     ` Jeff V. Merkey
2001-11-21  6:47       ` Kai Henningsen
2001-11-21 18:28         ` Jeff Merkey
2001-11-21  6:47       ` David S. Miller
2001-11-21  6:54         ` Jeff Merkey [this message]
2001-11-21  6:56           ` David S. Miller
2001-11-21  7:03             ` Jeff Merkey
2001-11-21  7:09               ` David S. Miller
2001-11-21  7:14                 ` Jeff Merkey
2001-11-21  7:28               ` Stuart Young
2001-11-21  7:49               ` arjan
2001-11-21 18:31                 ` Jeff Merkey
2001-11-21 19:06                   ` Doug Ledford
2001-11-21 19:51                     ` Jeff Merkey
2001-11-21 19:58                       ` J Sloan
2001-11-21 20:38                       ` Doug Ledford
2001-11-21 21:17                         ` Jeff Merkey
2001-11-21 19:16                   ` Arjan van de Ven
2001-11-21 19:53                     ` Jeff Merkey
2001-11-21 20:36                       ` Doug Ledford
2001-11-21 21:16                         ` Jeff Merkey
2001-11-21 21:28                           ` Robert Love
2001-11-21  6:54       ` Chris Abbey
2001-11-21  7:05         ` Jeff Merkey
2001-11-21  8:49   ` Alan Cox
2001-11-21 18:28     ` Jeff Merkey
2001-11-21  6:59 Jeff Merkey
  -- strict thread matches above, loose matches on Subject: below --
2001-05-06 21:08 page_launder() bug BERECZ Szabolcs
2001-05-06 21:59 ` Jonathan Morton
2001-05-06 22:07   ` BERECZ Szabolcs
2001-05-07  4:55   ` David S. Miller
2001-05-07  5:19     ` Aaron Lehmann
2001-05-07  6:26     ` Tobias Ringstrom
2001-05-07  8:54       ` David S. Miller
2001-05-07 15:12         ` Tobias Ringstrom
2001-05-07  8:59       ` Helge Hafting
2001-05-07 19:02         ` J . A . Magallon
2001-05-08  7:52           ` Helge Hafting
2001-05-10 12:19             ` Ingo Oeser
2001-05-10 10:51           ` Anuradha Ratnaweera
2001-05-07 10:52       ` Alan Cox
2001-05-07 13:49       ` Daniel Phillips
2001-05-07 13:53       ` H. Peter Anvin
2001-05-07 14:52     ` Horst von Brand
2001-05-08 17:59       ` Kai Henningsen
2001-05-09  2:32     ` Rusty Russell
2001-05-09  8:43       ` Martin Dalecki
2001-05-09  3:36     ` Jonathan Morton
2001-05-07 17:59 ` Linus Torvalds
2001-05-07 21:22   ` Marcelo Tosatti
2001-05-07 23:23     ` Linus Torvalds
2001-05-07 21:50       ` Marcelo Tosatti
2001-05-07 23:52         ` Linus Torvalds
2001-05-07 22:26           ` Marcelo Tosatti
2001-05-08  0:16             ` David S. Miller
2001-05-08  2:34               ` Linus Torvalds
2001-05-08  1:40                 ` Marcelo Tosatti
2001-05-08  3:22                   ` David S. Miller
2001-05-08  3:26                     ` Linus Torvalds
2001-05-08  3:46                   ` Linus Torvalds
2001-05-08  2:37                     ` Marcelo Tosatti
2001-05-08  6:50                     ` David S. Miller
2001-05-08  7:40                       ` Linus Torvalds
2001-05-08  8:29                         ` David S. Miller
2001-05-08 18:53                         ` Marcelo Tosatti
2001-05-08 21:16                     ` Marcelo Tosatti
2001-05-08 23:38                       ` Linus Torvalds
2001-05-08 23:53                         ` Marcelo Tosatti
2001-05-09  2:13                           ` David S. Miller
2001-05-09 17:38                             ` Marcelo Tosatti
2001-05-09 20:05                               ` David S. Miller
2001-05-09 18:40                                 ` Marcelo Tosatti
2001-05-09 21:08                                   ` David S. Miller
2001-05-09 19:50                                     ` Marcelo Tosatti
2001-05-13 16:34                             ` Rik van Riel
2001-05-13 17:52                               ` David S. Miller
2001-05-13 17:55                                 ` Rik van Riel
2001-05-13 18:00                                   ` David S. Miller
2001-05-13 19:34                               ` Linus Torvalds
2001-05-13 19:39                                 ` Rik van Riel
2001-05-13 20:42                                   ` Linus Torvalds
2001-05-14  7:05                                     ` Kai Henningsen
2001-05-08  2:47                 ` David S. Miller
2001-05-08  1:34                   ` Marcelo Tosatti
2001-05-08  3:18                     ` David S. Miller
2001-05-08  1:47                       ` Marcelo Tosatti
2001-05-08  3:29                         ` David S. Miller
2001-05-08 10:36                           ` BERECZ Szabolcs
2001-05-08  3:24                       ` Linus Torvalds
2001-05-08 12:33               ` Mikulas Patocka
2001-05-13 16:24                 ` Rik van Riel
2001-05-13 21:02                   ` Another VM race? (was: page_launder() bug) Mikulas Patocka
2001-05-13 23:04                     ` Rik van Riel
2001-05-14  9:53                       ` Mikulas Patocka
2001-05-08  2:29             ` page_launder() bug Linus Torvalds
2001-05-13 16:08               ` Rik van Riel
2001-05-13 19:29                 ` Linus Torvalds
2001-05-14 22:05                   ` Marcelo Tosatti
2001-05-08  0:06           ` David S. Miller
2001-05-07 23:31       ` David S. Miller
2001-05-07 22:44   ` David S. Miller
2001-05-08  1:00     ` Horst von Brand

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='000601c17259$59316630$f5976dcf@nwfs' \
    --to=jmerkey@timpanogas.org \
    --cc=davem@redhat.com \
    --cc=jmerkey@vger.timpanogas.org \
    --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