Chinaunix

标题: 7043150升级微码失败 [打印本页]

作者: xinshouzhe    时间: 2010-06-12 12:19
标题: 7043150升级微码失败
本帖最后由 xinshouzhe 于 2010-06-12 12:21 编辑

# lsmcode -c
System Firmware level is TCP03126

#mkdir /tmp/fwupdate


下载微码。

ftp> cd /tmp/fwupdate
ftp> lcd C:\
ftp> bin
200 Type set to I.
ftp> put 7043150I.bin
# cd /tmp/fwupdate
# ls
7043150I.BIN
# ls -l
-rw-r-r---   1 root     system         2920 Dec 31 19:02 7043150I.BIN
# chmod u+x 123.bin

# ls -l
total 8
-rwxr-----   1 root     system         2920 Dec 31 19:02 7043150I.BIN
# ./7043150I.BIN
exec(): 0509-036 Cannot load program ./7043150I.BIN because of the following err
ors:
        0509-111   The s_scnptr or s_size field of the
                  .text section header is invalid.
        0509-194 Examine file headers with the 'dump -ohv' command.

请问下边该怎么办啊?谢谢。
作者: dfxsoft    时间: 2010-06-12 13:32
重新下载,在ftp到主机上后,使用sum命令计算,和网站上给出的值作对比,完全一致才对
作者: hazbxc    时间: 2010-06-12 14:16
你的操作步骤是错的,而且怎么多出了一个123.BIN呢
??
----------------------以下是我的操作------------------------------
ftp>bin     -----一定要加此命令,否则解压时会有错误。
   ftp>put 7026HM80.BIN
   解压升级文件
   #cd /tmp/fwupdate
   # chmod +x 7026HM80.BIN
   # ./7026HM80.BIN
     CM_MM_060505.img
   校验升级文件
   #sum CM_MM_060505.img
    28838 4985 CM_MM_060505.img   --28838就是校验码,
   校验码要跟Desc    (Instructions document) 文档中提示的表Firmware Levels, File Sizes and Checksums要一致,否则不要更新。
升级
    当校验没有问题后,就可以升级了。不过要确保在升级过程中不能掉电。
    #cd /usr/lpp/diagnostics/bin
#./update_flash -f  /tmp/fwupdate/CM_MM_060505.img
--------------------------------------------------------------------------------------------
作者: dfxsoft    时间: 2010-06-12 14:35
楼上的,lz的步骤没有错啊,123.bin只是7043150I.BIN的一个替代写法而已,lz的7043150I.BIN文件有问题,文件头有错误。
作者: xinshouzhe    时间: 2010-06-12 14:42
谢谢楼上的兄弟,安照你的步骤重新上传了一次,可以升级了。那个123是搞错了,参照别人的升级步骤搞的。
# cd /tmp/fwupdate
# ls
7043150I.BIN
# ls -l
total 1312
-rwxr-----   1 root     system       670097 Dec 31 21:44 7043150I.BIN
# ./7043150I.BIN
UnZipSFX 5.32 of 3 November 1997, by Info-ZIP (Zip-Bugs@lists.wku.edu).
  inflating: TCP09267.img
# sum  TCP09267.img
24936  1024 TCP09267.img
# cd /usr/lpp/diagnostics/bin
# ./update_flash -f /tmp/fwupdate/TCP09267.img


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

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

SHUTDOWN PROGRAM  
*  Ple
Standa
Wed Dec 31 21:53:27 CST 1969       #RELent     #LINent  

Wait for 'Rebooting...' before stopping.rimary G
0x00000000  0x0000      0x0000
Error reporting has stopped. AIX Operating System.      
Advanced Accounting has stopped...                        Section He
Process accounting has stopped.      
*                    
P
nfs_clean: Stopping NFS/NIS DaemonsRAWptr      RELptr *               
0513-004 The Subsystem or Group, nfsd, is currently inoperative.00000054  0x0000d1ac  0x00000000                                
0513-044 The biod Subsystem was requested to stop.   
LN#ptr       #RELent     #LINent     Flags   
0513-004 The Subsystem or Group, yppasswdd, is currently inoperative.
0513-004 The Subsystem or Group, ypupdated, is currently inoperative.
Stopping TCP/IP daemons: ndpd-host lpd routed gated sendmail inetd named timed r
whod iptrace dpid2 snmpd rshd rlogind telnetd syslogd
Removing TCP/IP lock files
0513-044 The hostmibd Subsystem was requested to stop.
0513-044 The snmpmibd Subsystem was requested to stop.
0513-044 The aixmibd Subsystem was requested to stop.
0513-044 The muxatmd Subsystem was requested to stop.
0513-044 The qdaemon Subsystem was requested to stop.
0513-044 The writesrv Subsystem was requested to stop.
0513-044 The ctrmc Subsystem was requested to stop.
0513-044 The IBM.ServiceRM Subsystem was requested to stop.
0513-044 The IBM.CSMAgentRM Subsystem was requested to stop.
0513-044 The IBM.ERRM Subsystem was requested to stop.
0513-044 The IBM.AuditRM Subsystem was requested to stop.
All processes currently running will now be killed...
Unmounting the file systems...

Bringing down network interfaces: en0 lo0

Dec 31 21:53:58 portmap: terminating on signal.
Rebooting . . .
作者: xinshouzhe    时间: 2010-06-12 15:14
回复 4# dfxsoft


    微码上传的时候出错了,没有上传成功。重新上传一次后升级成功。
作者: AIX深入敌后    时间: 2010-06-12 15:31
你是不是 有些进程啥的 没停 就开始升级了?
作者: xinshouzhe    时间: 2010-06-12 16:33
第一次上传时在FTP上等了半天没提示,在命令行里能看到该微码文件,就开始升级了,结果就出错了。后来重新上传的时候很快就提示上传成功。升级就ok了。
作者: emperor    时间: 2010-06-13 19:41
这种操作最危险。。。。。
作者: michael1983    时间: 2010-06-14 20:23
千万小心
生产环境就不要这么随意了哈




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2