LQ Newbie
Registered: Feb 2005
Posts: 15
Rep:
|
[solved] nvidia install error (initial post is long)
I just recently installed slackware 10.1 on my new dell inspiron 8600c. The install went smoothly, and I upgraded to the 2.6.10 kernel (using Acid juice's well put-together guide, thanks everyone involved in that!). The next step I need is to get the video driver installed, so I've downloaded the file NVIDIA-Linux-x86-1.0-6629-pkg1.run from nvidia's website, but when it tries to compile the kernel interface, it gives me the following error. Sorry--it's really long. (This is my first post, so I also had to modify the few URL's that appear in it to get this posted.) I'm fairly new to linux, so I'm honestly clueless to what the problem is. Can someone help me piece this together? I have looked through the README file as suggested, but haven't seen anything that helps. Maybe I'm just too impatient and not digging enough.
Dave
----------------------------------------------------------------------
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Feb 25 21:11:18 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
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
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
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.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.10/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.10/source S
YSOUT=/lib/modules/2.6.10/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.10/build KBUILD_VERBOSE=1 -C /lib/
modules/2.6.10/source SUBDIRS=/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1
/usr/src/nv modules
make -C /lib/modules/2.6.10/build \
KBUILD_SRC=/usr/src/linux-2.6.10 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/
usr/src/nv" \
-f /usr/src/linux-2.6.10/Makefile modules
/usr/src/linux-2.6.10/Makefile:484: .config: No such file or directory
mkdir -p /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers
ions
make -f /usr/src/linux-2.6.10/scripts/Makefile.build obj=/tmp/selfgz8380/NVI
DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz8380/NVI
DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o
.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/s
rc/linux-2.6.10/include -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/us
r/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-
common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundar
y=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclude/asm-i386
/mach-default -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -
Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthe
ses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual
-Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_
VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X8
6 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_AT
TR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT
-DNV_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nv
idia -c -o /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o /t
m
p/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:837,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nv_agp_init':
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: warning
: `inter_module_put' is deprecated (declared at include/linux/module.h:582)
cc -Wp,-MD,/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/us
r/src/linux-2.6.10/include -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1
/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -f
no-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boun
dary=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclude/asm-i
386/mach-default -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/n
v -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-q
ual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOU
RCE -D_LOOSE_KERNEL_NAMES -D_
_KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL
=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEB
UG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISAB
LE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESEN
T -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz
8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz8380/NVIDI
A-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-vm.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:837,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-vm.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c: At top le
vel:
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: warnin
g: `cache_flush' defined but not used
cc -Wp,-MD,/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/u
sr/src/linux-2.6.10/include -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg
1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -
fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-bou
ndary=2 -I
/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclude/asm-i386/mach-
default -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -
Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
pointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-
error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LO
OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSI
ON=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UD
EBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PR
ESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_
PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=nvi
dia -c -o /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-agp.c:24:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:837,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernInitAGP':
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:88: warni
ng: `inter_module_put' is deprecated (declared at include/linux/module.h:582
)
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:186: warn
ing: `inter_module_put' is deprecated (declared at include/linux/module.h:58
2)
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernTeardownAGP':
/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:218: warn
ing: `inter_module_put' is deprecated (declared at include/linux/module.h:58
2)
cc -Wp,-MD,/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude
2 -I/usr/src/linux-2.6.10/include -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-66
29-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-alia
sing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-sta
ck-boundary=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinclud
e/asm-i386/mach-default -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/us
r/src/nv -Wall
-Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
-Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wn
o-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_
LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VER
SION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -
UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_
PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DN
V_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=os_interface -DKBUILD_MOD
NAME=nvidia -c -o /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/
os-interface.o /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-
interface.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-interface.c:26:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:837,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-interface.c:26:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-r
egistry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2
-I/usr/src/linux-2.6.10/include -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629
-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-a
liasing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-
stack-boundary=2 -I/usr/src/linux-2.6.10/include/asm-i386/mach-default -Iinc
lude/asm-i386/mach-default -I/tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1
/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscrip
ts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -
Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM
-D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION
=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64
_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_
CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_C
REATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=os_regis
try -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-
pkg1/usr/src/nv/os-registry.o /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1
/usr/src/nv/os-registry.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-registry.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:837,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-registry.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
ld -m elf_i386 -r -o /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
rc/nv/nvidia.o /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-
kernel.o /tmp/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o /tmp
/selfgz8380/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz838
0/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o /tmp/selfgz8380/NVIDIA-
Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interface.o /tmp/selfgz8380/NVIDIA-Lin
ux-x86-1.0-6629-pkg1/usr/src/nv/os-registry.o
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.10/scripts/Makefile.modpost
/usr/src/linux-2.6.10/scripts/Makefile.modpost:38: .config: No such file or
directory
make[4]: *** No rule to make target `.config'. Stop.
make[3]: *** [modules] Error 2
make[2]: *** [modules] 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.
Last edited by grx; 02-26-2005 at 02:30 AM.
|