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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-30-06, 09:07 PM   #1
fatsheep
Registered User
 
Join Date: Jul 2006
Posts: 15
Default Installing Drivers On Ubuntu

I already have the Nvidia drivers installed (installed them with automatix) but I just realized that they are very out of date so I went to the Nvidia website to install the latest ones. When I try to install the AMD64 NVIDIA drivers I get this error message:

Quote:
ERROR: An NVIDIA kernel module 'nvidia' appears to already be loaded in your
kernel. This may be because it is in use (for example, by the X
server), but may also happen if your kernel was configured without
support for module unloading. Please be sure you have exited X
before attempting to upgrade your driver. If you have exited X, know
that your kernel supports module unloading, and still receive this
message, then an error may have occured that has corrupted the NVIDIA
kernel module's usage count; the simplest remedy is to reboot your
computer.
Followed by this error message:

Quote:
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-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.
Here's the contents of /var/log/nvidia-installer.log:

Quote:
creation time: Sat Sep 30 20:45:18 2006

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
ERROR: An NVIDIA kernel module 'nvidia' appears to already be loaded in your
kernel. This may be because it is in use (for example, by the X
server), but may also happen if your kernel was configured without
support for module unloading. Please be sure you have exited X before
attempting to upgrade your driver. If you have exited X, know that your
kernel supports module unloading, and still receive this message, then
an error may have occured that has corrupted the NVIDIA kernel module's
usage count; the simplest remedy is to reboot your computer.
Help?
fatsheep is offline   Reply With Quote
Old 10-01-06, 06:57 AM   #2
OnyxG8
Registered User
 
Join Date: Mar 2005
Posts: 4
Default Re: Installing Drivers On Ubuntu

The first message is pretty accurate: just make sure you don't have an X server running. Close your session, use Ctrl+Alt+F1, and run
Code:
sudo /etc/init.d/gdm stop
sudo killall X
to be really sure.
OnyxG8 is offline   Reply With Quote
Old 10-01-06, 12:56 PM   #3
fatsheep
Registered User
 
Join Date: Jul 2006
Posts: 15
Default Re: Installing Drivers On Ubuntu

EDIT: Nevermind I installed with the Ubuntu wiki directions:

http://www.linuxforums.org/forum/ubu...tml#post376597

Quote:
Originally Posted by OnyxG8
The first message is pretty accurate: just make sure you don't have an X server running. Close your session, use Ctrl+Alt+F1, and run
Code:
sudo /etc/init.d/gdm stop
sudo killall X
to be really sure.
I logged off, pushed Ctrl+Alt+F1, ran those commands and then ran the command to start the installer:

Quote:
sudo ./NVIDIA-Linux-x86_64-1.0-8774-pkg2.run
I start getting error messages again:

Quote:
No precompiled kernel interface to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site (ftp://download.nvidia.com)?
(I clicked "YES")

Quote:
No matching precompiled kernel was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel.
("OK")

Quote:
ERROR: Unable to find the kernel source tree for currently running kernel. Please make sure you7 have properly installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure that you have the 'kernel-source' rpm installed. If you know the correct kernel source files are installed you may specify the kernel source path with the '--kernel-source-path' command line option.
("OK")

Quote:
ERROR: Installation has failed. Please see the file 'var/log/nvidia-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.
("OK")

fatsheep is offline   Reply With Quote
Old 10-02-06, 03:05 AM   #4
Clontarf_X
Registered User
 
Join Date: Aug 2004
Posts: 8
Default Re: Installing Drivers On Ubuntu

Quote:
Originally Posted by fatsheep
ERROR: Unable to find the kernel source tree for currently running kernel. Please make sure you7 have properly installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure that you have the 'kernel-source' rpm installed. If you know the correct kernel source files are installed you may specify the kernel source path with the '--kernel-source-path' command line option.
apt-get install linux-kernel-headers nvidia-kernel*

cd /usr/src

ln -s /usr/src/linux-$(uname -r)/ linux

Then try installing it again the output of uname -r might be different to your actual installed kernel, so consult your documentation

Anything else feel free to give me a yell.

Last edited by Clontarf_X; 10-02-06 at 05:37 AM.
Clontarf_X 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
monitor not recognised after installing nvidia drivers Horaciusl NVIDIA Linux 3 08-10-12 10:59 PM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Installing nForce drivers on Debian 3.0 Doink NVIDIA Linux 4 09-14-02 08:34 PM
Closing Xwindows, RH73, for installing nV drivers redigjohn NVIDIA Linux 1 09-06-02 11:26 AM
Nvidia Stereo Drivers Soudontsay NVIDIA Windows Graphics Drivers 2 08-26-02 10:48 AM

All times are GMT -5. The time now is 12:43 PM.


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