summaryrefslogtreecommitdiffstats
path: root/supermicro
diff options
context:
space:
mode:
authorEmery Hemingway <emery@vfemail.net>2016-04-08 16:27:04 +0200
committerEmery Hemingway <emery@vfemail.net>2016-04-08 16:27:52 +0200
commit5a74a39cab7d5da5ad56f632e99f49b1d9a581b3 (patch)
treee7c2985c0fb05e1c4430d02f31f0d2053c4cc59a /supermicro
parentad24584ecfd72a2fd4baf72a9e27d7a74bbd99f0 (diff)
buggy drivers fixed on a1sri-2758f
Diffstat (limited to 'supermicro')
-rw-r--r--supermicro/a1sri-2758f.nix26
1 files changed, 8 insertions, 18 deletions
diff --git a/supermicro/a1sri-2758f.nix b/supermicro/a1sri-2758f.nix
index b199bf1..c16c093 100644
--- a/supermicro/a1sri-2758f.nix
+++ b/supermicro/a1sri-2758f.nix
@@ -3,28 +3,18 @@
# This board contains a TPM header, but you must supply your own module.
#
-{ pkgs, ... }:
+{ pkgs, lib, ... }:
{
- imports = [ ../lib/hardware-notes.nix ];
+ imports = [ ../lib/kernel-version.nix ];
environment.systemPackages = [ pkgs.ipmitool ];
boot.kernelModules = [ "ipmi_devintf" "ipmi_si" ];
- networking.dhcpcd.extraConfig = "nolink";
-
- hardwareNotes =
- [ { title = "IPMI";
- text = "Load IPMI kernel modules and ipmitool to system environment.";
- }
- { title = "Nolink";
- text =
- ''
- Interface link state detection is disabled in dhcpcd because
- the Linux driver seems to send erronous loss of link messages
- that cause dhcpcd to release every few seconds, which is
- more annoying than not releasing when a cable is unplugged.
- '';
- }
- ];
+ kernelAtleast = lib.singleton
+ { version = "4.4";
+ msg =
+ "ethernet driver may be buggy on older kernels, "+
+ ''try 'networking.dhcpcd.extraConfig = "nolink";' if you encounter loss of link problems'';
+ };
}