$ #ident  "@(#)enatest.msg  1.17  02/04/16  SMI."

$ photon test messages
$ VERBOSE	   1 - 1999	
$ INFO		2000 - 3999 (also used for LOGFILE and CONSOLE messages)
$ WARNING	4000 - 5999
$ ERROR		6000 - 7999
$ FATAL		8000 - 9999 

$ -------------------------------------
$ VERBOSE messages
$ -------------------------------------

$ PHOTEST_GEN_START
1000	"Started test on %s"

$ PHOTEST_RUN_SOCILB
1001	"Running internal loopback test on %s"

$ PHOTEST_GBIC_OK
1002	"%s: GBIC module (%s in the enclosure) through which %s (%s Slot %d) \
is accessed detected to be installed and OK"

$ PHOTEST_IB_OK
1003	"%s: Interface Board (%s one in  the enclosure) through which %s \
(%s Slot %d) is accessed detected to be installed and OK"

$ PHOTEST_DSK_OK
1004	"%s: Disk %s (%s Slot %d) detected to be installed"

$ PHOTEST_DBP_OK
1005	"%s: Disk backplane (%s)  through which %s (%s Slot %d) is \
accessed detected to be installed"

$ PHOTEST_ENCL_IB_OK
1006	"%s: Interface Board (%s one in the enclosure) detected to be \
installed and OK"

$ PHOTEST_ENCL_GBIC_OK
1007	"%s: GBIC module (%s in the enclosure) detected to be installed and OK"

$ PHOTEST_DSK_INSTALLED
1008	"%s: Disk (%s slot %d) detected to be installed and OK"

$ PHOTEST_DSK_STAT
1009	"%s: Disk (%s slot %d) status. Fault Sensed: %s; Port A: %s;\
Port B:%s"

$ PHOTEST_HOST_CONNECTION
1010	"%s: %s GBIC connected to host via %s"

$ PHOTEST_DISK_ACCESSOK
1011	"%s accessed successfully"

$ PHOTEST_ONLINE_CONN_USAGE
1012	Canned configuration definitions: \n\
Online Mode: \n\
Disk Access                         :   disabled \n\
Display status of Enclosure         :   enabled \n\
Enclosure Services Functional Tests :   disabled \n\
Delay between Passes                :   30 \n\
\n\
Connectivity Mode: \n\
Disk Access                         :   disabled \n\
Display status of Enclosure         :   disabled \n\
Enclosure Services Functional Tests :   disabled \n\
Delay between Passes                :   30 \n

$ PHOTEST_STR_IN_DELAY
1013	"The pass delay should contain only digits, assuming default \
value of 30 seconds"

$ -------------------------------------
$ INFO messages
$ -------------------------------------

$ PHOTEST_INFO_FCTLOPENFAIL
2000	"Could not open fibre channel controller %s"

$ PHOTEST_INFO_NOTINMAP
2001	"Did not find entry for %s in map obtained through %s"

$ PHOTEST_INFO_TRYALTPATH
2002	"Trying alternate path to %s, if available"

$ PHOTEST_INFO_MAPFAIL
2003	"Could not get map (fibre channel) through %s"

$ PHOTEST_PASS_SOCILB
2004	"Passed internal Loopback test on %s"


$ PHOTEST_INFO_FANCTLOPFAIL
2005	"%s: Failed to %s fan (%s) speed. Expected speed setting: %s; \
Observed speed setting: %s (Note: Enclosure may override requests if \
required due to existing ambient temperature situation)"

$ PHOTEST_INFO_NUMCONNECTIONS
2006	"%s: Number of connections to the host: %d"

$ PHOTEST_STAT_PS
2007	"%s: Power Supply #%d status: %s; Temperature: %s; AC Input: %s; \
DC Output: %s"

$ PHOTEST_STAT_FAN
2008	"%s: Fan #%d status: %s; Speed: %s"

$ PHOTEST_STAT_BP
2009	"%s: %s Diskdrive backplane status: %s; Port A: %s; Port B: %s"

$ PHOTEST_STAT_IB
2010	"%s: IB (Port %c) status: Temperature: %s; Loop A: %s; Loop B: %s"

$ PHOTEST_STAT_GBIC
2011	"%s: GBIC (%s) status: %s Signal level: %s; Transmitter: %s"

$ PHOTEST_STAT_IXA
2012	"%s: Interconnect Assembly status: Flash EPROM: %s"

$ PHOTEST_CONNECTIVITY_MSG (constructed by the test)
2013	%s

$ PHOTEST_ROUTINE_USAGE
2014	Test Parameters:\n\
 dev=<device_name>   : name of a ses device that is in the enclosure\n\
 disk_access=<enable|disable>  : enable or disable disk access\n\
 disp=<enable|disable>         : enable or disable display of INFO messages\n\
                                 regarding the enclosure status\n\
 esfunc=<enable|disable>       : enable or disable enclosure services\n\
                                 functional test\n\
 disks=<disk1:disk2:...:diskn> : List of disks to access. If absent test all.\n\
 conn=<enable|disable>         : Displays information about connection.\n\
 delay=<delay_in_secs>         : Sets the min delay(in secs) between \n\
                                 successive invocations of the test.\n\n

$ -------------------------------------
$ WARNING
$ -------------------------------------

$ PHOTEST_WARN_NONCRITCONDITION
4000	"%s: Non Critical condition detected in enclosure!" \
Recommended_Action(s): <Run this test in 'Functional' mode for more \
information> <Please contact your service representative>

$ -------------------------------------
$ ERROR messages
$ -------------------------------------

$ PHOTEST_ERR_DISKBAD
6000	"%s: Unable to access disk %s (%s Slot %d)" Probable_Cause(s): \
<Bad disk> Recommended_Action(s): <Please contact your service representative>

$ PHOTEST_ERR_SOCHABAD
6001	"Unable to access any disk through host adapter: %s" \
Probable_Cause(s): <Bad host adapter> Recommended_Action(s): \
<Run SunVTS socaltest on the host adapter>

$ PHOTEST_ERR_IFPHABAD
6002	"Unable to access any disk through host adapter: %s" \
Probable_Cause(s): <Bad host adapter> Recommended_Action(s): \
<Run SunVTS ifptest on the host adapter>

$ PHOTEST_ERR_PORTBAD
6003	"%s: Unable to access disk %s (%s Slot %d) through %s. \
This disk is still accessible through other path(s)" Probable_Cause(s): \
<Port %c of the disk faulty> Recommended_Action(s): \
<Please contact your service representative>

$ PHOTEST_ERR_GLOCFAIL
6004	"%s: Failed to determine the location of disk %s"\
Probable_Cause(s): <Invalid device name> Recommended_Action(s): \
<Please contact your service representative>

$ PHOTEST_ERR_SOCILBFAIL
6005	"%s: Could not access %s (%s Slot %d) through %s" Probable_Cause(s): \
<Host adapter faulty> Recommended_Action(s): <Please contact your service \
representative>

$ PHOTEST_ERR_IBFAIL
6006 	"%s: Disk %s (%s Slot %d) cannot be accessed through %s" Probable_Cause(s): \
<Critical failure in the Interface Board (%s one in the enclosure) \
through which this disk is accessed> Recommended_Action(s): <Please contact \
your service representative>

$ PHOTEST_ERR_IBNOTINSTALLED
6007	"%s: Disk %s (%s Slot %d) cannot be accessed through %s" Probable_Cause(s): \
<Interface Board (%s one in the enclosure) through which this disk is accessed \
is not installed>

$ PHOTEST_ERR_GBICFAIL
6008 	"%s: Disk %s (%s Slot %d) cannot be accessed through %s" Probable_Cause(s): \
<Critical failure (transmitter fault) in the GBIC module (%s in the enclosure) \
through which this disk is accessed> Recommended_Action(s): <Please contact \
your service representative>

$ PHOTEST_ERR_GBICLOL
6009	"%s: Disk %s (%s Slot %d) cannot be accessed through %s" Probable_Cause(s): \
<Signal too low at the GBIC module (%s in the enclosure) through which this disk \
is accessed> <Faulty cable or cable disconnected> <Faulty GBIC module on \
the host side> Recommended_Action(s): <Ensure the cables are connected \
properly> <Please contact your service representative>

$ PHOTEST_ERR_OPENFAIL
6011	"Failed to open device: %s"

$ PHOTEST_ERR_ESTATFAIL
6012	"Failed to read enclosure status through %s"

$ PHOTEST_ERR_CONNECTIONBAD
6013	"%s: Could not access %s (%s Slot %d) through %s" Probable_Cause(s): \
<Faulty GBIC module on host side> <Bad cable connection> 

$ PHOTEST_ERR_PORTLINKBAD
6014	"%s: Could not access %s (%s Slot %d) through %s" Probable_Cause(s): \
<Faulty Host Adapter> <Faulty GBIC on host side> <Faulty cable or cable disconnected>

$ PHOTEST_ERR_DSKNOTINSTALLED
6015	"%s: Could not access %s (%s Slot %d) through %s" Probable_Cause(s): \
<Disk not installed>

$ PHOTEST_ERR_DSKBYPASSED
6016	"%s: Could not access %s (%s Slot %d) through %s" Probable_Cause(s): \
<Disk detected to be installed, but may be bypassed or powered off>

$ PHOTEST_ERR_DBPFAIL
6017 	"%s: Disk %s (%s Slot %d) cannot be accessed through %s" Probable_Cause(s): \
<Critical failure in the enclosure backplane (%s) through which this disk is \
accessed> Recommended_Action(s): <Please contact your service representative>

$ PHOTEST_ERR_DBPNOTINSTALLED
6018	"%s: Disk %s (%s Slot %d) cannot be accessed through %s" Probable_Cause(s): \
<Enclosure backplane (%s) through which this disk is accessed is not installed>

$ PHOTEST_ERR_GBICNOTINSTALLED
6019	"%s: Disk %s (%s Slot %d) cannot be accessed through %s" Probable_Cause(s): \
<GBIC module (%s in the enclosure) through which this disk is accessed \
is not installed>

$ PHOTEST_ERR_ENCL_IBFAIL
6020 	"%s: Cannot communicate with the enclosure via %s" Probable_Cause(s): \
<Critical failure in the Interface Board (%s one in the enclosure)> \
Recommended_Action(s): <Please contact your service representative>

$ PHOTEST_ERR_ENCL_IBNOTINSTALLED
6021	"%s: Cannot communicate with the enclosure via %s" Probable_Cause(s): \
<Interface Board (%s) is not installed in the enclosure>

$ PHOTEST_ERR_ENCL_GBICFAIL
6022 	"%s: Cannot communicate with the enclosure via %s; possibly \
connected to %s GBIC in the enclosure" Probable_Cause(s): \
<Critical failure (transmitter fault) in the GBIC module in the enclosure> \
Recommended_Action(s): <Please contact your service representative>

$ PHOTEST_ERR_ENCL_GBICLOL
6023	"%s: Cannot communicate with the enclosure via %s; possibly \
connected to %s GBIC in the enclosure" Probable_Cause(s): \
<Signal level too low at the GBIC module in the enclosure> <Faulty cable or \
cable disconnected> <Faulty GBIC module on the host side> \
Recommended_Action(s): <Ensure the cables are properly connected> \
<Please contact your service representative>

$ PHOTEST_ERR_ENCL_GBICNOTINSTALLED
6024	"%s: Cannot communicate with the enclosure via %s" Probable_Cause(s): \
<GBIC module (%s) is not installed in the enclosure>

$ PHOTEST_ERR_DSKCTLOPFAIL
6026	"%s: Failed to %s disk (%s, slot %d) state. Expected: Port A: %s; \
Port B: %s; Observed: Port A: %s; Port B: %s" Probable_Cause(s): <Error in \
Enclosure Services or Enclosure Element> Recommended_Action(s): <Contact \
your service representative>

$ PHOTEST_ERR_DSKRESTOREFAIL
6027 	"%s: Unable to access disk %s (%s slot %d) through port %c even \
after bringing the port online" Probable_Cause(s): <Error in Enclosure \
Services or Enclosure Element> Recommended_Action(s): <Contact your \
service representative>

$ PHOTEST_ERR_DSKTOGGLEFAIL
6028	"%s: Disk access succeeded for %s (%s slot %d) through port %c \
even after requesting that the port be bypassed" Probable_Cause(s): \
<Error in Enclosure Services or Enclosure Element> \
Recommended_Action(s): <Contact your service representative>

$ PHOTEST_ERR_GBICFAULT
6035    "%s: Cannot access enclosure through %s" Probable_Cause(s): \
<Critical GBIC failure in the enclosure; %s GBIC: %s Signal: %s; \
Transmitter: %s; %s GBIC: %s Signal: %s; Transmitter: %s> \
Recommended_Action(s): <Please contact your service representative>

$ PHOTEST_ERR_CRITCONDITION
6036	"%s: Critical condition detected in enclosure!" \
Recommended_Action(s): <Run this test in 'Functional' mode for more \
information> <Please contact your service representative>

$ PHOTEST_ERR_PHYSNAMEFAIL
6037    "%s: Failed to determine the physical name for disk %s" \
Probable_Cause(s): <no valid links> Recommended_Action(s): \
<Please contact your service representative>


$ -------------------------------------
$ FATAL messages
$ -------------------------------------

$ PHOTEST_ERR_NOSOCDEV
8001	"Could'nt determine the host adapter through which %s is being \
accessed." Probable_Cause(s): <Software error> Recommended_Action(s): <Contact \
your service representative>
 
$ PHOTEST_ERR_TSTFAIL
8002	"Test failed"

$ PHOTEST_ERR_INTERR
8003	"Internal error."  Probable_Cause(s): <Software error in test> <%s>\
Recommended_Action(s): <Contact your service representative>

$ PHOTEST_ERR_SESCONNECTIONBAD
8004	"%s: Could not communicate with enclosure via %s" Probable_Cause(s): \
<Bad connection> Recommended_Action(s): <Ensure the cables are properly \
connected> <Please contact your service representative>

$ PHOTEST_ERR_NOCONNECTION_SOC
8005	"Could not communicate with the enclosure" Probable_Cause(s): \
<Faulty connection> Recommended_Action(s): <Please contact your service \
representative> <Ensure the cables are properly connected> \
<Run SunVTS socaltest to verify the host adapter>

$ PHOTEST_ERR_NOCONNECTION_IFP
8006	"Could not communicate with the enclosure" Probable_Cause(s): \
<Faulty connection> Recommended_Action(s): <Please contact your service \
representative> <Ensure the cables are properly connected> \
<Run SunVTS ifptest to verify the host adapter>

$ Messages from probe

$ PHOTOPROBE_ENCL_EXCEED
10000   "max limit on number of enclosures that can be\ 
registered by vts exceeded!\n"      

$ PHOTOPROBE_ERR_MEMORY
10001   "Out of memory!\n"
