Skip to content

Commit

Permalink
nvme timeout issue
Browse files Browse the repository at this point in the history
updating the grub config to use the nvme defaults required by aws. Should solve the failure to pass status checks. (eventually)
This only works on kernel version above 4.15. (core timeout max is 255 for below 4.15)

coreos/bugs#2464
coreos/bugs#2484
coreos/bugs#2371
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html#timeout-nvme-ebs-volumes
05c1f12
  • Loading branch information
Alalk committed Aug 10, 2018
1 parent 992b5ed commit 7707f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coreos-base/oem-ec2-compat/files/grub-ec2.cfg
Expand Up @@ -7,7 +7,7 @@ set oem_id="ec2"
set linux_append="modprobe.blacklist=xen_fbfront net.ifnames=0"

if [ "$grub_platform" = pc ]; then
set linux_console="console=ttyS0,115200n8"
set linux_console="console=ttyS0,115200n8 nvme_core.io_timeout=255 nvme_core.max_retries=10"
serial com0 --speed=115200 --word=8 --parity=no
terminal_input serial_com0
terminal_output serial_com0
Expand Down

0 comments on commit 7707f86

Please sign in to comment.