Q-Logic IB0056101-00 G manual Rebuilding or Reinstalling Drivers After a Kernel Upgrade

Page 70

5 – Software Installation

Rebuilding or Reinstalling Drivers After a Kernel Upgrade

S

An equivalent way to restart infinipath this is to use same sequence as above, except use the restart command instead of start and stop:

#/etc/init.d/opensmd stop

#ifdown eth2

#/etc/init.d/infinipath restart

#ifup eth2

#/etc/init.d/opensmd start

NOTE:

Stopping or restarting InfiniPath terminates any QLogic MPI processes, as well as any OpenFabrics processes that are running at the time. Processes using networking over ipath_ether will return errors.

You can check to see if opensmd is running by using the following command; if there is no output, opensmd is not configured to run:

#/sbin/chkconfig --list opensmd grep -w on

You can check to see if ipath_ether is running by using the following command. If it prints no output, it is not running.

$ /sbin/lsmod grep ipath_ether

If there is output, look at the output from this command to determine if it is configured:

$ /sbin/ifconfig -a

When you need to determine which InfiniPath and OpenFabrics modules are running, use the following command:

$ lsmod egrep ’ipath_ib_rdma_findex’

Rebuilding or Reinstalling Drivers After a Kernel Upgrade

If you upgrade the kernel, then you must reboot and then rebuild or reinstall the InfiniPath kernel modules (drivers).

To rebuild the drivers, do the following (as root):

#cd /usr/src/infinipath/drivers

#./make-install.sh

#/etc/init.d/infinipath restart

To reinstall the InfiniPath kernel modules, do the following (as root):

#rpm -U --replacepkgs infinipath-kernel-*

#/etc/init.d/infinipath restart

5-28

IB0056101-00 G

Image 70
Contents QLogic HCA and InfiniPath→ Software Install Guide QLogic HCA and InfiniPath→ Software Install Guide Version Document Revision HistoryTable of Contents Software Installation Installation Troubleshooting Configuration Files RPM Descriptions List of Figures Page Who Should Read this Guide How this Guide is OrganizedOverview Typographical Conventions InteroperabilityConventions Used in this Guide Convention MeaningDocumentation Contact Information Support HeadquartersIntroduction Contact Information IB0056101-00 G QLogic Adapter Model Numbers What’s New in this ReleaseDescription New Features QLogic Model DescriptionInfiniPath/OpenFabrics Supported Distributions Kernels Supported Distributions and KernelsDistribution InfiniPath/OpenFabrics Supported Software Components Compiler SupportDistribution InfiniPath/OpenFabrics Supported Kernels „ Ofed SRP Feature Overview Software Components Step-by-Step Installation Checklist Hardware InstallationSoftware Installation Installing Software Using Rocks onStep-by-Step Installation Checklist Software Installation Page Adapter Models and Related Platforms Hardware Installation RequirementsHardware QLogic Platform Plugs IntoForm Factors QLogic InfiniBand Cables Cabling and SwitchesProduct Number Description Configuring the Bios Optical Fibre OptionList of the Package Contents Safety with ElectricityVerify the Package Contents Unpacking InformationHardware Installation Unpacking Information QLogic QLE7280 with IBA7220 Asic Unpacking the QLogic Adapter AsicDual Adapter Installation Installation StepsPCIe Slot in a Typical Motherboard QLogic PCIe HCA Assembly with Riser Card Hardware Installation for QHT7140 with HTX Riser Assembled PCIe HCA with RiserHTX Slot QLogic QHT7140 Adapter with Riser Card Assembled QHT7140 with Riser Hardware Installation for the QHT7140 Without an HTX Riser Switch Configuration and Monitoring Cabling the Adapter to the InfiniBand SwitchCompleting the Installation Cluster Setup Types of Nodes in a Cluster EnvironmentSupported Linux Distributions Setting Up Your EnvironmentInfiniPath/OpenFabrics Supported Distributions and Kernels Available Packages Choosing the Appropriate Download FilesPackage Description Comments Unpacking the InfiniPath tar File Check for Missing Files or RPMs Libibverbs-2.2-xxx.11.yyy.x8664.rpmRhel4 Installing the InfiniPath and OpenFabrics RPMsDistribution Used On Sles10Rpms to Install Choosing the RPMs to InstallIf you want to Then install Using rpm to Install InfiniPath and OpenFabrics PreparingInstalled Layout Starting the InfiniPath Service Configuring the InfiniPath Drivers InfiniPath and OpenFabrics Driver OverviewConfiguring the ipathether Network Interface Configuring the ibipath DriverIpathether Configuration on Red Hat Etc/sysconfig/network-scripts/ifcfg-eth2 # QLogic Interconnect Ethernet DEVICE=eth2 BOOTPROTO=staticIpathether Configuration on Sles 00117504e011Etc/udev/rules.d/30-netpersistentnames.rules Etc/sysconfig/hardware/hwcfg-eth-id-$MACEtc/sysconfig/network/ifcfg-eth2 MODULE=ipathether STARTMODE=autoOpenFabrics Drivers and Services Configuration and Startup Configuring the IPoIB Network Interface Output from this command will be similar to thisEtc/sysconfig/infinipath. Change this line to Configuring and Administering the Vnic Interface00066a0130000001 Service 1 1000066a00000101 InfiniNIC.InfiniConSys.Data01 Etc/infiniband/qlgcvnic.cfgNAME=eioc1 IOCGUID=0x66A0137FFFFE7 # HEARTBEAT=100This example uses DGID, Iocguid and Iocstring # /etc/init.d/infinipath start # /etc/init.d/qlgcvnic start # /etc/init.d/qlgcvnic stop# ibqlgcvnicinfo OpenSMEtc/init.d/opensmd Using Ofed SRP 21000001ff040bf6# ibsrpdm -c # mkdir /mnt/targetname # mount /dev/sde1 /mnt/targetnameStarting and Stopping the InfiniPath Software Other Configuration Changing the MTU SizeMPI over uDAPL To check the configuration state, use the command Rebuilding or Reinstalling Drivers After a Kernel Upgrade LED Link and Data Indicators Further Information on Configuring and Loading DriversLED Link and Data Indicators LED States IndicationAdapter Settings OffCustomer Acceptance Utility Hostname1 Hostname2Command Meaning Ipathcheckout OptionsUninstalling Ofed 1.3 Software Additional Installation InstructionsUninstalling InfiniPath and OpenFabrics RPMs Removing Software PackagesInstalling Lustre Installing QLogic MPI in an Alternate LocationInstalling on an Unsupported Distribution /etc/redhat-release file or the /etc/SuSE-release fileManaging and Installing Software Using Rocks Usr/src/infinipath/drivers/build-guards.shInstalling Rocks and InfiniPath RPMs Use the following contents Software Installation Additional Installation Instructions Home/install/contrib/4.2.1/x8664/RPMS Further Information on Rocks and kickstart Page Node Spontaneously Reboots Hardware IssuesBios Settings Some HTX Motherboards May Need Two or More CPUs in UseMtrr Mapping and Write Combining Edit Bios Settings to Fix Mtrr IssuesMtrr Mapping Discrete Issue with Supermicro H8DCE-HTe and QHT7040 Software Installation IssuesUse the ipathmtrr Script to Fix Mtrr Issues OpenFabrics Library Dependencies Version Number Conflict with opensm-*on RHEL5 SystemsOpenFabrics Dependencies Rpm no packages given for eraseMissing Kernel RPM Errors Resolving Conflicts Mpirun Installation Requires 32-bit SupportLibgcc-3.4.3-9.EL4.i386.rpm Glibc-2.3.4-2.i686.rpm or glibc-2.3.4-2.i386.rpm Lockable Memory Error on Initial Installation of InfiniPathIfup on ipathether on Sles 10 Reports unknown device Eth3 device QLogic Corp Unknown device 0010 revPage Table B-1. Configuration Files Configuration File Name DescriptionSample and Template Files Description RPM Version Numbers and Identifiers InfiniPath and OpenFabrics RPMsDifferent Nodes May Use Different RPMs Infinipath-2.2-33597.832rhel4qlc.x8664.rpmTable C-1. InfiniPath Documentation/RPMs RPM OrganizationDocumentation and InfiniPath RPMs RPM Name Front End Compute DevelopmentTable C-3. InfiniPath-Devel/RPMs Table C-2. InfiniPath/RPMsContains ipathcheckout Ipathbug-helpera Table C-5. OpenFabrics Documentation/RPMs OpenFabrics RPMsTable C-4. InfiniPath-MPI/RPMs RPM Name CommentsIbsim-2.2-xxx.04.yyy.x8664.rpm Dapl-utils-2.2-xxx.207.yyy.x8664.rpmIb-bonding-2.2-xxx.090.yyy.x8664.rpm Ibutils-2.2-xxx.12.yyy.x8664.rpmLibipathverbs-2.2-xxx.11.yyy.x8664.rpm Libibverbs-2.2-xxx.111.yyy.x8664.rpmLibibverbs-utils-2.2-xxx.111.yyy.x8664.rpm Librdmacm-2.2-xxx.106.yyy.x8664.rpmTable C-7. OpenFabrics-Devel/RPMs Table C-8. OpenSM/RPMs Table C-9. Other HCAs/RPMsRPM Name Front Comput Table C-10. Other HCAs-Devel/RPMsTable C-11. OtherMPIs/RPMs EndRPM Name Front Comput Developme End Openmpipgi-2.2-xxx.125.yyy.x86 Openmpiintel-2.2-xxx.125.yyy.x8Openmpipathscale-2.2-xxx.125.yy Qlogic-mpi-regisRPM Descriptions OpenFabrics RPMs IB0056101-00 G Index Help Openssh Openssh-server 5-3 Optical media converters No packages given for erase warning message A-4 Verbose Page Page Camberley Surrey, GU16 7ER UK +44 0 1276 804