Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-16-06, 11:30 AM   #1
sams0n
Registered User
 
Join Date: Dec 2005
Posts: 24
Default Anyone managed to compile 6111 with 2.6.17 kernel?

Why? Because: Riva TNT2 locks the X when switching to console or
logging off with any other driver I tried. The 6111 is the last one that works


-> Performing rivafb check.
-> Performing rivafb module check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
grep: /lib/modules/2.6.17-gentoo-sunrise/build/Makefile: No such file or dir
ectory
grep: /lib/modules/2.6.17-gentoo-sunrise/build/Makefile: No such file or dir
ectory
grep: /lib/modules/2.6.17-gentoo-sunrise/build/Makefile: No such file or dir
ectory
grep: /lib/modules/2.6.17-gentoo-sunrise/build/Makefile: No such file or dir
ectory
grep: /lib/modules/2.6.17-gentoo-sunrise/build/Makefile: No such file or dir
ectory
grep: /lib/modules/2.6.17-gentoo-sunrise/build/Makefile: No such file or dir
ectory
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.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 *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s
rc/linux'...

NVIDIA: calling KBUILD...
make -C /usr/src/linux \
KBUILD_SRC=/usr/src/linux-2.6.17-gentoo-r8 \
KBUILD_EXTMOD="/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv" -
f /usr/src/linux-2.6.17-gentoo-r8/Makefile modules
mkdir -p /tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_ver
sions
rm -f /tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_versio
ns/*
make -f /usr/src/linux-2.6.17-gentoo-r8/scripts/Makefile.build obj=/tmp/self
gz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz18548/NV
IDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.
o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include -D__KER
NEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.17-gentoo-r8/include -includ
e include/linux/autoconf.h -I/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg
1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
iasing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-s
tack-boundary=2 -march=i686 -mtune=pentium2 -mregparm=3 -ffreestanding -I/us
r/src/linux-2.6.17-gentoo-r8/include/asm-i386/mach-default -Iinclude/asm-i38
6/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfg
z18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-t
ype -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-m
ultichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNE
L_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
=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEB
UG -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BAS
ENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/self
gz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o /tmp/selfgz18548/NVID
IA-Linux-x86-1.0-6111-pkg1/usr/src/
v/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:20,
from include/linux/module.h:10,
from /tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
c/nv/nv-linux.h:52,
from /tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
c/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:559,
from /tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
c/nv/nv-linux.h:75,
from /tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
c/nv/nv.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:246: warning: wrong type argument to increment
In file included from /tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
c/nv/nv.c:14:
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:179:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:207:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: At top leve
l:
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:220: warning
: initialization from incompatible pointer type
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:242:5: warni
ng: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
‘nvos_find_agp_by_class’:
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning
: implicit declaration of function ‘pci_find_class’
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:653: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1325:5: warn
ing: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_mmap’:
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1765: warnin
g: implicit declaration of function ‘remap_page_range’
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
‘_get_phys_address’:
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:2731: warnin
g: passing argument 1 of ‘pmd_offset’ from incompatible pointer type
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
‘nv_agp_init’:
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3332: warnin
g: implicit declaration of function ‘inter_module_get’
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3333: warnin
g: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:
567)
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
‘nvos_count_devices’:
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3486: warnin
g: assignment makes pointer from integer without a cast
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3491: warnin
g: assignment makes pointer from integer without a cast
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
‘nv_acpi_event’:
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
‘PM_SAVE_STATE� undeclared (first use in this function)
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
(Each undeclared identifier is reported only once
/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
for each function it appears in.)
make[4]: *** [/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.
o] Error 1
make[3]: *** [_module_/tmp/selfgz18548/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/sr
c/nv] 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.
sams0n is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 04:01 PM.


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