LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-06-2004, 12:41 PM   #1
maxi
LQ Newbie
 
Registered: Feb 2004
Location: Autstria
Distribution: debian
Posts: 6

Rep: Reputation: 0
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?
 
Old 02-06-2004, 01:27 PM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
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).
 
Old 02-07-2004, 05:44 PM   #3
maxi
LQ Newbie
 
Registered: Feb 2004
Location: Autstria
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 02-07-2004, 06:55 PM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Have you tried modconf?
 
Old 02-08-2004, 04:21 AM   #5
maxi
LQ Newbie
 
Registered: Feb 2004
Location: Autstria
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
I tried modconf, I tried modprobe,...

But I always get the same error:

error inserting 'ntfs.ko': Invalid module format
 
Old 02-11-2004, 06:07 AM   #6
maxi
LQ Newbie
 
Registered: Feb 2004
Location: Autstria
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert Modules into Kernel aje Linux - General 3 10-30-2004 03:42 PM
depmod doesnt insert proper lines in modules.pcimap for Marvell Network Interface jimmytango829 Linux - Hardware 1 09-30-2004 01:08 AM
failled tp insert module into kernel actteoh Linux - Hardware 2 05-07-2004 10:18 AM
How to install/insert drivers/modules? atheist Linux - Hardware 13 01-29-2004 01:30 PM
Can't insert module into kernel swamysk Linux - Newbie 14 08-22-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration