View previous topic :: View next topic |
Author |
Message |
Autie Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13579899149ea5fc4e5535.jpg)
Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Thu Apr 17, 2008 9:45 pm Post subject: gentoo-sources-2.6.25 |
|
|
Hi, this relates new kernel on an amd64 box.
nvidia-drivers failing compiling with this kernel version:
Code: | >>> Emerging (1 of 2) x11-drivers/nvidia-drivers-169.12 to /
* NVIDIA-Linux-x86_64-169.12-pkg2.run RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking NVIDIA-Linux-x86_64-169.12-pkg2.run ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.25-gentoo/build
* Found sources for kernel version:
* 2.6.25-gentoo
* Checking for MTRR support ... [ ok ]
* Checking for Paravirtualized guest support ...
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86_64-169.12-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 169.12............................................................................................................................................
* Applying NVIDIA_glx-defines.patch ... [ ok ]
* Applying NVIDIA_glx-glheader.patch ... [ ok ]
* Applying NVIDIA_i2c-hwmon.patch ... [ ok ]
* Converting NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2 ...
* Preparing nvidia module
NVIDIA: calling KBUILD...
make CC=x86_64-pc-linux-gnu-gcc KBUILD_OUTPUT=/lib/modules/2.6.25-gentoo/build KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make -C /lib/modules/2.6.25-gentoo/build \
KBUILD_SRC=/usr/src/linux-2.6.25-gentoo \
KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv" -f /usr/src/linux-2.6.25-gentoo/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 missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/.tmp_versions/*
make -f /usr/src/linux-2.6.25-gentoo/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.25-gentoo/include -include include/linux/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -fno-stack-protector -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.12\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.25-gentoo/include -include include/linux/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -fno-stack-protector -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.12\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c
/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c: In function ‘nv_set_page_attrib_uncached’:
/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c:64: warning: ‘change_page_attr’ is deprecated (declared at include/asm/cacheflush.h:28)
/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c: In function ‘nv_set_page_attrib_cached’:
/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c:79: warning: ‘change_page_attr’ is deprecated (declared at include/asm/cacheflush.h:28)
/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c: In function ‘nv_flush_caches’:
/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.c:364: error: implicit declaration of function ‘global_flush_tlb’
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv/nv-vm.o] Error 1
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/work/NVIDIA-Linux-x86_64-169.12-pkg2/usr/src/nv] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
*
* ERROR: x11-drivers/nvidia-drivers-169.12 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3688: Called linux-mod_src_compile
* environment, line 2714: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.25-gentoo/build HOST_CC=x86_64-pc-linux-gnu-gcc clean module
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.12/temp/environment'.
*
|
anyone else? or any idea how to fix this? _________________ The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Desintegr l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/7536666634a283a0e74540.jpg)
Joined: 25 Mar 2004 Posts: 863 Location: France - Orléans
|
Posted: Thu Apr 17, 2008 9:48 pm Post subject: |
|
|
NVIDIA drivers 169.12 are not compatible with 2.6.25 kernels.
Use this patch or 173.08 beta drivers. _________________ Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Autie Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13579899149ea5fc4e5535.jpg)
Joined: 25 Jul 2003 Posts: 309 Location: Ledegem - Belgium
|
Posted: Thu Apr 17, 2008 10:04 pm Post subject: |
|
|
Thanks, works great _________________ The capacity to learn is a gift; The ability to learn is a skill; The willingness to learn is a choice. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Thu Apr 17, 2008 10:56 pm Post subject: |
|
|
I tried to get something off the nvidia site, but they don't seem to have anything for the GeForce 6600 GT beyond what I already have installed. Was there something else that should have been tried? Thanks,
Fred |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Desintegr l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/7536666634a283a0e74540.jpg)
Joined: 25 Mar 2004 Posts: 863 Location: France - Orléans
|
Posted: Thu Apr 17, 2008 11:00 pm Post subject: |
|
|
Fred Krogh wrote: | I tried to get something off the nvidia site, but they don't seem to have anything for the GeForce 6600 GT beyond what I already have installed. Was there something else that should have been tried? Thanks,
Fred |
What's wrong ?
6600 GT is supported by both 169.12 and 173.08 drivers. _________________ Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Thu Apr 17, 2008 11:05 pm Post subject: |
|
|
At http://www.nvidia.com/Download/index.aspx?lang=en-us if I choose the GeForce 6 Series for Linux 64-bit, then click on Search, it offers me what I already have. If I click on Graphics Drivers (Option 2), I get Quote: | We're sorry, the NVIDIA Smart Scan does not support your system at this time. | I saw no other plausible choices. Thanks,
Fred |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Desintegr l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/7536666634a283a0e74540.jpg)
Joined: 25 Mar 2004 Posts: 863 Location: France - Orléans
|
Posted: Thu Apr 17, 2008 11:10 pm Post subject: |
|
|
If you use a 2.6.25 kernel, use patched 169.12 drivers or 173.08 beta drivers.
You can find ebuilds in some overlays.
Otherwise go back to 2.6.24 kernel and wait for an update in Portage.
You can add yourself to CC for bug 218178. _________________ Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fred Krogh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Thu Apr 17, 2008 11:13 pm Post subject: |
|
|
I have no idea how to find what you suggest, but it is no disaster to keep using what I have. Thanks,
Fred |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DaNIsH Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/37916053340e7d7c6cd72a.gif)
Joined: 01 Jan 2003 Posts: 197 Location: Melbourne, Australia.
|
Posted: Fri Apr 18, 2008 6:31 am Post subject: |
|
|
Does anyone know the exact overlay to find the 173.08 driver? _________________ Adopt an unanswered post today |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wolfden Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 13 Oct 2004 Posts: 102 Location: Midwest
|
Posted: Fri Apr 18, 2008 2:43 pm Post subject: |
|
|
devnull has 173.08 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DaNIsH Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/37916053340e7d7c6cd72a.gif)
Joined: 01 Jan 2003 Posts: 197 Location: Melbourne, Australia.
|
Posted: Fri Apr 18, 2008 9:19 pm Post subject: |
|
|
wolfden wrote: | devnull has 173.08 |
Great, got it, thanks a bunch ![Smile :)](images/smiles/icon_smile.gif) _________________ Adopt an unanswered post today |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|