LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   nvidia install problem on current (http://www.linuxquestions.org/questions/slackware-14/nvidia-install-problem-on-current-872247/)

pg99 03-31-2011 07:01 PM

nvidia install problem on current
 
I've just updated my -current install and am trying to build the nvidia driver after booting into the new 2.6.37.5 generic smp kernel.

I get an error early on "ERROR: Unable to determine the NVIDIA kernel module filename." which I assumed would be something like a problem with the kernel name reported by uname not matching any kernel sources or headers on the system, but I checked that and they do seem to match.

here's the full installer log file
Code:


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Apr  1 00:43:08 2011
installer version: 260.19.44

PATH:
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/li
b/java/bin:/usr/lib/java/jre/bin:/usr/lib/kde4/libexec:/usr/lib/qt/bin:/usr/sha
re/texmf/bin

option status:
  license pre-accepted              : true
  update                            : false
  force update                      : false
  expert                            : false
  uninstall                          : false
  driver info                        : false
  precompiled interfaces            : true
  no ncurses color                  : false
  query latest version              : false
  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
  run distro scripts                : true
  no nouveau check                  : false
  run nvidia-xconfig                : false
  sigwinch work around              : true
  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)
  installer prefix                  : (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)
  precompiled kernel interfaces path : (not specified)
  precompiled kernel interfaces url  : (not specified)
  proc mount point                  : /proc
  ui                                : (not specified)
  tmpdir                            : /tmp
  ftp mirror                        : ftp://download.nvidia.com
  RPM file list                      : (not specified)
  selinux chcon type                : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted by command line option.
-> Installing NVIDIA driver version 260.19.44.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.37.5-smp/source'
-> Kernel output path: '/lib/modules/2.6.37.5-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.

uname -a on my system returns:
Code:

Linux kirk 2.6.37.5-smp #1 SMP Wed Mar 23 23:54:30 CDT 2011 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
and here is the output of "slackpkg search kernel":
Code:

The list below shows all packages with name matching "kernel".

[ installed ] - kernel-firmware-2.6.37.5-noarch-1
[uninstalled] - kernel-generic-2.6.37.5-i486-1
[ installed ] - kernel-generic-smp-2.6.37.5_smp-i686-1
[uninstalled] - kernel-huge-2.6.37.5-i486-1
[ installed ] - kernel-huge-smp-2.6.37.5_smp-i686-1
[uninstalled] - kernel-modules-2.6.37.5-i486-1
[ installed ] - kernel-modules-smp-2.6.37.5_smp-i686-1
[ installed ] - kernel-headers-2.6.37.5_smp-x86-1
[ installed ] - kernel-source-2.6.37.5_smp-noarch-1

this is a 32-bit system.

Anyone know what's going on here?

mRgOBLIN 03-31-2011 07:58 PM

Try:

Code:

cd /usr/src/linux && make prepare
See if that helps any.

willysr 03-31-2011 07:59 PM

hm... it should work, since i also used the same version of NVidia but different kernel version

what option did you use to compile your NVidia driver?

pg99 04-01-2011 03:00 AM

Quote:

Originally Posted by mRgOBLIN (Post 4310150)
Try:

Code:

cd /usr/src/linux && make prepare
See if that helps any.

Thanks, the error from that gave me the clue I needed! I had set an ARCH=i686 env var for slackbuilds purposes, once I unset it the build worked fine.


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