Web Hosting Talk







View Full Version : Kernel compilation help


madhu
07-22-2004, 04:19 PM
Hi,

I have a Linux RH9 server in a **** datacenter. They don't support custom kernel. When I did the compilation myself, it gave me an error regarding a module. Here is the error message I got when I issue the command 'make install'

No module aic79xx found for kernel 2.4.26-grsec
mkinitrd failed
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/boot'
make: *** [install] Error 2

I have searched this module over net, but no luck yet. My **** datacenter said, they won't help me out and this is not their duty :angry:

Can anyone help me?

Regards,
Mathar.

Steven
07-22-2004, 04:34 PM
You cannot blame the datacenter for not doing anything about it. Odd cards like that one have issues sometimes and you need to know how to resolve them.

choon
07-22-2004, 04:47 PM
What is your output of:
lsmod

Regarding aic79xx, ask your good friend:
google (http://www.google.com.sg/search?hl=en&ie=UTF-8&q=aic79xx+linux&btnG=Search&meta=)

madhu
07-22-2004, 05:06 PM
Hi Giam,

Thanks for replying to my post. I am getting an error when I run lsmod. Here is the error message

Kernel requires old lsmod, but couldn't run lsmod.old: No such file or directory

I am not sure why this error comes.. I am newbie, please help me out.

Regards,
Mathar.

Steven
07-22-2004, 05:11 PM
madhu,

it appears your modutils are messed up, have you tried to update them?

depmod -V

rpm -qa | grep modutils

Thank you,
Steve

madhu
07-22-2004, 05:16 PM
Hi Steve,

Here is the out put

# depmod -V
module-init-tools 3.0


# rpm -qa | grep modutils
modutils-2.4.22-8

Regards,
Mathar.

Steven
07-22-2004, 05:54 PM
wget -c ftp://ftp.linuxforum.net/RPM/redhat/9/en/os/i386/RedHat/RPMS/modutils-2.4.22-8.i386.rpm
wget -c ftp://ftp.linuxforum.net/RPM/redhat/9/en/os/i386/RedHat/RPMS/modutils-devel-2.4.22-8.i386.rpm
rpm -Uvh --force modutils-2.4.22-8.i386.rpm
rpm -Uvh --force modutils-devel-2.4.22-8.i386.rpm



Looks like you tried to update to a 2.6 kernel. Anyways that should reinstall your original modutils

Zentity
07-23-2004, 03:39 AM
You might want to cd to the directory where you installed the module-init-tools too and do a 'make uninstall' to clean things up.

You seem to have uninstalled your modutils when installing the module-init-tools package (as TLG mentioned). You should read the README and installation files on backing them up if you attempt to upgrade to the 2.6 kernel again any time within the future and reinstall the module-init-tools.