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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-25-10, 01:15 PM   #1
slackin
Registered User
 
Join Date: Feb 2010
Posts: 6
Default 190.53+2.6.33+patch

just upgraded to 2.6.33, nvidia installer wouldn't work, so I used the patch from here:

http://www.nvnews.net/vbulletin/showthread.php?t=148290

now I am getting a new error:

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Feb 25 12:03:38 2010
installer version: 1.0.7

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : true
  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)
  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)
  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)

chdir("./")
Using: nvidia-installer ncurses user interface
-> Searching for system utilities:
-> found `ldconfig` : `/sbin/ldconfig`
-> found `ldd` : `/usr/bin/ldd`
-> found `ld` : `/usr/bin/ld`
-> found `objcopy` : `/usr/bin/objcopy`
-> found `grep` : `/usr/bin/grep`
-> found `dmesg` : `/bin/dmesg`
-> found `tail` : `/usr/bin/tail`
-> found `cut` : `/usr/bin/cut`
-> found `tr` : `/usr/bin/tr`
-> found `sed` : `/usr/bin/sed`
-> found `chcon` : `/usr/bin/chcon`
-> found `pkg-config` : `/usr/bin/pkg-config`
-> found `X` : `/usr/bin/X`
-> Searching for module utilities:
-> found `insmod` : `/sbin/insmod`
-> found `modprobe` : `/sbin/modprobe`
-> found `rmmod` : `/sbin/rmmod`
-> found `lsmod` : `/sbin/lsmod`
-> found `depmod` : `/sbin/depmod`
-> License accepted.
-> Installing NVIDIA driver version 190.53.
-> There appears to already be a driver installed on your system (version: 190.
   42).  As part of installing this driver (version: 190.53), the existing driv
   er will be uninstalled.  Are you sure you want to continue? ('no' will abort
   installation) (Answer: Yes)
-> No distribution pre-install script found.
-> Kernel module installation path (Answer:
   '/lib/modules/2.6.33-smp/kernel/drivers/video')
-> Kernel module installation path: /lib/modules/2.6.33-smp/kernel/drivers/vide
   o
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Checking development tools:
-> found `cc` : `/usr/bin/cc`
-> found `make` : `/usr/bin/make`
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path (Answer: '/lib/modules/2.6.33-smp/source')
-> Kernel source path: '/lib/modules/2.6.33-smp/source'
-> Kernel output path: '/lib/modules/2.6.33-smp/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
ERROR: Unable to determine the NVIDIA kernel module filename.
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.
-> No distribution failed-install script found.
Any ideas?
slackin is offline   Reply With Quote
Old 02-25-10, 01:28 PM   #2
ShiningArcanine
Registered User
 
Join Date: Aug 2006
Posts: 106
Default Re: 190.53+2.6.33+patch

Use the patch from gentoo's bugzilla:

http://bugs.gentoo.org/show_bug.cgi?id=301318
ShiningArcanine is offline   Reply With Quote
Old 02-25-10, 01:31 PM   #3
slackin
Registered User
 
Join Date: Feb 2010
Posts: 6
Default Re: 190.53+2.6.33+patch

that is the patch i used
slackin is offline   Reply With Quote
Old 02-25-10, 01:50 PM   #4
ShiningArcanine
Registered User
 
Join Date: Aug 2006
Posts: 106
Default Re: 190.53+2.6.33+patch

Sorry, I assumed that it was from a different thread from like 6 weeks ago. I am very busy so I did not examine your post in detail at the time.

It looks like the installer cannot find your kernel sources. What distribution are you using? Is /usr/src/linux a symbolic link to your kernel sources? Assuming you do not know where the kernel sources are stored, you can probably use eselect kernel list to view a list of kernels and then use eselect kernel set <kernel version> to update the symbolic link, although if you look where /usr/src/linux points, you probably will be able to find where your 2.6.33 kernel sources are hiding, assuming /usr/src/linux exists as a valid symbolic link.

If you know where your kernel sources are stored. You can probably force the installer to look somewhere else by passing a flag to it. I believe you can find the flags that you can pass by passing --help. Some of the advanced flags are not shown with that, but it should display a flag you can pass in addition to --help that will allow you to see the advanced flags.
ShiningArcanine is offline   Reply With Quote
Old 02-25-10, 02:02 PM   #5
slackin
Registered User
 
Join Date: Feb 2010
Posts: 6
Default Re: 190.53+2.6.33+patch

O yea, all that is linked right. I am using slackware 13, and checked all the advanced options. If you look at the installer log, it says it found kernel source and headers. I don't think that is the problem. I am dropping a new driveshaft in my car right now, I'll look deeper in a few hours, just look for some fresh idea's here, something I might have missed. I appreciate all your help so far, take a closer look at the installer log if you get a chance.
slackin is offline   Reply With Quote
Old 02-25-10, 02:16 PM   #6
ShiningArcanine
Registered User
 
Join Date: Aug 2006
Posts: 106
Default Re: 190.53+2.6.33+patch

The reason I am questioning whether or not the sources are linked properly is because the error messages appear to me to be identical to something I have encountered in the past where the kernel sources were being linked to an old version of the kernel sources, even though it said otherwise. Try forcing it via the installer's options. You might need to also specify something involving making sure that it realizes that the running kernel is not the one for which the sources are if you are running an older kernel when trying to compile this.

You are right though that I am not reading it in detail. I am in the middle of something else that requires the majority of my attention, so a few small tidbits is all I can give at the moment.
ShiningArcanine is offline   Reply With Quote
Old 02-25-10, 02:28 PM   #7
slackin
Registered User
 
Join Date: Feb 2010
Posts: 6
Default Re: 190.53+2.6.33+patch

tried manually specifying and still the same problem
slackin is offline   Reply With Quote
Old 02-26-10, 07:18 AM   #8
ShiningArcanine
Registered User
 
Join Date: Aug 2006
Posts: 106
Default Re: 190.53+2.6.33+patch

I believe that your issue is unrelated to the patch, because Aarin at the gentoo forums is using the 195.36 drivers, which include support for 2.6.33 and he is having the same problem:

http://forums.gentoo.org/viewtopic-t...oosources.html

I think that I had the same issue when I was originally trying this. I recall fixing it by going to /usr/src/linux and running make (while at the same time making sure that the /usr/src/linux symlink was correct).
ShiningArcanine is offline   Reply With Quote

Old 02-26-10, 07:32 AM   #9
ponce
Registered User
 
ponce's Avatar
 
Join Date: Jan 2009
Posts: 29
Default Re: 190.53+2.6.33+patch

maybe it has problem because of the "-smp" flag.
you can try removing it from "make menuconfig" and rebuild.

you can also try giving the argument --kernel-source-path=/path/to/kernel/source to the installer pointing to the sources (not /lib/modules/2.6.33-smp/source, the folder in which you have done the "make" for your kernel) you used for building your kernel.
ponce is offline   Reply With Quote
Old 02-26-10, 08:50 AM   #10
slackin
Registered User
 
Join Date: Feb 2010
Posts: 6
Default Re: 190.53+2.6.33+patch

ok, ill try redoing it without -smp, and i did make modules and make bzImage

just a note: did not have this issue with 2.29.x-smp, but ill try it none the less, thank you all for your help
slackin is offline   Reply With Quote
Old 02-26-10, 08:57 AM   #11
ShiningArcanine
Registered User
 
Join Date: Aug 2006
Posts: 106
Default Re: 190.53+2.6.33+patch

Quote:
Originally Posted by ponce View Post
maybe it has problem because of the "-smp" flag.
you can try removing it from "make menuconfig" and rebuild.

you can also try giving the argument --kernel-source-path=/path/to/kernel/source to the installer pointing to the sources (not /lib/modules/2.6.33-smp/source, the folder in which you have done the "make" for your kernel) you used for building your kernel.
I do not understand the nature of the SMP flag in this case. On Gentoo, the sources for SMP and the sources for no SMP are the same and only differ by the kernel configuration. This is the case for the unpatched sources from kernel.org as well.

Some distribution specific patch could be the issue. Perhaps slackin should get the sources from kernel.org and compile those.
ShiningArcanine is offline   Reply With Quote
Old 02-26-10, 09:02 AM   #12
slackin
Registered User
 
Join Date: Feb 2010
Posts: 6
Default Re: 190.53+2.6.33+patch

they are the sources from kernel.org -smp is set in make config.

I run slackware, there isnt custom distro based patches. I'm afraid to even ask what/where you think i got these sources ;p much luv brotha, you are very helpful and respectful, rare thing on the internet <3


To anyone reading who cares, the problem was PURELY -smp custom kernel version, I would advise not to use any custom kernel versions(just the name) if you need the nvidia driver, at least until nvidia makes a proper driver. To me it appears that the patch is looking specificly for 2.6.33, so the -smp I added messed it up.
slackin 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 08:20 PM.


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