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

Linux 4.14.13, 4.4.111, 4.9.76 #33696

Merged
merged 3 commits into from Jan 10, 2018
Merged

Linux 4.14.13, 4.4.111, 4.9.76 #33696

merged 3 commits into from Jan 10, 2018

Conversation

andir
Copy link
Member

@andir andir commented Jan 10, 2018

Motivation for this change

Bump to latest stable kernel versions.

Besides some cleanup/fixes with the recent issue fallout and patches this also features

x86/microcode/AMD: Add support for fam17h microcode loading

which should help with mitigations on the AMD Ryzen+ CPUs.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

In terms of spectre/meltdown this version also supports loading of amd
fam17h firmware.
@andir
Copy link
Member Author

andir commented Jan 10, 2018

@GrahamcOfBorg build linuxPackages_4_14.kernel linuxPackages_4_4.kernel linuxPackages_4_9.kernel

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-darwin

error: while evaluating the attribute 'linux_4_14' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/top-level/all-packages.nix:12792:3:
while evaluating 'callPackageWith' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/lib/customisation.nix:113:35, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/top-level/all-packages.nix:12792:16:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/lib/customisation.nix:117:8:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/os-specific/linux/kernel/linux-4.14.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/lib/customisation.nix:74:12:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/os-specific/linux/kernel/generic.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/os-specific/linux/kernel/linux-4.14.nix:5:1:
assertion failed at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/os-specific/linux/kernel/generic.nix:32:1

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: aarch64-linux

wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
cannot find section .dynamic
/nix/store/zb08xpb67xwn56rm4bkslprfznhc3akd-linux-4.14.13
/nix/store/raqj1brky0fj8y7rhmwfxicnmfl3lbjc-linux-4.4.111
/nix/store/iidmksy7hf9ly7afpp0dhdbz3pwa3jp6-linux-4.9.76

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-linux

  CC [M]  drivers/net/ethernet/samsung/sxgbe/sxgbe_core.o
  CC [M]  drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.o
  CC [M]  drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.o
  CC [M]  drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.o
  LD [M]  drivers/net/ethernet/samsung/sxgbe/samsung-sxgbe.o
  LD      drivers/net/ethernet/seeq/built-in.o
  LD      drivers/net/ethernet/sfc/built-in.o
  CC [M]  drivers/net/ethernet/sfc/efx.o
building of ‘/nix/store/3w483gb5415zdqfkjpcn5hibxhbp645s-linux-4.9.76.drv’ timed out after 3600 seconds
error: build of ‘/nix/store/3w483gb5415zdqfkjpcn5hibxhbp645s-linux-4.9.76.drv’, ‘/nix/store/wv5kilbkwy98r8z2q6b30q8cmcihvcqm-linux-4.14.13.drv’, ‘/nix/store/y7lgyb8lyvz7gbnk67l099vvf0ch4ig6-linux-4.4.111.drv’ failed

@andir
Copy link
Member Author

andir commented Jan 10, 2018

It does compile on my machines as well as on aarc64. The x86_64 build timed out due to build size / workload. So it should be good to go.

@andir andir merged commit da1421f into NixOS:master Jan 10, 2018
@andir andir deleted the linux_4_14_13 branch January 10, 2018 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants