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
Linux kernel 5.x removing FPU and SIMD instructions #282
Comments
Yeah that's unfortunate. If no stable patches are available by the time 5.0 hits arch, I'll have to disable building this kernel. So you would either have to stop upgrading the kernel and stick with 4.x or use |
Looks like workarounds in ZoL are merged: openzfs/zfs#8287 |
And now 5.0 is out of testing and into core. Edit: And it looks like there was a release yesterday to support it, https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.7.13. Thanks to /u/FTWGeorge on Reddit for pointing it out. |
Packages have been updated for 5.0, but zfs-rc has been disabled for now, until a new release is published. |
Can this patch be brought in, https://www.phoronix.com/scan.php?page=news_item&px=NixOS-Linux-5.0-ZFS-FPU-Drop? |
Unfortunately the Linux kernel itself needs to be patched. So there is no way to put it in archzfs (except maybe creating a custom kernel just for that) |
That's what I was thinking. I've snagged the |
@fryfrog do update this thread when you have something working. |
It totally works and is super easy. I installed I also took this opportunity to switch to zfs-dkms. |
Because I have no idea why my server boots my kernel, I needed to use the I wonder if Arch Linux kernel maintainer's would include it? |
@fryfrog i had to install pacman-contrib to get updpkgsums, but cant find the package for mksrcinfo. How about makepkg --printsrcinfo >.SRCINFO |
Yup, that is exactly it. I think |
mksrcinfo and a handful of other legacy utilities are provided by pkgbuild-introspection for which a PKGBUILD exists in the AUR. As the tooling is no longer relevant it was dropped from the Arch Linux repos. Systems that have been rolling for a while may have the tool lurking. It is not necessary to generate a .SRCINFO file to build the package, only when uploading to the AUR. |
|
please vote on https://bugs.archlinux.org/task/63082 |
The issue was closed quite quickly. I created an account just so I could vote and also attempted to get this issue open again with the explanation:
This request was denied by @eli-schwartz with the following response:
I replied with
Anyway this was simply dismissed without explanation. I tried, sorry if I ruined someone else's chances. Let this serve as additional evidence that they are not interested. |
You have not ruined anyone else's chance. There was never a chance. Don't bother voting on the bug. |
To defend the maintainers, from Arch wiki:
By choosing Arch you are accepting it's principles. |
@eli-schwartz thank you for the detailed explanation you added to the bug. Closing it down with vague a one-liner hiding behind upstream, without any additional context is pretty much asking for it to be reopened. This issue caused a lot more controversy within the communities than anything else in recent time, which is why I think it also deserves the mentioned rare consideration and dialogue. What you wrote makes perfect sense, if I wasn't affected by this, I'd say "no" as well. It is just a burden if you cannot appreciate its value. Whether the code is illegal or actually violates someones copyright, not 100% sure, for now it seems about as weak argument as any technical one. I don't think anyone leading to this issue is at fault here, regardless of whether it was the OpenZFS' decision to depend on the kernel functionality or upstream's decision to abandon the code, everyone had their reasons. In conclusion, we can better understand your stance on the issue now compared to the information we had 3 hours ago. We will know to look elsewhere. Thank you for participating. @mati865 this can be easily countered with the sections "Pragmatism" and "User centrality". If there was a consensus that this patch is incredibly useful despite the maintenance burden/political issues, the ideological barrier could be looked past. |
It's the argument being made by at least some kernel maintainers. I don't know enough about it to pass judgment.
(which it isn't because it only helps an AUR kernel module)
Which is not huge, so it just requires someone who wants to invest the time, not someone with expert domain knowledge, but we don't have either one.
... in the case of licensing, are so not-fun that Arch with its lack of paid lawyers simply won't touch it with a ten-foot pole, in my experience. |
That's understandable and this seems to align with the reason why ZFS in its current form will probably never make it outside AUR, despite it's relative popularity. |
With any luck this point will soon be moot; however, there may still be an additional maintenance burden for users wishing to use ZFS on Arch Linux systems. The licencing conflicts between Linux and ZFS remain ongoing and grow increasingly unlikely to change as the codebases continue to mature. |
If for some reason you are unaware this is a summary of the incompatibility between the CDDL and the GPL from the perspective shared by most of the Linux kernel developers. An even more detailed dissection can be found here. The CDDL's self defense clause runs afoul of the GPL's aggressive copyleft clause and the file based separation between source and binary along with ZFS's presence as a module is not enough to satisfy the Linux kernel's core directors. |
The patch no longer exists at the source. Anybody has the new location? |
They have patches now for a few major kernel versions, look near by. I'll
link later when I'm not on mobile.
|
In case you didn't find them, they're here: https://github.com/NixOS/nixpkgs/tree/master/pkgs/os-specific/linux/kernel |
The patch for 5.3 kernel is this. |
Do we need to remove this patch with zfs 0.8.3, since it is already patched? |
They were never applied. |
I applied the patch mentioned in the above post to my kernel. Do I need to undo the patch before upgrading to zfs 0.8.3? |
Oh, it doesn't matter. FWIW, I'm still patching my kernels. Just don't patch the next kernel. |
This could be a big headache for the 5.0+ kernel and ZFS. It is probably mostly going to be OpenZFS/ZoL dealing with it, but archzfs may have to do something as well? Like stick w/ the last 4.x kernel or something. :(
https://old.reddit.com/r/linux/comments/aexfh3/greg_kroahhartman_my_tolerance_for_zfs_is_pretty/
The text was updated successfully, but these errors were encountered: