免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1867 | 回复: 0
打印 上一主题 下一主题

[安装配置] 6239FC卡微码升级 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-12 00:11 |只看该作者 |倒序浏览
Microcode Revision Level df1080f9.181303 (1.81X3) With FCode level 1.41a2 for F/C 6239
Contents




  • Back to Contents

    2.0 Systems Affected
    This level of firmware is for FC 6239, PN 00P4295, 80P4381, 80P6454.
    The typical time to install the microcode is .4 hr.

    Back to Contents

    3.0 Firmware Description and Revision History

This firmware update contains the following features and fixes:
  
  
    Firmware Level
   Changes
1.81x3
  Fixes a problem with the Tape sequence recovery algorithm
1.81X1

  • Fix problem with FCode (Can't see devices from SMS menu)
  • Fix problem with FCode (System crashes to default menu during SAN boot)
  • Fix firmware problem (data not sent to target on a write) cause by mismanagement of AIX data pointer list.
  • Add support for PI over FC
  • Firmware 1.90x2 was pulled do to disk cmd time out errors

1.00X5
GA level
  
Back to Contents

4.0 Cautions and Important Notes

  • Concurrent Download
    The microcode installation occurs while the adapter and any attached drives are available for use. It is recommended that this installation be scheduled during non-peak production periods
    NOTE: An APAR is required to successfully download firmware concurrently.


    • AIX 5.1 APAR IY69858
    • AIX 5.2 APAR IY69751
    • AIX 5.3 APAR IY69796
    If the apar is not installed, a reboot is required following firmware download.
    Firmware download AIX APAR required for firmware download.
    Prior to downloading firmware to the FC 6239, the following APAR must be installed :
    AIX 5.1 = APAR IY35308,
    AIX 5.2 = APAR IY35747
    Note: Failure to have the APAR installed will damage the adapter.
    To determine if the APAR is installed, enter the following cmd.
    lslpp -L | grep df1000f7.com
    For AIX 5.1, the file set must be at 5.1.0.50 or higher
    For AIX 5.2, the file set must be at 5.2.0.10 or higher


  • Machine type 7039-651

Machine type 7039-651 must be at system firmware level 3J030521 or higher. If the system firmware level is less than 3J930521 you can damage the fibre channel adapter if you attempt to upload the fibre channel adapter firmware.
  To determine machine type, enter the following command:
     scfg -pl sysplanar0 | grep Model | awk ' {print $2}'
  If machine type is "IBM,7039-651", check the system firmware level by entering the following command:
     lsmcode -rt system
NOTE: firmware level RJ030206 is a lower level than 3J030521.  To compare firmware levels, compare the trailing 6 characters.  For firmware levels RJ030206 and 3J030521, you compare the trailing 6 characters:  030206 is less than 030521
  
  

Back to Contents

5.0 To Determine Adapter Microcode LevelsBefore you install the microcode, it is important to determine the FRU Number and Microcode level of the adapter installed in the target system. Use the following instructions to read the FRU number stored in the adapter's non-volatile memory.
5.1 AIX Systems
1)  List the Fiber Channel PCI adapters installed in the system by typing:
lsdev -C | grep "fcs"
Note the device names of all the Gigabit Fiber Channel PCI Adapters installed. The adapter device names will be fcsX, where X is 0,1, or some other number.
2) There are two methods to check the current microcode level on the adapter.

  • The first uses the " lscfg " command and it will return much of the information in the adapter VPD. The Z9 field will have the firmware level. This method will also display the FRU part number and Assembly part number.

lscfg -vl fcsX
Where X is the number of the adapter returned by the previous lsdev command.
The Command will produce output similar to
DEVICE       LOCATION       DESCRIPTION
fvs0              3F-08             FC Adapter
        Part Number.................00P4295
        EC Level....................A
        Serial Number...............1A31600450
        Manufacturer................001A
        FRU Number..................     00P4297
        Device Specific.(ZM)........3
        Network Address.............10000000C9332A79
        ROS Level and ID............02E01035
        Device Specific.(Z0)........2003806D
        Device Specific.(Z1)........00000000
        Device Specific.(Z2)........00000000
        Device Specific.(Z3)........03000909
        Device Specific.(Z4)........FF601032
        Device Specific.(Z5)........02E01035
        Device Specific.(Z6)........06631035
        Device Specific.(Z7)........07631035
        Device Specific.(Z8)........20000000C9332A79
        Device Specific.(Z9)........HS1.81x1
        Device Specific.(ZA)........H1D1.81X1
        Device Specific.(ZB)........H2D1.81X1
        Device Specific.(YL)........U1.9-P2-I1/Q1

If the firmware level in the "Z9" field is not 1.81x3, then the microcode should upgraded.

  • The second method uses the "lsmcocde"command and it will return the extension of the firmware image file that installed.method

lsmcocde -d fcsX
Where X is the number of the adapter returned from the "lsdev" command above.
DISPLAY MICROCODE LEVEL 802111
fcs3 FC Adapter
The current microcode level for fcs3 is 100305.
Use Enter to continue.
F3=Cancel F10=Exit Enter
100305 is the extension of the firmware image (df1080f9.100305) that was last loaded on the adapter.
If the extensions is less than 181303, then the firmware should be upgraded.
5.2 Linux Systems

On Linux systems one of two possible methods must be used to determine the current level of Microcode on installed adapters. If the first method does not display the Microcode level, the second method should display the Microcode level for installed adapters. Both methods assume you are logged in as root and one or more Fiber Channel PCI adapters are installed.
The first method generally works on systems running Linux 2.4 kernels and some systems running 2.6 kernels which do not have full support for the /sys filesystem.
  • List Fiber Channel PCI adapter information for all installed adapters by typing:
    cat /proc/scsi/lpfc/*
    Output will display various information for each installed Fiber Channel PCI adapter. Make note of Driver version, Emulex LightPulse model and Firmware Version:
    Emulex LightPulse FC SCSI 7.2.4
    Emulex LightPulse LP9802 2 Gigabit PCI Fiber Channel Adapter
    Firmware Version: 1.81 (H2D1.81x3)
    The second method works on systems running Linux 2.6 and higher kernels which suppor the /sys file system.
  • Determine which host numbers are assigned to installed Fiber Channel PCI adapters by typing:
    cd /sys/class/scsi_host
    find . -name "lpfc_drvr_version" -print
    Output will list relative path names for each installed Fiber Channel PCI adapter. Note the host{n} portion of each path.
    ./host2/lpfc_drvr_version
    ./host1/lpfc_drvr_version
  • Determine driver version for installed Fiber Channel PCI adapters by typing:
    cat host{n}/lpfc_drvr_version
    Where host{n} is one from step 1. Driver version should be noted as it will be required later when Microcode is updated. Driver version may vary but will display as follows:
    Emulex LightPulse FC SCSI 7.2.4
  • Display Emulex LightPulse model for each installed Fiber Channel PCI adapter by typing:
    cat host{n}/modelname
    Where host{n} is one from step 1. Model will display as follows:
    LP9802
  • Display Firmware version for each installed Fiber Channel PCI adapter by typing:
    cat host{n}/fwrev
    Where host{n} is one from step 1. Firmware version will display as follows:
    1.81 (H2D1.81x3)

    If, as shown in bold text above, the Emulex LightPulse model is LP9802 and the firmware version is not 1.81x3, then the microcode should upgraded.

    Back to Contents

    6.0 Downloading and Unpacking the Firmware Update Package
    There are two firmware packages available, from the Internet and CORE, an RPM package for AIX systems and an RPM package for Linux systems,

    Back to Contents

    6.1 AIX System RPM Package
    Insalling the RPM Format File on Target Server
    Use this method to install the AIX RPM package on an AIX system:
    Note: The instructions that follow are specific AIX commands. AIX commands are CASE (lower and upper) SENSITIVE, and must be entered exactly as shown, including filenames.
    1. Make a directory on an AIX system to receive the RPM format file.
        Enter:      mkdir /etc/microcode
    2. Transfer the RPM format file to a temporary directory on the target server.
        You'll see the filename is pci.df1080f9-1-81x3.aix.rpm
    3. Unpack the file by executing the instructions below:
        Enter the commands:
            rpm -ihv --ignoreos pci.df1080f9-1-81x3.aix.rpm
    4. If the firmware unpacks successfully, the microcode files will be added to /etc/microcode/
    5.The file size and checksum will be verified on the firmware image, NOT the RPM file.
    File size: 455860
    Checksum: 35734
    If step 3 returns with: " package package_name is already installed"
    You will need to un-install the rpm package as follows:
    rpm -e package_name
    Where "package_name" is the package name returned in the failure of step three.
    Now go to step 3 above to unpack the firmware.
    6.2 Linux Sytem RPM Package
    Downloading Linux RPM Format File to a Linux Server
    Use this method to download to an Linux system:
    Note: The instructions that follow are specific AIX commands. AIX commands are CASE (lower and upper) SENSITIVE, and must be entered exactly as shown, including filenames.
    1. Make a directory on an AIX system to receive the RPM format file.
        Enter:     
    2. Transfer the RPM format file to the /etc/microcode directory (using "Save as ...").
        You'll see the filename is pci.df1000fa-1-81x3.linux.rpm
    3. Unpack the file by executing the instructions below:
        Enter the commands:
            rpm -ihv --ignoreos pci.df1080f9-1-81x3.linux.rpm
    4. If the firmware unpacks successfully, the microcode files will be added to the correct directory./
    5.The file size and checksum will be verified on the firmware image, NOT the RPM file.
    File size: 455860
    Checksum: 35734
    If step 3 returns with: " package package_name is already installed"
    You will need to un-install the rpm package as follows:
    rpm -e package_name
    Where "package_name" is the package name returned in the failure of step three.
    Now go to step 3 above to unpack the firmware.

    Back to Contents

    7.0 Update the Adapter's Microcode
    The Diagnostic Microcode Download software supports the following naming convention for the microcode binary file :
       df1080f9.181303   where 181303  is the version of the file.
    Back to Contents

    7.1 Using the AIX Command-Line Method
    You are now ready to FLASH the EEPROM in the adapter using the single command:
    diag -d fcsX -T download
    Where X is the number found from the "lsdev -C | grep fcs " command.
    Self-explanatory menus will step you through the microcode installation.
    Repeat each step in  7.1 above for all the cards that need the update.
    To Back level the firmware
    diag -d fcsX -T "download -f -l previous"

    Back to Contents

    7.2 Using the Download Microcode Diagnostic Service Aid Method
    From the command line login, log in as root.
    Enter
        diag
    Select
        Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)
    Select
        Download Microcode
    Select the device returned for above
        fcs*
    Press enter when prompted to download the microcode
    Upon completion, a message will state that the firmware has be successfully downloaded and that
    the new level is  181303.
    Exit.

    Back to Contents

    7.3 Verifying the Update

      1  List the Fiber Channel PCI adapters installed in the system by typing:
         lsdev -C | grep "fcs"
      Note the device names of all the Gigabit Fiber Channel PCI Adapters installed. The adapter  device names will be fcsX, where X is 0,1, or some other number.
      2 There two methods to check the current microcode level for the adapter.

      • The first method uses the "lsmcode" command

      lsmcocde -d fcsX
      Where X is the number of the adapter returned from the "lsdev" command above.
      DISPLAY MICROCODE LEVEL 802111
      fcs3 FC Adapter
      The current microcode level for fcs3 is 181301.
      Use Enter to continue.
      F3=Cancel F10=Exit Enter
      If current microcode level is 181303, then the firmware has been upgraded.

      • The second method uses the "lscfg" command

        lscfg -vl fcsX
      Where X is the number of the adapter returned by the previous lsdev command.
      The Command will produce output similar to
      DEVICE       LOCATION       DESCRIPTION
      fcs0              3F-08             FC Adapter
              Part Number.................00P4295
              EC Level....................A
              Serial Number...............1A31600450
              Manufacturer................001A
              FRU Number..................     00P4297
              Device Specific.(ZM)........3
              Network Address.............10000000C9332A79
              ROS Level and ID............02E01871
              Device Specific.(Z0)........2003806D
              Device Specific.(Z1)........00000000
              Device Specific.(Z2)........00000000
              Device Specific.(Z3)........03000909
              Device Specific.(Z4)........FF601032
              Device Specific.(Z5)........02E01871
              Device Specific.(Z6)........06631871
              Device Specific.(Z7)........07631871
              Device Specific.(Z8)........20000000C9332A79
             Device Specific.(Z9)........HS1.81X3
              Device Specific.(ZA)........H1D1.81X3
              Device Specific.(ZB)........H2D1.81X3
              Device Specific.(YL)........U1.9-P2-I1/Q1

      If the firmware level in the "Z9" filed is 1.81X3, then the firmware has been upgraded
      7.5 Verifying the Update on Linux
      On Linux systems one of two possible methods must be used to determine the current level of Microcode on installed adapters. If the first method does not display the Microcode level, the second method should display the Microcode level for installed adapters. Both methods assume you are logged in as root and one or more Fiber Channel PCI adapters are installed.
      The first method generally works on systems running Linux 2.4 kernels and some systems running 2.6 kernels which do not have full support for the /sys filesystem.
    • List Fiber Channel PCI adapter information for all installed adapters by typing:
      cat /proc/scsi/lpfc/*
      Output will display various information for each installed Fiber Channel PCI adapter. Make note of Firmware Version:
      Firmware Version: 1.81 (H2D1.81x3)
      The second method works on systems running Linux 2.6 and higher kernels which support the /sys file system.
      Determine which host numbers are assigned to installed Fiber Channel PCI adapters by typing:
      cd /sys/class/scsi_host
      find . -name "lpfc_drvr_version" -print
      Output will list relative path names for each installed Fiber Channel PCI adapter. Note the host{n} portion of each path.
      ./host2/lpfc_drvr_version
      ./host1/lpfc_drvr_version
    • Display Firmware version for each installed Fiber Channel PCI adapter by typing:
      cat host{n}/fwrev
      Where host{n} is one from step 1. Firmware version will display as follows:
      1.81 (H2D1.81x3)

      If the firmware level in displayed using either method above is 1.81X1, then the firmware has been upgraded

      Back to Contents



      本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/2984/showart_83959.html
    • 您需要登录后才可以回帖 登录 | 注册

      本版积分规则 发表回复

        

      北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
      未成年举报专区
      中国互联网协会会员  联系我们:huangweiwei@itpub.net
      感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

      清除 Cookies - ChinaUnix - Archiver - WAP - TOP