LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   can't insert modules into 2.6 Kernel (https://www.linuxquestions.org/questions/debian-26/can%27t-insert-modules-into-2-6-kernel-143029/)

maxi 02-06-2004 12:41 PM

can't insert modules into 2.6 Kernel
 
Hi!

I have installed Debian GNU/Linux(testing) installed on my Laptop and
I have problems with inserting modules in the Kernel I use (2.6.1).

I have installed module-init-tools (which are required for 2.6 Kernel module support) but it still don't work!

Always when I want to insert a module I get this message:

insmod: error inserting 'ntfs.ko': Invalid module format


I don't know what to do.
Can anybody help me?

llamakc 02-06-2004 01:27 PM

Are any modules installed? Didja remember to do make modules_install? (not trying to be a troll; just that I have forgotten to do that before).

maxi 02-07-2004 05:44 PM

I made 'modules_install'

The way I build the 2.6.1 Kernel (incl. Modules):
In the kernel directory I do:

make
make modules_install
make install

I think thats the right way for the 2.6.1 Kernel, isn't it?
So I wonder why I can't insert the installed modules??

Thankful for any post!
MfG Maxi

llamakc 02-07-2004 06:55 PM

Have you tried modconf?

maxi 02-08-2004 04:21 AM

I tried modconf, I tried modprobe,...

But I always get the same error:

error inserting 'ntfs.ko': Invalid module format

maxi 02-11-2004 06:07 AM

Hi!

:) I've solved the problem. :)

The problem was, that LILO always booted an old Kernel image and not the new I've still compiled (with modules).
'make install' said that lilo.conf is going to be updated but this was false because LILO always started the old image /vmlinuz and not the new in /boot/vmlinuz (maybe my fault in lilo.conf)

For this reason the Kernel booted was not the same the modules were compiled for -> didn't work.

Thanks to all who posted in this thred!!

Maxi


All times are GMT -5. The time now is 06:40 PM.