LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2003, 06:37 AM   #1
mcgiv
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Question problems installing kernel modules on new version


Hi,
I'm new to Linux but have been thrown in at the deep end - working on kernel modules. I was working with the 2.4.20 kernel using Knoppix (which I installed on my hard drive as it usually just a bootable cd). Then I attempted to upgrade to 2.4.22. Compiling went ok and I was able to get it up and running but when I attempt to recompile my code that I was working on ( an extension to the hid kernel module) it compiles ok but when I attempt to insmod the module it says that it was compiled for the old version of the kernel (2.4.20). I followed the help in linuxfromscratch.org/view/cvs/chapter06/kernel.html[/url] for setting up the include headers but something isn't right. Could someone please help me out as I'm stuck doing nothing until I can solve this problem.

Thanks Damien
 
Old 09-04-2003, 09:35 AM   #2
scobiej
Member
 
Registered: Aug 2003
Location: London
Distribution: Redhat, SuSE, Ubuntu
Posts: 75

Rep: Reputation: 15
Make sure that /usr/src/linux is a copy of what is in /usr/src/linux..../include/linux
 
  


Reply



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
compiling installing kernel modules Wordan Linux - Software 3 11-02-2005 07:22 AM
No new posts Problems with modules from 2.4 to 2.6 kernel HGeneAnthony Red Hat 1 03-02-2005 01:23 PM
Missing modules when installing new kernel tykosson Debian 3 02-09-2005 08:18 AM
Installing ATI drivers to Slackware 10 - kernel modules? wezzer Slackware 9 08-31-2004 05:12 PM
Problems installing kernel modules Wynd Slackware 6 05-24-2003 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 AM.

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