[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nvidia kernel 2.6.21



On Wednesday 11 July 2007 16:12:35 Juan Gonzalez wrote:
> El 11/07/07, Juan Gonzalez <jgonzalez.debian@gmail.com> escribió:
> > El 11/07/07, jsalaz3@almez.pntic.mec.es <jsalaz3@almez.pntic.mec.es> 
escribió:
> > > El Miércoles, 11 de Julio de 2007 14:10, Esclarecio escribió:
> > > > El 11/07/07, "Cherny D. C. Berbesí­ I." <ergochomardito@gmail.com> 
escribió:
> > > > > Juan Gonzalez escribió:
> > > > > > Hola a todos, hasta donde se para poder instalar el driver de
> > > > > > nvidia tengo que tener instalado el kernel de envidia y la
> > > > > > version debe ser la misma que el kernel del SO, esto por que yo
> > > > > > instalaba el kernel-nvidia-2.6.18-4-k7 y ahora que cambie mi
> > > > > > kernel al 2.6.21-2-k7, no he podido encontrar esta version para
> > > > > > nvidia, tengo instalado los siguientes paquetes:
> > > > > >
> > > > > > nvidia-kernel-legacy-71xx-2.6.18-4-k7
> > > > > > nvidia-kernel-legacy-71xx-2.6-k7
> > > > > > nvidia-kernel-source
> > > > > > nvidia-kernel-common
> > > > > > xserver-xorg-video-nv
> > > > > >
> > > > > > cuando intente instalar el drivers me arrojo el sgte error
> > > > > > "Unable to build the NVIDIA kernel module", me he desgastado los
> > > > > > dedos buscando de donde bajar el kernel de nvidia que me sirva,
> > > > > > si alguien sabe de donde lo puedo bajar, o si estoy haciendo algo
> > > > > > mal, o quizas me sirva otro kernel de nvidia, o si simplemente mi
> > > > > > solucion es volver al kernel anterior les ruego por favor me lo
> > > > > > haga saber, desde ya muchisimas gracias
> > > > >
> > > > > Una pregunta, tienes instalado los headers de tu kernel?
> >
> > Si, si tengo instalado los headers
> >
> > > > > --
> > > >
> > > > Intentaste instalar el driver de nvidia? Creo que guarda todo lo que
> > > > hace en un log no se si en /tmp o /var/log/   algo tipo
> > > > nvidia-error.log o asi.
> > > >
> > > > Hay encontras la causa, ya que pueden ser varias:
> > > > 1.- Kernel sin headers, instala los headers
> > > > 2.- Gcc con version distinta de la que con se compilo el kernel, has
> > > > actualizado gcc o kernel image y no gcc?  compara la salida de esto 2
> > > > comando: gcc -v  Vs uname -a
> > > > 3.-La tipica de los gpl simbols
> > > > 4.-La que me mola de, se le pasan 2 simbolos y esperaba 3. esa mola
> > > > mola XD
> > >
> > > Si intentas con el paquete de nvidia, no se si hay alguna pega. Pero si
> > > lo intentas  con el driver propietario de nvidia (el que se baja en su
> > > web)  y tienes el kernel 2.6.21, me parece que la llevas clara.
> > > Más información en:
> > >
> > > http://www.esdebian.org/forum/viewtopic.php?forum=4&showtopic=89199
> > >
> > >  O en google buscando 2.6.21 nvidia gpl (lo de gpl es parte del error
> > > que aparece el el log)
> > >
> > > Un saludo, y ya contarás si logras la aceleración gráfica sin
> > > recompilar el núcleo y sin cambiar el kernel.
> >
> > Vi la dirección y en realidad creo que se necesitan conocimientos algo
> > "avanzados" para poder hacerlo, mm creo que tendre que volver a mi
> > antiguo nucleo.
> >
> > triste por que creo que se debiera ir de menos a mas y no alrevez,
> > aunke muchas gracias a los tres.
>
> otra cosa aca les dejo el nvidia-installer.log, de todo lo que vi no
> entendi nada, si alguien ve algo que me pueda guiar se lo agredeceria.
> ahi se leen
>
>
> nvidia-installer log file '/var/log/nvidia-installer.log'
> creation time: Tue Jul 10 22:57:07 2007
>
> 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
>   no X server check       : false
>   force 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)
>   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.
> -> 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: Yes)
> -> No matching precompiled kernel interface was found on the NVIDIA ftp
> site; this means that the installer will need to compile a kernel interface
> for your kernel.
> -> Performing CC sanity check with CC="cc".
> -> Performing CC version check with CC="cc".
> -> Kernel source path: '/lib/modules/2.6.21-2-k7/build'
> -> Kernel output path: '/lib/modules/2.6.21-2-k7/build'
> -> Performing rivafb check.
> -> Performing nvidiafb check.
> -> Performing Xen 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
> nvacpi. o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o
> nvacpi.o nvidi a.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 Modules.symvers
>    rm -f -rf .tmp_versions
>    rm -f Makefile
> -> Building kernel module:
>    executing: 'cd ./usr/src/nv; make module
> SYSSRC=/lib/modules/2.6.21-2-k7/bui ld
> SYSOUT=/lib/modules/2.6.21-2-k7/build'...
>    sh ./conftest.sh "cc" "cc" /lib/modules/2.6.21-2-k7/build
> /lib/modules/2.6.2 1-2-k7/build cc_sanity_check full_output
>    sh ./conftest.sh "cc" "cc" /lib/modules/2.6.21-2-k7/build
> /lib/modules/2.6.2 1-2-k7/build select_makefile full_output
>    make --no-print-directory -f Makefile module
>
>    NVIDIA: calling KBUILD...
>    make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.21-2-k7/build
> SUBDIRS=/tmp/ selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv 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
> mis sing.";	\
>    	echo "         Run 'make oldconfig && make prepare' on kernel src to
> fix it .";	\
>    	echo;								\
>    	/bin/false)
>    mkdir -p
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.tmp_ver sions
>    rm -f
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.tmp_versio ns/*
>    make -f scripts/Makefile.build
> obj=/tmp/selfgz6702/NVIDIA-Linux-x86-100.14.0 9-pkg1/usr/src/nv
>    echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" >
> /tmp/selfgz6702/NVI DIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv_compiler.h
>      cc
> -Wp,-MD,/tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.nv. o.d
>  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL __
> -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-proto
> types -Wno-trigraphs -fno-strict-aliasing -fno-common  -Os -pipe
> -msoft-floa t -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 
> -march=athlo n -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1
> -DCONFIG_AS_CF I_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default
> -fomit-frame-pointer  -fno- stack-protector -Wdeclaration-after-statement
> -Wno-pointer-sign -I/tmp/selfg
> z6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv -Wall -Wimplicit
> -Wreturn-t ype -Wswitch -Wformat -Wchar-subscripts -Wparentheses
> -Wpointer-arith  -Wno- multichar  -Werror  -O -fno-common -msoft-float     
>     -MD   -Wsign-compar e -Wno-cast-qual -Wno-error -D_LOOSE_KERN
>    EL_NAMES -D__KERNEL__ -DMODULE  -DNVRM -DNV_VERSION_STRING=\"100.14.09\"
> -UD EBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM
> -DNV_MULTIPLE_BRIDGE_AGPGART_ PRESENT -DNV_PCI_GET_CLASS_PRESENT
> -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM _MESSAGE_T_PRESENT
> -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT
> -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT
> -DNV_CHANGE _PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT
> -DNV_VMAP_4_PRESENT  -DM ODULE -D"KBUILD_STR(s)=#s"
> -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MOD NAME=KBUILD_STR(nvidia)"
> -c -o /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pk g1/usr/src/nv/.tmp_nv.o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/ src/nv/nv.c
>    In file included from include/linux/list.h:8,
>                     from include/linux/wait.h:22,
>                     from include/asm/semaphore.h:41,
>                     from include/linux/sched.h:59,
>                     from include/linux/utsname.h:35,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/nv/nv-linux.h:19,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-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
>    /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c: In
> function '__nv_setup_pat_entries':
>    /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:946:
> warning
>
>    : comparison between signed and unsigned
>
>    /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c: In
> function '__nv_restore_pat_entries':
>    /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:972:
> warning
>
>    : comparison between signed and unsigned
>
>    /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c: In
> function 'nv_kern_cpu_callback':
>    /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:1278:
> warnin g: comparison between signed and unsigned
>    /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv.c:1285:
> warnin g: comparison between signed and unsigned
>      cc
> -Wp,-MD,/tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.nv-
> vm.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
> -D__KER NEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef
> -Wstrict-pr ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common  -Os
> -pipe -msoft-f loat -mregparm=3 -freg-struct-return
> -mpreferred-stack-boundary=2  -march=at hlon -ffreestanding
> -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS
> _CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer 
> -f no-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
> -I/tmp/se lfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv -Wall
> -Wimplicit -Wretur n-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
> -Wpointer-arith  -W no-multichar  -Werror  -O -fno-common -msoft-float     
>     -MD   -Wsign-com pare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
> -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"100.14.09\" -UDEBUG
> -U_DEBUG -DNDEBUG -DNV_SIGN AL_STRUCT_RLIM -DNV_MUL
>    TIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT
> -DNV_SYSCTL_MAX_MAP_ COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT
> -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_V M_INSERT_PAGE_PRESENT
> -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RAN GE_PRESENT
> -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -D
> NV_VMAP_4_PRESENT  -DMODULE -D"KBUILD_STR(s)=#s"
> -D"KBUILD_BASENAME=KBUILD_S TR(nv_vm)" 
> -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6702/NVID
> IA-Linux-x86-100.14.09-pkg1/usr/src/nv/.tmp_nv-vm.o
> /tmp/selfgz6702/NVIDIA-L inux-x86-100.14.09-pkg1/usr/src/nv/nv-vm.c
>    In file included from include/linux/list.h:8,
>                     from include/linux/wait.h:22,
>                     from include/asm/semaphore.h:41,
>                     from include/linux/sched.h:59,
>                     from include/linux/utsname.h:35,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/nv/nv-linux.h:19,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/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 a
>    rithmetic
>      cc
> -Wp,-MD,/tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.os-
> agp.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
> -D__KE RNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef
> -Wstrict-p rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common  -Os
> -pipe -msoft- float -mregparm=3 -freg-struct-return
> -mpreferred-stack-boundary=2  -march=a thlon -ffreestanding
> -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_A
> S_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer 
> - fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
> -I/tmp/s elfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv -Wall
> -Wimplicit -Wretu rn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
> -Wpointer-arith  - Wno-multichar  -Werror  -O -fno-common -msoft-float     
>     -MD   -Wsign-co mpare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
> -D__KER
>    NEL__ -DMODULE  -DNVRM -DNV_VERSION_STRING=\"100.14.09\" -UDEBUG
> -U_DEBUG -D NDEBUG -DNV_SIGNAL_STRUCT_RLIM
> -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI _GET_CLASS_PRESENT
> -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESE NT
> -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGD
> B_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT
> -DNV_CHANGE_PAGE_ATTR_PRES ENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT
> -DNV_VMAP_4_PRESENT  -DMODULE -D"KBUILD _STR(s)=#s"
> -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUILD
> _STR(nvidia)" -c -o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/ nv/.tmp_os-agp.o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/ os-agp.c
>    In file included from include/linux/list.h:8,
>                     from include/linux/wait.h:22,
>                     from include/asm/semaphore.h:41,
>                     from include/linux/sched.h:59,
>                     from include/linux/utsname.h:35,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/nv/nv-linux.h:19,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/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 a
>    rithmetic
>      cc
> -Wp,-MD,/tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.os-
> interface.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
> -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef
> -Wst rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common  -Os
> -pipe - msoft-float -mregparm=3 -freg-struct-return
> -mpreferred-stack-boundary=2  -m arch=athlon -ffreestanding
> -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCO
> NFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default
> -fomit-frame-poin ter  -fno-stack-protector -Wdeclaration-after-statement
> -Wno-pointer-sign -I
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv -Wall -Wimplicit
> -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
> -Wpointer-ar ith  -Wno-multicha
>    r  -Werror  -O -fno-common -msoft-float          -MD   -Wsign-compare
> -Wno-c ast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE 
> -DNVRM -DNV _VERSION_STRING=\"100.14.09\" -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_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_R
> EMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT
> -DNV_ACQUIRE_CONSOLE_SE M_PRESENT -DNV_VMAP_4_PRESENT  -DMODULE
> -D"KBUILD_STR(s)=#s" -D"KBUILD_BASEN AME=KBUILD_STR(os_interface)" 
> -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /
> tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.tmp_os-interface
>. o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-interface.c
> In file included from include/linux/list.h:8,
>                     from include/linux/wait.h:22,
>                     from include/asm/semaphore.h:41,
>                     from include/linux/sched.h:59,
>                     from include/linux/utsname.h:35,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/nv/nv-linux.h:19,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
> c/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 a
>    rithmetic
>      cc
> -Wp,-MD,/tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.os-
> registry.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
> - D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef
> -Wstr ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common  -Os
> -pipe -m soft-float -mregparm=3 -freg-struct-return
> -mpreferred-stack-boundary=2  -ma rch=athlon -ffreestanding
> -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCON
> FIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default
> -fomit-frame-point er  -fno-stack-protector -Wdeclaration-after-statement
> -Wno-pointer-sign -I/ tmp/selfgz6702/NVIDIA
>    -Linux-x86-100.14.09-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type
> -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith 
> -Wno-multichar  -W error  -O -fno-common -msoft-float          -MD  
> -Wsign-compare -Wno-cast-q ual -Wno-error -D_LOOSE_KERNEL_NAMES
> -D__KERNEL__ -DMODULE  -DNVRM -DNV_VERS ION_STRING=\"100.14.09\" -UDEBUG
> -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -
> DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT
> -DNV_SYSCTL_M AX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT
> -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT
> -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_P FN_RANGE_PRESENT
> -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRES ENT
> -DNV_VMAP_4_PRESENT  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KB
> UILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
> /tmp/sel
> fgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.tmp_os-registry.o
> /tmp/s elfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-registry.c
> In file included from include/linux/list.h:8,
>                     from include/linux/wait.h:22,
>                     from include/asm/semaphore.h:41,
>                     from include/linux/sched.h:59,
>                     from include/linux/utsname.h:35,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/nv/nv-linux.h:19,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr
> c/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 a
>    rithmetic
>      cc
> -Wp,-MD,/tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.nv-
> i2c.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
> -D__KE RNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef
> -Wstrict-p rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common  -Os
> -pipe -msoft- float -mregparm=3 -freg-struct-return
> -mpreferred-stack-boundary=2  -march=a thlon -ffreestanding
> -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_A
> S_CFI_SIGNAL_FRAME=1 -Iinclud
>    e/asm-i386/mach-default -fomit-frame-pointer  -fno-stack-protector
> -Wdeclara tion-after-statement -Wno-pointer-sign
> -I/tmp/selfgz6702/NVIDIA-Linux-x86-10 0.14.09-pkg1/usr/src/nv -Wall
> -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc har-subscripts -Wparentheses
> -Wpointer-arith  -Wno-multichar  -Werror  -O -f no-common -msoft-float     
>     -MD   -Wsign-compare -Wno-cast-qual -Wno-err or -D_LOOSE_KERNEL_NAMES
> -D__KERNEL__ -DMODULE  -DNVRM -DNV_VERSION_STRING=\ "100.14.09\" -UDEBUG
> -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE
> _BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT
> -DNV_SYSCTL_MAX_MAP_COUNT _PRESENT -DNV_PM_MESSAGE_T_PRESENT
> -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INS ERT_PAGE_PRESENT
> -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PR ESENT
> -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_VM
> AP_4_PRESENT  -DMODULE -D"KBUILD_STR(s)=#s"
> -D"KBUILD_BASENAME=KBUILD_STR(nv _i2c)" 
> -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6702/NVIDIA-L
> inux-x86-100.14.09-pkg1/usr/src/nv/.
>    tmp_nv-i2c.o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv-i 2c.c
>    In file included from include/linux/list.h:8,
>                     from include/linux/wait.h:22,
>                     from include/asm/semaphore.h:41,
>                     from include/linux/sched.h:59,
>                     from include/linux/utsname.h:35,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/nv/nv-linux.h:19,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/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 a
>    rithmetic
>      cc
> -Wp,-MD,/tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.nva
> cpi.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
> -D__KE RNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef
> -Wstrict-p rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common  -Os
> -pipe -msoft- float -mregparm=3 -freg-struct-return
> -mpreferred-stack-boundar y=2  -march=athlon -ffreestanding
> -maccumulate-outgoing-args -DCONFIG_AS_CFI =1
> -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-fra
> me-pointer  -fno-stack-protector -Wdeclaration-after-statement
> -Wno-pointer- sign
> -I/tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv -Wall -Wim
> plicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
> -Wpoi nter-arith  -Wno-multichar  -Werror  -O -fno-common -msoft-float     
>     -M D   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
> -D__KERNE L__ -DMODULE  -DNVRM -DNV_VERSION_STRING=\"100.14.09\" -UDEBUG
> -U_DEBUG -DND EBUG -DNV_SIGNAL_STRUCT_RLIM
> -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_G ET_CLASS_PRESENT
> -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT
> -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT
> -DNV_OLD_MM_KGDB_B REAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT
> -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT
> -DNV_VMAP_4_PRESENT  -DMODULE -D"KBUILD_STR (s)=#s"
> -D"KBUILD_BASENAME=KBUILD_
>    STR(nvacpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
> /tmp/selfgz6702/NV IDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/.tmp_nvacpi.o
> /tmp/selfgz6702/NVIDI A-Linux-x86-100.14.09-pkg1/usr/src/nv/nvacpi.c
>    In file included from include/linux/list.h:8,
>                     from include/linux/wait.h:22,
>                     from include/asm/semaphore.h:41,
>                     from include/linux/sched.h:59,
>                     from include/linux/utsname.h:35,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/nv/nv-linux.h:19,
>                     from
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/sr c/nv/nvacpi.c:15:
>    include/linux/prefetch.h: In function 'prefetch_range':
>    include/linux/prefetch.h:62: warning: pointer of type 'void *' used in a
>    rithmetic
>      ld -m elf_i386 -m elf_i386  -r -o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14. 09-pkg1/usr/src/nv/nvidia.o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/ usr/src/nv/nv-kernel.o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/s rc/nv/nv.o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv-vm. o
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-agp.o /tmp/s
> elfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-interface.o
> /tmp/sel fgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/os-registry.o
> /tmp/selfgz 6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nv-i2c.o
> /tmp/selfgz6702/NVI DIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nvacpi.o
>      Building modules, stage 2.
>    make -f /usr/src/linux-headers-2.6.21-2-k7/scripts/Makefile.modpost
>      scripts/mod/modpost -m  -i
> /usr/src/linux-headers-2.6.21-2-k7/Module.symve rs -I
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/Module.symv ers
> -o /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/Module.sym
> vers -w 
> /tmp/selfgz6702/NVIDIA-Linux-x86-100.14.09-pkg1/usr/src/nv/nvidia.o FATAL:
> modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
> virt_ops'
>    make[3]: *** [__modpost] Error 1
>    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.

Para que me funcione el driver de nvidia con el kernel 2.6.21, yo instalé los 
drivers propietarios, y tuve que recompilar el kernel, para desactivar todo 
lo que tenga que ver con virtualización. Con eso anduvo. No obstante no estoy 
usando dicho driver porque me cuelga las X. Con nv o vesa (obviamente sin 
aceleración) no se cuelga). Lo que no sé es si el problema es del driver o de 
xorg.

saludos

Santiago



Reply to: