SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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).
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.
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!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.