From ae19bd0d71ed690783d247ac4199bc4e751aa0dd Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Mon, 15 Apr 2024 17:44:28 +0200 Subject: [PATCH] boot: blacklist scsi_tramsport_sas Signed-off-by: AuxXxilium --- files/initrd/opt/arc/boot.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/initrd/opt/arc/boot.sh b/files/initrd/opt/arc/boot.sh index 2c33064f..9170eb53 100755 --- a/files/initrd/opt/arc/boot.sh +++ b/files/initrd/opt/arc/boot.sh @@ -155,6 +155,11 @@ if [ "$(readModelKey "${MODEL}" "dt")" = "true" ] && ! echo "epyc7002 purley bro CMDLINE['modprobe.blacklist']+="mpt3sas" fi +if ! echo "broadwell broadwellnk" | grep -wq "$(readModelKey "${MODEL}" "platform")"; then + [ ! "${CMDLINE['modprobe.blacklist']}" = "" ] && CMDLINE['modprobe.blacklist']+="," + CMDLINE['modprobe.blacklist']+="scsi_transport_sas" +fi + # Read cmdline while IFS=': ' read -r KEY VALUE; do [ -n "${KEY}" ] && CMDLINE["${KEY}"]="${VALUE}"