Problema com a atualização do kernel para a versão 4.2.1

andre1984andre1984 Andre
editado setembro 2015 em Sistema
Olá para os membros do fórum!
Está havendo uma série de erros na hora de compilar o Kernel versão 4.2.1, o programa kernelupdate foi utilizado como meio para fazer o download dos arquivos .deb, abaixo segue a descrição do processo de compilação...

(Lendo banco de dados ... 304548 ficheiros e directórios actualmente instalados.)
Preparing to unpack linux-headers-4.2.1-040201_4.2.1-040201.201509211431_all.deb ...
Unpacking linux-headers-4.2.1-040201 (4.2.1-040201.201509211431) over (4.2.1-040201.201509211431) ...
A seleccionar pacote anteriormente não seleccionado linux-headers-4.2.1-040201-generic.
Preparing to unpack linux-headers-4.2.1-040201-generic_4.2.1-040201.201509211431_amd64.deb ...
Unpacking linux-headers-4.2.1-040201-generic (4.2.1-040201.201509211431) ...
A seleccionar pacote anteriormente não seleccionado linux-image-4.2.1-040201-generic.
Preparing to unpack linux-image-4.2.1-040201-generic_4.2.1-040201.201509211431_amd64.deb ...
Done.
Unpacking linux-image-4.2.1-040201-generic (4.2.1-040201.201509211431) ...
Configurando linux-headers-4.2.1-040201 (4.2.1-040201.201509211431) ...
Configurando linux-headers-4.2.1-040201-generic (4.2.1-040201.201509211431) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.2.1-040201-generic /boot/vmlinuz-4.2.1-040201-generic
[b]Error! Bad return status for module build on kernel: 4.2.1-040201-generic (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.
Error! Bad return status for module build on kernel: 4.2.1-040201-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.3.10/build/make.log for more information.[/b]
Configurando linux-image-4.2.1-040201-generic (4.2.1-040201.201509211431) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.2.1-040201-generic /boot/vmlinuz-4.2.1-040201-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.2.1-040201-generic /boot/vmlinuz-4.2.1-040201-generic
[b]Error! Bad return status for module build on kernel: 4.2.1-040201-generic (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.
Error! Bad return status for module build on kernel: 4.2.1-040201-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.3.10/build/make.log for more information.[/b]
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.2.1-040201-generic /boot/vmlinuz-4.2.1-040201-generic
update-initramfs: Generating /boot/initrd.img-4.2.1-040201-generic
W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1.bin for module i915
Warning: No support for locale: pt_BR.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.2.1-040201-generic /boot/vmlinuz-4.2.1-040201-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.2.1-040201-generic /boot/vmlinuz-4.2.1-040201-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.2.1-040201-generic /boot/vmlinuz-4.2.1-040201-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-4.2.1-040201-generic
Found kernel: /boot/vmlinuz-4.2.0-040200-generic
Found kernel: /boot/vmlinuz-4.1.4-040104-generic
Found kernel: /boot/vmlinuz-3.16.0-38-generic
Found kernel: /boot/memtest86+.bin
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

Comentários

  • andre1984andre1984 Andre
    editado setembro 2015
    /var/lib/dkms/ndiswrapper/1.59/build/make.log

    DKMS make.log for ndiswrapper-1.59 for kernel 4.2.1-040201-generic (x86_64)
    Qui Set 24 22:29:56 AMT 2015
    make: Entrando no diretório `/usr/src/linux-headers-4.2.1-040201-generic'
    LD /var/lib/dkms/ndiswrapper/1.59/build/built-in.o
    MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/crt_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/hal_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ndis_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ntoskernel_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/ntoskernel_io_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/rtl_exports.h
    MKEXPORT /var/lib/dkms/ndiswrapper/1.59/build/usb_exports.h
    MKSTUBS /var/lib/dkms/ndiswrapper/1.59/build/win2lin_stubs.h
    CC [M] /var/lib/dkms/ndiswrapper/1.59/build/crt.o
    CC [M] /var/lib/dkms/ndiswrapper/1.59/build/hal.o
    CC [M] /var/lib/dkms/ndiswrapper/1.59/build/iw_ndis.o
    CC [M] /var/lib/dkms/ndiswrapper/1.59/build/loader.o
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c: In function ‘load_sys_files’:
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c:157:4: error: implicit declaration of function ‘__vmalloc’ [-Werror=implicit-function-declaration]
    __vmalloc(load_driver->sys_files[i].size,
    ^
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c:156:19: warning: assignment makes pointer from integer without a cast [enabled by default]
    pe_image->image =
    ^
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c:207:5: error: implicit declaration of function ‘vfree’ [-Werror=implicit-function-declaration]
    vfree(driver->pe_images[i].image);
    ^
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c: In function ‘add_bin_file’:
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c:298:2: error: implicit declaration of function ‘vmalloc’ [-Werror=implicit-function-declaration]
    bin_file->data = vmalloc(driver_file->size);
    ^
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c:298:17: warning: assignment makes pointer from integer without a cast [enabled by default]
    bin_file->data = vmalloc(driver_file->size);
    ^
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c: In function ‘wrapper_ioctl’:
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c:789:15: warning: assignment makes pointer from integer without a cast [enabled by default]
    load_driver = vmalloc(sizeof(*load_driver));
    ^
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c: In function ‘wrapper_ioctl_compat’:
    /var/lib/dkms/ndiswrapper/1.59/build/loader.c:884:11: warning: assignment makes pointer from integer without a cast [enabled by default]
    kdriver = vmalloc(sizeof(*kdriver));
    ^
    cc1: some warnings being treated as errors
    make[1]: ** [/var/lib/dkms/ndiswrapper/1.59/build/loader.o] Erro 1
    make: ** [_module_/var/lib/dkms/ndiswrapper/1.59/build] Erro 2
    make: Saindo do diretório `/usr/src/linux-headers-4.2.1-040201-generic'
Entre ou Registre-se para fazer um comentário.