From af6c762e0472df0f1ef7280aa96bcd847e6cf8fc Mon Sep 17 00:00:00 2001 From: Ing Date: Thu, 20 Feb 2025 22:24:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=9F=90=E4=BA=9B?= =?UTF-8?q?=E4=B8=BB=E6=9D=BF=20=E7=9C=8B=E9=97=A8=E7=8B=97=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=20kernel=20panic=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/initrd/opt/rr/boot.sh | 2 ++ files/mnt/p1/boot/grub/grub.cfg | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/files/initrd/opt/rr/boot.sh b/files/initrd/opt/rr/boot.sh index 8d137877..d4672c13 100755 --- a/files/initrd/opt/rr/boot.sh +++ b/files/initrd/opt/rr/boot.sh @@ -182,6 +182,8 @@ CMDLINE['pcie_aspm']="off" # CMDLINE['amd_pstate']="disable" # CMDLINE['nox2apic']="" # check platform # CMDLINE['nomodeset']="" +CMDLINE['nowatchdog']="" + CMDLINE['modprobe.blacklist']="${MODBLACKLIST}" CMDLINE['mev']="${MEV:-physical}" diff --git a/files/mnt/p1/boot/grub/grub.cfg b/files/mnt/p1/boot/grub/grub.cfg index 63ac0d83..25dc9189 100644 --- a/files/mnt/p1/boot/grub/grub.cfg +++ b/files/mnt/p1/boot/grub/grub.cfg @@ -76,7 +76,7 @@ function gfxmode { set gfxpayload="${linux_gfx_mode}" } -set RR_CMDLINE="earlyprintk earlycon=uart8250,io,0x3f8,115200n8 console=ttyS0,115200n8 root=/dev/ram rootwait intremap=off amd_iommu_intr=legacy net.ifnames=0 panic=5 split_lock_detect=off pcie_aspm=off intel_pstate=disable amd_pstate=disable nox2apic nomodeset" +set RR_CMDLINE="earlyprintk earlycon=uart8250,io,0x3f8,115200n8 console=ttyS0,115200n8 root=/dev/ram rootwait intremap=off amd_iommu_intr=legacy net.ifnames=0 panic=5 split_lock_detect=off pcie_aspm=off intel_pstate=disable amd_pstate=disable nox2apic nomodeset nowatchdog" search --set=root --label "RR3" if [ -s /zImage-dsm -a -s /initrd-dsm ]; then