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

$  #ident  "@(#)env5test.msg  1.10  05/02/16  SMI"

$ --------------------------------------------------
$ VERBOSE:	1-1999
$ --------------------------------------------------

$ USAGE
1 env5test [-o option=value]\n\n \
\tdev=<device name> \t\t (default=/dev/env)\n \
\tleds=Enable|Disable \t\t (default=Enable)\n \
\tledtype=<category> \t\t (default=ALL)\n \
\tledtime=<num_seconds> \t\t (default=0)\n \
\tkeys=Enable|Disable \t\t (default=Enable)\n \
\tfans=Enable|Disable \t\t (default=Enable)\n \
\tpsupply=Enable|Disable \t\t (default=Enable)\n \
\ttemp=Enable|Disable \t\t (default=Enable)\n

$ MSG_RCVD
2 Message received: type %d %s.

$ PICL_PROP
3 %s %s.

$ TEMP_READ
4 %s:\t%d is within range low %d - high %d.

$ START_TEST
5 Starting %s ...

$ EXIT_TEST
6 Exiting  %s ...

$ TEST_FAILED
7 %s failed!

$ TEST_PASSED
8 %s passed.

$ PS_FOUND
9 Power Supplies found: %d.

$ STATUS
10 %s: %s.

$ FAN_PROP
11 %s:\tstate=%s speed=%d(rpm).

$ FAN_SPEED
12 %s:\tspeed=%d(rpm).

$ SPD_CHK_OK
13 %s:\tspeed changes from %d to %d(rpm).

$ --------------------------------------------------
$ WARNING:	4000 - 5999
$ --------------------------------------------------

$ TEMP_LOW_WARNING
4000 %s:\t%d is below Low Warning Threshold %d.

$ TEMP_HIGH_WARNING
4001 %s:\t%d is above High Warning Threshold %d.

$ FAN_TEST_FAIL
4003 %s speed check failed.

$ VAL_CHK_WARNING
4004 Value set to %s is different from read back.


$ --------------------------------------------------
$ INFO:		2000 - 3999
$ --------------------------------------------------

$ CONNMSG
2000 Connected \
<Keyswitch Postion %s, %d Temp Sensor(s) and %d fail, \
%d PS(s) and %d fail, %d Fan(s) and %d fail>

$ RETRY_MSG
2001 %d retry for %s set state %s.

$ --------------------------------------------------
$ ERROR:	6000 - 7999
$ --------------------------------------------------

$ ER_DEV_FAULT
6000 %s device error: %s. \
Probable_Cause(s): \
<Bad or marginal hardware> \
Recommended_Action(s): \
<Consult /var/adm/messages file for more information> \
<If the problem persists, call your authorized Sun service provider.>

$ ER_SPD_CHK
6001 %s: No measurable speed change after fan control has being modified. \
Probable_Cause(s): \
<System software error> \
Recommended_Action(s): \
<Reduce system stress.  Try running env5test by itself> \
<If the problem persists, call your authorized Sun service provider.>

$ --------------------------------------------------
$ FATAL:	8000 - 9998
$ --------------------------------------------------

$ ER_BAD_OPTIONS
8000 Illegal options passed to env5test %s%s \
Probable_Cause(s): \
<User error> \
Recommended_Action(s): \
<Check usage by typing env5test -u>

$ ER_MALLOC
8001 Unable to allocate memory using malloc : <%s> \
Probable_Cause(s): \
<System software error> \
Recommended_Action(s): \
<Consult /var/adm/messages file for more information>

$ ER_PICL_INIT
8002 PICL init failed: <%s> \
Probable_Cause(s): \
<PICL deamon is not running or properly started> \
Recommended_Action(s): \
<Verify picld is running by typing ps -ef | grep picld> \
<Stop and restart picld using /etc/init.d/picld if required>

$ ER_PICL_FAIL
8003 %s failed: %s\n \
Probable_Cause(s): \
<System software error> \
Recommended_Action(s): \
<Verify picld is running by typing ps -ef | grep picld> \
<Reduce stress load on the system>

$ ER_LED_SET
8004 %s failed led test: expected %s but get %s\n \
Probable_Cause(s): \
<System software error> \
Recommended_Action(s): \
<Verify the led state visually and compare result> \
<Reduce system stress.  Try running env5test by itself> \
<If the problem persists, call your authorized Sun service provider.>

$ ER_FAN_FAIL
$ 8005 %s failed to %s.

$ ER_SEM_FAIL
8006 %s failed in %s. \
Probable_Cause(s): \
<System software error> \
Recommended_Action(s): \
<Verify picld is running by typing ps -ef | grep picld> \
<Stop and restart picld using /etc/init.d/picld if required>

$ ER_PLUGIN_NOT_FOUND
8007 picl psvc plugin %s file not found. \
Probable_Cause(s): \
<SUNWpiclu not installed> \
Recommended_Action(s): \
<Verify SUNWpiclu is installed properly and reinstall if required>

$ ER_RESTORE_FAN
8008 %s: attempt to restore original fan property failed \
Probable_Cause(s): \
<System software error> \
<Fan failure> \
Recommended_Action(s): \
<Verify picld is running by typing ps -ef | grep picld> \
<Check /var/adm/messages for additional information> \
<Verify above fan is still functional and restart system if required>

$ ER_RESTORE_LED
8009 %s: attempt to restore original led state failed \
Probable_Cause(s): \
<System software error> \
Recommended_Action(s): \
<Restart system is required to clear current led state>

$  ------------------------------------------------
$  PROBE messages
$  ------------------------------------------------

10000 sysinfo failed - %s\n
