Lanner uCPE NCA-4020 Installation Manual page 23

Verified intel select solution for universal customer premises equipment (ucpe)
Hide thumbs Also See for uCPE NCA-4020:
Table of Contents

Advertisement

Appendix B Ubuntu.sh
echo "Uncore Scaling Disabled.............Passed"
else
echo "Uncore Scaling Enabled............Failed:BIOS Configuration"
BIOS_Pass=0
biosfstr="$biosfstr""== BIOS - Recommend Uncore Freq Scaling to be disabled=="
fi;
fi;
if [ "$check" = "1" ] || [ "$2" = "plus" ]; then
echo ""
echo "=== QAT ==="
QAT_Pass=0
QATVersion0=$(cat /opt/APP/driver/QAT/versionfile | sed -n '3p' | cut -f2 -d"=")
QATVersion1=$(cat /opt/APP/driver/QAT/versionfile | sed -n '5p' | cut -f2 -d"=")
QATVersion2=$(cat /opt/APP/driver/QAT/versionfile | sed -n '7p' | cut -f2 -d"=")
QATVersion3=$(cat /opt/APP/driver/QAT/versionfile | sed -n '9p' | cut -f2 -d"=")
QATVersion4=$(cat /opt/APP/driver/QAT/versionfile | sed -n '11p' | cut -f2 -d"=")
echo "Version: $QATVersion0.$QATVersion1.$QATVersion2.$QATVersion3-$QATVersion4"
QAT_VER="$QATVersion0.$QATVersion1.$QATVersion2.$QATVersion3-$QATVersion4"
if [ $QATVersion1 -gt 1 ]; then
QAT_Pass=1
elif [ $QATVersion1 -eq 1 ] && [ $QATVersion2 -gt 0 ]; then
QAT_Pass=1
elif [ $QATVersion1 -eq 1 ] && [ $QATVersion2 -eq 0 ] && [ $QATVersion3 -gt 3 ]; then
QAT_Pass=1
elif [ $QATVersion1 -eq 1 ] && [ $QATVersion2 -eq 0 ] && [ $QATVersion3 -eq 3 ] && [ $QATVersion4 -ge 42 ]; then
QAT_Pass=1
fi
if [ $QAT_Pass -eq 1 ]; then
echo "............Passed $QAT_VER"
else
echo "............Failed: $QAT_VER, QAT-L.1.0.3-42 Needed"
fi
fi
echo ""
echo "=== DPDK ==="
DPDK_Pass=0
echo $(find /opt/APP/utility/ -maxdepth 1 -name 'dpdk*' | sed -n '1p' | cut -f5 -d"/")
DPDK_Ver=$(find /opt/APP/utility/ -maxdepth 1 -name 'dpdk*' | sed -n '1p' | cut -f5 -d"/")
DPDKVersion1=$(find /opt/APP/utility/ -maxdepth 1 -name 'dpdk*' | sed -n '1p' | cut -f5 -d"/" |
cut -f2 -d"-" | cut -f1 -d".")
DPDKVersion2=$(find /opt/APP/utility/ -maxdepth 1 -name 'dpdk*' | sed -n '1p' | cut -f5 -d"/" |
cut -f2 -d"-" | cut -f2 -d".")
if [ $DPDKVersion1 -gt 18 ]; then
DPDK_Pass=1
elif [ $DPDKVersion1 -eq 18 ] && [ $DPDKVersion2 -ge 02 ]; then
DPDK_Pass=1
fi
if [ $DPDK_Pass -eq 1 ]; then
echo "............Passed $DPDK_Ver"
else
echo "............Failed: $DPDK_Ver, DPDK-18.02 Needed"
fi
echo ""
echo "=== Driver ==="
nic_driver_pass=1
I40eVersion=$(modinfo i40e | grep -i version | sed -n '1p' | sed 's/[[:space:]]//g' | cut -f2 -d":");
echo "i40e: $I40eVersion"
I40eVersionNum=$(modinfo i40e | grep -i version | sed -n '1p' | grep -o '[0-9]*' | tr -d '\n')
if [ $I40eVersionNum -ge 246 ]; then
echo "............Passed"
else
echo "............Failed: i40e 2.4.6 Needed"
nic_driver_pass=0
fi;
osfailstr=""
echo ""
echo "=== OS ==="
OS=$(cat /etc/issue | sed -n '1p' | awk '$1 == "Ubuntu" {print $2}')
echo "OS: $OS"
23

Advertisement

Table of Contents
loading

Table of Contents