LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   insert module into non-running kernel... howto? (https://www.linuxquestions.org/questions/linux-newbie-8/insert-module-into-non-running-kernel-howto-279612/)

euph0rix 01-19-2005 02:44 AM

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?

acid_kewpie 01-19-2005 03:09 AM

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... :confused:

you need to recompile your raid module for the new kernel, and forget the older module.

euph0rix 01-25-2005 06:29 PM

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? :Pengy:


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