nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Installing last nvidia-driver on 3.3.0-rc7 (http://www.nvnews.net/vbulletin/showthread.php?t=176264)

mahashakti89 03-15-12 04:21 PM

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

Gusar 03-15-12 05:33 PM

Re: Installing last nvidia-driver on 3.3.0-rc7
 
http://www.nvnews.net/vbulletin/showthread.php?t=173612

sandipt 03-16-12 01:54 AM

Re: Installing last nvidia-driver on 3.3.0-rc7
 
This issue got fixed and available in next 295 driver.

anemos3 03-16-12 11:31 AM

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!

mahashakti89 03-16-12 01:55 PM

Re: Installing last nvidia-driver on 3.3.0-rc7
 
Quote:

Originally Posted by sandipt (Post 2537125)
This issue got fixed and available in next 295 driver.

O.K. , I am waiting ..!

Regards

mahashakti89

snaboofypop 03-20-12 01:29 PM

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.(wack)

__jata__ 03-20-12 04:48 PM

Re: Installing last nvidia-driver on 3.3.0-rc7
 
Quote:

Originally Posted by snaboofypop (Post 2538259)
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.(wack)

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.

jdmcdaniel3 03-20-12 06:51 PM

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,

google01103 03-22-12 06:39 PM

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,

jdmcdaniel3 03-22-12 08:58 PM

Re: Installing last nvidia-driver on 3.3.0-rc7
 
Quote:

Originally Posted by google01103 (Post 2539068)
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,

snaboofypop 03-23-12 01:38 AM

Re: Installing last nvidia-driver on 3.3.0-rc7
 
Quote:

Originally Posted by snaboofypop (Post 2538259)
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.(wack)

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. (salute)


All times are GMT -5. The time now is 10:11 PM.

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