The kernel needs SERIAL_8250_CONSOLE when using a real serial port as a console

This commit is contained in:
Shea Levy 2012-08-06 08:13:06 -04:00
parent 1b615f460b
commit e66bcbd58a
2 changed files with 9 additions and 0 deletions

View File

@ -94,6 +94,10 @@ in
system.upstartEnvironment.GCOV_PREFIX = "/tmp/xchg/coverage-data";
system.requiredKernelConfig = with config.lib.kernelConfig; [
(isYes "SERIAL_8250_CONSOLE")
(isYes "SERIAL_8250")
];
};
}

View File

@ -385,4 +385,9 @@ in
# Wireless won't work in the VM.
networking.wireless.enable = mkOverride 50 false;
system.requiredKernelConfig = optional (!cfg.graphics) (with config.lib.kernelConfig; [
(isYes "SERIAL_8250_CONSOLE")
(isYes "SERIAL_8250")
]);
}