-   Red Hat (
-   -   modules problem after upgrading redhat 8.0 kernel with rpm (

aircom 09-16-2003 03:43 PM

modules problem after upgrading redhat 8.0 kernel with rpm

I installed the new kernel 2.4.20-20.8 with rpm. I reboot and the modules can't be loaded because it tries to find the old modules 2.4.18-xxxx (says "can't open dependencies file /lib/mofules/2.4.18-24.8.0/modules.dep").
I guess their is a missing link somewhere ... and I'm surprised the rpm doesn't take care of that.
I also noticed that uname -a gives me the old version 2.4.18. But in my /boot folder I only have 2.4.20 files now.
I use GRUB to boot and I saw it has been correctly updated to point to 2.4.20.

Thanks for your help

mrhyde 09-16-2003 04:02 PM

Hi can you print the contents of /boot/grub/grub.conf

aircom 09-16-2003 04:21 PM


here is the content of this file:

title Red Hat Linux (2.4.20-20.8)
kernel /vmlinuz-2.4.20-20.8 ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.20-20.8.img

I'm completely lost. /proc/version equals the old one (2.4.18). Form where does it take it ? That's why uname - a gives me also 2.4.18.

Thanks for your help

aircom 09-16-2003 05:05 PM

I realize now that I didn't install kernel-BOOT.
Could it be the cause ? But now, because of the mess, I can't access the network and can't mount the cdrom. So how could I put external files on the computer ?

Thank you

mrhyde 09-22-2003 09:20 AM

Sorry for the delay getting back to you, your system is loading the wrong kernel image, can you list the contents of the boot directory and the results of this command " rpm -qa | grep kernel ", your " grub.conf " file is correct, it could be possible that the image is not available. Try the full path to the image in the grub.conf file eg. " kernel /boot/vmlinuz-2.* "

All times are GMT -5. The time now is 01:36 AM.