LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-31-2011, 07:01 PM   #1
pg99
Member
 
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 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?
 
Old 03-31-2011, 07:58 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Try:

Code:
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
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,621

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
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
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by mRgOBLIN View Post
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.
 
  


Reply


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 2.26.27.6 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 2.6.21.1 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


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

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