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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-18-02, 02:30 PM   #1
deputyjim
Registered User
 
Join Date: Nov 2002
Posts: 4
Default kernel recompiling breaks drivers...

I installed the current 3123 drivers onto my Toshiba laptop, which has a GeForce 4. Didn't have much of a problem, although I had to do a little tweaking. However, I wanted to upgrade my kernel to address laptop functionality and when I tried to load the new kernel, the drivers no longer worked (couldn't startx (unable to locate NVdriver - no devs in /dev, but reinstalling didn't put them there). I tried reinstalling, modprobe, depmod, all to no avail. Has anyone gone through this process successfully and if so, how have you done it? I'd really like to get my new kernel working. Thanks in advance for the help.

Jim
deputyjim is offline   Reply With Quote
Old 11-18-02, 05:36 PM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Every different kernel that you use has its own module directory. This is because modules built for one kernel version will not work under any other kernel version.

You're installing from RPMs, right? If so, you can't. If you use a non-distro kernel, or an updated kernel that doesn't have an RPM built specifically for it, then you have to build from source. The RPM installation will put the NVdriver kernel module file in /lib/modules/<your old kernel version>/kernel/drivers/video, not in /lib/modules/<your current kernel version>/kernel/drivers/video, which is where it should go. Building from source fixes this problem.

How did you upgrade your kernel? From source, or via something like up2date? What distro & version?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 11-18-02, 09:53 PM   #3
deputyjim
Registered User
 
Join Date: Nov 2002
Posts: 4
Default

I downloaded the laptop-modified (ACPI-enabled) kernel from mandrake's web site. They have an updated kernel that is compiled as an rpm. Side note: I tried compiling another kernel yesterday (I tried to build the module into my existing kernel via a patch) and, although I was successful, it broke my video driver anyway. So what I'm trying to figure out is how to reinstall the NV drivers to account for the new kernel. I've kinda given up for now unless I get some help or stumble across some other information.

If I read your email correctly, I have to recompile the video drivers? I originally got them as .src.rpm, then I --rebuild them into .rpm, then rpm -ivh. Do you mean I need to do that whole thing again while booted into my new kernel? Your help is much appreciated.

Jim
deputyjim is offline   Reply With Quote
Old 11-19-02, 08:24 AM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Yes, you have to do all that again. However, you will have to rpm -e the old packages (which are probably named NVIDIA_kernel and NVIDIA_GLX -- no version, no .i386, no .rpm) before you install the new ones.

If you were to go with the .tar.gz version, you wouldn't have to do that, but whatever.
__________________
Registered Linux User #219692
bwkaz 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
[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
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
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 06:52 AM.


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