From 3e47bfb091082962ff41b4fca6dca8b97ca1988b Mon Sep 17 00:00:00 2001 From: Patrick Lundgren Date: Tue, 29 Nov 2016 13:41:53 -0500 Subject: [PATCH] Added instructions to update i40e driver on build machine to output --- xCAT-genesis-builder/buildrpm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/xCAT-genesis-builder/buildrpm b/xCAT-genesis-builder/buildrpm index 94f3399c5..d58980c64 100755 --- a/xCAT-genesis-builder/buildrpm +++ b/xCAT-genesis-builder/buildrpm @@ -24,19 +24,27 @@ if [ -z $1 ]; then HOSTOS="fedora23" fi if [ $BUILDARCH = 'ppc64' -a $HOSTOS != 'mcp' -a $HOSTOS != '-y' ]; then - echo "The steps below is used to installed mlnx driver 3.2-1, if you are sure you have it or newer driver, pls use \"-y\" to skip!" + echo "The steps below are used to install mlnx driver 3.2-1 and i40e driver 1.5.16, if you are sure you have these or newer drivers, pls use \"-y\" to skip!" echo "1. Install OS related packages" + echo " yum install rpmbuild" echo " yum install kernel-devel-`uname -r`" echo " yum install kernel-headers-`uname -r`" echo " yum install gcc-c++" echo "2. Download Mellanox EN Driver for Linux from http://www.mellanox.com/downloads/Drivers/mlnx-en-3.2-1.0.1.1.tgz" - echo "3. Extract it and run ./install.sh from the extracted directory" + echo " Download Intel EN Driver follow this link and download from webpage https://downloadcenter.intel.com/downloads/eula/24411/Intel-Network-Adapter-Driver-for-PCI-E-40-Gigabit-Ethernet-Network-Connections-under-Linux-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F24411%2Feng%2Fi40e-1.5.16.tar.gz" + echo "3. To install Mellanox Driver, extract it and run ./install.sh from the extracted directory" echo " tar -xvf mlnx-en-3.2-1.0.1.1.tgz" echo " ./mlnx-en-3.2-1.0.1.1/install.sh" - echo "4. Check whether the mlx4 driver is updated" + echo " To install Intel Driver, create rpm and install" + echo " rpmbuild -tb i40e-1.5.16.tar.gz" + echo " rpm -i //i40e-1.5.16-1.ppc64le.rpm" + echo " Additional Intel instructions can be found in README included in i40e-1.5.16.tar.gz" + echo "4. Check whether the drivers are updated" echo " modprobe mlx4-en" echo " modinfo mlx4-en | grep version" echo " version: 3.2-1.0.1.1 (31 Jan 2016)" + echo " modinfo i40e | grep version" + echo " version: 1.5.16" echo "5. Once the steps above done, run \"$0 -y\" to build xCAT-genesis-base-ppc64" exit 0 fi