Readme for IBM Flex System FC 5054 4-port 16Gb FC Adapter 08/15/2013: See Document Change History <#Change_history> for details on changes to this document. Contents * 1.0 Overview <#_1.0_Overview> * 2.0 Adapters Affected <#_2.0_Adapters_Affected> * 3.0 Microcode Description and Revision History <#_3.0_Microcode_Description> * 4.0 Cautions and Important Notes <#_4.0_Cautions_and> * 5.0 To Determine Adapter Microcode Levels <#_5.0_To_Determine> o 5.1 AIX Systems <#_5.1_AIX_Systems> o 5.2 Linux Systems <#_5.2_Linux_Systems> * 6.0 Install RPM Package <#_6.0_Install_RPM> o 6.1 AIX RPM Package <#_6.1_AIX_RPM> * 7.0 Installing the Adapter's Microcode <#_7.0_Installing_the> o 7.1 Using the AIX Command-Line Method <#_7.1_Using_the> o 7.2 Using the Diagnostic Service Aid Method <#_7.2_Using_the> o 7.3 Enabling Linux driver firmware load from flash <#ov2> o 7.4 Using the Standalone Diagnostics CD <#ov3> * 8.0 Verifying the Update <#_8.0_Verifying_the> o 8.1 Verifying the Update on AIX <#_8.1_Verifying_the> o 8.2 Verifying the Update on Linux <#8.2_Verifying_the_Update_on_Linux> * Document Change History <#_Document_Change_History> * Appendix: Vendor Firmware Notice <#_Apendix_Vendor_Firmware_Notice> ------------------------------------------------------------------------ 1.0 Overview This update contains the AIX RPM file for the current level of microcode for the IBM Flex System FC 5054 4-port 16Gb FC Adapter, Feature Code EC2E. This is a multiport adapter with a single ASIC. To update the microcode for the entire adapter, only a single resource (port) need to be updated to ensure the card is updated. Back to Contents <#Contents> ------------------------------------------------------------------------ 2.0 Adapters Affected This microcode is for feature code EC2E: PN 95Y2393: CCIN 2B77 To determine the part number of the adapter on an AIX system, on the command line key the following command: *lscfg** -vl fcsX* where fcsX represents the adapter. Affected adapters will be listed as: FC 5054 4-port 16Gb FC Adapter (df1000e2df1082e2) To determine the presence of this adapter on a Linux system, on the command line key in: *ls** /sys/class/fc_host* Example output: host1 host2 Next determine the model description and name for each host. For each host{n} displayed in previous command, on the command line key in the following command,where host{n} is replaced by one of hosts listed in previous step: *cat /sys/class/scsi_host/host**{n}/model** * * Affected adapters will be listed as: FC 5054 4-port 16Gb FC Adapter The typical time to install the microcode is 0.4 hr. Back to Contents <#Contents> ------------------------------------------------------------------------ 3.0 Microcode Description and Revision History *Microcode Level* *Changes* 00001000010004300011 This is the level of microcode that is initially supported when it became generally available. *The Firmware Levels Below Are No Longer Supported Please Update To The Latest Level At Your Earliest Convenience* Back to Contents <#Contents> ------------------------------------------------------------------------ 4.0 Cautions and Important Notes * *Concurrent Download* The microcode installation does *NOT* support concurrent download while the fcs resources are available for use. If the fcs resources are in use, they must manually be released prior to starting the download. Failure to do so will result in a message instructing that the fcs resource be freed. *NOTE*: It is recommended that the installation be scheduled during a maintenance window or during non-peak production periods. * *NOTICE FOR AIX CUSTOMERS INSTALLING 00001000010004300011 MICROCODE* o *AIX Requirements* Prior to installing the microcode, it is required that the following AIX Service Packs or later be installed. + AIX 6.1 TL6 SP8 + AIX 6.1 TL7 SP3 + APAR IV14283 + AIX 7.1 TL0 SP6 + AIX 7.1 TL1 SP3 + APAR IV14284 The Service Packs can be obtained from the IBM Fix Central website located at http://www.ibm.com/eserver/support/fixes. o *VIOS Requirements *If the adapter is running in a partition running VIOS, it is required that VIOS 2.2.1.4 or later be installed. o *Linux* *Requirements* RHEL 5.7, RHEL 6.2, and SLES11 SP2 or later are supported. Back to Contents <#Contents> ------------------------------------------------------------------------ 5.0 To Determine Adapter Microcode Levels Before installing the microcode, it is important to determine the current microcode level of the adapter. 5.1 AIX Systems 1. List the Fibre Channel (FC) adapters installed in the system by typing on the command line: *lsdev**-C | grep fcsX* Note the device names of all the fibre channel adapters installed. The adapter device names will be fcsX, where X is 0,1, or some other number. There will be an fcsX listing for each port of the FC EC2E adapter 2. Determine the current microcode level on the adapter by typing on the command line: *lsmcode**-d fcsX * where X is the number of the adapter's port returned from the "lsdev" command above. A screen similar to the following will be displayed: DISPLAY MICROCODE LEVEL 802111 fcs0 FC 5054 4-port 16Gb FC Adapter (df1000e2df1082e2) The current microcode level for fcs0 is 00001000010004300011 Use Enter to continue. F3=Cancel F10=Exit Enter If the current microcode level is not 00001000010004300011, then the microcode image on the adapter is not at the latest level. Back to Contents <#Contents> 5.2 Linux Systems 1. Identify fibre channel hosts. Following command will list fibre channel hosts. *ls** /sys/class/fc_host* Example output: host3 host4 2. Verify firmware version running on the host. The following command will display the firmware version loaded by the adapter, where host{n} is replaced by one of hosts listed in previous step. *cat /sys/class/scsi_host/host{n}/fw_version* Expected output: 5.06.05 (nnnn) (nnnn) can be ignored If version reported is not greater than or equal to 5.06.05, then the microcode image on the adapter is not at the latest level. Back to Contents <#Contents> ------------------------------------------------------------------------ *6.0 Install RPM Package* 6.1 AIX RPM Package Use this method to install the AIX RPM package on an AIX system. Note that the commands are case sensitive and must be entered exactly as shown, including file names. Installing the RPM places the binary file df1000e2df1082e2.00001000010004300011 in the /etc/microcode directory. 1. If the /etc/microcode directory does not exist, make a directory to receive the RPM format file. On the command line type: *mkdir** /etc/microcode* 2. Transfer the RPM format file, df1000e2df1082e2.00001000010004300011.aix.rpm to any temporary directory on the target system. 3. Unpack the file. On the command line type: *rpm -ihv --ignoreos df1000e2df1082e2.00001000010004300011.aix.rpm* 4. If the microcode package unpacks successfully, the microcode file will be added to the /etc/microcode directory. If a message is received saying the "package ** is already installed", you will need to uninstall the rpm package. On the command line type: *rpm -e * where is the name of the package that was returned in the message. Return to step 3 and attempt to unpack the file again. 5. Go to section 7.0 to complete the update. Back to Contents <#Contents> ------------------------------------------------------------------------ 7.0 Installing the Adapter's Microcode 7.1 Using the AIX Command-Line Method Login as root user. From the command line key in: *diag** -d fcsX -T download* where fcsX is the port you on which you want to install the microcode. Self-explanatory menus will step you through the microcode installation. Repeat this command for all of the adapters/ports. Back to Contents <#Contents> 7.2 Using the Diagnostic Service Aid Method Login as root user. From the command line key in: *diag* Select: *Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)* Select: *Microcode Tasks* Select: *Download Latest Available Microcode* Select: *file system* * /etc/microcode* Select the device: *fcs**** Press enter when prompted to download the microcode. Only one of the fcs resources needs to be updated for the entire adapter to be updated. Upon completion, a message will state that the microcode has been successfully downloaded and that the new level is 00001000010004300011. _Back to Contents_ <#Contents> * * *7.3 Enabling Linux driver firmware load from flash* On RHEL6 and SLES11 Linux distributions, the firmware is loaded automatically by the qla2xxx driver from the /lib/firmware/ directory. On RHEL5 the firmware is* *loaded by the qla2xxx driver from the driver image itself. If Standalone Diagnostics are used to update the adapter flash, then the qla2xxx driver must be set to load the firmware from the flash by specifying qla2xxx driver parameter, ql2xfwloadbin. The steps required to set the ql2xfwloadbin driver parameter in a persistent manner varies by Linux release as described next. RHEL5 1) Using a Linux text editor, edit the file /etc/modprobe.conf 2a) If there is a line in the file starting with options qla2xxx then add /ql2xfwloadbin//=1/ to the end of that line. 2b) If there is no line in the file starting with options qla2xxx then add a new line to the file, /options qla2xxx //ql2xfwloadbin=1/ 3) Save the file 4) Make a new initrd to include the updated qla2xxx driver options in the boot image. On the command line, key in /mkinitrd// -f /boot/initrd-$(uname -r).img $(uname -r)/ / /5) Reboot RHEL6 1) Using an a Linux text editor, create a new file /etc/modprobe.d/qla2xxx.conf 2) Add this line to the /etc/modprobe.d/qla2xxx.conf file created in step 1, /options qla2xxx //ql2xfwloadbin=1/ 3) Save the file 4) Save the file 4) Make a new initramfs to include the updated qla2xxx driver options in the boot image. On the command line, key in /dracut// -f /boot/initramfs-$(uname -r).img $(uname -r)/ 5) Reboot SLES11 mkinitrd 1) Using a Linux text editor, edit the file /etc/modprobe.local.conf 2a) If there is a line in the file starting with options qla2xxx then add /ql2xfwloadbin=1 to/ the end of that line. 2b) If there is no line in the file starting with options qla2xxx then add a new line to the file, /options qla2xxx //ql2xfwloadbin=1/ 3) Save the file 4) Make a new initrd to include the updated qla2xxx driver options in the boot image. On the command line, key in /mkinitrd/// 5) Reboot _Back to Contents_ <#Contents> 7.4 Using the Standalone Diagnostics CD Below are references and the general flow on how to update microcode update via CD. This method requires 1) Boot the system via a Standalone Diagnostic's CD a) To create a bootable Diagnostic's CD go to the following URL. http://www.software.ibm.com/webapp/set2/sas/f/diags/home.html b) After booting to Standalone Diagnostics, the Diagnostic's CD can be removed. 2) The Diagnostic's CD should be replaced by a CD containing the unpacked microcode image(s). The CD containing the microcode images should be prepared prior. This can be done by taking the df1000e2df1082e2.00001000010004300011.aix.rpm file(s) and unpacking them on a usable server. The unpacked files can then be burned on to the CD media. _Back to Contents_ <#Contents> ------------------------------------------------------------------------ 8.0 Verifying the Update 8.1 Verifying the Update on AIX 1. List the Fibre Channel (FC) adapters installed in the system by typing on the command line: *lsdev**-C | grep fcsX* Note the device names of all the fibre channel adapters installed. The adapter device names will be fcsX, where X is 0,1, or some other number. There will be an fcsX listing for each port of the FC EC2E adapter 2. Determine the current microcode level on the adapter by typing on the command line: *lsmcode**-d fcsX * where X is the number of the adapter's port returned from the "lsdev" command above. A screen similar to the following will be displayed: DISPLAY MICROCODE LEVEL 802111 fcs0 FC 5054 4-port 16Gb FC Adapter (df1000e2df1082e2) The current microcode level for fcs0 is 00001000010004300011 Use Enter to continue. F3=Cancel F10=Exit Enter If the current microcode level is 00001000010004300011, then the microcode image was updated successfully. _Back to Contents_ <#Contents> 8.2 Verifying the Update on Linux 1. Identify fibre channel hosts. Following command will list fibre channel hosts. *ls** /sys/class/fc_host* Example output: host1 host2 2. Verify firmware version running on the host. The following command will display the firmware version loaded by the adapter, where host{n} is replaced by one of hosts listed in previous step. *cat /sys/class/scsi_host/host{n}/fw_version* If version reported is not as expected, carefully retrace steps to confirm each step is completed without error. _Back to Contents_ <#Contents> ------------------------------------------------------------------------ Document Change History *Date* *Change* 08/15/2013 Initial Document _Back to Contents_ <#Contents> ------------------------------------------------------------------------ Apendix: Vendor Firmware Notice ------------------------------------------------------------------------ _Privacy_ | _Legal_ | _Contact IBM_