From 2b191b96860908c2124135dc30751aa8d84ec2f5 Mon Sep 17 00:00:00 2001 From: brett Date: Fri, 10 Aug 2018 08:48:41 -0700 Subject: [PATCH 1/2] Update grub.cfg updating the grub config to use the nvme defaults required by aws. Should solve the failure to pass status checks. (eventually) https://github.com/coreos/bugs/issues https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html#timeout-nvme-ebs-volumes --- build_library/grub.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_library/grub.cfg b/build_library/grub.cfg index 13c8fc7b72..82e0065b08 100644 --- a/build_library/grub.cfg +++ b/build_library/grub.cfg @@ -86,7 +86,7 @@ fi # platform, most systems use vga text as primary and ttyS0 as secondary. if [ -z "$linux_console" ]; then if [ "$grub_platform" = pc ]; then - set linux_console="console=ttyS0,115200n8 console=tty0" + set linux_console="console=ttyS0,115200n8 console=tty0 nvme_core.io_timeout=4294967295 nvme_core.max_retries=10" serial com0 --speed=115200 --word=8 --parity=no terminal_input console serial_com0 terminal_output console serial_com0 From 18b92c677bbd2126f6c089d5a15117c911b1c58e Mon Sep 17 00:00:00 2001 From: brett Date: Fri, 10 Aug 2018 11:11:26 -0700 Subject: [PATCH 2/2] Update grub.cfg moving nvme_core.io_timeout=4294967295 (and reducimng to 255) nvme_core.max_retries=10 to the https://github.com/coreos/coreos-overlay/blob/master/coreos-base/oem-ec2-compat/files/grub-ec2.cfg . --- build_library/grub.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_library/grub.cfg b/build_library/grub.cfg index 82e0065b08..13c8fc7b72 100644 --- a/build_library/grub.cfg +++ b/build_library/grub.cfg @@ -86,7 +86,7 @@ fi # platform, most systems use vga text as primary and ttyS0 as secondary. if [ -z "$linux_console" ]; then if [ "$grub_platform" = pc ]; then - set linux_console="console=ttyS0,115200n8 console=tty0 nvme_core.io_timeout=4294967295 nvme_core.max_retries=10" + set linux_console="console=ttyS0,115200n8 console=tty0" serial com0 --speed=115200 --word=8 --parity=no terminal_input console serial_com0 terminal_output console serial_com0