|
|
#1 | |
|
Registered User
Join Date: Oct 2005
Posts: 9
|
Hi,
Looks like 7174 does not compile with 2.6.16-rc1. I am stuck with this driver because I have GeForce 2 GTS. I want to upgrade the kernel because of other, not related issues. I am using Gentoo (~x86). So I am asking if there is a patch available (or could be done in the nearest future)? Also what about new legacy drivers release? It could fix some other problems as well (not creating automagically device nodes in recent kernels and so on). Also new package name would be great because package managers will stop thinking that 7174 is very old version and should be upgraded (yes, I know /etc/portage/package.mask and I am done but it is a whole lot nicer if something works out of the box). In case you wonder this is the compilation error I am getting: cc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/.os-agp.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -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=7174 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/.tmp_os-agp.o /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/os-agp.c In file included from /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/os-agp.c:24: /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/nv-linux.h:241:5: warning: "NV_ENABLE_MEM_TRACKING" is not defined /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/nv-linux.h:269:5: warning: "NV_ENABLE_MEM_TRACKING" is not defined /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/nv-linux.h:691:2: warning: #warning "conftest.sh failed, assuming remap_page_range(4)!" cc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -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=7174 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/.tmp_os-interface.o /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/os-interface.c In file included from /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/os-interface.c:26: /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/nv-linux.h:241:5: warning: "NV_ENABLE_MEM_TRACKING" is not defined /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/nv-linux.h:269:5: warning: "NV_ENABLE_MEM_TRACKING" is not defined /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/nv-linux.h:691:2: warning: #warning "conftest.sh failed, assuming remap_page_range(4)!" /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/os-interface.c:667:5: warning: "DEBUG" is not defined /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/os-interface.c:679:5: warning: "DEBUG" is not defined /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/os-interface.c: In function `os_set_mlock_capability': /var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/os-interface.c:1262: error: structure has no member named `rlim' make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/os-interface.o] Error 1 make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.7174/work/NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 Thanks in advance, Grzegorz Kulewski |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jan 2006
Location: Wuppertal, Germany
Posts: 5
|
|
|
|
|
|
|
|
#3 |
|
Lamerus Pospolitus
Join Date: Feb 2006
Location: Wrocław Poland
Posts: 1
|
Patch NVIDIA_kernel-1.0-8178-1444349.diff.txt it works
. Thx |
|
|
|
![]() |
| Thread Tools | |
|
|