Skip to content

Instantly share code, notes, and snippets.

@dholt
Created August 4, 2016 22:02
Show Gist options
  • Save dholt/39b68bb5e5993a9a45716365bdbf9122 to your computer and use it in GitHub Desktop.
Save dholt/39b68bb5e5993a9a45716365bdbf9122 to your computer and use it in GitHub Desktop.
Fix Supermicro ACSCtl BIOS issue on Haswell systems
#!/usr/bin/env bash
e=`dmidecode | grep SYS-2028GR-TRT`
if [ $? -ne 0 ] ; then
exit
fi
for i in $(lspci -d "10b5:" | awk '{print $1}') ; do
o=$(lspci -vvv -s $i | grep ACSCtl)
if [ $? -eq 0 ] ; then
echo $o | grep "+"
if [ $? -eq 0 ] ; then
setpci -s $i f2a.w=0000
fi
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment