搜索此博客

2012年4月1日星期日

Power P615升级系统微码


Power P615升级系统微码

首先查看现在的版本

# lsmcode -A
sys0!system:3F040127       |System Firmware:RG031218_d73e02_regatta
ent0!1410ff01.SCU015
sisscsia0!44415255.050A008a
ent1!14106902.GOL002
cd0!IBM-DROM00205.NR38
hdisk0!IC35L03.44543031.53323846
hdisk1!ST37330.53313233.4335304A
#
# lscfg -vp |grep -p Platform
      Platform Firmware:
        ROM Level.(alterable).......3F040127      
        Version.....................RS6K
        Hardware Location Code......U0.1-P1-X1/Y1
      Physical Location: U0.1-P1-X1/Y1

#



可以看到是3F040127的,安装AIX7对应7029-6c3要求firmware最低版本是3F040129,下载相应的版本,7029-6C3对应的最新版是3F080425,下载rpm格式。ftp上传到主机上。
链接

# pwd
/
# cd /tmp
#
#
#
# mkdir fwupdate
#
## cd sys
#
#
# ls
3F080425.rpm
#
#
# ls -l
total 8304
-rw-r-----    1 root     system      4250280 Mar 31 15:47 3F080425.rpm
#
# mv * ../fwupdate
# pwd
/tmp/sys
# cd ../fwupdate
# ls -l
total 8304
-rw-r-----    1 root     system      4250280 Mar 31 15:47 3F080425.rpm
#
# rpm -qa
cdrecord-1.9-7
mkisofs-1.13-4
AIX-rpm-6.1.2.0-1
#
# rpm -ivh --ignoreos 3F080425.rpm
3F080425                    ##################################################
Verifying checksums for /tmp/fwupdate/3F080425.img against /tmp/fwupdate/3F080425.chksum
Checksum file /tmp/fwupdate/3F080425.chksum: checksum=11741  blocks=4715
Image file /tmp/fwupdate/3F080425.img: checksum=11741  blocks=4715
The checksums and block sizes match!
#
#
下载回来同时会有个readme文件,好的习惯是先读一遍readme。按要求验证一下文件大小。
# pwd
/tmp/fwupdate
#
# ls -l
total 17752
-rw-r--r--    1 root     system           82 Apr 25 2008  3F080425.chksum
-rw-rw-r--    1 root     system      4828143 Apr 25 2008  3F080425.img
-rw-r-----    1 root     system      4250280 Mar 31 15:47 3F080425.rpm
-rwxr-x---    1 root     system         2432 Feb 19 2003  checksum.pl
#
# sum 3F080425.img
11741  4715 3F080425.img

# pwd
/usr/lpp/diagnostics/bin
#
# ./update_flash -f /tmp/fwupdate/3F080425.img


***** WARNING: Continuing will reboot the system! *****

Do you wish to continue?
Enter 1=Yes or 2=No
1

SHUTDOWN PROGRAM
Sat Mar 31 16:05:35 CDT 2012

Wait for 'Rebooting...' before stopping.
Error reporting has stopped.

系统会重启,前面板液晶屏会显示99FF99FD,一定不要断电,否则。。。。。你懂的

等待大概10几分钟以后,机器会重启。重启以后验证升级以后的系统firmware

可以看到微码已经从3F040127升级到了3F080425.。。。。。。

# lsmcode -A
sys0!system:3F080425       |System Firmware:RG080425_d79e22_regatta
ent0!1410ff01.SCU015
sisscsia0!44415255.050A008a
ent1!14106902.GOL002
cd0!IBM-DROM00205.NR38
hdisk0!IC35L03.44543031.53323846
hdisk1!ST37330.53313233.4335304A
#
#  lscfg -vp |grep -p Platform
      Platform Firmware:
        ROM Level.(alterable).......3F080425      
        Version.....................RS6K
        Hardware Location Code......U0.1-P1-X1/Y1
      Physical Location: U0.1-P1-X1/Y1

#
修改引导顺序,继续测试AIX7.。。。。。。
#
# bootlist -m normal -o
hdisk0 blv=hd5
# bootlist -m normal cd0 hdisk0
# bootlist -m normal -o
cd0
hdisk0 blv=hd5
#