kinokrek
(usa Sabayon)
Enviado em 10/03/2011 - 16:27h
Pessoal, não consigo encontrar solução em lugar algum para meu problema e gostaria da ajuda de vocês. Alguém já passou por algo parecido?
Faz tempo que não precisava configurar/compilar o kernel e quando precisei utilizando o genkernel, eis o que dá:
# genkernel all
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: all
* Linux Kernel 2.6.37-sabayon for x86_64...
* kernel: Using config from /usr/share/genkernel/arch/x86_64/kernel-config
* Previous config backed up to .config--2011-03-09--00-57-27.bak
* kernel: >> Running mrproper...
* ERROR: Failed to compile the "mrproper" target...
* -- Grepping log... --
/bin/sh: /usr/src/linux-2.6.37-sabayon/scripts/gcc-goto.sh: Arquivo ou diretório não encontrado
make: *** Sem regra para processar o alvo `/usr/src/linux-2.6.37-sabayon/arch/x86/Makefile'. Pare.
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: all
* ERROR: Failed to compile the "mrproper" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
Se tento de outra forma:
# genkernel --no-mrproper all
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: --no-mrproper all
* Linux Kernel 2.6.37-sabayon for x86_64...
* kernel: --mrproper is disabled; not running 'make mrproper'.
* >> Running oldconfig...
* ERROR: Failed to compile the "oldconfig" target...
* -- Grepping log... --
Makefile:463: /usr/src/linux-2.6.37-sabayon/arch/x86/Makefile: Arquivo ou diretório não encontrado
make: *** Sem regra para processar o alvo `/usr/src/linux-2.6.37-sabayon/arch/x86/Makefile'. Pare.
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: --no-mrproper all
* ERROR: Failed to compile the "oldconfig" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
* kernel: >> Cleaning...
* ERROR: Failed to compile the "clean" target...
* -- Grepping log... --
Makefile:463: /usr/src/linux-2.6.37-sabayon/arch/x86/Makefile: Arquivo ou diretório não encontrado
make: *** Sem regra para processar o alvo `/usr/src/linux-2.6.37-sabayon/arch/x86/Makefile'. Pare.
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: --no-mrproper all
* ERROR: Failed to compile the "oldconfig" target...
--
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
--
/bin/sh: /usr/src/linux-2.6.37-sabayon/scripts/gcc-goto.sh: Arquivo ou diretório não encontrado
make: *** Sem regra para processar o alvo `/usr/src/linux-2.6.37-sabayon/arch/x86/Makefile'. Pare.
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: --no-mrproper all
* ERROR: Failed to compile the "clean" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
E o erro se repete a cada tentativa mesmo mais absurda:
# genkernel --no-mrproper --no-clean all
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: --no-mrproper --no-clean all
* Linux Kernel 2.6.37-sabayon for x86_64...
* kernel: --mrproper is disabled; not running 'make mrproper'.
* >> Running oldconfig...
* ERROR: Failed to compile the "oldconfig" target...
* -- Grepping log... --
Makefile:463: /usr/src/linux-2.6.37-sabayon/arch/x86/Makefile: Arquivo ou diretório não encontrado
make: *** Sem regra para processar o alvo `/usr/src/linux-2.6.37-sabayon/arch/x86/Makefile'. Pare.
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: --no-mrproper --no-clean all
* ERROR: Failed to compile the "oldconfig" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
* kernel: --clean is disabled; not running 'make clean'.
* ERROR: Failed to compile the "prepare" target...
* -- Grepping log... --
Makefile:463: /usr/src/linux-2.6.37-sabayon/arch/x86/Makefile: Arquivo ou diretório não encontrado
make: *** Sem regra para processar o alvo `/usr/src/linux-2.6.37-sabayon/arch/x86/Makefile'. Pare.
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: --no-mrproper --no-clean all
* ERROR: Failed to compile the "oldconfig" target...
--
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
--
/bin/sh: /usr/src/linux-2.6.37-sabayon/scripts/gcc-goto.sh: Arquivo ou diretório não encontrado
make: *** Sem regra para processar o alvo `/usr/src/linux-2.6.37-sabayon/arch/x86/Makefile'. Pare.
* Gentoo Linux Genkernel; Version 3.4.13
* Running with options: --no-mrproper --no-clean all
* ERROR: Failed to compile the "prepare" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
O log apenas repete as informações já citadas.
Outro modo de mexer no kernel também não rola:
# cd /usr/src/linux
# make menuconfig
Makefile:314: /usr/src/linux-2.6.37-sabayon/scripts/Kbuild.include: Arquivo ou diretório não encontrado
Makefile:463: /usr/src/linux-2.6.37-sabayon/arch/x86/Makefile: Arquivo ou diretório não encontrado
make: *** Sem regra para processar o alvo `/usr/src/linux-2.6.37-sabayon/arch/x86/Makefile'. Pare.
Informações adicionais: Estou rodando tudo como superusuário. Já reinstalei e atualizei o genkernel, cmake e gcc via emerge. O problema se repete nos dois kernels que tenho aqui instalados: o linux-2.6.35-sabayon e o, recém instalado, linux-2.6.37-sabayon (antes e depois de sua instalação).
Tudo isso porque só quero dar uma olhada, testar o driver da placa wireless do kernel... A qual desapareceu no 2.6.37.
Abraços.
Valeu!