-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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 4.14 breakage tracking issue #31640
Comments
4.14 is going to be the next LTS kernel - http://kroah.com/log/blog/2017/10/16/linux-kernel-community-enforcement-statement/
I need help in #31037, that should take care of VirtualBox |
I have been trying to get amdgpu-pro fixed for a little while now but I think it does require an update from AMD's side for kernel 4.14.x Or it's because I don't know make too well, the build errors out like so:
|
Re. make you have posted |
Working on mwprocapture now, it compiles on my local tree but doesn't work yet, as vfs_write and vfs_read are no longer exported Also, with PR #31148 nvidia_x11 builds and works successfully with kernel 4.14.0, on my end |
@orivej Ah, I had to scroll WAY up :)
All this "too many arguments", "too few arguments" sound like an API mismatch to me.. |
Maybe we should just undo declaring 4.14 the new default for the moment, so we unblock the channel?! It's pretty late where I am, somebody please do so? :) thx! |
Fixed mwprocapture as of ce8dea6 ! (Linking fully works, and I recorded video/did a quick test stream) @NeQuissimus no problem, I will set the attribute back to version 4.9 and it can be set back when the dust settles a bit! |
@MP2E This may or may not be quite correct, see what ZFS developers did: https://github.com/zfsonlinux/spl/pull/666/files#diff-fc21f15a0f248a8ac8af4d3a06d86a89 |
@NeQuissimus I think so, let's fix this issue and retry. |
Thanks for the pointer, after looking through the source a lot more carefully, it seems that it works as-is, but I noticed that one of the types was wrong, so I fixed it and updated the patch |
Virtualbox will work with 4.14 once 5.2.1 is out: https://www.virtualbox.org/ticket/17080 |
Worth noting that Linux 4.9 doesn't work properly with Threadripper CPUs, specifically throwing a lot of bus errors due to a problematic ASPM implementation. 4.13.11 seems to be fine. Maybe we could use that? |
|
@Baughn: 4.13 is going away very soon. On the other hand, GKG will be maintaining 4.14 for years. |
@vcunat Yeah, I didn't mean permanently. :) For the moment I've pinned my workstation to 4.13, but I'll be tracking the latest kernel for a while anyway; there are hardware features that won't be supported until at least 4.15, such as the CPU temperature sensors. I realize my use case isn't common. Luckily it's a single-line fix for me. :P |
VirtualBox done in e5c24ab. |
Upstream changes without issue IDs: * User interface: various improvements for high resolution screens * User interface: added functionality to duplicate optical and floppy images * User interface: various improvements for the virtual media manager * VMM: fixed emulation so that Plan 9 guests can start once more (5.1.0 regression) * Storage: fixed regression breaking iSCSI * Audio: added HDA support for more exotic guests (e.g. Haiku) * Serial: fixed hanging I/O when using named pipes on Windows (5.2.0 regression) * Serial: fixed broken communication with certain devices on Linux hosts * USB/OHCI: improved behavior so that the controller state after a VM reset is closer to the initial state after VM start * EFI: fixed HFS+ driver which in rare cases failed to access most files on a volume * Shared clipboard: fixed hang with OS X host and Linux guest * Linux hosts: fixed kernel module compilation and start failures with Linux kernel 4.14 * X11 hosts: better handle WM_CLASS setting * Linux guests: fixed kernel module compilation and other problems with Linux kernel 4.14 * Linux guests: fixed various 5.2.0 regressions * Bridged networking: fixed duplicate EtherType in VLAN/priority tags on Linux (5.2.0 regression) The full changelog including issue IDs can be found at: https://www.virtualbox.org/wiki/Changelog Aside from just bumping the version number I also had to strip 3 levels of the paths included in the guest-additions patches, because the version was hardcoded in there and the patches still apply as-is. I've re-added the stripped path using patchFlags and the -d option of the patch utility. Tested this by running all of the tests in the "virtualbox" NixOS VM test module, here is the URL to the finished evaluation on my Hydra: https://headcounter.org/hydra/eval/380191 Signed-off-by: aszlig <aszlig@nix.build> Cc: @NeQuissimus, @orivej, @etu, @vcunat Issue: #31640 Issue: #31037
This change is done for completness in regards to [1] since we already support a newer "stable" version. nvidia_x11_beta now compiles on both 4.14 and 4.15. [1] NixOS#31640
This change is done for completness in regards to [1] since we already support a newer "stable" version. nvidia_x11_beta now compiles on both 4.14 and 4.15. [1] NixOS#31640
Do you think anything is blocking update of default to 4.14 (now)? For |
I've been running 4.14.x and 4.15.x for quite a while now, I have had no issues. (albeit Intel GPU) |
For the record, during the last two weeks I've been using 4.14 only. It was mostly on a pure Intel system (Skylake-S) without any problems, and also on Ryzen + Nvidia with just those Ryzen bugs (probably). |
We have not experienced problems with current 4.14 kernels on servers, VMs and laptops so far. As 4.14 also has long-term support, I also think we should default to that version for 18.03. |
Yes, we keep all kernels supported upstream, i.e. six longterm branches now from which two are to be dropped soon. 4.14 is default in master now. |
|
(triage) 4.14 is currently the default on 18.03, so I assume it has been for quite a while. If no issue has been reported… maybe this issue should be closed? |
Yeah, we can close this. Just checked the remaining issues: the amdgpu PR was merged and the Intel 3D issues were fixed upstream. |
amdgpu-pro bump was merged. It doesn't build now with 4.14, but that's probably just a minor libelf issue. On the whole it seems like it has few users if any. |
Hmm, no, the obvious fix isn't enough: --- a/pkgs/os-specific/linux/amdgpu-pro/default.nix
+++ b/pkgs/os-specific/linux/amdgpu-pro/default.nix
@@ -164,7 +164,7 @@ in stdenv.mkDerivation rec {
done
'';
- buildInputs = [
+ nativeBuildInputs = kernel.moduleBuildDependencies ++ [
patchelf
perl
]; It fixes the ORC problem but fails later on some incompatibilities – it's apparently too new kernel (or libdrm or something) for that driver version. |
Here is the list of packages that broke after the switch to 4.14 (bfe9c92), which was reverted back to 4.9 in eb85eb5. Probably the two legacy packages may be restricted to older kernels, and the others should be fixed.
nix-build nixos/tests/installer.nix -A zfsroot
after settinglinuxPackages = linuxPackages_4_14
inall-packages.nix
(zfs/spl bump to 0.7.4 to fix incompatibility with 4.14 #32634, see spl: Broken with 4.14 kernels #31615, zfsUnstable fixes for kernel 4.14 #31729)The text was updated successfully, but these errors were encountered: