PDA

View Full Version : Errors installing Nforce drivers


Mmmm
02-18-06, 09:55 AM
I've just decided to give linux a go and opted for the SUSE distribution.
All seems fine but things are running a little slow and I have a large amount of unknown devices in the device manager (as it was called in windows). They are mostly Nforce2 devices.

I decided to install the nforce drivers as this would usually (in windows) solve a problem like this.

Unfortunately I seem to keep stumbling onto problems installing the driver.

First I didn't seem to have the kernel-source installed but I eventually solved that one.

Now it seems (judging by the error message) that I don't have libc headers installed, and my googling hasn't thrown up any clues this time!

Does anyone know what I should do ?

Here's the log file if that is any use:
nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sat Feb 18 12:06:34 2006

option status:
license pre-accepted : false
expert : false
uninstall : false
driver info : false
no precompiled interface : false
no ncurses color : false
no questions : false
silent : false
Installer install prefix : /usr
kernel source path : (not specified)
net kernel install path : (not specified)
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp

Using: nvidia-installer ncurses user interface
-> Found package NVIDIA audio driver for Linux-x86
-> Found package NVIDIA network driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA audio driver for Linux-x86 (1.0-7)
NVIDIA network driver for Linux-x86 (1.0-13)
-> Starting install of NVIDIA audio driver for Linux-x86
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.8-24.19-default (geeko@buildhost) (gcc
version 3.3.4 (pre 3.3.5 20040809)) #1 Tue Nov 29 14:32:45 UTC 2005
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.8-24.19-default/source'
-> Kernel output path: '/lib/modules/2.6.8-24.19-default/build'
ERROR: You do not appear to have libc header files installed on your system.
Please install your distribution's libc development package.
ERROR: Installation of the audio driver has failed. Please see the file
'/var/log/nvidia-nforce-installer.log' for details. You may find
suggestions on fixing installation problems in the README available on
the Linux driver download page at www.nvidia.com.
-> Starting install of NVIDIA network driver for Linux-x86
-> Checking for loaded module nvnet
-> Checking for loaded module forcedeth
-> Trying to remove loaded module forcedeth
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.8-24.19-default (geeko@buildhost) (gcc
version 3.3.4 (pre 3.3.5 20040809)) #1 Tue Nov 29 14:32:45 UTC 2005
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/lib/modules/2.6.8-24.19-default/source' as
specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/lib/modules/2.6.8-24.19-default/source'
-> Using the kernel output path '/lib/modules/2.6.8-24.19-default/build' as
specified by the '--kernel-output-path' commandline option.
-> Kernel output path: '/lib/modules/2.6.8-24.19-default/build'
ERROR: You do not appear to have libc header files installed on your system.
Please install your distribution's libc development package.
ERROR: Installation of the network driver has failed. Please see the file
'/var/log/nvidia-nforce-installer.log' for details. You may find
suggestions on fixing installation problems in the README available on
the Linux driver download page at www.nvidia.com.

EDIT: I have an A7N8X motherboard, (which I see from the sticky used to cause problems, although this sticky seems quite old now) could this be part of the problem?

netllama
02-18-06, 11:33 AM
I don't know what a 'device manager' is in linux, unless you're referring to lspci output. If so, that output is generated off of the pci IDs database that ships with the OS, and can only be changed by updated/editing the PCI IDs database.

As for your driver installation problem, have you installed the glibc-devel RPM?

-Lonni

Mmmm
02-18-06, 12:58 PM
I don't know what a 'device manager' is in linux, unless you're referring to lspci output. If so, that output is generated off of the pci IDs database that ships with the OS, and can only be changed by updated/editing the PCI IDs database.

device manager, in SUSE, is called 'SUSE hardware tool' when you hover the cursor over the icon, or 'SUSEplugger' when you actually enter the program. I get the feeling it might be specific to SUSE. It just displays all the hardware detected on the system and allows you to configure it or look at the details.

As for your driver installation problem, have you installed the glibc-devel RPM?

-Lonni
Thanks...I've tried that one and now I get a new error (the log is below). Looks like I installed the wrong version or something and it doesn't match the compiled kernel.

My kernel source is definitely the same as my compiled kernel. Would a solution to this be to re-compile the kernel? or is that a bit overboard? :-D

nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sat Feb 18 14:38:57 2006

option status:
license pre-accepted : false
expert : false
uninstall : false
driver info : false
no precompiled interface : false
no ncurses color : false
no questions : false
silent : false
Installer install prefix : /usr
kernel source path : (not specified)
net kernel install path : (not specified)
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp

Using: nvidia-installer ncurses user interface
-> Found package NVIDIA audio driver for Linux-x86
-> Found package NVIDIA network driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA audio driver for Linux-x86 (1.0-7)
NVIDIA network driver for Linux-x86 (1.0-13)
-> Starting install of NVIDIA audio driver for Linux-x86
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.8-24.19-default (geeko@buildhost) (gcc
version 3.3.4 (pre 3.3.5 20040809)) #1 Tue Nov 29 14:32:45 UTC 2005
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.8-24.19-default/source'
-> Kernel output path: '/lib/modules/2.6.8-24.19-default/build'
-> Performing cc_version_check with CC="cc".
-> gcc-version-check failed:

./nvsound/main/conftest.sh: line 9: cc: command not found
Could not compile gcc-version-check.c

If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
ERROR: ./nvsound/main/conftest.sh: line 9: cc: command not found

If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer command line option.
ERROR: Installation of the audio driver has failed. Please see the file
'/var/log/nvidia-nforce-installer.log' for details. You may find
suggestions on fixing installation problems in the README available on
the Linux driver download page at www.nvidia.com.
-> Starting install of NVIDIA network driver for Linux-x86
-> Checking for loaded module nvnet
-> Checking for loaded module forcedeth
-> Trying to remove loaded module forcedeth
-> License not accepted, aborting installation of network driver.

netllama
02-18-06, 01:01 PM
I see the same error as before, that cc is not found. What is the output from the following commands:
which cc
rpm -qf `which cc`
cc -v

Thanks,
Lonni

Mmmm
02-18-06, 01:18 PM
I see the same error as before, that cc is not found. What is the output from the following commands:
which cc
rpm -qf `which cc`
cc -v

Thanks,
Lonni

martin@linux:~> which cc
martin@linux:~> rpm -qf 'which cc'
error: file which cc: No such file or directory
martin@linux:~> cc -v
bash: cc: command not found
martin@linux:~>

Is that what you meant me to do? Am i in the correct directory or doesn't that matter? Should I be root?

netllama
02-18-06, 01:58 PM
You haven't installed gcc.

-Lonni

Mmmm
02-18-06, 02:11 PM
You haven't installed gcc.
-Lonni

Heh heh... this is a voyage of discovery eh? :-D

right, now I have installed it and I get this:

linux:/home/Martin # which cc
/usr/bin/cc
linux:/home/Martin # rpm -qf 'which cc'
error: file which cc: No such file or directory
linux:/home/Martin # cc -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.4/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.4 (pre 3.3.5 20040809)
linux:/home/Martin #
Is that better? :)
rpm -qf 'which cc' still doesn't work though :S

I'll try installing the drivers again...

netllama
02-18-06, 02:26 PM
You need to use back quotes, not forward quotes in the command I provided.
this: `
not this: '

-Lonni

Mmmm
02-18-06, 02:38 PM
You need to use back quotes, not forward quotes in the command I provided.
this: `
not this: '

-Lonni

Ahhh netllama, thanks so much for your help.

It all works now as you can see below. Also, the drivers installed :D
You have stopped me going prematurely bald ;)

martin@linux:~> which cc
/usr/bin/cc
martin@linux:~> rpm -qf `which cc`
gcc-3.3.4-11
martin@linux:~> cc -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.4/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.4 (pre 3.3.5 20040809)
martin@linux:~>


Now that the drivers are installed what do you think about the original problem? As installing the drivers hasn't fixed it!

I've attached a screenshot of all the devices that seem not to be recognized. Quite a few eh? Mostly NForce devices!
Any ideas?

netllama
02-18-06, 02:42 PM
That output is generated off of the pci IDs database that ships with the OS, and can only be changed by updated/editing the PCI IDs database. You'll need to contact SuSE to address that issue, however it has no functional impact.

-Lonni

Mmmm
02-18-06, 02:50 PM
That output is generated off of the pci IDs database that ships with the OS, and can only be changed by updated/editing the PCI IDs database. You'll need to contact SuSE to address that issue, however it has no functional impact.

-Lonni

Oh, ok then, Thanks a million for all your help...I've learnt a lot (even if it is all newb stuff) :)

Makal
03-07-06, 04:05 PM
I have a problem installing NForce Drivers. when i do this (nforce-linux-x86-1_0-0310-pkg1_run) i receive an error

/NFORCE-Linux-x86-1_0-0310-pkg1_run.txt: line 19: syntax error near unexpected
'oken `{
'/NFORCE-Linux-x86-1_0-0310-pkg1_run.txt: line 19: `cecho() {

What can possibly cause such problem? I use RHEL 4, kernel: 2.6.9.5.EL, Motherboard: ASUS A8N-SLI Premium

netllama
03-07-06, 04:41 PM
I'd guess that the driver package that you downloaded is incomplete or damaged.

-Lonni

efortis
03-09-06, 01:26 AM
It might be the gcc version. The driver needs to be compiled with gcc-3.4. install it then export CC=gcc-3.4