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

CPU microcode is not always prepended first in the initrd file #22674

Closed
lenzj opened this issue Feb 11, 2017 · 0 comments
Closed

CPU microcode is not always prepended first in the initrd file #22674

lenzj opened this issue Feb 11, 2017 · 0 comments
Labels
6.topic: kernel The Linux kernel 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 9.needs: port to stable A PR needs a backport to the stable release.
Milestone

Comments

@lenzj
Copy link
Contributor

lenzj commented Feb 11, 2017

Issue description

When enabling "hardware.cpu.intel.updateMicrocode = true;", the intel-ucode.img file is not always prepended first in the initrd file. If the "intel-ucode.img" file is not prepended first the system will crash at boot.

Steps to reproduce

Use the following two settings in the "configuration-hardware.nix" file (order doesn't matter):
boot.initrd.prepend = [ "/boot/crypto_keyfile.cpio.gz" ];
hardware.cpu.intel.updateMicrocode = true;

The order can be confirmed using the following command at the prompt:
nixos-option boot.initrd.prepend

Workaround

Place the following setting in the main "configuration.nix" file instead:
boot.initrd.prepend = [ "/boot/crypto_keyfile.cpio.gz" ];

Technical details

  • System: (NixOS: 16.09.1650.d2cd8a0 (Flounder))
  • Nix version: (nix-env (Nix) 1.11.6)
  • Nixpkgs version: ("16.09.1650.d2cd8a0")

@vcunat vcunat added 6.topic: kernel The Linux kernel 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS labels Feb 11, 2017
@fpletz fpletz added this to the 16.09 milestone Feb 27, 2017
@fpletz fpletz added the 9.needs: port to stable A PR needs a backport to the stable release. label Feb 27, 2017
@fpletz fpletz closed this as completed in bccac38 Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: kernel The Linux kernel 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 9.needs: port to stable A PR needs a backport to the stable release.
Projects
None yet
Development

No branches or pull requests

3 participants