#!/bin/sh if test -f /etc/default/grub; then . /etc/default/grub; fi if test -n "$GRUB_DEVICE_UUID"; then LINUX_ROOT_DEVICE=UUID=$GRUB_DEVICE_UUID else LINUX_ROOT_DEVICE=$GRUB_DEVICE fi # Workarounds for existing issues: # 1 Never turn IOMMU on with Intel GPU # intel_iommu=igfx_off # 2 Re: linux-next scsi-mq hang in suspend-resume # scsi_mod.use_blk_mq=0 # 3 https://bugzilla.kernel.org/show_bug.cgi?id=196325 # nvme_core.default_ps_max_latency_us=0 # Won't work well enough with dirty fs and invalid journal with fsck.repair: # rootflags=data=journal WA="" ROOT="root=$GRUB_DEVICE rootwait fsck.repair=yes $GRUB_CMDLINE_LINUX" GUC="i915.enable_guc=3" IGT="nmi_watchdog=panic,auto panic=5 softdog.soft_panic=5 drm.debug=0xe log_buf_len=1M 3" cat <