Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-31-2011, 07:01 PM   #1
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Rep: Reputation: 18
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 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
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Apr  1 00:43:08 2011
installer version: 260.19.44


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                         :
  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/'
-> Kernel output path: '/lib/modules/'
-> 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
uname -a on my system returns:
Linux kirk #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":
The list below shows all packages with name matching "kernel".

[ installed ] - kernel-firmware-
[uninstalled] - kernel-generic-
[ installed ] - kernel-generic-smp-
[uninstalled] - kernel-huge-
[ installed ] - kernel-huge-smp-
[uninstalled] - kernel-modules-
[ installed ] - kernel-modules-smp-
[ installed ] - kernel-headers-
[ installed ] - kernel-source-
this is a 32-bit system.

Anyone know what's going on here?
Old 03-31-2011, 07:58 PM   #2
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 229Reputation: 229Reputation: 229

cd /usr/src/linux && make prepare
See if that helps any.
1 members found this post helpful.
Old 03-31-2011, 07:59 PM   #3
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,676

Rep: Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979
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?

Last edited by willysr; 03-31-2011 at 08:01 PM.
Old 04-01-2011, 03:00 AM   #4
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Original Poster
Rep: Reputation: 18
Originally Posted by mRgOBLIN View Post

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
NVIDIA legacy driver 96.43.07 fails install on Kernel in current TNWestTex Slackware 6 11-24-2008 04:16 PM
nvidia problem when ending current session farmerdave Slackware 4 09-15-2008 04:27 AM
NVIDIA 9631 Driver won't install on -current kernel TNWestTex Slackware 1 05-09-2007 02:22 PM
nvidia driver 'missing' after ~current and running sh NVIDIA soylentgreen Slackware 13 03-26-2007 10:17 PM
Nvidia Problem: can't install nvidia driver for FC6 Chuong Linux - Software 7 10-30-2006 05:43 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:48 AM.

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