LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-16-2003, 02:43 PM   #1
aircom
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
modules problem after upgrading redhat 8.0 kernel with rpm


Hi,

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
 
Old 09-16-2003, 03:02 PM   #2
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
Hi can you print the contents of /boot/grub/grub.conf
 
Old 09-16-2003, 03:21 PM   #3
aircom
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

here is the content of this file:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-20.8)
root(hd0,0)
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
 
Old 09-16-2003, 04:05 PM   #4
aircom
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 09-22-2003, 08:20 AM   #5
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
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.* "

Last edited by mrhyde; 09-22-2003 at 08:23 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I know what modules to enable when I am upgrading my kernel on suse? abefroman SUSE / openSUSE 1 06-14-2005 07:54 PM
Can I use old modules when upgrading to kernel to 2.6.7 ? td0l2 Linux - General 0 07-06-2004 09:38 PM
modules problem after upgrading redhat 8.0 kernel with rpm aircom LinuxQuestions.org Member Success Stories 3 09-16-2003 05:23 PM
modules problem after upgrading redhat 8.0 kernel with rpm aircom Linux - Newbie 1 09-16-2003 04:58 PM
upgrading redhat 7.1 to 7.2 by rpm JustinHoMi Linux - Software 11 02-26-2002 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration