nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   7174 and 2.6.16-rc1 (http://www.nvnews.net/vbulletin/showthread.php?t=63581)

kangur 01-19-06 06:21 PM

7174 and 2.6.16-rc1
 
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

kosik-rockz 01-20-06 05:45 AM

Re: 7174 and 2.6.16-rc1
 
Maybe hitting the search button may help... ;)

http://www.nvnews.net/vbulletin/show...highlight=rlim

darjerz 02-03-06 06:09 AM

Re: 7174 and 2.6.16-rc1
 
Patch NVIDIA_kernel-1.0-8178-1444349.diff.txt it works(nana2). Thx


All times are GMT -5. The time now is 09:51 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.