From 9a9b798939cb9643c11567d83fe8776ea00698ad Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 21 Aug 2013 15:10:40 +0200 Subject: [PATCH] Work around 9P corruption on 32-bit On 32-bit, Linux 3.4, and if the memory size is bigger than a certain value, starting the stage 2 init script fails with "Exec format error" because the 9P filesystem is returning garbage. No such problem with Linux 3.10. http://hydra.nixos.org/build/5737226 --- release.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release.nix b/release.nix index 81e63611..e5603dcb 100644 --- a/release.nix +++ b/release.nix @@ -175,7 +175,7 @@ in rec { tests.api = genAttrs' (system: with import { inherit system; }; - let hydra = builtins.getAttr system build; in # build.${system} + let hydra = builtins.getAttr system build; in # build."${system}" simpleTest { machine = { config, pkgs, ... }: @@ -183,6 +183,7 @@ in rec { services.postgresql.package = pkgs.postgresql92; environment.systemPackages = [ hydra pkgs.perlPackages.LWP pkgs.perlPackages.JSON ]; virtualisation.memorySize = 2047; + boot.kernelPackages = pkgs.linuxPackages_3_10; }; testScript =