Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-75-1003910.1
Update Date:2018-01-16
Keywords:

Solution Type  Troubleshooting Sure

Solution  1003910.1 :   How to list fma ereports/faults if the system won't boot  


Related Items
  • Sun Fire T1000 Server
  •  
  • Sun Fire T2000 Server
  •  
Related Categories
  • PLA-Support>Sun Systems>SPARC>Usx/Blade/Netra>SN-SPARC: USx
  •  
  • _Old GCS Categories>Sun Microsystems>Servers>CMT Servers
  •  

PreviouslyPublishedAs
205485


Applies to:

Sun Fire T1000 Server - Version All Versions and later
Sun Fire T2000 Server - Version All Versions and later
All Platforms

Purpose

 This document will explain how to get the ereport information available through ALOM (alom4v).

Troubleshooting Steps

Steps to Follow

By design, there will be two logs that store ereports on DOC (diskonchip)
of the 	Service Processor:

/scfs/fma/ereports/ereports.firstlog.
/scfs/fma/ereports/ereports.lastlog

Both log files have a maximum size of 2 MB. The first log will capture the first N ereports sent from VBSC to ALOM. When the first log fills up, the successive ereports will be logged in the second log. The second log is implemented as a circle buffer. In this way, the users can always see the first N and the last N ereports that have occurred.

The commands to display ereport logs are:

showfmerptlog1 [-e [hexformatena]] [-p [pauseline]] [-v]
showfmerptlog2 [-e [hexformatena]] [-p [pauseline]] [-v]

The syntax rule for 'showfmerptlog1' and 'showfmerptlog2' are as below:

1. Without any option, the command will display all the ereports in the log without pausing.

2. The zero value of 'pauseline' means no pause.

3. If no 'pauseline' provided, but '-p' is set, the default value of the 'pauseline' is 25.

4. If no 'ena' is provided, but '-e' is set, the command will only display ENA and class for each ereport in the log.

5. If both 'ena' and '-e' are set, the command will only display the full content of the specific ereport that matches the 'ena' value.

6. The '-v' option increases levels of detail. This isn't valid/needed if '-e'/'ena' is set.

To clear all the ereport logs, use the command:
clearereports

The 'clearereports' command will clear both ereports stored on DOC and ereports stored in RAM. Therefore, after the clear command, the previous ereports at ALOM will not be sent to host domain any more.

There will be another two files that store information about faults on DOC:

/scfs/fma/faults/faults.current
/scfs/fma/faults/faults.history

The commands to display information about faults are:

showfmfaults [-u [uuid]] [-p [pauseline]] [-v]
showfmlogs [-u [uuid]] [-p [pauseline]] [-v]

Where 'showfmfaults' shows only information about the current FMA fault events. And 'showfmlogs' shows information on all current and history (already cleared) FMA fault events.

All five commands are hidden under sc_servicemode:

Use 'setsc sc_servicemode true' / 'setsc sc_servicemode false'
to enable / disable sc_servicemode.

Example:
========
sc> setsc sc_servicemode true
Warning: misuse of this mode may invalidate your warranty.

sc> showfmerptlog1 -p 4
FEB 15 14:42:24
Class: ereport.io.fire.pec.rto
ENA=0x2a342c93f002
FEB 15 14:42:24
Class: ereport.io.fire.pec.rto
ENA=0x2a3442b5c002
--pause--  Press 'q' to quit, any other key to continue

sc> showfmerptlog1 -e 0x2a342c93f002
FEB 15 14:42:24
nvlist version: 0
class = ereport.io.fire.pec.rto
ena = 0x2a342c93f002
detector = (embedded nvlist)
nvlist version: 0
version = 0x0
scheme = hc
hc-root =
hc-list-sz = 3
hc-list = (array of embedded nvlists)
(start hc-list[0])
nvlist version: 0
hc-name = ioboard
hc-id = 0
(end hc-list[0])
(start hc-list[1])
nvlist version: 0
hc-name = hostbridge
hc-id = 0
(end hc-list[1])
(start hc-list[2])
nvlist version: 0
hc-name = pciexrc
hc-id = 0
(end hc-list[2])
(end detector)
primary = 1
tlu-cele = 0x1fff
tlu-cie = 0x1fff00001fff
tlu-cis = 0x1000
tlu-cess = 0x110000001000
sc> showfmlogs
UUID: 5ee0ed89-e177-e2a1-c45f-c25c958f3892
Diagcode: SUN4-8000-ER
MAY 17 14:19:19 : FMA fault 5ee0ed89-e177-e2a1-c45f-c25c958f3892 is cleared.

sc> showfmfaults
The current FM fault log is empty.

sc> setsc sc_servicemode false



Product
Sun Fire T1000 Server
Sun Fire T2000 Server
Sun Fire T2000 RoHS Version
Sun Fire T2000 1.2GHz CPU Version


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback