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

bug? no kernel: de onde vem o y de 2.6.11y?



Olá pessoal

Instalei o kernel-source-2.6.11. Rodei make-kpkg kernel_image e
make-kpkg modules_image (sem qualquer outro parâmetro). 

Como resultado, tenho o seguinte:

mrt1@marciotex:~$ uname -r
2.6.11y
mrt1@marciotex:~$ 

Todavia,

mrt1@marciotex:~$ ls -lah /lib/modules/    
total 32K
drwxr-xr-x   7 root root 4,0K 2005-07-19 23:43 .
drwxr-xr-x  13 root root 8,0K 2005-07-17 18:55 ..
drwxr-xr-x   3 root root 4,0K 2005-07-19 23:43 2.6.11
drwxr-xr-x   3 root root 4,0K 2005-07-21 22:31 2.6.11y
drwxr-xr-x   5 root root 4,0K 2005-07-13 23:19 2.6.12-3-multimedia-k7
drwxr-xr-x   3 root root 4,0K 2005-06-15 22:44 2.6.7
drwxr-xr-x   3 root root 4,0K 2005-07-17 19:47 2.6.8

Acontece que o módulo construído pelo make-kpkg são instalados em 2.6.11
e os demais módulos, em 2.6.11y, tornando o primeiro inacessível.

Resolvi o problema copiando o módulo para 2.6.11y e rodei
update-modules. Está funcionando. Entretanto, este me parece ser um bug
e quero tentar corrigí-lo. Capturei a seguinte saída de make-kpkg que
parece ser relevante:

HOSTCC  scripts/bin2c
SYMLINK include/asm -> include/asm-i386
CHK     include/linux/version.h
UPD     include/linux/version.h
CC      arch/i386/kernel/asm-offsets.s
CHK     include/asm-i386/asm_offsets.h
UPD     include/asm-i386/asm_offsets.h
make[1]: Leaving directory `/usr/src/kernel-source-2.6.11'
echo done >  stamp-kernel-configure
	      echo done >  stamp-configure
	      if [ -f include/linux/version.h ]; then
	       \
              uts_ver=$(grep 'define UTS_RELEASE' include/linux/version.h | perl
-nle  'm/^\s*\#define\s+UTS_RELEASE\s+("?)(\S+)\1/g && print $2;'); \
	        if [ "X$uts_ver" != "X2.6.11y" ]; then              \
                echo "The UTS Release version in include/linux/version.h";
		          \
	          echo "     \"$uts_ver\" ";
								   \
                  echo "does not match current version " ;
								             \
                  echo "     \"2.6.11\" " ;                                    \
               echo "Reconfiguring." ;
									               \
                touch Makefile;
																	                 \
              fi;
								                \
											fi
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make    ARCH=i386 \
                     bzImage
make[1]: Entering directory `/usr/src/kernel-source-2.6.11'
CHK     include/linux/version.h
make[2]: `arch/i386/kernel/asm-offsets.s' está atualizado.
CHK     include/linux/compile.h
UPD     include/linux/compile.h
CC      init/version.o

Qualquer ajuda será bem-vinda.

Obrigado.
-- 
Marcio Roberto Teixeira

Acesso à lista mediante nntp. Por favor, não escreva diretamente para
minha caixa postal (incluindo réplicas ou follow-ups); mantenha toda
a discussão na lista e apenas na lista. 

chave pública: hkp://wwwkeys.pgp.net
                        http://www.marciotex.pro.br/keypub_8709626B.asc
página pessoal (em construção): http://www.marciotex.pro.br
Usuário "tchê" Debian/GNULinux

Porto Alegre - RS - Brasil



Reply to: