darling-mach module in kernel 5.9 is not supported?

Asked by Gran Jacob

Trying to run darling on ubuntu I finally installed, but when I try to run it, I get this:

modprobe: FATAL: Module darling-mach not found in directory /lib/modules/5.9.0-050900-lowlatency
Failed to load the kernel module

Googling I found the following instructions to solve it:

https://ostechnix.com/run-macos-software-on-linux-using-darling/

Doing it I get this:
ERROR (dkms apport): kernel package linux-headers-5.9.0-050900-lowlatency is not supported

This is the log:

$ sudo gdebi darling-dkms_0.1.20200331.testing_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
Requires the installation of the following packages: dkms

Kernel module for Darling
Do you want to install the software package? [y/N]:y
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
  c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
Get:1 http://us.archive.ubuntu.com/ubuntu focal/main amd64 dkms all 2.8.1-5ubuntu1 [66.6 kB]
Fetched 66.6 kB in 0s (0 B/s)
Selecting previously unselected package dkms.
(Reading database ... 368410 files and directories currently installed.)
Preparing to unpack .../dkms_2.8.1-5ubuntu1_all.deb ...
Unpacking dkms (2.8.1-5ubuntu1) ...
Setting up dkms (2.8.1-5ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Selecting previously unselected package darling-dkms.
(Reading database ... 368438 files and directories currently installed.)
Preparing to unpack darling-dkms_0.1.20200331.testing_amd64.deb ...
Unpacking darling-dkms (0.1.20200331~testing) ...
2Setting up darling-dkms (0.1.20200331~testing) ...
>>> DKMS: Module add, build, and install

Creating symlink /var/lib/dkms/darling-mach/0.1/source ->
                 /usr/src/darling-mach-0.1

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' -C lkm/ MIGDIR=/usr/src/darling-mach-0.1/miggen MIGDIR_REL=../miggen KERNELVERSION=5.9.0-050900-lowlatency...................(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-5.9.0-050900-lowlatency is not supported
Error! Bad return status for module build on kernel: 5.9.0-050900-lowlatency (x86_64)
Consult /var/lib/dkms/darling-mach/0.1/build/make.log for more information.
dpkg: error processing package darling-dkms (--install):
 installed darling-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 darling-dkms

What can I do?

Thanks,

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Where did you get this 5.9.0-050900-lowlatency kernel please? It's not in the official repos as far as I can see....

Revision history for this message
Gran Jacob (granjacob) said :
#2
Revision history for this message
Manfred Hampl (m-hampl) said :
#3

This does not explain where that kernel comes from.
Have you tried with the standard Ubuntu kernel?

Revision history for this message
Gran Jacob (granjacob) said :
#4
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Then I suggest you report a bug to the kernel maintainer

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

You could also try the newer versions of the kernel, e.g. https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.9.8/

Eventually the compilation logs reveal the cause of the failure
"Consult /var/lib/dkms/darling-mach/0.1/build/make.log for more information."

Can you help with this problem?

Provide an answer of your own, or ask Gran Jacob for more information if necessary.

To post a message you must log in.