LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   what to do when up2date kernel is NFG (https://www.linuxquestions.org/questions/linux-software-2/what-to-do-when-up2date-kernel-is-nfg-33083/)

spooge 10-17-2002 09:39 PM

what to do when up2date kernel is NFG
 
runnin 7.3, up2date upgraded kernel, and now it wont boot X.
All i get is "x" is respawing too fast....

so how do i remove this kernel? / rpm?

thanks in advance

neo77777 10-17-2002 10:51 PM

I remmeber you were having some problem setting up NVIDIA drivers, so guess what you need to reinstall/recompile them again, if it gives you a chance to get to command prompt just remove NVIDIA rpms first and then install or recompile teh drivers again.

spooge 10-18-2002 07:09 AM

so that's all it is, huh ?
Soo bumm'd, i was seriously thinking of goin with mandrake
after this one. it was runnin so nice.

neo77777 10-18-2002 09:57 AM

Actually, I wasn't thinking clear, if you had an RPM version for a certain kernel it won't work with different kernel, so in that case your best bet is to get a source rpm or source tarball and compile the drivers yourself to suite your setup. The reason I wasn't thinking when I post was that I haven't used binary RPM's often, whenever I am trying to install something on my system I am compiling from source. Sorry for confusion.

BruceCadieux 10-18-2002 11:16 AM

You will need to build rpms from source or use the tar.gz source files.

Anytime you have Nvidia drivers installed and upgrade to a newer kernel from up2date you need to reinstall the nvidia drivers because as neo said they were compiled for a different kernel.

The next time you boot, let x go through its ritual of flashing at you when it stops, just hit the enter key, that will give you the log in prompt.

Log in as root, and type mcedit /etc/X11/XF86Config-4

You will now be able to edit your XFconfiguration.

Just comment out the changes that were needed to get the nvidia drivers going, and change "nvidia" back to "nv"

Hit F2 to save and F10 to exit, you can now reboot shutdown now -r

When it boots back up yopu will have the generic drivers again, and be able to use the GUi to do what you need to do for the new drivers.

To make a set of rpm's for the new kernel download the new GLX and kernel files in the src.rpm files.

Then for each one of them, type rpm --rebuild NVIDIA_GLX-*****.src.rpm

Of course sub the real file names in there ;)

the new rpms will be placed in /usr/src/redhat/RPMS/i386

Those are the ones that you will install, either by clicking on them or from the command line.

You will then need to change the XF86Config-4 file back to use the 'nvidia" drivers.

Reboot and all should be fine.

I am certainly no expert but this works for me, and just did it yesterday on three machines after getting the newest kernel at up2date.


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