Skip to content

Commit

Permalink
nvme timeout issue patch
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
  • Loading branch information
Alalk authored Aug 10, 2018
1 parent 9124304 commit 1b7e3d3
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
Original file line number Diff line number Diff line change
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=4294967295 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 1b7e3d3

Please sign in to comment.