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

[17.09] fix kernel modules that fail with linux-4.14 #34044

Merged
merged 5 commits into from Jan 19, 2018

Conversation

andir
Copy link
Member

@andir andir commented Jan 19, 2018

Motivation for this change

Providing a stable kernel to a stable distribution with stable kernel modules ;-)

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.

@andir
Copy link
Member Author

andir commented Jan 19, 2018

@GrahamcOfBorg build linuxPackages_4_14.vhba linuxPackages_4_14.v4l2loopback linuxPackages_4_14.phc-intel linuxPackages_4_14.pktgen linuxPackages_4_14.dpdk linuxPackages_4_14.openafsClient

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

Package ‘vhba-20170610’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/misc/emulators/cdemu/vhba.nix:19 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

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: aarch64-linux

Package ‘pktgen-3.4.0’ in /var/lib/gc-of-borg/nix-test-rs-3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-3/pkgs/os-specific/linux/pktgen/default.nix:42 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

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: x86_64-linux

patching script interpreter paths in /nix/store/119m5hndbvnf51zrcn77f3dc6azjxm94-openafs-1.6.22.1-4.14.14
checking for references to /tmp/nix-build-openafs-1.6.22.1-4.14.14.drv-0 in /nix/store/119m5hndbvnf51zrcn77f3dc6azjxm94-openafs-1.6.22.1-4.14.14...
wrong ELF type
moving /nix/store/119m5hndbvnf51zrcn77f3dc6azjxm94-openafs-1.6.22.1-4.14.14/sbin/* to /nix/store/119m5hndbvnf51zrcn77f3dc6azjxm94-openafs-1.6.22.1-4.14.14/bin
/nix/store/xgknffyc7fivbfbas45596wplp67riic-vhba-20170610
/nix/store/z4x64v9zvp59fivaj2diqs5bn282fc7g-v4l2loopback-0.9.1-4.14.14
/nix/store/fv1prlcypraxxaid154bd692rfqhmm5q-linux-phc-intel-0.4.0-rev24-4.14.14
/nix/store/883jlxrg9picg4zj1w0fjmb1978v7d42-pktgen-3.4.0
/nix/store/rydcw76545pzyb1i6f81wjkax7aik4qx-dpdk-17.05.1-4.14.14
/nix/store/119m5hndbvnf51zrcn77f3dc6azjxm94-openafs-1.6.22.1-4.14.14

@andir andir merged commit 6a41029 into NixOS:release-17.09 Jan 19, 2018
@andir andir deleted the 17.09/kmod-missing-libelf branch January 19, 2018 14:16
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

3 participants