6 Replies Latest reply: Apr 24, 2012 4:15 AM by 403074 RSS

    How to recover ALOM Main Flash (ReFlash EPROM) ? -- ALOM stuck in a loop

    932477
      Hello,

      I had an issue while flashing the ALOM Main Flash of a Sun Fire v210.
      Now the ALOM boot is stuck in a loop trying to load the main ALOM image.

      As a result the ALOM Main Flash is broken but I can still access the
      ALOM Boot Menu. I can also boot Solaris with the Jumper on FP2 or FP3
      but it does not recognize the SC anymore.

      Is there a way to recover it from Solaris and/or using the
      "f - Wait for flash download from host" from ALOM boot menu ?


      ERROR ON ALOM Boot
      Failure: CRC Error - ReFlash EPROM.
      Main Sectors FLASH CRC Test, FAILED.

      ERROR ON "OK >"
      ERROR: ERROR: Unable to open the SC device.

      ERROR ON SOLARIS
      WARNING: DP_GET_SDP_VERSION failed, ret=4
      scadm: The SC hardware could not be initialized.


      MORE INFO:

      ALOM LOOP:

      ALOM - POST run incomplete previously, no POST this time

      ALOM BOOTMON v1.6.10
      ALOM Build Release: 001
      Reset register: f0000000 EHRS ESRS LLRS SWRS


      Check for Handshake


      Returned from Boot Monitor and Handshake


      Clearing Memory Cells
      Memory Clean Complete


      Loading the runtime image...
      ALOM - POST run incomplete previously, no POST this time

      ALOM BOOTMON v1.6.10
      ALOM Build Release: 001
      Reset register: e8000000 EHRS ESRS LLRS CSRS


      Check for Handshake


      Returned from Boot Monitor and Handshake


      Clearing Memory Cells
      Memory Clean Complete


      Loading the runtime image...
      ALOM - POST run incomplete previously, no POST this time



      JP2 1-2 IN ALOM Flash Recovery
      JP3 1-2 IN ALOM Reset
      JP12 1-2 IN ALOM Console Bypass
      http://www.sunshack.org/data/sh/2.1.2/infoserver.central/data/syshbk/Devices/System_Board/SYSBD_SunFireV2x0_CPU.html

      Executing Power On Self Test
      0>
      0>@(#)Sun Fire[TM] V210/V240,Netra[TM] 210/240 POST 4.30.4.a 2010/01/06 15:10
      /export/delivery/delivery/4.30/4.30.4.a/post4.30.4-micro/Fiesta/enxs/integrated (root)
      0>Copyright 2010 Sun Microsystems, Inc. All rights reserved
      0>OBP->POST Call with %o0=00000800.01014000.



      0>Test CPU Caches....Done
      0>Functional CPU Tests....Done
      0>IO-Bridge Tests....Done
      0>INFO:
      0> POST Passed all devices.
      0>
      0>POST: Return to OBP.

      Configuring system memory & CPU(s)

      Probing system devices
      Probing memory
      Probing I/O buses

      Sun Fire V210, No Keyboard
      Copyright 2010 Sun Microsystems, Inc. All rights reserved.
      OpenBoot 4.30.4.a, 8192 MB memory installed, Serial #********.
      Ethernet address *:*:*:*:*:*, Host ID: ********.

      Running diagnostic script obdiag/normal

      Testing /pci@1e,600000/ide@d
      Testing /pci@1e,600000/isa@7/rtc@0,70
      Testing /pci@1c,600000/scsi@2
      Testing /pci@1c,600000/scsi@2,1
      Testing /pci@1e,600000/isa@7/serial@0,2e8
      Testing /pci@1e,600000/isa@7/serial@0,3f8

      ERROR: ERROR: Unable to open the SC device.



      ERROR: ERROR: Unable to open the SC device.

      Rebooting with command: boot
      Boot device: disk File and args:
      SunOS Release 5.10 Version Generic_141444-09 64-bit
      Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved.




      v210 console login:

      WARNING: DP_GET_SDP_VERSION failed, ret=4
      WARNING: DP_GET_SDP_VERSION failed, ret=4



      v210:~# cd /usr/platform/`uname -i`/lib
      v210:/usr/platform/SUNW,Sun-Fire-V210/lib# /usr/platform/`uname -i`/sbin/scadm
      download boot alombootfw

      scadm: The SC hardware could not be initialized.

      LOM <ESC> Menu

      f - Wait for flash download from host.
      C - Copy Boot Monitor from FLASHBOAT.
      j - Jump to main code (at 0x01010000).
      m - Run POST Menu.
      (Do not try this after a flash update of the boot monitor!)
      d - play DOOM
      s - Set clock speed
      e - Set external and internal console serial ports baud rate
      i - Set internal control serial port baud rate
      t - Toggle 'OK' flag
      R - Reset SC
      b,h,w - Read byte/halfword/word
      B,H,W - Write byte/halfword/word
      r - Return to bootmon
      Your selection: m

      ALOM POST 1.0
      Status = 00007fff

      Returned from Boot Monitor and Handshake

      ALOM POST 1.0
      - MENU MODE

      Status = 00000020 I-Cache OFF Loop Mode OFF

      System configured with a 50 MHz Clock

      1 TTY External - Internal Loopback Test
      2 TTYC - Internal Loopback Test
      3 TTYD - Internal Loopback Test
      4 TTY C to D - AFT Mode Loopback Test
      5 TTY D to C - AFT Mode Loopback Test
      6 Memory Data Lines Test
      7 Memory Address Lines Test
      8 Instruction CACHE Test
      9 Data CACHE Test
      A Memory Cells Test
      B Boot Sector FLASH CRC Test
      C Main Sectors FLASH CRC Test

      E FULL_POST_TEST

      X Exit to Main Menu

      T Bring up the TOOLBOX Menu

      Select a command by entering: 1 - E, X or T


      Boot Sector FLASH CRC Test
      Boot Sector FLASH CRC Test, PASSED.


      1 TTY External - Internal Loopback Test
      2 TTYC - Internal Loopback Test
      3 TTYD - Internal Loopback Test
      4 TTY C to D - AFT Mode Loopback Test
      5 TTY D to C - AFT Mode Loopback Test
      6 Memory Data Lines Test
      7 Memory Address Lines Test
      8 Instruction CACHE Test
      9 Data CACHE Test
      A Memory Cells Test
      B Boot Sector FLASH CRC Test
      C Main Sectors FLASH CRC Test

      E FULL_POST_TEST

      X Exit to Main Menu

      T Bring up the TOOLBOX Menu

      Select a command by entering: 1 - E, X or T


      Main Sectors FLASH CRC Test

      ALOM POST 1.0
      - MENU MODE

      Status = 00007fff I-Cache ON Loop Mode OFF

      System configured with a 50 MHz Clock

      ERROR: ALOM POST TEST
      H/W under test = Flash Memory Data
      Test name = FLASH CRC Test
      Subtest name = Main Sector Flash Test

      Failure: CRC Error - ReFlash EPROM.
      EPROM CRC: 08d743fc Calced CRC: 26469a8f

      END_ERROR

      Main Sectors FLASH CRC Test, FAILED.


      ALOM <ESC> Menu

      f - Wait for flash download from host.
      C - Copy Boot Monitor from FLASHBOAT.
      j - Jump to main code (at 0x01010000).
      m - Run POST Menu.
      (Do not try this after a flash update of the boot monitor!)
      d - play DOOM
      s - Set clock speed
      e - Set external and internal console serial ports baud rate
      i - Set internal control serial port baud rate
      t - Toggle 'OK' flag
      R - Reset SC
      b,h,w - Read byte/halfword/word
      B,H,W - Write byte/halfword/word
      r - Return to bootmon
      Your selection: d

      OK. You're DOOMED!
        • 1. Re: How to recover ALOM Main Flash (ReFlash EPROM) ? -- ALOM stuck in a loop
          rukbat
          There is very little that can be done in a discussion forum.
          You need real support.

          Log a Support Request (SR) with Oracle.
          • 2. Re: How to recover ALOM Main Flash (ReFlash EPROM) ? -- ALOM stuck in a loop
            932477
            It's an old Sun Fire v210 not anymore covered by a Sun Spectrum plan
            so I don't think I can open an SR without support coverage isn't it ?

            I did not find any recovery procedure for a Flash failure on Sun v210.
            It seems that you can only to this on ILOM not ALOM.
            • 3. Re: How to recover ALOM Main Flash (ReFlash EPROM) ? -- ALOM stuck in a loop
              rukbat
              I don't have any additional advice to offer other than asking that you to try the flash-update all over again, one more time, as if it were the beginning again.

              If there is some other alternative repair method, you can hope for someone to read your post and report on their experience with the same issue (specifically with a V210).
              • 4. Re: How to recover ALOM Main Flash (ReFlash EPROM) ? -- ALOM stuck in a loop
                403074
                Can you try to flash the mainalomfw ? Your log contained only the flash of the alombootfw !

                /usr/platform/`uname -i`/sbin/scadm download alommainfw

                I guess jumper JP2 allows to recover from a failed flash by selecting the un-touched half the PROM.

                It's a pitty that obtaining OBP/ALOM updates requires a service contract. I got a V210 recently. Unfortunately both OBP and ALOM are the intial release 4.8.2 / 1.0.

                Michael
                • 5. Re: How to recover ALOM Main Flash (ReFlash EPROM) ? -- ALOM stuck in a loop
                  932477
                  Anybody knows if the source code of scadm tool is available somewhere ? (opensolaris etc. ?)

                  I don't have any additional advice to offer other than asking that you to try the flash-update all over again,
                  one more time, as if it were the beginning again.
                  Yes but how because the SC is not discovered anymore by Solaris :

                  "rmclomv: WARNING: DP_GET_SDP_VERSION failed, ret=4"
                  "The SC hardware could not be initialized."
                  Can you try to flash the mainalomfw ? Your log contained only the flash of the alombootfw !

                  /usr/platform/`uname -i`/sbin/scadm download alommainfw

                  I guess jumper JP2 allows to recover from a failed flash by selecting the un-touched half the PROM.
                  It does not work as the SC is not responding anymore to Solaris

                  Sun Microsystems Inc. SunOS 5.10 Generic January 2005
                  v210:~#
                  v210:~# cd /usr/platform/`uname -i`/lib/images
                  v210:/usr/platform/SUNW,Sun-Fire-V210/lib/images# /usr/platform/`uname -i`/sbin/scadm download alommainfw

                  scadm: The SC hardware could not be initialized.


                  v210:/usr/platform/SUNW,Sun-Fire-V210/lib/images#

                  ERROR: ERROR: Unable to open the SC device.
                  It's a pitty that obtaining OBP/ALOM updates requires a service contract. I got a V210 recently.
                  Unfortunately both OBP and ALOM are the intial release 4.8.2 / 1.0.
                  I agree but it's probably also because you need support in case it fails ;-)

                  Thanks for your answers!
                  • 6. Re: How to recover ALOM Main Flash (ReFlash EPROM) ? -- ALOM stuck in a loop
                    403074
                    I have no experenience with this more advanced SC type. The RSC in the F280R and V480 is an add-in board, with can be easily (and inexpensive) replaced. In one case someone asked for advice because the RSC board wasn't responding anymore. He got a replacement from second hand. I have a spare (pre-configured) RSC on the shelf.

                    If the flash procedure is comparable to the one of the OBP, there should be working code in the "other half" of the PROM. Just try JP2 to select the other half of the PROM. If can't hurt. Without setting the jumper the half of the PROM with the failed flash is selected, that's the reason for the error message.

                    You can verify if JP2 enables the working main code, by inspecting if the SC device is detected at the OBP level with show-devs.

                    Device-path of System/ALOM Comm (that's the serial management port):
                    /pci@1e,600000/isa@7/rmc-comm@0,3e8

                    Michael