public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.48: BUG() at kernel/module.c:1000
@ 2002-11-18 18:06 Petr Vandrovec
  0 siblings, 0 replies; 5+ messages in thread
From: Petr Vandrovec @ 2002-11-18 18:06 UTC (permalink / raw)
  To: rusty; +Cc: linux-kernel

Hi Rusty,
  I'm trying to get VMware working, and unfortunately new insmod
is not able to load generated module. It died at line 1000 of 
kernel/module.c, because of used.core_size > mod->core_size:
     INIT=0/0  CORE=34252/34228

  Do you have any idea what's wrong with generated vmmon.o?
After I did "strip -R .note vmmon.o", module was insmod-dable.
Unfortunately lsmod now says 
"KBUILD_MODNAME         34220  0 [permanent]", although there is
no explanation in dmesg why it was marked [permanent] :-(

  If you are interested, generated vmmon.o is available at
http://vana.vc.cvut.cz/vmmon.o (if vana.vc.cvut.cz is alive)
(and yes, I fixed KBUILD_MODNAME module name here already...
but with vmmon in .modulename it does not die so spectacullary).

  And if we are talking about module names, I'm using
"insmod -o dummy0 dummy.o" & "insmod -o dummy1 dummy.o" to create
two dummy interfaces. What should I do now? Compile two dummy.o,
each with different module name?
						Thanks,
							Petr Vandrovec



/tmp/vmware-config0/vmmon.o:     file format elf32-i386

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00006520  00000000  00000000  00000034  2**2
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  1 .rodata       00001b3f  00000000  00000000  00006560  2**5
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
  2 __ksymtab     00000040  00000000  00000000  000080a0  2**5
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
  3 .data         00000010  00000000  00000000  000080e0  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  4 .modulename   0000000f  00000000  00000000  000080f0  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  5 .bss          000004ec  00000000  00000000  00008100  2**5
                  ALLOC
  6 .comment      00000150  00000000  00000000  00008100  2**0
                  CONTENTS, READONLY
  7 .note         0000008c  00000000  00000000  00008250  2**0
                  CONTENTS, READONLY


^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <20021118192001.21441.11326.Mailman@lists.us.dell.com>]

end of thread, other threads:[~2002-11-20  7:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-18 18:06 2.5.48: BUG() at kernel/module.c:1000 Petr Vandrovec
     [not found] <20021118192001.21441.11326.Mailman@lists.us.dell.com>
2002-11-18 22:39 ` mbm
2002-11-18 23:50   ` Rusty Russell
2002-11-19 11:54     ` Petr Vandrovec
2002-11-20  6:54       ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox