LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel Upgrade (https://www.linuxquestions.org/questions/linux-software-2/kernel-upgrade-10177/)

kcmoorley 12-16-2001 06:55 PM

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

isajera 12-17-2001 02:43 AM

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.

ngomong 04-20-2002 09:23 PM

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?

zmedico 04-20-2002 10:23 PM

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/

zmedico 04-20-2002 10:23 PM

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.

ngomong 04-21-2002 04:18 PM

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!


All times are GMT -5. The time now is 10:06 AM.