|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Apr 2002
Città: Vicenza
Messaggi: 378
|
[SuSE9.2] Problema installazione drivers Nvidia dopo compilazione nuovo kernel
Salve,
come da titolo ho compilato un nuovo kernel per la Suse9.2 (da 2.6.8 a 2.6.19), faccio partire il suddetto nuovo kernel e cerco di installare i drivers per la Nvidia (una 6800gs) ma l'installer se ne esce con "unable to compile kernel module" Guardo il log e sembra manchino i kernel-source.... ma ciò mi pare strano... Ho provato anche ad aggiungere un symlink "/usr/src/linux" -> "/usr/src/linux-2.6.19" ma niente.... Potete aiutarmi?? Vi posto anche il log: Codice:
nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Thu Dec 21 09:45:54 2006 option status: license pre-accepted : false 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 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. -> There appears to already be a driver installed on your system (version: 1.0- 8774). As part of installing this driver (version: 1.0-8776), the existing driver will be uninstalled. Are you sure you want to continue? ('no' will a bort installation) (Answer: Yes) -> 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. -> Performing CC sanity check with CC="cc". -> Performing CC version check with CC="cc". -> Kernel source path: '/lib/modules/2.6.19-Gif-smp/source' -> Kernel output path: '/lib/modules/2.6.19-Gif-smp/build' -> Performing rivafb check. -> Performing nvidiafb 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-i2c.o nv.o nv -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.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 -f stprof stprof.o symtab.h rm -f -rf .tmp_versions -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.19-Gif-smp/ source SYSOUT=/lib/modules/2.6.19-Gif-smp/build'... NVIDIA: calling KBUILD... make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.19-Gif-smp/build KBUILD_VERBOSE=1 -C /lib/modules/2.6.19-Gif-smp/source SUBDIRS=/tmp/selfgz9885/NVIDIA-Linux-x 86_64-1.0-8776-pkg2/usr/src/nv modules make -C /lib/modules/2.6.19-Gif-smp/build \ KBUILD_SRC=/usr/src/linux-2.6.19 \ KBUILD_EXTMOD="/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv" -f /usr/src/linux-2.6.19/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 miss ing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it. "; \ echo; \ /bin/false) mkdir -p /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_v ersions rm -f /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_vers ions/* make -f /usr/src/linux-2.6.19/scripts/Makefile.build obj=/tmp/selfgz9885/NVI DIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz9885/NVI DIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv_compiler.h cc -Wp,-MD,/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.n v.o.d -nostdinc -isystem /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.19/include -include i nclude/linux/autoconf.h -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2 /usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-ali asing -fno-common -O2 -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder- blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -m no-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_ CFI=1 -fomit-frame-pointer -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-p kg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subsc ripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -m no-red-zone -minline-all-stringops -MD -Wsig n-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMOD ULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MI NOR_VERSION=0 -DNV_PATCHLEVEL=8776 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STR UCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DN V_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STA TE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHA NGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"K BUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_nv.o /tmp/ selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c In file included from include/linux/sched.h:56, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv.c:14: include/linux/nodemask.h: In function `__first_node': include/linux/nodemask.h:229: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__next_node': include/linux/nodemask.h:235: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__first_unset_node': include/linux/nodemask.h:253: warning: signed and unsigned type in condition al expression In file included from include/linux/list.h:8, from include/linux/wait.h:22, from include/asm/semaphore.h:42, from include/linux/sched.h:59, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/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/asm/elf.h:48, from include/linux/elf.h:7, from include/linux/module.h:16, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:51, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv.c:14: include/asm/compat.h: In function `compat_alloc_user_space': include/asm/compat.h:202: warning: pointer of type `void *' used in arithmet ic In file included from include/asm/pci.h:92, from include/linux/pci.h:716, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:76, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv.c:14: include/asm-generic/pci-dma-compat.h: In function `pci_map_page': include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u sed in arithmetic /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c: In functi on `nv_kern_open': /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv.c:1806: warn ing: passing arg 2 of `request_irq' from incompatible pointer type cc -Wp,-MD,/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.n v-vm.o.d -nostdinc -isystem /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/incl ude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.19/include -inclu de include/linux/autoconf.h -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776- pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict -aliasing -fno-common -O2 -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reor der-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-tim e -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG _AS_CFI=1 -fomit-frame-pointer -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-87 76-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-s ubscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-commo n -mno-red-zone -minline-all-stringops -MD -Wsign-compare -Wno-cast-qual - Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEV EL=8776 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRID GE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRES ENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_P AGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(n v_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz9885/NVIDIA-L inux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz9885/NVIDIA-Lin ux-x86_64-1.0-8776-pkg2/usr/src/nv/nv-vm.c In file included from include/linux/sched.h:56, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-vm.c:14: include/linux/nodemask.h: In function `__first_node': include/linux/nodemask.h:229: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__next_node': include/linux/nodemask.h:235: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__first_unset_node': include/linux/nodemask.h:253: warning: signed and unsigned type in condition al expression In file included from include/linux/list.h:8, from include/linux/wait.h:22, from include/asm/semaphore.h:42, from include/linux/sched.h:59, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/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/asm/elf.h:48, from include/linux/elf.h:7, from include/linux/module.h:16, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:51, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-vm.c:14: include/asm/compat.h: In function `compat_alloc_user_space': include/asm/compat.h:202: warning: pointer of type `void *' used in arithmet ic In file included from include/asm/pci.h:92, from include/linux/pci.h:716, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:76, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-vm.c:14: include/asm-generic/pci-dma-compat.h: In function `pci_map_page': include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u sed in arithmetic cc -Wp,-MD,/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.o s-agp.o.d -nostdinc -isystem /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/inc lude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.19/include -incl ude include/linux/autoconf.h -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776 -pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric t-aliasing -fno-common -O2 -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reo rder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-ti me -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFI G_AS_CFI=1 -fomit-frame-pointer -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8 776-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar- subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-comm on -mno-red-zone -minline-all-stringops -MD -Wsign-compare -Wno-cast-qual -W no-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEV EL=8776 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRID GE_AGPGART_PR ESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_M ESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT - DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESEN T -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"K BUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz9885/NVIDIA-Linux-x86_64- 1.0-8776-pkg2/usr/src/nv/.tmp_os-agp.o /tmp/selfgz9885/NVIDIA-Linux-x86_64-1 .0-8776-pkg2/usr/src/nv/os-agp.c In file included from include/linux/sched.h:56, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/os-agp.c:24: include/linux/nodemask.h: In function `__first_node': include/linux/nodemask.h:229: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__next_node': include/linux/nodemask.h:235: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__first_unset_node': include/linux/nodemask.h:253: warning: signed and unsigned type in condition al expression In file included from include/linux/list.h:8, from include/linux/wait.h:22, from include/asm/semaphore.h:42, from include/linux/sched.h:59, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/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/asm/elf.h:48, from include/linux/elf.h:7, from include/linux/module.h:16, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:51, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/os-agp.c:24: include/asm/compat.h: In function `compat_alloc_user_space': include/asm/compat.h:202: warning: pointer of type `void *' used in arithmet ic In file included from include/asm/pci.h:92, from include/linux/pci.h:716, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:76, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/os-agp.c:24: include/asm-generic/pci-dma-compat.h: In function `pci_map_page': include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u sed in arithmetic cc -Wp,-MD,/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.o s-interface.o.d -nostdinc -isystem /usr/lib64/gcc-lib/x86_64-suse-linux/3.3 .4/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.19/include -include include/linux/autoconf.h -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0 -8776-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wn o-trigraphs -fno-strict-aliasing -fno-common -O2 -m64 -mno-red-zone -mcmodel =kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind -tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate -outgoing-args -DCONFIG_AS_CFI=1 -fomit-frame-pointer -I/tmp/selfgz9885/NVI DIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Ws witch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multicha r -Werror -O -fno-common -mno-red-zone -minline-all-stringops -MD -Wsign-com pare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE - mcmodel=kernel -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_V ERSION=0 -DNV_PATCHLEVEL=8776 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_R LIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYS CTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PR ESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_P AGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz9885/NVIDIA-Linux-x86 _64-1.0-8776-pkg2/usr/src/nv/.tmp_os-interface.o /tmp/selfgz9885/NVIDIA-Linu x-x86_64-1.0-8776-pkg2/usr/src/nv/os-interface.c In file included from include/linux/sched.h:56, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/os-interface.c:26: include/linux/nodemask.h: In function `__first_node': include/linux/nodemask.h:229: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__next_node': include/linux/nodemask.h:235: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__first_unset_node': include/linux/nodemask.h:253: warning: signed and unsigned type in condition al expression In file included from include/linux/list.h:8, from include/linux/wait.h:22, from include/asm/semaphore.h:42, from include/linux/sched.h:59, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/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/asm/elf.h:48, from include/linux/elf.h:7, from include/linux/module.h:16, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:51, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/os-interface.c:26: include/asm/compat.h: In function `compat_alloc_user_space': include/asm/compat.h:202: warning: pointer of type `void *' used in arithmet ic In file included from include/asm/pci.h:92, from include/linux/pci.h:716, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:76, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/os-interface.c:26: include/asm-generic/pci-dma-compat.h: In function `pci_map_page': include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u sed in arithmetic cc -Wp,-MD,/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.o s-registry.o.d -nostdinc -isystem /usr/lib64/gcc-lib/x86_64-suse-linux/3.3. 4/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.19/include -include include/linux/autoconf.h -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0 -8776-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno- strict-aliasing -fno-common -O2 -m64 -mno-red-zone -mcmodel=kernel -pipe -fn o-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at -a-time -mno-sse -m no-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -fo mit-frame-pointer -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/s rc/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -mno-red-zo ne -minline-all-stringops -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LO OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -mcmodel=kernel -DNTRM -DNVRM -DDYNAM IC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8776 -UDEBU G -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRE SENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_ME SSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -D NV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" - D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz9885/NVIDIA-Linux-x86_ 64-1.0-8776-pkg2/usr/src/nv/.tmp_os -registry.o /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/os- registry.c In file included from include/linux/sched.h:56, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/os-registry.c:14: include/linux/nodemask.h: In function `__first_node': include/linux/nodemask.h:229: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__next_node': include/linux/nodemask.h:235: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__first_unset_node': include/linux/nodemask.h:253: warning: signed and unsigned type in condition al expression In file included from include/linux/list.h:8, from include/linux/wait.h:22, from include/asm/semaphore.h:42, from include/linux/sched.h:59, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/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/asm/elf.h:48, from include/linux/elf.h:7, from include/linux/module.h:16, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:51, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/os-registry.c:14: include/asm/compat.h: In function `compat_alloc_user_space': include/asm/compat.h:202: warning: pointer of type `void *' used in arithmet ic In file included from include/asm/pci.h:92, from include/linux/pci.h:716, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:76, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/os-registry.c:14: include/asm-generic/pci-dma-compat.h: In function `pci_map_page': include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u sed in arithmetic cc -Wp,-MD,/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.n v-i2c.o.d -nostdinc -isystem /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/inc lude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.19/include -incl ude include/linux/autoconf.h -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776 -pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric t-aliasing -fno-common -O2 -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reo rder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-ti me -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFI G_AS_CFI=1 -fomit-frame-pointer -I/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8 776-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -W format -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werro r -O -fno-common -mno-red-zone -minline-all-stringops -MD -Wsign-compare -Wn o-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -mcmodel= kernel -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8776 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_ MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_M AP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DN V_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_ PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME =KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfg z9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/.tmp_nv-i2c.o /tmp/selfgz 9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv-i2c.c In file included from include/linux/sched.h:56, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-i2c.c:8: include/linux/nodemask.h: In function `__first_node': include/linux/nodemask.h:229: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__next_node': include/linux/nodemask.h:235: warning: signed and unsigned type in condition al expression include/linux/nodemask.h: In function `__first_unset_node': include/linux/nodemask.h:253: warning: signed and unsigned type in condition al expression In file included from include/linux/list.h:8, from include/linux/wait.h:22, from include/asm/semaphore.h:42, from include/linux/sched.h:59, from include/linux/utsname.h:35, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:19, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-i2c.c:8: 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/asm/elf.h:48, from include/linux/elf.h:7, from include/linux/module.h:16, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:51, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-i2c.c:8: include/asm/compat.h: In function `compat_alloc_user_space': include/asm/compat.h:202: warning: pointer of type `void *' used in arithmet ic In file included from include/asm/pci.h:92, from include/linux/pci.h:716, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-linux.h:76, from /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv/nv-i2c.c:8: include/asm-generic/pci-dma-compat.h: In function `pci_map_page': include/asm-generic/pci-dma-compat.h:49: warning: pointer of type `void *' u sed in arithmetic /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv-i2c.c: At to p level: /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv-i2c.c:26: er ror: unknown field `slave_send' specified in initializer /tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/nv-i2c.c:27: er ror: unknown field `slave_recv' specified in initializer make[4]: *** [/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/src/nv/n v-i2c.o] Error 1 make[3]: *** [_module_/tmp/selfgz9885/NVIDIA-Linux-x86_64-1.0-8776-pkg2/usr/ src/nv] Error 2 make[2]: *** [modules] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [mdl] 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. |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Apr 2002
Città: Vicenza
Messaggi: 378
|
ho trovato da solo la soluzione del problema googleando un pò...
cmq sembra che l'ultima release dei driver nvidia abbiano qualche problema di codice se si tenta di compilarli con un kernel > 2.6.18; ho trovato nel forum nvnews le modifiche da fare ai sorgenti che permettono la compilazione. Ecco cosa fare: -> scompattare il pacchetto Nvidia-installer -> dal file usr/src/nv/nv-i2c.c eliminare le righe 26 e 27 -> da file usr/src/nv/nv-linux editare la riga 17: da #include <linux/config.h> a #include <linux/autoconf.h> Con queste modifiche son riuscito a compilare senza problemi i drivers.... Spero di essere stato utile a qualcuno... |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Aug 2006
Città: Reggio Calabria
Messaggi: 1774
|
utilissimo anke a me. grazie
![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 00:21.