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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-15-12, 03:21 PM   #1
mahashakti89
Registered User
 
Join Date: Sep 2009
Posts: 14
Default Installing last nvidia-driver on 3.3.0-rc7

Hi,

I tried to install the last nvidia-driver - 295.20 - on Debian Sid , git kernel 3.3.0-rc7, but it fails , the driver can't find the kernel source. I use the right option --kernel-source-path= ...
in this case --kernel-source-path=/linux where the git kernel source is located, but it doesn't work .... And I am stuck ...

From the nvidia-installer log :

Using: nvidia-installer ncurses user interface
-> License accepted by command line option.
-> Installing NVIDIA driver version 295.20.
-> There appears to already be a driver installed on your system (version: 295.20). As part of installing this driver (version: 295.20), the existing driver will be uninstalled. Are you sure you want to continue? ('no' will abort installation) (Answer: Yes)
-> Not probing for precompiled kernel interfaces.
-> Performing CC sanity check with CC="cc".
-> Using the kernel source path '/home/claude/Kernel/linux-2.6/' as specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/home/claude/Kernel/linux-2.6/'
-> Kernel output path: '/home/claude/Kernel/linux-2.6/'
ERROR: 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 equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details.


Regards

mahashakti89
mahashakti89 is offline   Reply With Quote
Old 03-15-12, 04:33 PM   #2
Gusar
Registered User
 
Join Date: Apr 2006
Posts: 277
Default Re: Installing last nvidia-driver on 3.3.0-rc7

http://www.nvnews.net/vbulletin/showthread.php?t=173612
Gusar is offline   Reply With Quote
Old 03-16-12, 12:54 AM   #3
sandipt
NVIDIA Corporation
 
sandipt's Avatar
 
Join Date: Dec 2010
Posts: 260
Default Re: Installing last nvidia-driver on 3.3.0-rc7

This issue got fixed and available in next 295 driver.
sandipt is offline   Reply With Quote
Old 03-16-12, 10:31 AM   #4
anemos3
BT5 R2 ubuntu10.04 64bit
 
Join Date: Mar 2012
Posts: 1
Default Re: Installing last nvidia-driver on 3.3.0-rc7

i have same issue on BT5 r2 which has 3.2.6 kernel on ubuntu 10.04...only solution right now i found (with optimus nvidia & intel graphics) is download driver from source http://ubuntuforums.org/showthread.php?t=1891025 try mrSpike's commands and if u have optimus GPU u can install bumblebee-nvidia...this wont solve any problems if u want to overlock your card or use nvidia-settings!!this is an Nvidia-Linux problem!
Be sure to uninstall first the driver Nvidia....295.20.run --uninstall
then run the commands from the link...see what happens gl!
anemos3 is offline   Reply With Quote
Old 03-16-12, 12:55 PM   #5
mahashakti89
Registered User
 
Join Date: Sep 2009
Posts: 14
Default Re: Installing last nvidia-driver on 3.3.0-rc7

Quote:
Originally Posted by sandipt View Post
This issue got fixed and available in next 295 driver.
O.K. , I am waiting ..!

Regards

mahashakti89
mahashakti89 is offline   Reply With Quote
Old 03-20-12, 12:29 PM   #6
snaboofypop
Registered User
 
Join Date: Aug 2003
Posts: 29
Default Re: Installing last nvidia-driver on 3.3.0-rc7

Hi. I'm having the same problem, except that it isn't for the *unstable* kernel 3.3.0-rc7, its for the *stable* kernel 3.3.0. I have looked all over NVIDIA's site for the new driver, and it appears to be missing. I look forward to seeing the new driver for the latest stable Linux kernel sometime later today. I know that NVIDIA does not keep up with unstable Linux kernels, they only maintain drivers for stable Linux kernels, like the one that came out 42 hours ago.
snaboofypop is offline   Reply With Quote
Old 03-20-12, 03:48 PM   #7
__jata__
Registered User
 
Join Date: Oct 2010
Posts: 12
Default Re: Installing last nvidia-driver on 3.3.0-rc7

Quote:
Originally Posted by snaboofypop View Post
Hi. I'm having the same problem, except that it isn't for the *unstable* kernel 3.3.0-rc7, its for the *stable* kernel 3.3.0. I have looked all over NVIDIA's site for the new driver, and it appears to be missing. I look forward to seeing the new driver for the latest stable Linux kernel sometime later today. I know that NVIDIA does not keep up with unstable Linux kernels, they only maintain drivers for stable Linux kernels, like the one that came out 42 hours ago.
The same story/problem here with the 3.3.0-gentoo kernel, which is considered 'unstable' in the Gentoo sense, but it is release, not RC.
__jata__ is offline   Reply With Quote
Old 03-20-12, 05:51 PM   #8
jdmcdaniel3
Its James again in Austin
 
jdmcdaniel3's Avatar
 
Join Date: Dec 2010
Location: Austin, Texas
Posts: 16
Smile Re: Installing last nvidia-driver on 3.3.0-rc7

I wrote the following script to automatically modify the latest kernel 3.3 version to allow the nVIDIA driver 295.20 to properly compile.

Code:
#!/bin/bash

#: Title       : userfix
#: Date Created: Sun Feb 19 12:24:18 CST 2012
#: Last Edit   : Sun Feb 19 12:24:18 CST 2012
#: Author      : James D. McDaniel
#: Version     : 1.00
#: Description : 
#: Options     : 

version=$(uname -r | cut -c -3)
folder="/lib/modules/$(uname -r)/source/arch/x86/include"
if [ "$version" == "3.3" ] ; then
  if [ -d "$folder" ] ; then
    cd $folder 
    cp generated/asm/*.h ./asm
    echo
    echo "Kernel Fix for nVIDIA driver was executed!"
    echo
  fi
fi

exit 0

# End Of Script
For openSUSE users, I have a bash script I call SANDI, that can use DKMS to automatically install the nVIDIA driver when you update the kernel AND the above script can be set to run before the nVIDIA driver gets installed. Check it out here. If you use a different Linux distribution, consider modifying the script to work with what you are using. Just leave me comments and questions to the following blog, if you have them.

http://forums.opensuse.org/blogs/jdm...sion-1-00-103/

AND anyone just wanting a nice bash script to install the nVIDIA driver, take a look here:

http://forums.opensuse.org/blogs/jdm...rsion-1-10-32/

I look forward to any fix in the nVIDIA driver that no longer needs a fix to use the kernel version 3.3, now in final release: http://www.kernel.org/

I have a good kernel compiler, useful for the latest script you can find here:

http://forums.opensuse.org/blogs/jdm...rsion-2-50-34/

For anyone wanting to get ANY kernel version, back to 2006, might want to look at this bash script:

http://forums.opensuse.org/blogs/jdm...rsion-1-31-53/

Please, I want to hear any and all comments you might have and thanks nVIDIA for your very fine hardware.

Thank You,
jdmcdaniel3 is offline   Reply With Quote

Old 03-22-12, 05:39 PM   #9
google01103
Registered User
 
Join Date: Feb 2006
Location: Springfield, MA
Posts: 3
Default Re: Installing last nvidia-driver on 3.3.0-rc7

jdmcdaniel3 - I tried your script and did not have a folder called /lib/modules/3.3.0-16-desktop/source/arch/x86/include/generated

I had the following rpm's installed:
kernel-default-devel-3.3.0-16.1.x86_64.rpm
kernel-firmware-20111025git-5.1.noarch.rpm
kernel-desktop-3.3.0-16.1.x86_64.rpm
kernel-source-3.3.0-16.1.noarch.rpm
kernel-desktop-devel-3.3.0-16.1.x86_64.rpm
kernel-syms-3.3.0-16.1.x86_64.rpm
kernel-devel-3.3.0-16.1.noarch.rpm
kernel-xen-devel-3.3.0-16.1.x86_64.rpm

thanks,
google01103 is offline   Reply With Quote
Old 03-22-12, 07:58 PM   #10
jdmcdaniel3
Its James again in Austin
 
jdmcdaniel3's Avatar
 
Join Date: Dec 2010
Location: Austin, Texas
Posts: 16
Default Re: Installing last nvidia-driver on 3.3.0-rc7

Quote:
Originally Posted by google01103 View Post
jdmcdaniel3 - I tried your script and did not have a folder called /lib/modules/3.3.0-16-desktop/source/arch/x86/include/generated

I had the following rpm's installed:
kernel-default-devel-3.3.0-16.1.x86_64.rpm
kernel-firmware-20111025git-5.1.noarch.rpm
kernel-desktop-3.3.0-16.1.x86_64.rpm
kernel-source-3.3.0-16.1.noarch.rpm
kernel-desktop-devel-3.3.0-16.1.x86_64.rpm
kernel-syms-3.3.0-16.1.x86_64.rpm
kernel-devel-3.3.0-16.1.noarch.rpm
kernel-xen-devel-3.3.0-16.1.x86_64.rpm

thanks,
The rpm called kernel-default-devel-3.3.0-16.1.x86_64.rpm would normally determine to where the folder gets located. I use openSUSE 12.1 and this file points to the folder I am using. If you can get a file listing for this file, you could find where its located. You did not indicate what Linux distro that you are using.

Thank You,
jdmcdaniel3 is offline   Reply With Quote
Old 03-23-12, 12:38 AM   #11
snaboofypop
Registered User
 
Join Date: Aug 2003
Posts: 29
Default Re: Installing last nvidia-driver on 3.3.0-rc7

Quote:
Originally Posted by snaboofypop View Post
Hi. I'm having the same problem, except that it isn't for the *unstable* kernel 3.3.0-rc7, its for the *stable* kernel 3.3.0. I have looked all over NVIDIA's site for the new driver, and it appears to be missing. I look forward to seeing the new driver for the latest stable Linux kernel sometime later today. I know that NVIDIA does not keep up with unstable Linux kernels, they only maintain drivers for stable Linux kernels, like the one that came out 42 hours ago.
Hi. I just downloaded the new driver. It seems much cleaner than the last driver. I followed advice from http://weltall.heliohost.org/wordpre...vidia-drivers/ which is similar to what others in this thread recommended. The old driver could be made to work, but the new driver works better.
snaboofypop 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


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


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