LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2001, 06:55 PM   #1
kcmoorley
LQ Newbie
 
Registered: Dec 2001
Distribution: RedHat 7.1
Posts: 1

Rep: Reputation: 0
Kernel Upgrade


It appears I have made the Cardinal mistake of executing an rpm -U kermel.2.4.12 on my RedHat 7.1 kernel 2.4.2 system.
The system boots ok but does not load modules and modprobe says modules are not loaded, despmod complains of missing links.

I tried ln -s /lib/modules/2.4.12 /lib/modules/2.4.2 as all the modules appear to be in the new directory.

I cannot access my cd drive nor my msdos drives!

Is there any way out of theis mess other than a re-install?

Ken
 
Old 12-17-2001, 02:43 AM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
well... the soft link would definitely not help things... i'm surprised it hasn't crashed the system. first things first, get the kernel versions straight... if you're booting a 2.4.2 kernel, don't have the link set to the 2.4.12 modules. if you're using the 2.4.12, don't link to the 2.4.2 modules.

you can check your current kernel version with

uname -r

if you accidentally deleted the kernel modules, then you need to recompile the modules.
 
Old 04-20-2002, 09:23 PM   #3
ngomong
Member
 
Registered: Apr 2002
Posts: 54

Rep: Reputation: 15
Along the same lines....

I've been trying to upgrade my kernel (2.4.7-10 -> 2.4.9-31, via RPM), and when I do so my video doesn't work.
I'm using an NVIDIA card, which requires a little fiddling anyway.

I removed the NVIDIA rpm's, then tried to reinstall them... when doing so, it complains that modprobe can't find the NVidia module.

It lives in:
/lib/modules/2.4.7-10/kernel/drivers/video/
...and doesn't exist in:
/lib/modules/2.4.9-31/kernel/drivers/video/
Why doesn't the rpm install the driver in the new modules tree?
 
Old 04-20-2002, 10:23 PM   #4
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Re: Kernel Upgrade

Quote:
Originally posted by kcmoorley

Is there any way out of theis mess other than a re-install?
Maybe you can reinstall the old kernel to get you back where you started. Never use rpm -U for kernels. Go to the RedHat site and read their kernel upgrade documention:

http://www.redhat.com/support/resour...ernel-upgrade/
 
Old 04-20-2002, 10:23 PM   #5
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by ngomong

Why doesn't the rpm install the driver in the new modules tree?
Maybe the rpm only installs modules for a specific kernel version. You can try copying the modules to the new directory manually. If that doesn't work, then you probalbly need to get a different RPM or some source code.

Last edited by zmedico; 04-20-2002 at 10:32 PM.
 
Old 04-21-2002, 04:18 PM   #6
ngomong
Member
 
Registered: Apr 2002
Posts: 54

Rep: Reputation: 15
Duh, I did it again. Went back to the NVIDIA site, and they have a different driver for the new 2.4.9-31 kernel. Installed it, rebooted with new kernel... Tada!

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
Kernel Upgrade now Kernel Panic saltireboy Slackware 9 01-23-2006 11:44 PM
kernel panic after kernel upgrade flebber Debian 8 04-08-2005 07:26 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
Kernel upgrade: Unable to handle kernel paging request deviantintegral Debian 4 07-14-2004 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration