Como posso resolver o erro BUILD_EXCLUSIVE na atualização para o Kernel 3.19.7?

0

Eu executei os seguintes comandos para atualizar de 3.19.0 para 3.19.7:

$ cd /tmp

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19.7-vivid/linux-headers-3.19.7-031907-generic_3.19.7-031907.201505062136_amd64.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19.7-vivid/linux-headers-3.19.7-031907_3.19.7-031907.201505062136_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19.7-vivid/linux-image-3.19.7-031907-generic_3.19.7-031907.201505062136_amd64.deb

$ sudo dpkg -i linux-headers-3.19.7-*.deb linux-image-3.19.7-*.deb

Tudo parece estar funcionando bem, mas aqui é onde ele começa a ficar bem:

Unpacking linux-image-3.19.7-031907-generic (3.19.7-031907.201505062136) ...
Setting up linux-headers-3.19.7-031907 (3.19.7-031907.201505062136) ...
Setting up linux-headers-3.19.7-031907-generic (3.19.7-031907.201505062136) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.19.7-031907-generic /boot/vmlinuz-3.19.7-031907-generic
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
Error! Bad return status for module build on kernel: 3.19.7-031907-generic (x86_64)
Consult /var/lib/dkms/fglrx-updates/13.350.1/build/make.log for more information.

Não estou realmente entendendo por que está explodindo, eu examino o make.log para encontrar:

DKMS make.log for fglrx-updates-13.350.1 for kernel
3.19.7-031907-generic (x86_64) Thu May  7 23:59:48 EDT 2015 /usr/sbin/dkms: line 73: cd: /var/lib/dkms/fglrx/13.350.1/build: No such file or directory AMD kernel module generator version 2.1 doing Makefile based build for kernel 2.6.x and higher rm -rf *.c *.h *.o
*.ko *.a .??* *.symvers make -C /lib/modules/3.19.7-031907-generic/build SUBDIRS=/var/lib/dkms/fglrx-updates/13.350.1/build/2.6.x modules make[1]: Entering directory '/usr/src/linux-headers-3.19.7-031907-generic'   CC [M]  /var/lib/dkms/fglrx-updates/13.350.1/build/2.6.x/firegl_public.o /var/lib/dkms/fglrx-updates/13.350.1/build/2.6.x/firegl_public.c: In function ‘kasSetExecutionLevel’: /var/lib/dkms/fglrx-updates/13.350.1/build/2.6.x/firegl_public.c:4733:5: error: implicit declaration of function ‘__get_cpu_var’ [-Werror=implicit-function-declaration]
     orig_level = __get_cpu_var(kasExecutionLevel);
     ^ /var/lib/dkms/fglrx-updates/13.350.1/build/2.6.x/firegl_public.c:4734:38: error: lvalue required as left operand of assignment
     __get_cpu_var(kasExecutionLevel) = level;
                                      ^ cc1: some warnings being treated as errors make[2]: *** [/var/lib/dkms/fglrx-updates/13.350.1/build/2.6.x/firegl_public.o] Error 1 make[1]: *** [_module_/var/lib/dkms/fglrx-updates/13.350.1/build/2.6.x] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-3.19.7-031907-generic' make: *** [kmod_build] Error 2 build failed with return value 2

Alguma idéia?

Obrigado!

    
por NotMy1RealName 08.05.2015 / 06:14

1 resposta

0

Acabei de remover todos os arquivos com o comando abaixo.

sudo apt-get remove linux-headers-3.19.* linux-image-3.19.* && sudo update-grub

Voltei para 3.18.-alguma coisa. Eu então corri os mesmos passos e parece ter funcionado o segundo passo.

Não sei por que esse erro ocorreu, mas a remoção dos arquivos e o reinício ajudaram.

    
por NotMy1RealName 13.05.2015 / 04:04