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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-28-02, 10:40 PM   #1
ArgPirate
Registered User
 
Join Date: Nov 2002
Posts: 5
Default tried tried failed nvidia hell

i tried all the steps to install the rpm and they seemed to work but the nv tool says that the module isnt there. but the rpm installed whats the deealy yo?
ArgPirate is offline   Reply With Quote
Old 12-02-02, 06:42 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Which distro and version?

Did you run the NVchooser.sh script from the download page, and grab the version that it told you to?

Otherwise, what are you typing, and what's it telling you, exactly?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 12-02-02, 12:09 PM   #3
Master0ne
Registered User
 
Join Date: Dec 2002
Location: Maryland
Posts: 4
Send a message via AIM to Master0ne Send a message via Yahoo to Master0ne
Default Installing NV RPM's

sorry for the copy and paste the link is (not sure if it will break on this forum eventualy)

link is http://www.nvnews.net/vbulletin/show...5407#post45407

all the FAQ's ive read on how to install NVIDIA DRIVERS are pretty much right, but id like to add one comment for RH8.0 users, this might effect other systems aswell....


This Was Posted by STEEL1, because im lazy and dont feel like retyping everything ill just add my comments in this form /#

Step 1> Download the following from NVidia's site. (Note that the NVIDIA_kernel is the **src.rpm** rpm file and the NVIDIA_GLX is a **rpm**):
NVIDIA_kernel-1.0-3123.src.rpm
and
NVIDIA_GLX-1.0-3123.i386.rpm
/# i used NVIDIA_GLX-1.0-3123.src.rpm

Step 2> Make sure you have the kernel headers installed along with all other dev tools - these are needed along with other dependencies. The best way to ensure that you have all dependencies is to just go start menu > system settings > packages > and in the development section choose the Kernel development packge and install the whole thing.

Step 3> In a gnome terminal window do a "rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm" to create drivers for the RH 8.0 kernel. (This will create the binary RPM in "/usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-3123.i386.rpm")
/# i did everything in console without X running
/# for my i686 archetecture i had to use these lines
/# rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm --target=i686
/#(This will create the binary RPM in "/usr/src/redhat/RPMS/i686/NVIDIA_kernel-1.0-3123.i386.rpm")
/# i also had to rpmbuild --rebuild NVIDIA_GLX-1.0-3123.src.rpm --target=i686
/# this will also be in /usr/src/redhat/RPMS/i686/
Confirm this.

Note: "rpm --rebuild" does not work with newer versions of rpm so use "rpmbuild --rebuild".
Also do the rebuild in "X" in a gnome terminal. I dont know why but I had problems doing the rebuild and especially installing the kernel on command line. when I did this in a Gnome terminal in a runing Xserver it works fine. So do it in a gnome terminal.

STEP 4> Installed this new (NVIDIA_kernel-1.0-3123.i386.rpm)
"rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-3123.i386.rpm"
/# i had to change filenames for my archeture NVIDIA_kernel-1.0-3123.i686.rpm

Note: It is important that you do this step also in a gnome terminal in a xserver session and not on command line. When doing through a command line the rpm install hanged and did not complete, I had to restart my computer. (I dont know why). But it works great in a terminal window in gnome and completes fine.
The rpm after installation may complain that the nvidia_kernel is export tainted. This is OK ignore it. To read more on export tained and what it means:
http://www.tux.org/lkml/#export-tainted

/# I did everything in CONSOLE (because my drivers wernt working ;-) seemd to work fine in console...)

Step 5>Now log out of gnome and go to the command line. Install the GLX (NVIDIA_GLX-1.0-3123.i386.rpm)
"rpm -ivh NVIDIA_GLX-1.0-3123.i386.rpm"
/# i had to change filenames for my archeture NVIDIA_GLX-1.0-3123.i686.rpm

Note: I did this on the command line outside of gnome and it works so just do it guys the same way :-)

Step 6> Edit the /etc/X11/XF86Config file and make a backup copy of the original:

- Remove the Load "dri" line.
/# i did not find this line Load "dri" line
- Change the Driver line from "nv" to "nvidia"
/#this is IMPORTNANT

Happy UT2003 playing.......
I am so so happy. Hope this helps you guys. Its working yeah !!!
Master0ne is offline   Reply With Quote
Old 12-02-02, 11:42 PM   #4
ArgPirate
Registered User
 
Join Date: Nov 2002
Posts: 5
Default

Bam i figured out what it is. I tried to build from the tarball and it tells me.../usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
make: *** [nv.o] Error 1
which means i dont have the kernal source headers. just bins i guess. so i just need to install the kernal src. how would i go about doing that?
redhat 7.3 Geforce 256 i have the right rpms/tarballlllllssss.
ArgPirate is offline   Reply With Quote
Old 12-03-02, 08:17 AM   #5
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

You do it by seeing what uname -r tells you, then installing the kernel-source-<output of uname -r> package, probably off your distro CDs or off RHN if that's where you updated your kernel from (if you did indeed update your kernel).

After that, you look around in the /usr/src/linux/configs directory for a config file that matches your hardware, and copy it to /usr/src/linux/.config. Then go back to /usr/src/linux, and run make mrproper oldconfig dep and try the NVIDIA_kernel again.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 12-03-02, 07:55 PM   #6
ArgPirate
Registered User
 
Join Date: Nov 2002
Posts: 5
Default

umm i used kpackage to unpack the src but looks like it just installed in /lib/modules/ what else do ineed to do there is nothing in /usr/src/ at all
ArgPirate is offline   Reply With Quote
Old 12-03-02, 10:31 PM   #7
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Which files did it put into /lib/modules?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 12-04-02, 05:43 PM   #8
ArgPirate
Registered User
 
Join Date: Nov 2002
Posts: 5
Default

it installed....2.4.18-3 and in there is....
build modules.dep modules.isapnpmap modules.pnpbiosmap
kernel modules.generic_string modules.parportmap modules.usbmap
misc modules.ieee1394map modules.pcimap pcmcia

there is more in the varios dirs of course now the thing is is that nvidia wants that build and the build points to /usr/src/linux-2.4.18-3 which does not exsit. also there is a 2.4.18-10 in the modules dir with only only actual file NVdriver. dont know how it got there. tried to place it in the 2.4.18-3 dir and it didnt help. suprise suprise. this is stumping me. but im not to quick so...
ArgPirate is offline   Reply With Quote

Old 12-04-02, 06:16 PM   #9
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

OK. You did not install kernel-source if the build symlink doesn't point to anywhere valid.

However, the reason the NVdriver is in 2.4.18-10 is because either you installed the 2.4.18-10-specific RPM (my guess) or you were running 2.4.18-10 when you built the .tar.gz driver.

However, you seem to be (though I'm not positive) running 2.4.18-3.

So. Start over.

What does uname -r tell you? You need to install that version RPM if you install from RPMs. If you don't install from RPMs, you will need that version of kernel-source installed (which means you need a /usr/src/linux-<that version> directory).

Actually, what does running the NVchooser script tell you? Download it from the 3123 driver download page and run it with sh NVchooser.sh.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 12-05-02, 10:35 PM   #10
ArgPirate
Registered User
 
Join Date: Nov 2002
Posts: 5
Default

hrrm i fixed it upgraded to rehat 8.0 and bam it worked...cool thanks.
ArgPirate 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
NVIDIA Showcases GPU Breakthroughs at IBC 2012 News Archived News Items 0 09-07-12 10:10 AM
Failed to initialize the NVIDIA GPU at PCI:1:0:0 Please. Linux_Fan NVIDIA Linux 0 08-22-12 03:24 AM
The Nvidia Forums Are Still Not Available, Finally We Know Why News Archived News Items 0 07-14-12 05:10 AM
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM

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


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