LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-27-2009, 11:17 AM   #1
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Nvidia Driver installation error.


A new driver came out from nvidia today (190.42) and i decided to upgrade.
but when i went to init run level 3 and executed the .run file. the installer gave me this strange error.

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Oct 27 20:09:30 2009
installer version: 1.0.7

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
  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)
  force compat32 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)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 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)

Using: nvidia-installer ncurses user interface
-> License accepted by command line option.
-> Installing NVIDIA driver version 190.42.
-> There appears to already be a driver installed on your system (version: 190.
   42).  As part of installing this driver (version: 190.42), the existing driv
   er will be uninstalled.  Are you sure you want to continue? ('no' will abort
   installation) (Answer: Yes)
-> Performing CC sanity check with CC="gcc".
-> Performing CC version check with CC="gcc".
-> Kernel source path: '/lib/modules/2.6.29.6/source'
-> Kernel output path: '/lib/modules/2.6.29.6/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.29.6/source
   SYSOUT=/lib/modules/2.6.29.6/build'...
   NVIDIA: calling KBUILD...
   make CC=gcc KBUILD_OUTPUT=/lib/modules/2.6.29.6/build KBUILD_VERBOSE=1 -C /l
   ib/modules/2.6.29.6/source SUBDIRS=/tmp/selfgz3417/NVIDIA-Linux-x86_64-190.4
   2-pkg2/usr/src/nv modules
   make -C /lib/modules/2.6.29.6/build \
   	KBUILD_SRC=/usr/src/linux-2.6.29.6 \
   	KBUILD_EXTMOD="/tmp/selfgz3417/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv" 
   -f /usr/src/linux-2.6.29.6/Makefile \
   	modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz3417/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/.tmp_ver
   sions ; rm -f /tmp/selfgz3417/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/.tm
   p_versions/*
   make -f /usr/src/linux-2.6.29.6/scripts/Makefile.build obj=/tmp/selfgz3417/N
   VIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv
     gcc -Wp,-MD,/tmp/selfgz3417/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/.nv
   .o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/include
   -Iinclude -Iinclude2 -I/usr/src/linux-2.6.29.6/include -I/usr/src/linux-2.6.
   29.6/arch/x86/include -include include/linux/autoconf.h   -I/tmp/selfgz3417/
   NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstri
   ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
   it-function-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kerne
   l -maccumulate-outgoing-args -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-
   compare -fno-asynchronous-unwind-tables  -I/usr/src/linux-2.6.29.6/arch/x86/
   include/asm/mach-default -Iarch/x86/include/asm/mach-default -fomit-frame-po
   inter   -I/tmp/selfgz3417/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv -Wall -
   Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
   pointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defe
   r-pop -MD -Wsign-compare -Wno-cas
   t-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"190.42\
   " -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME
   =KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz34
   17/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/nv.o /tmp/selfgz3417/NVIDIA-Li
   nux-x86_64-190.42-pkg2/usr/src/nv/nv.c
   /tmp/selfgz3417/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/nv.c:1: error: co
   de model 'kernel' not supported in the 32 bit mode
   make[4]: *** [/tmp/selfgz3417/NVIDIA-Linux-x86_64-190.42-pkg2/usr/src/nv/nv.
   o] Error 1
   make[3]: *** [_module_/tmp/selfgz3417/NVIDIA-Linux-x86_64-190.42-pkg2/usr/sr
   c/nv] Error 2
   make[2]: *** [sub-make] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.

Details:
Am running Slackware 64 - 13 (Multi-Lib)
GPU -> nVidia 9600GT

*Note*
This error log is from the default kernel (untouched), where its giving the same error as my current version 2.6.32rc5.

I have made no changes to my system. even a few days back the beta driver installed perfectly.

Even the Virtual Box Kernel Module Fails to Build. (gives the same error "error: co
de model 'kernel' not supported in the 32 bit mode").

Any help would be Appreciated!!
Thanks,
-Sam

Last edited by slackd; 10-27-2009 at 11:40 AM.
 
Old 10-27-2009, 12:38 PM   #2
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
It compiled here without any problem. However, I downgraded back to version 180.60. This new version makes the video fan on my laptop spin out of control. I am afraid of burning the bearings.

Maybe you are missing Alienbob's compat32 libs.
 
Old 10-27-2009, 01:27 PM   #3
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
This driver release adds an option to control GPU fan speed
(among other settings). Sounds like it could be dangerous though,
so I haven't experimented with it.

Seems to be working fine here on my 64 bit install (no 32 bit libs)
"nvidia-settings" says my fan is at 35%. for whatever thats worth.
Quote:
Option "Coolbits" "integer"

Enables various unsupported features, such as support for GPU clock
manipulation in the NV-CONTROL X extension. This option accepts a bit mask
of features to enable.

WARNING: this may cause system damage and void warranties. This utility
can run your computer system out of the manufacturer's design
specifications, including, but not limited to: higher system voltages,
above normal temperatures, excessive frequencies, and changes to BIOS that
may corrupt the BIOS. Your computer's operating system may hang and result
in data loss or corrupted images. Depending on the manufacturer of your
computer system, the computer system, hardware and software warranties may
be voided, and you may not receive any further manufacturer support.
NVIDIA does not provide customer service support for the Coolbits option.
It is for these reasons that absolutely no warranty or guarantee is either
express or implied. Before enabling and using, you should determine the
suitability of the utility for your intended use, and you shall assume all
responsibility in connection therewith.

<snip>

When "4" (Bit 2) is set in the "Coolbits" option value, the
nvidia-settings Thermal Monitor page will allow configuration of GPU fan
speed, on graphics boards with programmable fan capability.

The default for this option is 0 (unsupported features are disabled).
 
Old 10-27-2009, 03:52 PM   #4
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
I tried the "Coolbits" option a couple of times. The syntax seems complicated, since this option supports many features via various number combos. No matter which example I tried, the GPU fan kept going.
Maybe I didn't get the syntax right.

So the temporary solution was to apply a Gentoo patch to 180.60. This made the fan behave normally.
 
Old 10-27-2009, 04:54 PM   #5
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260

Original Poster
Blog Entries: 1

Rep: Reputation: 60
Quote:
Originally Posted by plasmonics View Post
It compiled here without any problem. However, I downgraded back to version 180.60. This new version makes the video fan on my laptop spin out of control. I am afraid of burning the bearings.

Maybe you are missing Alienbob's compat32 libs.
am not missing any packages...thats for sure.

i tried reinstalling the GCC suit. that did not help. its still giving the same error. somehow it thinks i am in a 32bit environment or something!!
 
Old 10-27-2009, 08:10 PM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Check that the symlinks /lib/modules/`uname -r`/build and /lib/modules/`uname -r`/source are pointing to the correct kernel source.
 
Old 10-27-2009, 11:04 PM   #7
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Did you d/l the 64 bit driver? NVIDIA*2.run

Note the '2' in the name
 
Old 10-28-2009, 09:15 AM   #8
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Debian GNU/Linux bookworm/sid
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
Even if you do reinstall the gcc/glib multilib packages, you need to re-compile the kernel again.

As for the problem, it's already solved as I see the driver working fine in your machine.
 
Old 10-28-2009, 04:50 PM   #9
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260

Original Poster
Blog Entries: 1

Rep: Reputation: 60
recompiling the kernel with the fresh install of gcc solved the problem.
thnks~
 
  


Reply

Tags
driver, nvidia



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
Error during installation of new nvidia-driver! flyby2811 Linux - Software 6 07-17-2007 08:15 PM
Nvidia Driver Installation Error (Geforce 7800GS) MasterEnglisher Linux - Software 7 09-21-2006 11:49 PM
mdk le 2005 nvidia driver installation error kuser:) Mandriva 50 10-30-2005 11:56 AM
Nvidia driver installation error. RoaCh Of DisCor Linux - Software 1 10-24-2004 01:31 AM
nvidia driver installation error XYNaPSE Linux - Newbie 5 07-15-2003 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:17 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
Open Source Consulting | Domain Registration