一、问题描述(如下以78E为例):

客户的78E单引擎+1张EB卡,出现EB卡无法识别的情况,console线插入线卡发现线卡一直在重启,console线插入引擎,通过show version detail 发现版本是:S7800E_RGOS 11.0(1)B2(M00532809022014)//release代表的是2014年09月2日

Ruijie#show version  detail

System description      : Ruijie High-density IPv6 100G Core Routing Switch(S7805E) By Ruijie Networks

System start time       : 2014-12-28 10:58:48

System uptime          : 0:00:51:20

System hardware version : 1.00

System software version : S7800E_RGOS 11.0(1)B2

System patch number     : NA

System software number  : M00532809022014

System serial number    : G1HL524000127

System boot version     : 1.2.7.ef4d454(140722)

System core version     : 2.6.32.dcfcf416d758ea

System cpu partition    : 2-3

Module information:

  Slot M1 : M7800E-CM

   Hardware version   : 1.00

   System start time   : 2014-12-28 10:58:48

   Boot version        : 1.2.7.ef4d454(140722)

   Software version   : S7800E_RGOS 11.0(1)B2

   Software number    : M00532809022014

   Serial number       : G1HL524000127

 

【处理步骤】

一、 将以下两个文件拷入U盘,并且将小包名由

main_ca-octeon-lc_RGOS11.0(3)B1_01241813.bin重命名为main_ca-octeon-lc.bin,然后将U盘插入引擎;

线卡小包:main_ca-octeon-lc_RGOS11.0(3)B1_01241813.bin 重命名为main_ca-octeon-lc.bin

主程序:S7800E_RGOS11.0(3)B1_CM_01241814_install.bin

 

**************************以下在引擎上执行*****************************          

 

二、整机在拔出EB卡的情况下,升级到11.0(3)B1,步骤如下:

1、dir usb0:/确认文件在u盘中,而且文件大小无误;

 

2、通过命令upgrade usb0:S7800E_RGOS11.0(3)B1_CM_01241814_install.bin升级:

Ruijie#upgrade usb0:S7800E_RGOS11.0(3)B1_CM_01241814_install.bin

Ruijie#Ready for release /mnt/usb0/ca-octeon-cm.bin

*Dec 28 11:57:23: %7: Decompress to /mnt/usb0/ca-octeon-cm.bin

*Dec 28 11:57:24: %7: Release completed 10%

*Dec 28 11:57:24: %7: Release completed 20%

*Dec 28 11:57:25: %7: Release completed 30%

*Dec 28 11:57:25: %7: Release completed 40%

*Dec 28 11:57:26: %7: Release completed 50%

*Dec 28 11:57:26: %7: Release completed 60%

*Dec 28 11:57:27: %7: Release completed 70%

*Dec 28 11:57:27: %7: Release completed 80%

*Dec 28 11:57:28: %7: Release completed 90%

*Dec 28 11:57:28: %7: Release completed 100%

*Dec 28 11:58:00: %7: [Slot M1]:Upgrade processing is 10%

*Dec 28 11:58:21: %7: [Slot M1]:Upgrade processing is 60%

*Dec 28 12:00:23: %7: [Slot M1]:Upgrade processing is 90%

*Dec 28 12:00:25: %7: [Slot M1]:

*Dec 28 12:00:25: %7: Upgrade info [OK]

*Dec 28 12:00:25: %7:   Kernel version[2.6.32.dcfcf416d758ea->2.6.32.4fbb9cc8be12f6]

*Dec 28 12:00:25: %7:  Rootfsversion[1.0.0.09da5efa->1.0.0.5e842dee]

*Dec 28 12:00:25: %7: [Slot M1]:Reload system to take effect!

*Dec 28 12:00:28: %7: [Slot M1]:Upgrade processing is 100%

*Dec 28 12:00:29: %7: %PKG_MGMT:auto-syncconfig synchronization, Please wait for a moment....

*Dec 28 12:00:29: %7: [Slot M1]

*Dec 28 12:00:29: %7:   device_name: ca-octeon-cm

*Dec 28 12:00:30: %7:   status:      SUCCESS

3、show upgrade status确认下线卡是否升级成功

 

4、确认升级成功后,整机重启

S7805E#reload

Reload system?(y/N)y

 

五、重启完成后,插入线卡,看是否能够自动同步;若能同步再重启一把测试结果;若不能同步,则继续如下步骤:

六、开始进行线卡的升级:

将需要升级小包拷贝到主管理板的tmp目录下

备注:要确保第一步中将线卡的小包进行了重命名,修订成了main_ca-octeon-lc.bin,否则拷贝不成功。

1、 全局模式下执行,run-system-shell命令进入shell界面

2.        重新开启tftp进程

1) cd /mnt/usb0

2) pkill recover_server

3) uboot-tftp-srv         //开启tftp进程

4)ps -e | grep tftp   //看下tftp进程是否正常

 

以上三步执行示例如下:

Ruijie#run-system-shell

~ #cd /mnt/usb0

/mnt/usb0 # pkill recover_server

/mnt/usb0 # uboot-tftp-srv

killall: upgrade_inotify_path: no process killed

killall: in.tftpd: no process killed

/mnt/usb0 # sh: turning off NDELAY mode

/mnt/usb0 # ps -e | grep tftp

 1864 ?       00:00:00 tftp_tipc_serve

 3837 ?       00:00:00 in.tftpd

 

 

**************************以下在线卡上执行*****************************          

六、准备擦除故障板卡原来的bin文件,步骤如下(格式化线卡):

1、console口插入线卡,然后将故障板卡插入设备:

1)按ctrl+c进入uboot

           ====== BootLoaderMenu("Ctrl+Z" to upper level) ======

                                               TOP menu items.

           ************************************************

                                                           0. Tftp utilities.

                                                           1. XModem utilities.

                                                           2. Run main.

                                                           3. SetMac utilities.

                                                           4. Scattered utilities.

           ************************************************

                                               Press a key to run the command:

           2)输入4(即选择4. Scattered utilities)

           ====== BootLoaderMenu("Ctrl+Z" to upper level) ======

                                                           Scattered utilities.

           ************************************************

                                                           0. Show the bootloader version.

                                                           1. Reload system.

                                                           2. Set baudrate.

                                                           3. Advanced settings.

           ************************************************

                                               Press a key to run the command:

           3)输入 3(即选择3. Advanced settings)

 

====== BootLoaderMenu("Ctrl+Z" to upper level) ======

                                                           Advanced settings.

************************************************

                                                           0. Set isolatecpus.

                                                           1. Set Fast boot.

                                                           2. Set Support Shell.

                                                           3. Open/Close debug switch.

                                                           4. Format flash filesystem.

                                                           5. Set default environment.

************************************************

                                               Press a key to run the command:

4)输入 4(即选择4. Format flash filesystem.),格式化板卡的文件系统

 

2、格式化故障板卡的文件系统结束后,重新插拔下故障板卡,等待一分钟后,

如果出现多个#####的字符输出时,则表示升级成功,需要输入(y/n)时,输入y

 

**************************以下在引擎上执行*****************************          

七、待故障板卡升级完成后,整机下电重启下,并通过show version detail确认版本是否升级成功。

 

备注:

           如果是防火墙卡识别不到,或者一键没有升级成功的话,不能采用线卡的小包升级,需要采用对应版本的防火墙卡特有的小包升级。

 

 

若线卡的uboot较低(低于1.2.9),还需要升级线卡的uboot,步骤如下:

1.        线卡接串口线,通过xmorden升级故障板卡的uboot,升级步骤如下:

               1) 重启线卡,且在起机时按crtl+c,进入uboot界面

                                       ====== BootLoader Menu("Ctrl+Z" to upper level) ======

                                                   TOP menu items.

                                       ************************************************

                                                   0. Tftp utilities.

                                                   1. XModem utilities.

                                                   2. Run main.

                                                   3. SetMac utilities.

                                                   4. Scattered utilities.

                                       ************************************************

                                       Press a key to run the command:

               2)输入 1(即选择1. XModem utilities).

                                       ====== BootLoader Menu("Ctrl+Z" to upper level) ======

                                                   XModem utilities.

                                       ************************************************

                                                   0. Upgrade bootloader.

                                                   1. Upgrade kernel and rootfs by install package.

                                                   2. Upgrade the entire device by distribute package.

                                       ************************************************

                                       Press a key to run the command:                               

                           3)输入 0(即选择0. Upgrade bootloader.),然后点击SecuCRT的传输,发送xmodem,然后选择对应uboot文件即可升级。

                           4) 出现需要(y/n)时,输入y