Re: unresolved symbol request_module (2.4.0-test2)

From: Keith Owens (kaos@ocs.com.au)
Date: Mon Jun 26 2000 - 20:00:18 EST


On Mon, 26 Jun 2000 08:52:21 -0700 (PDT),
Corin Anderson <corin@the4cs.com> wrote:
> I'm trying to build and install a few things (sound support, fat fs) as
>modules, but am failing. Specifically, soundcore.o, sound.o, and fat.o
>all reference the symbol request_module, which is apparently not defined
>anywhere -- at least, depmod says so (and, thus, these modules can't be
>loaded by insmod or modprobe).

request_module is defined in kernel/module.c and exported by
kernel/ksyms.c, it works for me. You either have some old objects
lying around or your installed kernel and modules do not match.

nm vmlinux | grep request_module. There must be an entry like
__ksymtab_request_module, if not you have a miscompiled kernel.

nm modules/fat.o | grep request_module. If the vmlinux name has a hex
suffix and the module does not or vice versa then you have a
miscompiled kernel.

> I've enabled kmod in the kernel, and have "make clean ; make dep ; make
>bzImage; make modules ; copy-the-kernel-to-/boot ; make modules_install ;
>lilo ; reboot". Still, the problem persists.

If in doubt

  mv .config .. (save .config)
  make mrproper (not clean, mrproper removes more crud)
  mv ../.config . (restore .config)
  make oldconfig dep clean bzImage modules
  install modules and kernel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:10 EST