Erro ao instalar o desktopvideo 10.4.3 no Ubuntu 14.04

0

Eu tenho uma nova placa de captura de vídeo extrema Blackmagic Decklink 4k. Estou tentando executá-lo em um Dell T5810 com um processador Intel Xeon E5-1620 e com o Ubuntu 14.04 rodando nele.

Eu tentei instalar desktopvideo 10.4.3 no Ubuntu 14.04, mas sempre executado na mesma mensagem de erro. Eu recebo os mesmos erros com a versão mais recente do desktop 10.5.

Eu tentei instalá-lo com o seguinte comando:

sudo dpkg -i desktopvideo_10.4.3a5_amd64.deb

Mas não é possível criar os módulos conforme mostrado no relatório:

Preparing to unpack desktopvideo_10.4.3a5_amd64.deb ...
Stopping upstart services...
  DesktopVideoHelper (failed)
Unloading modules...
Removing old drivers...
  blackmagic
Unpacking desktopvideo (10.4.3a5) over (10.4.3a5) ...
Setting up desktopvideo (10.4.3a5) ...
Preparing new blackmagic driver for 3.13.0-63-generic kernel...
  Adding to DKMS
  Building (failed)
Preparing new blackmagic-io driver for 3.13.0-63-generic kernel...
  Adding to DKMS
  Building (failed)
Loading modules...
Starting upstart services...
  DesktopVideoHelper
********************************************************************************
Failed to build driver(s)

Possible causes:
 1. Driver is incompatible with your kernel version
 2. Kernel headers/gcc/make/etc. is not installed
 3. Kernel header version does not match the running kernel (3.13.0-63-generic)

Error messages:
dkms build -m blackmagic -v 10.4.3a5 
---

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.13.0-63-generic KERNELRELEASE=3.13.0-63-generic....(bad exit status: 2)
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms_packages.py", line 97, in <module>
    with open(apport.fileutils.make_report_path(report), 'wb') as f:
AttributeError: 'module' object has no attribute 'make_report_path'
Error! Bad return status for module build on kernel: 3.13.0-63-generic (x86_64)
Consult /var/lib/dkms/blackmagic/10.4.3a5/build/make.log for more information.

dkms build -m blackmagic-io -v 10.4.3a5 
---

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.13.0-63-generic KERNELRELEASE=3.13.0-63-generic....(bad exit status: 2)
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms_packages.py", line 97, in <module>
    with open(apport.fileutils.make_report_path(report), 'wb') as f:
AttributeError: 'module' object has no attribute 'make_report_path'
Error! Bad return status for module build on kernel: 3.13.0-63-generic (x86_64)
Consult /var/lib/dkms/blackmagic-io/10.4.3a5/build/make.log for more information.


********************************************************************************
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...

O make.log é assim:

DKMS make.log for blackmagic-10.4.3a5 for kernel 3.13.0-63-generic (x86_64)
Mon Sep 21 10:56:02 CEST 2015
make -C /lib/modules/3.13.0-63-generic/build M=/var/lib/dkms/blackmagic/10.4.3a5/build
make[1]: Entering directory '/usr/src/linux-headers-3.13.0-63-generic'
  LD      /var/lib/dkms/blackmagic/10.4.3a5/build/built-in.o
  CC [M]  /var/lib/dkms/blackmagic/10.4.3a5/build/blackmagic_serial.o
  CC [M]  /var/lib/dkms/blackmagic/10.4.3a5/build/blackmagic_core.o
  CC [M]  /var/lib/dkms/blackmagic/10.4.3a5/build/blackmagic_lib.o
  CC [M]  /var/lib/dkms/blackmagic/10.4.3a5/build/blackmagic_dma.o
  CC [M]  /var/lib/dkms/blackmagic/10.4.3a5/build/blackmagic_gate.o
  LD [M]  /var/lib/dkms/blackmagic/10.4.3a5/build/blackmagic.o
ld: Relocatable linking with relocations from format elf64-x86-64 (/var/lib/dkms/blackmagic/10.4.3a5/build/bmd-support.a) to format elf32-i386 (/var/lib/dkms/blackmagic/10.4.3a5/build/blackmagic.o) is not supported
make[2]: *** [/var/lib/dkms/blackmagic/10.4.3a5/build/blackmagic.o] Error 1
make[1]: *** [_module_/var/lib/dkms/blackmagic/10.4.3a5/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.13.0-63-generic'
make: *** [all] Error 2

Quando eu verifico o status do módulo do kernel depois ele mostra que ele está adicionado, mas não instalado

dkms status -m blackmagic -k 'uname -r'

Alguém correu em um problema semelhante ou tem uma ideia de como resolver isso?

Obrigado

    
por Rolf Lussi 25.09.2015 / 17:11

1 resposta

0

Houve um problema com linux-generic

Enquanto eu tinha os cabeçalhos para a versão mais recente do kernel

linux-headers-3.13.0-63
linux-headers-3.13.0-63-generic 
linux-image-3.13.0-63-generic
linux-image-extra-3.13.0-63-generic

Mas eu senti falta dos cabeçalhos mais gerais

linux-generic
linux-headers-generic
linux-image-generic

Eu não tenho ideia de como eles se perderam, foi uma nova instalação do Ubuntu 14.04. Portanto, eu suponho que eles deveriam ter sido instalados. A instalação funcionou bem depois que eu instalei manualmente o genux-linux

sudo apt-get install linux-generic
    
por Rolf Lussi 28.09.2015 / 13:03