Quote:
Originally posted by kiltie
Now you have me confused. The download page (www.nvidia.com/object/linux_nforce_1.0-0261) only has rpm's on it. I can't see any mention of a self-installer.
And what is gcc?
Sorry to keep on asking these questions but I'm starting to get a bit disillusioned.
|
You have the wrong package you want the linux_nforce_1.0-0261.tar.gz available on the page you mention. Then according to the instructions on this
page in the
Tar File Installation section you want to from the directory you downloaded or moved the file to:
Code:
example% tar -xvzf nforce.tgz
example% cd nforce
example% make
example% su
Password: ******
example# make install
Then the drivers will be compiled and installed. You will want to check which gcc compiled your kernel to do this
dmesg | less in a console window will give you output similar to this:
Code:
Linux version 2.4.22.031019 (root@HappyTux) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Sun Oct 19 23:10:17 ADT
As the first line this tells me that my kernel version is 2.4.22.031019 compiled with gcc 2.95.4 yesterday evening. You should use what ever version of gcc compiled the kernel you are using and it most likely be the same as mine so check the symbolic link with
ls -l /usr/bin/gcc and you should see this:
Code:
[11:33 PM Mon Oct 20: stephen @ ~]
>$ ls -l /usr/bin/gcc
lrwxrwxrwx 1 root root 8 2003-09-01 02:24 /usr/bin/gcc -> gcc-2.95
If it looks like this then you can just compile otherwise check to see if gcc-2.95 is installed with
ls /usr/bin/gcc-2.95 if it is there then you would before you start compiling the drivers
export CC=/usr/bin/gcc-2.95 to set the compiler for the shell you are in to gcc-2.95 then compile. If gcc-2.95 is not installed see if you have a version available with apt:
As you can see you have to have stable sources to get 2.95 so you would
apt-get install gcc/stable to install the version you would need.
In the nvidia page I linked above it also tells you in the
What the Package Does section that when using the tar file to install it does not make any changes to the configuration files so you would have to edit the file
/etc/modutils/aliases and add the required lines for the hardware to work you should add lines similar to these to the bottom of the file:
Code:
## Added by me for Nvidia netcard
alias eth0 nvnet
## Added by me for Nvidia audio
alias sound-slot-0 nvaudio
## Added by me for Nvidia USB
alias usb-interface usb-ohci
You would only add the lines for the devices that you will be using and after having changed the file and saved it you should run
update-modules to update the modules.conf so the changes will be seen on the next re-boot these steps would be done as root.
Your Nvidia devices should work on the next re-boot, hopefully I have not left anything out or made the directions too confusing.