I have not tried a RH 6.1 yet, so the configure script could be fooled.
For troubleshooting purposes, here is what the Configure script does to "sense" whether the kernel was compiled with modules set:
- If /usr/src/linux/vmlinux exists then it does an "nm" on it and greps for init_modules.
- Else, if /usr/src/linux/.config exists then it looks for CONFIG_MODULES in that file. If it is there and is set equal to "y" then we assume that modules are enabled.
- Else, if /usr/src/linux/include/linux/autoconf.h exists then it looks in there for "#define CONFIG_MODULES". If found then it assumes modules.
- Else, if /proc/ksyms contains the symbol unregister_chrdev_R (as a substring) then modules are assumed.
- Else, it assumes no module support.
You can also hack the truth into LiS by editing the file /usr/src/LiS/config.in and putting in the following two lines, assuming both module support and mod-versions.
KMODULES=y
KMODVERS=y
-- Dave
"Gilmore, Gerry" wrote:
Hi,I'm trying to build LiS 2.6 with RedHat 6.1 and I'm running into the
following problem....
./ins_kpatch.sh
LiS direct link patch already in the kernel.
make -C /usr/src/LiS/drivers/str/linux
make[1]: Entering directory `/usr/src/LiS-2.6/drivers/str/linux'
echo "Configured loadables, but no kernel module support." >&2
Configured loadables, but no kernel module support.
/bin/false
make[1]: *** [first_rule] Error 1
make[1]: Leaving directory `/usr/src/LiS-2.6/drivers/str/linux'
make: *** [/usr/src/LiS/drivers/str/linux/drivers.o] Error 2However, i know that the kernel has module support as I've loaded other
modules. This is a "virgin" installation of RH6.1 and this same procedure
works perfectly under RH6.0. Any ideas?TIA,
Gerry
Gerry Gilmore
Field Applications Engineer
Dialogic, an Intel Company
phone: 770-619-5909 x105
fax: 770-619-5889
pager: 800-759-8888 pin 1358896
email: [EMAIL PROTECTED]
http://www.dialogic.com
----------------------- *THE_LIST_HAS_MOVED* -------------------------------
It is now hosted at gsyc.escet.urjc.es.
To (un)subscribe send a mail to <[EMAIL PROTECTED]>
To send a contribution send a mail to <[EMAIL PROTECTED]>
Web archives for lists can be found at http://gsyc.escet.urjc.es/lists
