freebug 发表于 2014-05-27 14:57

关于SUN E4900的开机步骤

各位大哥,

有台闲置了一段时间的SUN Fire E4900,现在想重新用来做测试机,但是原来的维护人员不在了,现在不知道怎么开机。

我通过串口线接到sc0卡上后,得到的输出见下面(telnet ip地址也是一样的情况),只有Type0for Platform Shell,没有看到有Domain的选择,请问应该怎么进入并启动Domain啊?



Hardware Reset...


@(#) SYSTEM CONTROLLER(SC) POST 43 2005/02/22 15:29
PSR = 0x044010e5
PCR = 0x04004000

      Memory size = 128MB

      SelfTest running at DiagLevel:0x20

SC Boot PROM             Test
      BootPROM CheckSum               Test
IU      Test
      IU instruction set            Test
      Little endian access            Test
FPU       Test
      FPU instruction set             Test
SparcReferenceMMU   Test
      SRMMU TLB RAM                   Test
      SRMMU TLB Read miss             Test
      SRMMU page    probe             Test
      SRMMU segment probe             Test
      SRMMU regionprobe             Test
      SRMMU context probe             Test
IIep Internal Cache   Test
      DCACHE RAM access               Test
      DCACHE TAG access               Test
      DCACHE Read miss                Test
      DCACHE Read hit               Test
      DCACHE Write miss               Test
      DCACHE Write hit                Test
      ICACHE RAM access               Test
      ICACHE TAG access               Test
      ICACHE miss                     Test
      ICACHE hit                      Test
      ICACHE TAG flush                Test
PCIC      Test
      PCIC   Probe                  Test
      PCIC Config Register Access   Test
      PCIMaster Abort               Test
      PCIC Init                     Test
Memory    Test
      Memory Address                  Test
      MemBankAddrTest: start address = 0x00010000
      MemBankAddrTest: start address = 0x04000000
      MemBankAddrTest: start address = 0x08000000
      MemBankAddrTest: start address = 0x0c000000
RIO Ebus      Test
      Rio Ebus Probe                  Test
RIO EthernetTest
      Rio Enet Probe                  Test
      Rio Ethernet Int Loopbacks      Test
DUART(16552) InterSC   Test
      Loopback                        Test
      COM3 port
      COM4 port
      Interrupt                     Test
      COM3 port       Intr #2

      COM4 port       Intr #2

System Clock      Test
      System Clock verify             Test
      Board0 Clock is selected
      75MHZ Fixed Crystal is the selected Clock Source
      CLK(Self) :0x0000ffff CLK(Other) : 0x0000ffff
      REF       : 0x0000221d
      CLOCK(SELF)   FREQ : 74.99 MHZ
      CLOCK(OTHER)FREQ : 75.4 MHZ
SBBC PCI Controller      Test
      SBBC PCI Config Space probe   Test
      SBBC Internal Reg Access      Test
      SBBC Interrupts               Test
      Port1 interrupt generation TestsINTR #14

      Port0 interrupt generation TestsINTR #14

SBBC Device0             Test
      PS Fail Reg(SBBC Dev0)          Test
SBBC Device1             Test
      SRAM (SBBC Dev1)                Test
      Memory Address Test (Non-destructive)
SBBC Device2             Test
      BId&MFG Reg (SBBC Dev2)         Test
SBBC Device3             Test
      FRU Prsnt Reg (SBBC Dev3)       Test
SBBC Device5             Test
      EPLD (SBBC Dev5)                Test
TOD(M48T59)            Test
      TOD Init                        Test
      TOD Functional                  Test
      TOD NVRAM(Non-Destructive)      Test
      TOD Interrupts                  Test
I2C Register Access      Test
      Enable Mux   Register         Test
      Channel MuxRegister         Test
      Add CommandRegister         Test
      Data         Register         Test
Local I2C AT24C64   Test
      EEPROM       Device             Test
      performing eeprom sequential read

Local I2C PCF8591   Test
      VOLT_AD      Device             Test
      channel Voltage(0x0000009B) :1.51
      channel Voltage(0x0000009A) :3.30
      channel Voltage(0x00000099) :4.98
      channel Voltage(0x00000000) :0.0
Local I2C LM75      Test
      TEMP0(IIep)Device             Test
      Temperature : 39.0 Degree(C)
                                    
Local I2C LM75      Test
      TEMP1(Rio)   Device             Test
      Temperature : 38.50 Degree(C)
                                    
Local I2C LM75      Test
      TEMP2(CBH)   Device             Test
      Temperature : 44.0 Degree(C)
                                    
Local I2C PCF8574   Test
      Sc CSR       Device             Test
Console Bus Hub         Test
      CBH Register Access             Test
POST Complete.
ERI Device Present
Getting MAC address for SSC1
MAC address is 0:3:ba:7:cc:e3
Hostname: SF4900A-SC1
Address: 192.168.0.11
Netmask: 255.255.255.0
Attached TCP/IP interface to eri unit 0
Attaching interface lo0...done
Gateway:
interrupt: 100 Mbps full duplex link up


          Copyright 2005 Sun Microsystems, Inc.All rights reserved.
          Use is subject to license terms.

Sun Fire System Firmware
RTOS version: 43
ScApp version: 5.19.2 Build_01
SC POST diag level: min

The date is Tuesday, May 27, 2014, 2:13:25 PM GMT.

May 27 14:13:27 SF4900A-SC1 Platform.SC: Boot: ScApp 5.19.2, RTOS 43
May 27 14:13:29 SF4900A-SC1 Platform.SC: SBBC Reset Reason(s): Power On Reset
May 27 14:13:29 SF4900A-SC1 Platform.SC: Initializing the SC SRAM
May 27 14:13:33 SF4900A-SC1 Platform.SC: Clock Source: 75MHz
May 27 14:13:46 SF4900A-SC1 Platform.SC: Spare System Controller
May 27 14:13:47 SF4900A-SC1 Platform.SC: Starting telnet server ...


System Controller 'SF4900A-SC1':

    Type0for Platform Shell

    Input: May 27 14:13:47 SF4900A-SC1 Platform.SC: SC Failover: enabled but not active.



System Controller 'SF4900A-SC1':

    Type0for Platform Shell

    Input: 0

Platform Shell - Spare System Controller

SF4900A-SC1:sc>
SF4900A-SC1:sc> help

Platform Shell commands:

connections   -- show connections to this system controller
disconnect      -- disconnect this connection or a specified connection
flashupdate   -- update firmware
help            -- show help for a command or list of commands
history         -- show command history
password      -- set system controller password
reboot          -- reboot the system controller
restartssh      -- restart SSH server (SSH must be enabled)
setdate         -- set the date and time for this system controller
setfailover   -- set automatic/manual SC failover
setupplatform   -- configure system controller
showdate      -- show the current date and time for this system controller
showenvironment -- show system controller environmental information
showfailover    -- show SC Failover information
showfru         -- show FRUID information
showlogs      -- show the logs
showplatform    -- show system controller configuration and information
showsc          -- show system controller version and uptime
ssh-keygen      -- generate SSH host keys or show SSH host key fingerprint

kwtip 发表于 2014-05-27 17:01

SC> console -d a

Connected to Domain A

Domain Shell for Domain A

SC0:A> setkeyswitch on

junglelion 发表于 2014-05-27 17:07

SF4900A-SC1:sc> showb

输出贴出来看看

freebug 发表于 2014-05-27 17:09

本帖最后由 freebug 于 2014-05-27 17:10 编辑

回复 2# kwtip


    试过了,console命令报错:Command not found

我看过help里面也没有console命令啊:

Platform Shell commands:

connections   -- show connections to this system controller
disconnect      -- disconnect this connection or a specified connection
flashupdate   -- update firmware
help            -- show help for a command or list of commands
history         -- show command history
password      -- set system controller password
reboot          -- reboot the system controller
restartssh      -- restart SSH server (SSH must be enabled)
setdate         -- set the date and time for this system controller
setfailover   -- set automatic/manual SC failover
setupplatform   -- configure system controller
showdate      -- show the current date and time for this system controller
showenvironment -- show system controller environmental information
showfailover    -- show SC Failover information
showfru         -- show FRUID information
showlogs      -- show the logs
showplatform    -- show system controller configuration and information
showsc          -- show system controller version and uptime
ssh-keygen      -- generate SSH host keys or show SSH host key fingerprint


junglelion 发表于 2014-05-27 17:11

换一个sc的串口接,可能接到的sc1是slave

calcm 发表于 2014-05-27 20:08

你连的这个slave sc,主sc显示0~4共5个选项。你可以接到另一个SC,或者用setfailover把主sc切过来。
然后再把domain 加电

nimysun 发表于 2014-05-27 22:04

回复 6# calcm


您这建议比较靠谱,lz@freebug请参考。

freebug 发表于 2014-05-27 22:30

多谢~~~回头试试再来汇报给大家结果

freebug 发表于 2014-05-27 22:30

多谢~~~回头试试再来汇报给大家结果

freebug 发表于 2014-05-29 18:54

后来换到sc0启动就好了,多谢大家!

自己总结了一下,菜鸟新手不要笑,

E4900的启动过程大概分成三个过程:
a.硬件加电过程,通过启动钥匙开启,大概需要5~10分钟,可以通过并口接主sc出观察输出
b.Domain虚拟加电及自检过程,通过sc登陆到domain A(单分区结构)上用setkeyswitch on命令开启,大概需要15~30分钟
c.操作系统启动及自检过程,通过在{8} ok提示下,输入boot或boot -x(非cluster模式)来启动,大概需要5分钟
页: [1] 2
查看完整版本: 关于SUN E4900的开机步骤