LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   help needed compiling kernel (https://www.linuxquestions.org/questions/linux-software-2/help-needed-compiling-kernel-36712/)

qanopus 11-28-2002 07:29 AM

help needed compiling kernel
 
Hi, I have just compiled my kernel and despite everything looking alright (kernel is booting and X is starting) there are still some things I don't know are right.
First, when I do "lsmod", no modules seem to be loaded. Is that alright?
second, I just compiled a module (pegasus.o) and when I try to insert it, the kernel complains about a kernel mismatch saying the module was build for the 2.4.18 kernel and that this is 2.4.19. But I changed the makefile of the module to include the 2.4.19 header files (so it would say something like
"gcc -I /to/my/kernel-2.4.19/include/ ..... ) and i'm sure I'm inserting the newly build module. when I force the insertion of the module, my system hangs. whats the deal here?

qanopus 11-28-2002 01:18 PM

nevermind the second thing, got it fixed

Tinkster 11-28-2002 01:44 PM

Ad 1)
really, that depends on a number of things :)
How many of your drivers did you actually compile
as midules?
Does your initialization script know about them?

In my case for instance /etc/rc.d/rc.modules is
doing the job of actually loading my required modules.

Cheers,
Tink


All times are GMT -5. The time now is 09:47 AM.