LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-17-2002, 10:39 PM   #1
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
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
 
Old 10-17-2002, 11:51 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 10-18-2002, 08:09 AM   #3
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
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.
 
Old 10-18-2002, 10:57 AM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 10-18-2002, 12:16 PM   #5
BruceCadieux
Member
 
Registered: Apr 2002
Location: Wales MA.
Distribution: openSuSE 11.1
Posts: 409

Rep: Reputation: 32
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.
 
  


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
should i update kernel and kernel utils with up2date? cd1680 Fedora 2 03-13-2005 12:56 PM
New kernel with up2date herc Linux - Security 6 12-04-2003 09:48 AM
RH9 up2date and Kernel Awatto Linux - Newbie 3 08-22-2003 01:21 PM
Dual Boot Mandrake 9.0/9.1 & W2k--Opera and Dreamweaver NFG DaveyJones Linux - Distributions 3 08-08-2003 04:21 PM
up2date kernel? Nothsa Linux - Software 1 05-06-2003 08:21 PM

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

All times are GMT -5. The time now is 10:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration