NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.06k stars 14.12k forks source link

Netbooting image results in EFI stub: ERROR: Failed to alloc highmem for files #73588

Open CMCDragonkai opened 4 years ago

CMCDragonkai commented 4 years ago

Describe the bug

I've built a custom netbootable image, and the resulting initrd is 923 MiB.

Booting this succeeds, however I see these 2 messages during early stage 1:

EFI stub: ERROR: Failed to alloc highmem for files
Trying to load files to higher address

The boot continues and gets into the userspace.

To Reproduce

Can't really show how to build our custom image. However you could try building your own netboot image and add in alot of things to increase the size of the image.

The nixpkgs revision was: f6dac8083874408fe287525007d3da9decd9bf44

{
  pkgs ? import <nixpkgs> {}
}:
  with pkgs;
  let
    configuration = import ./nixos/configuration.nix;
    system = nixos [
      configuration
    ];
  in
    symlinkJoin {
      name = "custom-netboot";
      paths = [
        system.netbootRamdisk
        system.kernel
        system.netbootIpxeScript
      ];
    }

Expected behavior

I expected this not to occur. And I never saw it occur when running it virtualized in QEMU/KVM, only on real hardware.

Screenshots

efi-error

stale[bot] commented 4 years ago

Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on irc.freenode.net.