Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tracking] linux 5.1 dkms status #11660

Closed
Hoshpak opened this issue May 12, 2019 · 11 comments

Comments

@Hoshpak
Copy link
Member

commented May 12, 2019

These dkms modules are important and their compatibility with a kernel version is relevant for the decision to move the default kernel version:

  • nvidia
  • nvidia390 (compilation and runtime tested)
  • nvidia340 (compilation and runtime tested)
  • zfs (officially supported with 0.8.0)
  • virtualbox-ose (compilation and runtime tested)

If you are using any of these modules, please consider contributing to this issue by installing linux5.1 and linux5.1-headers and report if everything still works for you.

@steinex

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

nvidia is working.

@pullmoll

This comment has been minimized.

Copy link
Member

commented May 13, 2019

I successfully tested rtl8812au-dkms after adding srcpkgs/rtl8812au/patches/kernel5.1-compat.patch:

Description: define a macro for former function get_ds()
Author: @pullmoll
Origin: https://github.com/gordboy/rtl8812au/commit/ac063a4b1a87855e10f6cd1f358aaccbeee9b9c1

--- os_dep/osdep_service.c      2019-03-27 20:27:47.000000000 +0100
+++ os_dep/osdep_service.c      2019-05-09 07:49:01.296002221 +0200
@@ -32,6 +32,10 @@
 #endif
 #endif /* DBG_MEMORY_LEAK */

+/* For kernels >= 5.1.0 define get_ds() for backward compatibility */
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0))
+  #define get_ds() (KERNEL_DS)
+#endif

 #if defined(PLATFORM_LINUX)
 /*
@abenson

This comment has been minimized.

Copy link
Contributor

commented May 19, 2019

nvidia390 requires a patch, working on getting it working right now.

@zdykstra

This comment has been minimized.

Copy link
Contributor

commented May 24, 2019

ZoL 0.8.0 has been tagged / released upstream - https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.8.0

@Vaelatern

This comment has been minimized.

Copy link
Member

commented May 29, 2019

ZFS in PR, needs cross build fix.

@maop

This comment has been minimized.

Copy link

commented Jun 10, 2019

nvidia390 fails

linux5.1-5.1.8_1: configuring ...
Executing post-install kernel hook: 10-dkms ...
Available DKMS module: nvidia-390.116.
Available DKMS module: rtl8192eu-1.0.
Building DKMS module: nvidia-390.116... FAILED!
...

if you need the make log let me know... regards!

@abenson

This comment has been minimized.

Copy link
Contributor

commented Jun 10, 2019

@maop This patch works for x86_64. No patch for i686 yet.

@abenson

This comment has been minimized.

Copy link
Contributor

commented Jun 13, 2019

No patch for i686 yet.

It has to be a conditional patch.

kernel-5.1.patch cannot be applied, because the x86 source does not have the files which need patching

When I tried it failed.

@Hoshpak

This comment has been minimized.

Copy link
Member Author

commented Jun 16, 2019

Uvm is not part of the i686 driver so we just don't need that patch there. I updated the package to conditionally patch what's needed. I verified that it compiles on both architectures and would ask for some runtime testing.

@yilmzfurkan

This comment has been minimized.

Copy link

commented Jun 16, 2019

@Hoshpak Thanks. I have updated a few hours ago everything works fine. If I see some odd behavior I will report back.

Edit: x86_64

@Hoshpak

This comment has been minimized.

Copy link
Member Author

commented Jul 28, 2019

5.1 reached EOL.

@Hoshpak Hoshpak closed this Jul 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants
You can’t perform that action at this time.