Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-22-02, 02:05 PM   #1
JakeOne
Registered User
 
Join Date: Dec 2002
Posts: 4
Default Help: Cant start X under RH8 New kernel

Hi,

I recently got the new kernel for redhat8, and right now I can only boot the first kernel that I am running now. I already compiled the Nvidia rpms on the new kernel but it doesnt seem to work. Even with the current XF86config file I am using now. I am somewhat of a n00b, so anyhelp would be appreciated.

Regards,
Jake
JakeOne is offline   Reply With Quote
Old 12-22-02, 08:46 PM   #2
DaMaxx
GeForce4ti4200
 
DaMaxx's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 23
Default

If you can get to terminal while running the new kernel. do a:

rpmbuild --rebuild NVIDIA_kernel...
rpmbuild --rebuild NVIDIA_GLX...

and of course

rpm -Uvh /usr/src/NVIDIA_kernel...
rpm -Uvh /usr/src/NVIDIA_GLX...

You may need to add a --force to the rpm command to force the new drivers in.

Or did you do like i did and have it load GDM(Graphical Login) at start. and all it does is try and try to restart X. I ended up needing to log in remotely with ssh to fix it.

I dont know why but if you rebuild your nvidia drivers for the previous kernel. It doesnt work when you update to a newer kernel without rebuilding the nvidia drivers again.
DaMaxx is offline   Reply With Quote
Old 12-23-02, 12:52 AM   #3
JakeOne
Registered User
 
Join Date: Dec 2002
Posts: 4
Default

Gah that didn't seem to work . Here is what happened...

when running the kernel rpm:

I got some couldn't install nvidia.o message

then when running the GLX rpm:

warning!!!
libGL.so.1.0-4191
conflicting with a MESA rpm
or stale package and has been renamed to avoid conflicting with this package.

I think this is because when I first installed the drivers on the old kernel there was no RH8 rpms. So I had to install the source files. Now I am using the regular rpms. So how would I go about getting the regular rpms that were ment for RH8 to work with the new kernel. Or would I have to rebuild the sources?

--jake
JakeOne is offline   Reply With Quote
Old 12-23-02, 04:31 AM   #4
Wolfman [TWP]
Geforce 8800 GTS 512
 
Join Date: Nov 2002
Location: Australia
Posts: 396
Default

You have to rebuild them like DaMAxx mentioned above..

Although I would also add that I do the following before I install the rebuilt drivers.

rpm -e NVIDIA_GLX
rpm -e NVIDIA_kernel

Then reinstall the new drivers..
Wolfman [TWP] is offline   Reply With Quote
Old 12-23-02, 12:17 PM   #5
DaMaxx
GeForce4ti4200
 
DaMaxx's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 23
Default

One should always rebuild the source whenever possible. It seems to be a rule of thumb in the linux world. Getting the premade rpm's is for lazy people. I believe that rebuilding rpms for your particular system is more stable and reliable.

Anyways I wouldnt worry to much about the libGL error. I think i even got that one. also you should try and use the drivers before version 4191. I have noticed extremely slow 2D performance in X, using 4191.
DaMaxx is offline   Reply With Quote
Old 12-23-02, 02:48 PM   #6
JakeOne
Registered User
 
Join Date: Dec 2002
Posts: 4
Default

SOB... I have rebuilt the source files several times, and no matter what they fail to install. Heres what happened:

/lib/modules/2.4.18-18.8.0/modules.dep is not an ELF file

nvidia.o failed to install

then i do startx and i get:

(0) Nvidia failed to load nvidia module or something.

I can rebuild them easily on the old kernel, but the new kernel is beeing a bitch. Someone help!

Regards,
Jake

PS why is EVERYTHING on linux a pain in the ass to install
JakeOne is offline   Reply With Quote
Old 12-23-02, 04:32 PM   #7
mikep
Registered User
 
Join Date: Dec 2002
Location: Montreal, Canada
Posts: 4
Default New Kernel

Well first let me say that you should not have updated the new kernel. If you looked at what the update was for, it was very unlikely that you needed it.

The easiest thing to do at this point is simply have grub boot from your old kernel. The problem is that you now have kernel *.19 and the rpm's were made for kernel *.18

so go to /root/grub/grub.conf

the default is probably 0 [default=0], for the first entry in it change that to a 1 and reboot.

You will always loose any kernel mods that you make. NVIDIA, ntfs support etc when updating the kernel. That is why it is not selected as a default in up2date.

So now wait until you see the rpm's for *.19 and them you can uninstall NVIDIA_* and reinstall in under the new kernel.

There are other ways to do this... But from what I'h hearing this is probably the best solution for you.

Mike
mikep is offline   Reply With Quote
Old 12-23-02, 05:02 PM   #8
JakeOne
Registered User
 
Join Date: Dec 2002
Posts: 4
Default

No.. I am currently on the first REDHAT kernel. And I was trying to update to 18, and it isn't working. So what should I do? Never update .

this sucks,
Jake
JakeOne is offline   Reply With Quote

Old 12-23-02, 05:19 PM   #9
mikep
Registered User
 
Join Date: Dec 2002
Location: Montreal, Canada
Posts: 4
Default

Well if you just want to boot into x, most likely all you need to do is change the driver in your XF86Config to "nv" instead of "nvidia".

Then unistall the old NVIDIA_* pakages.

Go to the nvidia site and get the .18 pakages. Reinstall those.

The you can change back the driver to "nvidia"

That should do it.

As for upgrading the kernel... of course upgrade when you need to. But just be prepared for what your are doing. If you've modified the kernel, dont expect those modules to remain in there afer upgrading.

Yes it is a pain in some ways, but I have had many pains in windows also.

And I wont even get to what it was like before packages were here. Imagine downloading the sources, compiling object files, linking to kernel config, recompiling kernel, installing new kernel etc. That's what it was like not so long ago.

Personally I find up2date and packages amazing. I just installed Linux for the fist time in about 3-4 years. I use to have a few linux boxes and alot of Suns and SGIs. I was extremely surprised on how easy it has become.

Cheers,
Mike
mikep is offline   Reply With Quote
Old 12-24-02, 06:21 AM   #10
Wolfman [TWP]
Geforce 8800 GTS 512
 
Join Date: Nov 2002
Location: Australia
Posts: 396
Default

Quote:
Originally posted by JakeOne
No.. I am currently on the first REDHAT kernel. And I was trying to update to 18, and it isn't working. So what should I do? Never update .

this sucks,
Jake
If your using the original RH kernel, then I do recommend you update it, as it fixes some security issues. If your getting them by downloading them from the RH site manually, then follow the exact proceedure for installing them. (read the info on that site)

Using their Up2date utility is a much better way to do that. (I have and there have been no problems so far. And I've been using that utility for 2 or more years now..)

Also make sure that you also install the kernel source for that version and the Lib*. and development files that are required by most programs that need to be recompiled.

(I did that from the original clean install, so when I use up2date, it will automatically download those updates as well... Etc)

Based on what I mentioned above, I have had no problems in recompiling these drivers or any other programs. (Unless it asks for dependancies)
Wolfman [TWP] is offline   Reply With Quote
Old 12-24-02, 12:05 PM   #11
DaMaxx
GeForce4ti4200
 
DaMaxx's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 23
Default

I agree with Wolfman. If you are still trying to update your kernel, the best way to do it is with up2date. I have been using up2date since redhat 7.1 and have never had a problem doing an update to a kernel or any other package.
DaMaxx is offline   Reply With Quote
Old 12-24-02, 12:20 PM   #12
mikep
Registered User
 
Join Date: Dec 2002
Location: Montreal, Canada
Posts: 4
Default

Yes, but that's what he did do and he had problems. If you only install packages that RH supports you will not have a problem. But as soon as you do install pakages that they do not support, or make mods etc, you will have a problem. I also say stick to up2date, however keep around the packages that are not RH supported because you will have to reinstall them if an update ever crushes that package.

In this case I'm imaging that he installed the NVIDIA drivers packages eraly on. When he updated his kernel, he removed the links to the objects which the NVIDIA packages created. So know he needs to re-create those links in the kernel by reinstalling the NVIDIA packages for the appropriate kernel version.

I would simply do a rmp -e for NVDIA_kernel and NVDIA_GLX

There were bugs with the update of GLX. So you must uninstall and not update.


Then reinstall the new .18 packages.

Got it?

Mike
mikep is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
302.17 nvidiaXineramaInfoOverride not working properly hlandgar NVIDIA Linux 11 01-21-13 08:53 AM
[BUG] nvidia crashes kernel with 'Xid 13' and attempted to yield the CPU while atomic rockob NVIDIA Linux 36 09-26-12 07:48 AM
upgrade to xorg server 1.13 damaged Geforce 7300 GT KDE NVIDIA Linux 2 09-07-12 08:04 AM
Fatal upgrade: from bad (8800 GTS) to worse 9GTX 560 Ti) ssnyder NVIDIA Linux 1 07-01-12 08:14 PM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM

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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.