LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2004, 08:10 PM   #1
louai
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
Problem loading a module


On a fresh install of SuSE 8.0 on an SMP system ...
I compiled a module, but when I do insmod <My_module.o> I get a "kernel-module version mismatch ... My_module.o was compiled for kernel version 2.4.19-4GB while this kernel is version 2.4.19-64GB-SMP"

My Makefile to build the module gets the kernel version by doing a "uname -r", yet I'm not why the OS thinks it's compiled for a different kernel version ?

Any help is appreciated.
Thanks.
 
Old 01-07-2004, 09:57 PM   #2
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
because it is compiled for a different kernel, rather than risk locking up and breaking systems the the developers would rather play it safe and not trust users to know when their patches wont change critical things for the module recompile your module with usr/src/linux pointing to where the currently used kernel is placed
 
  


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
problem loading a module alaios Linux - General 5 06-09-2005 08:01 AM
module loading problem tiluu Linux - Networking 0 06-28-2004 09:20 AM
module loading problem in 2.6.3 silverline Linux - Hardware 1 04-08-2004 06:51 PM
module loading problem usr Linux - General 2 01-11-2004 10:18 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:24 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