LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Modules not loading in New kernel (https://www.linuxquestions.org/questions/linux-general-1/modules-not-loading-in-new-kernel-118766/)

palanisaravanan 11-22-2003 01:08 AM

Modules not loading in New kernel
 
I am using 2.2.16.SuSe kernel.Recenntly i compiled a 2.4.15(greased turkey) kernel for using my USB DSL modem.I am facing a problem with this new kernel.
NO modules are loading.(I compiled and installed all USb and net modules).if I tried to load a module using insmod usb-ohci.o it says unresolved symbol ***.other modules can be loaded using insmod(I checked a few only).

In my var/log/messages
NO modules symbols loaded
can not find map file

--This messages are there.
In my new kernel modules are located in /lib/modules/2.4.15 greased turkey/kernel/drivers.

In my old SUSE kernel they are in /lib/modules/2.2.16.

I changed my modules.conf like this
1. path[***]=/lib/modules/2.2.16.(it is already there for my old kernel)
2.path[new]=/lib/modules/2.4.15 greased-turkey[this line i added]
is it necessary to give the full path (/lib/modules/2.4.15 greased turkey/kernel/drivers. )
where i went wrong?.Please help me.I am new to this area.

pablob 11-22-2003 06:31 AM

You can't use modules compiled under a different kernel version.
Seems like you are trying to load 2.2 modules under 2.4 kernel.

It's like trying to use W95 drivers under W2K.

You can have an explanation on:
http://linux.umbc.edu/lug-mailing-li.../msg00509.html


All times are GMT -5. The time now is 01:59 PM.