搜索此博客

2012年3月31日星期六

Power P615升级光驱微码

项目需要,得在一台P615上安装AIX 7.1,下载ISO文件刻录以后,发现装的时候要么出现各种拷贝错误,要么不能引导。。。。。。(光驱是没有问题的,用aix 6.1母盘安装aix6.1正常,但是记得用刻录的aix6.1光盘安装也是各种错误),怀疑光驱微码偏低。于是升级一下吧。


首先查看现在的版本

# lsdev -Cc cdrom
cd0 Available 1G-19-00 IDE DVD-ROM Drive
#

# lscfg -vl cd0
  cd0              U0.1-P1-X1/Q6-A0  IDE DVD-ROM Drive

        Manufacturer................IBM    
        Machine Type and Model......DROM00205      
        ROS Level and ID............NR36
        Device Specific.(Z0)........058002028F000010

#

可以看到是NR36,去ibm网站下载相应的微码文件。

过程省略,7029-6C3对应的最新版是NR38,下载回来是rpm格式。ftp上传到主机上。下边开始升级微码,

看过程不说话。。。。。。

# pwd
/tmp/microcode/RPM
# ls -l
total 232
-rw-r-----    1 root     system       118035 Mar 30 13:43 dvdrom.slimide.NR38.rpm
# rpm -qa
cdrecord-1.9-7
mkisofs-1.13-4
AIX-rpm-6.1.2.0-1
#
# rpm -ihv --ingoreos  dvdrom.slimide.NR38.rpm
--ingoreos: unknown option
# rpm -ivh --ignoreos dvdrom.slimide.NR38.rpm
dvdrom.slimide.NR38         ##################################################
#
# rpm -qa
cdrecord-1.9-7
mkisofs-1.13-4
AIX-rpm-6.1.2.0-1
dvdrom.slimide.NR38-001-001
#
# rpm -ql dvdrom.slimide.NR38-001-001
/usr/lib/microcode/IBM-DROM00205.NR38
#
#
# ls -l /etc/microcode
lrwxrwxrwx 1 root system 18 Mar 30 09:43 /etc/microcode -> /usr/lib/microcode

#

#
# cd /etc/micro*
# pwd
/etc/microcode
#
#
下载回来同时会有个readme文件,好的习惯是先读一遍readme。按要求验证一下文件大小。
# ls -l
total 13312
-r-xr-xr-x    1 bin      bin          133364 Nov 02 2004  IBM-DROM00205.NR38
-r--r--r--    1 root     system        20176 Jun 30 2007  cx_conc
-r--r--r--    1 root     system        20768 Jun 30 2007  cx_e_conc
-r--r--r--    1 root     system        28672 Oct 03 2007  cxpabios
-r--r--r--    1 root     system        36864 Oct 03 2007  cxpafep
-r-xr-xr-x    1 bin      bin           99995 Jun 30 2007  dgr0871014d.00.00
-r-xr-xr-x    1 bin      bin          197089 Aug 23 2007  dgr0b91014d.00.00
-r-xr-xr-x    1 bin      bin          267973 Aug 23 2007  dgr0c91014d.00.00
-r-xr-xr-x    1 bin      bin          316207 Jun 30 2007  dgr0d31014d.00.00
-r-xr-xr-x    1 bin      bin           99095 Jun 30 2007  dgr0f81014d.00.00
-r--r--r--    1 bin      bin           74920 Aug 23 2007  ec8fd.00.03
-r--r--r--    1 root     system      1296532 Oct 03 2007  ibmsis2780.img
-r--r--r--    1 root     system       894684 Jun 30 2007  ibmsis5702.img
-r--r--r--    1 root     system      1254980 Jun 30 2007  ibmsis5703.img
-r--r--r--    1 root     system      1254980 Jun 30 2007  ibmsis5709.img
-r--r--r--    1 root     system       888368 Jun 30 2007  ibmsis570B.img
-r--r--r--    1 root     system        41472 Jun 30 2007  sxbios
-r--r--r--    1 root     system        31232 Jun 30 2007  sxfep
#
# sum IBM-DROM00205.NR38
40166   131 IBM-DROM00205.NR38
#
没有问题,下边开始升级微码。
# diag
DIAGNOSTIC OPERATING INSTRUCTIONS  VERSION 6.1.2.1                                                   801001


LICENSED MATERIAL and LICENSED INTERNAL CODE - PROPERTY OF IBM
(C) COPYRIGHTS BY IBM AND BY OTHERS 1982, 2008.
ALL RIGHTS RESERVED.

These programs contain diagnostics, service aids, and tasks for
the system.  These procedures should be used whenever problems
with the system occur which have not been corrected by any
software application procedures available.

In general, the procedures will run automatically.  However,
sometimes you will be required to select options, inform the
system when to continue, and do simple tasks.

Several keys are used to control the procedures:
- The Enter key continues the procedure or performs an action.
- The Backspace key allows keying errors to be corrected.
- The cursor keys are used to select an option.
回车进入

Move cursor to selection, then press Enter.

  Diagnostic Routines
    This selection will test the machine hardware. Wrap plugs and
    other advanced functions will not be used.
  Advanced Diagnostics Routines
    This selection will test the machine hardware. Wrap plugs and
    other advanced functions will be used.
  Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)
    This selection will list the tasks supported by these procedures.
    Once a task is selected, a resource menu may be presented showing
    all resources supported by the task.
  Resource Selection
    This selection will list the resources in the system that are supported
    by these procedures. Once a resource is selected, a task menu will



  

From the list below, select a task by moving the cursor to
the task and pressing 'Enter'.
To list the resources for the task highlighted, press 'List'.

[TOP]
  Run Diagnostics
  Run Error Log Analysis
  Run Exercisers
  Display or Change Diagnostic Run Time Options

  Add Resource to Resource List
  Automatic Error Log Analysis and Notification
  Backup and Restore Media
  Certify Media
  Change Hardware Vital Product Data
  Configure Reboot Policy
  Configure Remote Maintenance Policy
  Configure Ring Indicate Power On Policy
  Configure Scan Dump Policy
  Configure Surveillance Policy
  Create Customized Configuration Diskette
  Delete Resource from Resource List
  Disk Maintenance
  Display Configuration and Resource List
  Display Firmware Device Node Information
  Display Hardware Error Report
  Display Hardware Vital Product Data
  Display Multipath I/O (MPIO) Device Configuration
  Display Previous Diagnostic Results
  Display Resource Attributes
  Display Service Hints
  Display Software Product Data
  Display Test Patterns
  Display or Change Bootlist

  Format Media
  Gather System Information
  Hot Plug Task
  Identify and Attention Indicators
  Local Area Network Analyzer
  Log Repair Action
  Microcode Tasks
  Periodic Diagnostics
  RAID Array Manager
  Save or Restore Hardware Management Policies
  Update Disk Based Diagnostics
  Update System or Service Processor Flash
  Update Disk Based Diagnostics
  Save or Restore Hardware Management Policies
  RAID Array Manager
  Periodic Diagnostics
  Microcode Tasks
[MORE...12]

Move cursor to desired item and press Enter.

  Display Microcode Level
  Download Latest Available Microcode
  Download Microcode
  Download Microcode

From the list below, select any number of resources by moving
the cursor to the resource and pressing 'Enter'.
To cancel the selection, press 'Enter' again.
To list the supported tasks for the resource highlighted, press 'List'.

Once all selections have been made, press 'Commit'.
To avoid selecting a resource, press 'Previous Menu'.

  All Resources
      This selection will select all the resources currently displayed.
                                        (14106902)
  cd0              U0.1-P1-X1/Q6-A0     IDE DVD-ROM Drive
                                        (1410ff01)
  sisscsia0        U0.1-P1              PCI-X Dual Channel Ultra320 SCSI Adapter
  hdisk0           U0.1-P1/Z1-A5        16 Bit LVD SCSI Disk Drive (36400 MB)
F1=Help                   F4=List                    F7=Commit                  Esc+0=Exit


All Resources
      This selection will select all the resources currently displayed.
  ent1             U0.1-P1/E2           10/100/1000 Base-TX PCI-X Adapter
                                        (14106902)

回车选择,esc+7提交。


From the list below, select any number of resources by moving
the cursor to the resource and pressing 'Enter'.
To cancel the selection, press 'Enter' again.
To list the supported tasks for the resource highlighted, press 'List'.

Once all selections have been made, press 'Commit'.
To avoid selecting a resource, press 'Previous Menu'.
回车确认

Select the source of the microcode image.


Make selection, use Enter to continue.

  file system
      /etc/microcode
  optical media    (ISO 9660 file system format)
INSTALL MICROCODE 802116
cd0    IDE DVD-ROM Drive

若干分钟后提示:
Installation of the microcode has completed
successfully.  The current microcode for cd0
is IBM-DROM00205.NR38.
Please run diagnostics on the device to ensure that it is
functioning properly.

至此升级微码成功完成。

F3退出以后验证一下

# lscfg -vl cd0
  cd0              U0.1-P1-X1/Q6-A0  IDE DVD-ROM Drive

        Manufacturer................IBM    
        Machine Type and Model......DROM00205      
        ROS Level and ID............NR38
        Device Specific.(Z0)........058002028F000010


可以看到微码已经从NR36升级到了NR38.。。。。。。重启机器再次验证。。。。。。。