LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-04-2010, 06:04 AM   #1
colotd
LQ Newbie
 
Registered: Jan 2009
Location: Banja Luka Bosnia and Herzegovina
Distribution: unstable
Posts: 10

Rep: Reputation: 0
Unable to install NVIDIA driver 195.36.24 after kernel upgrade


After upgrading kernel package to 2.6.32-5 NVIDIA installation gave me
ERROR:Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
installed in this system is not supported by this NVIDIA Linux graphics driver release.

Here is /var/log/nvidia-installer.log:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue May 4 11:49:38 2010
installer version: 1.0.7

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
no X server check : false
no cc version check : false
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
-> License accepted.
-> Installing NVIDIA driver version 195.36.24.
-> There appears to already be a driver installed on your system (version: 195.
36.15). As part of installing this driver (version: 195.36.24), the existin
g driver will be uninstalled. Are you sure you want to continue? ('no' will
abort installation) (Answer: Yes)
-> Performing CC sanity check with CC="/usr/bin/gcc-4.3".
-> Performing CC version check with CC="/usr/bin/gcc-4.3".
-> Kernel source path: '/lib/modules/2.6.32-5-amd64/source'
-> Kernel output path: '/lib/modules/2.6.32-5-amd64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
/scripts/modu
le-common.lds --build-id -o /tmp/selfgz3053/NVIDIA-Linux-x86_64-195.36.24-pk
g2/usr/src/nv/nvidia.ko /tmp/selfgz3053/NVIDIA-Linux-x86_64-195.36.24-pkg2/u
sr/src/nv/nvidia.o /tmp/selfgz3053/NVIDIA-Linux-x86_64-195.36.24-pkg2/usr/sr
c/nv/nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
installed in this system is not supported by this NVIDIA Linux graphics
driver release.

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 No such device
-> Kernel messages:
[ 46.366003] Bluetooth: HCI socket layer initialized
[ 46.409098] Bluetooth: L2CAP ver 2.14
[ 46.409100] Bluetooth: L2CAP socket layer initialized
[ 46.456142] Bluetooth: RFCOMM TTY layer initialized
[ 46.456146] Bluetooth: RFCOMM socket layer initialized
[ 46.456148] Bluetooth: RFCOMM ver 1.11
[ 46.457761] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 46.457763] Bluetooth: BNEP filters: protocol multicast
[ 46.476805] Bridge firewalling registered
[ 46.523095] Bluetooth: SCO (Voice Link) ver 0.6
[ 46.523097] Bluetooth: SCO socket layer initialized
[ 48.447075] sky2 eth1: enabling interface
[ 48.447554] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 48.661315] lp: driver loaded but no devices found
[ 48.671799] ppdev: user-space parallel port driver
[ 441.444378] nvidia: module license 'NVIDIA' taints kernel.
[ 441.444381] Disabling lock debugging due to kernel taint
[ 441.938713] NVRM: The NVIDIA probe routine was not called for 1
device(s).
[ 441.938716] NVRM: This can occur when a driver such as rivafb, nvidiafb
or
[ 441.938718] NVRM: rivatv was loaded and obtained ownership of the NVIDIA
[ 441.938719] NVRM: device(s).
[ 441.938721] NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel
module
[ 441.938722] NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
[ 441.938723] NVRM: support), then try loading the NVIDIA kernel module
again.
[ 441.938726] NVRM: No NVIDIA graphics adapter probed!
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.

Any ideas??????
 
Old 05-04-2010, 06:12 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Just guessing...

When you updated the kernel, did you also update the kernel headers?

I'm assuming that you are running the NVidia installer (which compiles the driver against the current kernel headers). If the headers don't match the current kernel, then things will not go well.....
 
Old 05-04-2010, 06:20 AM   #3
colotd
LQ Newbie
 
Registered: Jan 2009
Location: Banja Luka Bosnia and Herzegovina
Distribution: unstable
Posts: 10

Original Poster
Rep: Reputation: 0
Yes, full upgrade with debs....
 
Old 05-04-2010, 06:23 AM   #4
colotd
LQ Newbie
 
Registered: Jan 2009
Location: Banja Luka Bosnia and Herzegovina
Distribution: unstable
Posts: 10

Original Poster
Rep: Reputation: 0
My distro is sid and all worked excelent with old kernel 2.6.32-3 and NVIDIA 195.36.15.
 
Old 05-04-2010, 06:34 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The good news: NVidia supplies a Linux driver

The bad news: It changes constantly. I have had occassions where I could not use the latest driver with a particular kernel.

My system (Arch) supplies binaries of the NVidia driver. For the 2.6.33 kernel, they are offering nvidia 195.36.15

If that version worked for you previously, you might try it again.
 
Old 05-04-2010, 06:56 AM   #6
colotd
LQ Newbie
 
Registered: Jan 2009
Location: Banja Luka Bosnia and Herzegovina
Distribution: unstable
Posts: 10

Original Poster
Rep: Reputation: 0
I tryed and problem is steel here. I think thet is some problem with kernel....
 
Old 05-04-2010, 07:04 AM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Try using smxi.
 
Old 05-04-2010, 07:08 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I just glanced at that site and it is not obvious to me how it is relevant to installing an NVidia driver.
 
Old 05-04-2010, 02:35 PM   #9
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
Originally Posted by pixellany View Post
I just glanced at that site and it is not obvious to me how it is relevant to installing an NVidia driver.
Smxi is a console run script that will install the Nvidia driver for you,as well as many other tasks.
Very easy to use.
 
Old 05-04-2010, 11:24 PM   #10
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
195.36.24 installed just fine here using smxi. Fully upgraded Debian sid with a liquorix kernel.

System: Host craigevil Kernel 2.6.33-3.dmz.2-liquorix-686 i686 (32 bit) Distro Debian GNU/Linux squeeze/sid
CPU: Single core Intel Pentium 4 (UP) cache 1024 KB flags (lm nx sse sse2 sse3) bmips 5586.19
Clock Speeds: (1) 2793.096 MHz (2) 2793.096 MHz
Graphics: Card nVidia G96 [GeForce 9400 GT] X.Org 1.7.7 Res: 1280x1024@50.0hz
GLX Renderer GeForce 9400 GT/PCI/SSE2 GLX Version 3.2.0 NVIDIA 195.36.24 Direct Rendering Yes
 
Old 05-05-2010, 06:26 AM   #11
colotd
LQ Newbie
 
Registered: Jan 2009
Location: Banja Luka Bosnia and Herzegovina
Distribution: unstable
Posts: 10

Original Poster
Rep: Reputation: 0
Unable to install NVIDIA driver 195.36.24 after kernel upgrade- solved

Thanks to all for helping me.
It seems that problem is compiler version. My compiler version is gcc-4.4, compiler version used to build deb package of kernel 2.6.32-5 is gcc-4.3. Finally i decided to build my own deb package of kernel 2.6.33.3 using gcc-4.4. After all i install new kernel deb package (image and headers) and installation of NVIDIA driver 195.36.24 pass without any problem.
My system:sid_64 bit;kernel 2.6.33.3; NVIDIA driver 195.36.24
Intel Quad 9450;8GB RAM;
NVIDIA Quadro 3700; X.Org.1.7.7; ASUS VH242H res.:1920x1080;
Finally my system speed increase 10-15%, apps speed increase 10-20% (SALOME, ELMER, VARICAD, GMSH, SCILAB....etc...)and all work fine.
Another way is to change CC environment variable but is bug-i work. I did not try smxi because is not debian way.
 
Old 05-05-2010, 07:04 AM   #12
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
Originally Posted by colotd View Post
Thanks to all for helping me.
I did not try smxi because is not debian way.

Neither is installing using the Nvidia installer. Which btw is what smxi uses. But each to his/her own. Glad you finally got it working.
 
Old 05-06-2010, 02:51 AM   #13
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by colotd View Post
Thanks to all for helping me.
It seems that problem is compiler version. My compiler version is gcc-4.4, compiler version used to build deb package of kernel 2.6.32-5 is gcc-4.3. Finally i decided to build my own deb package of kernel 2.6.33.3 using gcc-4.4. After all i install new kernel deb package (image and headers) and installation of NVIDIA driver 195.36.24 pass without any problem.
My system:sid_64 bit;kernel 2.6.33.3; NVIDIA driver 195.36.24
Intel Quad 9450;8GB RAM;
NVIDIA Quadro 3700; X.Org.1.7.7; ASUS VH242H res.:1920x1080;
Finally my system speed increase 10-15%, apps speed increase 10-20% (SALOME, ELMER, VARICAD, GMSH, SCILAB....etc...)and all work fine.
Another way is to change CC environment variable but is bug-i work. I did not try smxi because is not debian way.
I just installed gcc-4.3 and set it as default gcc until i installed the driver. Then linked back gcc-4.4.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: NVIDIA Pushes Out 195.22 Beta Linux Driver LXer Syndicated Linux News 0 11-25-2009 10:10 AM
Nvidia driver install script: "Unable to determine the version of the kernel sources" lumix Linux - Software 9 12-18-2008 06:40 AM
Today's kernel upgrade incompatible with my nvidia driver epsilon72 Fedora 3 04-13-2007 10:26 PM
NVidia driver will not load after kernel upgrade Ptrs!OP Linux - Hardware 10 02-06-2005 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration