BMD drivers fail to build on kernel 5.15

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

alatteri

  • Posts: 22
  • Joined: Fri Jul 17, 2020 7:22 pm
  • Real Name: Alan Latteri

BMD drivers fail to build on kernel 5.15

PostMon Mar 28, 2022 9:03 pm

Hi there... I am testing BMD drivers on Ubuntu Jammy which will be release in about 3 weeks.
Driver 12.2 fails to build.
Linux ColorConnectE01 5.15.0-23-generic #23-Ubuntu SMP Fri Mar 11 14:54:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux



Code: Select all
********************************************************************************
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 (5.15.0-23-generic)

Error messages:
dkms build -m blackmagic -v 12.2a12
---

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j32 KERNELRELEASE=5.15.0-23-generic KERNELRELEASE=5.15.0-23-generic...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/desktopvideo.0.crash'
Error! Bad return status for module build on kernel: 5.15.0-23-generic (x86_64)
Consult /var/lib/dkms/blackmagic/12.2a12/build/make.log for more information.

dkms build -m blackmagic-io -v 12.2a12
---

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j32 KERNELRELEASE=5.15.0-23-generic KERNELRELEASE=5.15.0-23-generic...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/desktopvideo.0.crash'
Error! Bad return status for module build on kernel: 5.15.0-23-generic (x86_64)
Consult /var/lib/dkms/blackmagic-io/12.2a12/build/make.log for more information.

********************************************************************************
Offline

Mike Ambrose

  • Posts: 189
  • Joined: Wed Jan 13, 2016 11:31 pm

Re: BMD drivers fail to build on kernel 5.15

PostTue Mar 29, 2022 4:00 am

Unfortunately this error message just says that it failed and doesn't actually include the error. You'll need to also post the error log.
Code: Select all
/var/lib/dkms/blackmagic/12.2a12/build/make.log


I'm not sure if this will include sensitive information so be sure to look it over and remove anything private before posting.
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 443
  • Joined: Mon Sep 04, 2017 4:05 am

Re: BMD drivers fail to build on kernel 5.15

PostFri Apr 01, 2022 12:19 pm

Hi Alan,

Please update to Desktop Video 12.2.2 as this version adds support for Linux kernel 5.15.

Regards
Cameron
Offline

alatteri

  • Posts: 22
  • Joined: Fri Jul 17, 2020 7:22 pm
  • Real Name: Alan Latteri

Re: BMD drivers fail to build on kernel 5.15

PostWed Apr 06, 2022 4:06 am

Thanks Cameron. I'll give it a shot. Sorry for the late reply.
Offline

alatteri

  • Posts: 22
  • Joined: Fri Jul 17, 2020 7:22 pm
  • Real Name: Alan Latteri

Re: BMD drivers fail to build on kernel 5.15

PostWed Apr 06, 2022 7:38 pm

Confirmed this works.

Cameron Nichols wrote:Hi Alan,

Please update to Desktop Video 12.2.2 as this version adds support for Linux kernel 5.15.

Regards
Cameron
Offline

gtuckerkellogg

  • Posts: 2
  • Joined: Wed Feb 03, 2021 4:26 am
  • Location: Singapore
  • Real Name: Greg Tucker-Kellogg

Re: BMD drivers fail to build on kernel 5.15

PostThu Apr 28, 2022 3:25 am

alatteri wrote:Confirmed this works.

Cameron Nichols wrote:Hi Alan,

Please update to Desktop Video 12.2.2 as this version adds support for Linux kernel 5.15.

Regards
Cameron


Oh, this is good to read. It'll be great to see BMD drivers certified on 22.04. Just as a side note, the Jammy Jellyfish release notes also indicate a 5.17 kernel for some hardware.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 5 guests