LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-19-2005, 02:44 AM   #1
euph0rix
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
insert module into non-running kernel... howto?


hi all..

i've just installed redhat 8 in my dell precision 370 workstation which bundled with SCSI HostRaid hard drive.

the current redhat 8.0 kernel (2.4.18-14) successfully detected my scsi disk with a320raid.o module.. but.. after the system upgraded to a newer kernel (2.4.20-18.8), somehow it can't detect the scsi disk anymore..

when i boot into the new kernel, this error occurs:

Code:
/lib/a320raid.o : kernel-module version mismatch
                          /lib/a320raid.o was compiled for kernel version 2.4.18-14
                          while this kernel is version 2.4.20-28.8
we can load a module into a running kernel using insmod.. but, how i should insert a module into other kernel?
 
Old 01-19-2005, 03:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
but you're not running the old kernel... I don't understand how you think you can use a kernel that.. you're just not using...

you need to recompile your raid module for the new kernel, and forget the older module.
 
Old 01-25-2005, 06:29 PM   #3
euph0rix
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
you need to recompile your raid module for the new kernel, and forget the older module.
how should i recompile my raid module for the new kernel when i'm still in old kernel?
 
  


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
compile module for running kernel maenho Linux - Software 5 06-27-2005 01:44 PM
Cisco VPN Client unable to insert kernel module cuco76 Linux - Networking 2 04-14-2005 03:36 PM
Kernel Module compilation and running imransadat Programming 3 03-04-2005 06:56 AM
failled tp insert module into kernel actteoh Linux - Hardware 2 05-07-2004 10:18 AM
Can't insert module into kernel swamysk Linux - Newbie 14 08-22-2003 05:27 PM

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

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