2.5.48: BUG() at kernel/module.c:1000

From: Petr Vandrovec (vandrove@vc.cvut.cz)
Date: Mon Nov 18 2002 - 13:06:56 EST


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

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



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:23 EST