LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   prob with insmod (https://www.linuxquestions.org/questions/linux-software-2/prob-with-insmod-225153/)

abhay7182 09-01-2004 03:38 AM

prob with insmod
 
hi all,
i compiled my 2.4.18-14 kernel within red hat 8
compilation was fine
i did make oldconfig)
now when i try to insert modeule with insmod it gives following error
"kernel requires old insmod, but couldnt run insmod.old: no such file or directory"

what is the cause and solution?

even if someone has a good ref on the comiplation doc pls send me the link i want to undestand the underlying procedure

thanks
Abhay

Oliv' 09-01-2004 08:53 AM

Hi,

Quote:

what is the cause and solution?

No idea about the cause... because it seems that you don't touch modutils package...
A solution would be a complete and proper kernel recompilation. I mean:
Code:

make mrproper
make menuconfig
make dep
make bzImage
make modules && make modules_install

Note that the first command will erase your .config, so if you don't backup it, you'll have to redo the whole kernel config.

Oliv'

bathory 09-01-2004 09:09 AM

You have installed the new module-init-tools for 2.6.x kernels which renames insmod, rmmod etc to inmod.old, rmmod.old... used by 2.4.x kernels and somehow you lost the .old modutils.


All times are GMT -5. The time now is 04:13 PM.