Koozali.org: home of the SME Server

Installing kernel

Johan

Installing kernel
« on: June 16, 2003, 09:07:32 PM »
Hello, when i install the "kernel-2.4.*.i686.rpm" provided by the e-smith cdrom.
I will get this messages after
"rpm -Uvh --replacepkgs kernel-2.4.20-18.7.i686.rpm" :

http://home.wanadoo.nl/makesyouwanna.dance/nohup.out
(this happens both for e-smith 5.6 en 6.0beta1. with the provided rpms on cd)

i am also experiencing these depmod errors with a kernel from kernel.org. after "makes modules_install".
( make dep, make bzImage and make modules is fine"

Why do i get these messages, is it normal? or am i doing something wrong?

any suggestions are welcome.

Charlie Brady

Re: Installing kernel
« Reply #1 on: June 16, 2003, 09:45:17 PM »
Johan wrote:
 
> Hello, when i install the "kernel-2.4.*.i686.rpm" provided by
> the e-smith cdrom.
> I will get this messages after
> "rpm -Uvh --replacepkgs kernel-2.4.20-18.7.i686.rpm" :
>
> http://home.wanadoo.nl/makesyouwanna.dance/nohup.out

You can ignore those warnings - they indicate that the new modules you are installing are not compatible with the currently running kernel - but you knew that already.

If you really want to avoid them, do:

mv /etc/modules.conf /etc/modules.conf.save
rpm -iv kernel-2.4.20-18.7.i686.rpm
mv /etc/modules.conf.save /etc/modules.conf

Or you could do:

rpm -iv --noscripts kernel-2.4.20-18.7.i686.rpm

and you will then have to edit lilo.conf yourself, possibly after making an initrd file.

> i am also experiencing these depmod errors with a kernel from
> kernel.org. after "makes modules_install".

I wouldn't recommend anyone try to build a kernel, especially one not from RedHat. Unless you are a kernel developer, just don't bother.

Charlie

Anonymous

Re: Installing kernel
« Reply #2 on: June 16, 2003, 09:46:48 PM »
This is because depmod is being run against a different kernel.  If you reboot into that kernel and run 'depmod -a' it should resolve these errors.

johan

Re: Installing kernel
« Reply #3 on: June 16, 2003, 11:48:44 PM »
depmod -a is not helping much i am afraid.