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.
I did a fresh install of Slackware 10.1 this morning. Full install, only left out kdei.
Downloaded the Nvidia drivers from their site, logged out of X, and ran the installer. Cutting to the chase, here is my log:
Code:
$ cat nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Mar 9 10:14:01 2005
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com
Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.4.29/build'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.4.29/build'..
.
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/lib/modules/2.4.29/build/include -Wno-cast-qual -Wno-error n
v.c
nv.c: In function `nvos_malloc_pages':
nv.c:385: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nvos_create_alloc':
nv.c:513: warning: use of cast expressions as lvalues is deprecated
nv.c:523: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_alloc_file_private':
nv.c:1193: warning: use of cast expressions as lvalues is deprecated
nv.c:1204: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_kern_open':
nv.c:1265: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_kern_ctl_open':
nv.c:1914: warning: use of cast expressions as lvalues is deprecated
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/lib/modules/2.4.29/build/include -Wno-cast-qual -Wno-error o
s-agp.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE
_RANGE_4 -I. -I/lib/modules/2.4.29/build/include -Wno-cast-qual -Wno-error
os-interface.c
os-interface.c: In function `os_alloc_contig_pages':
os-interface.c:292: warning: use of cast expressions as lvalues is deprecate
d
os-interface.c: In function `save_wb':
os-interface.c:748: warning: use of cast expressions as lvalues is deprecate
d
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/lib/modules/2.4.29/build/include -Wno-cast-qual -Wno-error o
s-registry.c
ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o
ld -r -o nvidia.o nv-linux.o nv-kernel.o
-> done.
-> Kernel module compilation complete.
-> Installing classic TLS OpenGL libraries.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86' (1.0-5336):
executing: './usr/src/nv/makedevices.sh'...
executing: '/sbin/ldconfig'...
executing: '/sbin/depmod -aq'...
depmod: multiply defined
depmod: multiply defined
depmod:
multiply defined
depmod: multiply defined
depmod: multiply defined
depmod: vut multiply defined
depmod: multiply defined
depmod: multiply defined
depmod: multiply defined
depmod: multiply defined
ERROR: Failed to execute `/sbin/depmod -aq`: depmod: multiply defined
depmod: multiply defined
depmod:
multiply defined
depmod: multiply defined
depmod: multiply defined
depmod: vut multiply defined
depmod: multiply defined
depmod: multiply defined
depmod: multiply defined
depmod: multiply defined
-> The installer has encountered the following error during installation: 'Fail
ed to execute `/sbin/depmod -aq`'. Continue anyway? ("no" will abort)? (Ans
wer: No)
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.
The last time I had a depmod error installing Nvidia drivers, I needed to install the kernel modules package. That was my 10.0 install that didn't install so well (got lots of errors during installation). This 10.1 install went 100% perfectly smooth. No errors at all. It was a different depmod error last time too. It mentioned the kernel modules path... but this one doesn't mention any paths. Any ideas? Sorry for pasting the whole log, but I don't know if the other pieces are important or not.
You did run the nvidia installer as root correct? Check /sbin and see if you have depmod (you should, I don't know why you could even not have it), possibly not allowed to execute?
bash-3.00# ls -l /sbin/depmod
-rwxr-xr-x 1 root bin 76272 2005-01-01 18:27 /sbin/depmod
BTW, try the 6629 drivers instead.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86' (1.0-5336):
That seems a little outdated and might be your problem.
Zander(NVIDIA Corporation) mentioned about some the NVIDIA installer crashes
on some Slackware 10.0 installations.
It may be worth trying to test the replacement installer attached in the following threads. http://www.nvnews.net/vbulletin/showthread.php?t=46676
shoot... I didn't even notice that. I was just going through shilo's guide, and the link he has up is for the older version. I will have to try the 6629 file when I get home. Thanks
Me I have tried to replace nvidia-installer by this one: http://www.nvnews.net/vbulletin/showthread.php?t=46676, but that worked only on Slackware-10.0 with kernel-2.6.10 for me. Now I got slackware-10.1 with kernel-2.6.11 and doesn't work, I already tried it.
BrianW: Yes, I did run it as root... and depmod does exist (and I do have rights to run it). I have a feeling this is all going to be because of the driver version, and then I can look like an ass for everyone Thanks for the URL. I ssh'd, lynx'd and downloaded it so it's ready for when I get home (still 2.5 hours left at work).
J_W: Thank you too. If the 6629 drivers don't work, I will try the replacement installer you mentioned.
Originally posted by crud Me I have tried to replace nvidia-installer by this one: http://www.nvnews.net/vbulletin/showthread.php?t=46676, but that worked only on Slackware-10.0 with kernel-2.6.10 for me. Now I got slackware-10.1 with kernel-2.6.11 and doesn't work, I already tried it.
SEND THE BUG REPORT TO NVIDIA.
I already did send the bug report to Nvidia (before BrianW pointed out I wasn't using the 6629 version.) They're probably going to write back telling me I'm a douche for using an old version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.