Ver Mensaje Individual
  #8 (permalink)  
Antiguo 29/08/2006, 14:08
Avatar de jorge25
jorge25
 
Fecha de Ingreso: noviembre-2005
Ubicación: Venezuela, San Juan de Los Morros.
Mensajes: 165
Antigüedad: 19 años, 1 mes
Puntos: 1
Que mala suerte tengo! No me funciona!

Cita:
Iniciado por srabadie Ver Mensaje
Lo que ocurre es que compilaste los módulos de nVidia para tu núcleo 2.4.27-2-386, ahora tienes que hacerlo para tu núcleo 2.6.16-2-686. Para ello, tienes que seguir los mismos pasos que seguiste la otra vez, con sólo uno más:

Arranca con el núcleo nuevo (2.6.16-2-686) y teclea como root:
Código:
# m-a prepare
# m-a a-i nvidia-kernel-legacy-source
# apt-get install nvidia-glx-legacy
La instrucción "m-a prepare" funciona correctamente.
Pero cuando hago "m-a a-i nvidia-kernel-legacy-source" me genera el siguiente error:

Cita:
Build of the package nvidia-kernel-legacy-source failed!
How do you wish procced?
Luego Aparecen tres opciones:

Cita:
1.- VIEW (Muestra el archivo log del error)
2.- CONTINUE (Se sale y no hace más nada)
3.- STOP: Package nvidia-kernel-legacy-source was not built successfully, see /var/cache/modass/nvidia-kernel-legacy-source*buildlog for details!
Éste es el log:
Código:
/usr/bin/make  -f debian/rules clean
make[1]: se ingresa al directorio `/usr/src/modules/nvidia-kernel-legacy'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel-legacy/nv/Makefile || true
if [ 6 = 6  ]; then \
	     cd /usr/src/modules/nvidia-kernel-legacy/nv ; \
	     ln -s Makefile.kbuild Makefile ; \
	     cd .. ; \
	     if [ 0  = 1 ] ; then \
	        dpatch apply 04_minion ; \
	     fi ; \
	     if [ 0 = 1 ]; then \
	     	dpatch apply 01_sysfs ; \
		dpatch status 01_sysfs >patch-stamp ; \
		dpatch apply 02_pcialias ; \
               	dpatch status 02_pcialias >>patch-stamp ; \
	     fi ; \
	fi
if [  6 = 4  ]; then \
	     cd /usr/src/modules/nvidia-kernel-legacy/nv ; \
	     ln -s Makefile.nvidia Makefile ; \
	     cd .. ; \
	fi
if [ -e patch-stamp ]; then \
	   dpatch deapply-all ; \
	   rm -rf patch-stamp debian/patched ; \
	fi   
if [ -f /usr/src/modules/nvidia-kernel-legacy/debian/control.template ]; then \
		cp  /usr/src/modules/nvidia-kernel-legacy/debian/control.template /usr/src/modules/nvidia-kernel-legacy/debian/control; \
	fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.16-2-686/build -C /usr/src/modules/nvidia-kernel-legacy/nv -f Makefile 
make[2]: se ingresa al directorio `/usr/src/modules/nvidia-kernel-legacy/nv'
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-agp.o os-interface.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 *~
rm -f -rf .tmp_versions
make[2]: se sale del directorio `/usr/src/modules/nvidia-kernel-legacy/nv'
rm -f /usr/src/modules/nvidia-kernel-legacy/nv/Makefile || true; 	
rm /usr/src/modules/nvidia-kernel-legacy/nv/gcc-check
rm /usr/src/modules/nvidia-kernel-legacy/nv/cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel-legacy/debian/control
rm /usr/src/modules/nvidia-kernel-legacy/debian/dirs
rm /usr/src/modules/nvidia-kernel-legacy/debian/override
make[1]: se sale del directorio `/usr/src/modules/nvidia-kernel-legacy'
echo "ROOT_CMD = "
ROOT_CMD = 
/usr/bin/make  -f debian/rules binary_modules
make[1]: se ingresa al directorio `/usr/src/modules/nvidia-kernel-legacy'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel-legacy/nv/Makefile || true
if [ 6 = 6  ]; then \
	     cd /usr/src/modules/nvidia-kernel-legacy/nv ; \
	     ln -s Makefile.kbuild Makefile ; \
	     cd .. ; \
	     if [ 0  = 1 ] ; then \
	        dpatch apply 04_minion ; \
	     fi ; \
	     if [ 0 = 1 ]; then \
	     	dpatch apply 01_sysfs ; \
		dpatch status 01_sysfs >patch-stamp ; \
		dpatch apply 02_pcialias ; \
               	dpatch status 02_pcialias >>patch-stamp ; \
	     fi ; \
	fi
if [  6 = 4  ]; then \
	     cd /usr/src/modules/nvidia-kernel-legacy/nv ; \
	     ln -s Makefile.nvidia Makefile ; \
	     cd .. ; \
	fi
#nothing here anymore
touch configure-stamp
if [ -f /usr/src/modules/nvidia-kernel-legacy/debian/control.template ]; then \
		cp  /usr/src/modules/nvidia-kernel-legacy/debian/control.template /usr/src/modules/nvidia-kernel-legacy/debian/control; \
	fi
dh_testdir
dh_testroot
PATCHLEVEL = 6 
Kernel compiler version : 4.0.3
Detected compiler version : /bin/sh: gcc-4.0: command not found 
                                                           
You appear to be compiling the NVIDIA kernel module with   
a compiler different from the one that was used to compile 
the running kernel. This may be perfectly alright and you 
may be building this module for another kernel in which case
you may ignore this message.
 
The compiler that will be used to compile this module has been
determined from:
 1) the CC environment variable 
 2) that specified in 
    /lib/modules/2.6.16-2-686/build/include/linux/compile.h
 3) gcc 
Using compiler gcc-4.0 version /bin/sh: gcc-4.0: command not found 
touch /usr/src/modules/nvidia-kernel-legacy/nv/gcc-check
touch /usr/src/modules/nvidia-kernel-legacy/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.0"  /usr/bin/make -C /usr/src/modules/nvidia-kernel-legacy/nv -f Makefile SYSSRC=/lib/modules/2.6.16-2-686/build   KBUILD_PARAMS="-C /lib/modules/2.6.16-2-686/build SUBDIRS=/usr/src/modules/nvidia-kernel-legacy/nv" module;
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
make[2]: se ingresa al directorio `/usr/src/modules/nvidia-kernel-legacy/nv'
./conftest.sh: line 9: gcc-4.0: command not found
./conftest.sh: line 9: gcc-4.0: command not found
Your kernel was configured to include rivafb support!

The rivafb driver conflicts with the NVIDIA driver, please
reconfigure your kernel and *disable* rivafb support, then
try installing the NVIDIA kernel module again.

*** Failed rivafb sanity check. Bailing out! ***

make[2]: *** [rivafb-sanity-check] Error 1
make[2]: se sale del directorio `/usr/src/modules/nvidia-kernel-legacy/nv'
make[1]: *** [build-stamp] Error 2
make[1]: se sale del directorio `/usr/src/modules/nvidia-kernel-legacy'
make: *** [kdist_image] Error 2
Bueno, de verdad gracias por tu paciencia y colaboración.
__________________
Debian GNU/Linux 4.0 "Etch"

La felicidad no es un camino, es un estado de ánimo. Jorge Morgado