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

$ #ident "@(#)cmttest.msg 1.13 04/06/14 SMI"

$ VERBOSE/DEBUG 
1	"%s subtest starts:  cmt=%d, cpu_id=%d"
2	"%s subtest ends"
3	"Testing  cmt=%d (core cpu ids=%s), ecache_size=%d, ecache_line_size=%d"
4	"Created thread for cpu_id=%d, thread_id=%d"
5	"Finished all subtests:  cmt=%d, cpu_id=%d"
6	"%s subtest starts:  cmt=%d"
7	"Message received: Type %d %s"
8	"Selected  cmt=%d for testing"
9	"All CMTs with at least two online cores are selected for testing" 
10	"Start ECC Monitor"
11	"%s subtest ended:   cmt=%d, cpu_id=%d"
12	"cmts= option value %s is an invalid CMT"
13	"System call %s failure: %s"
14	"cmdline cmts= option value is null. Use the default value=all CMTs"
15	"Starting ECC Monitor for cmttest"
16	"CPC interface initialization failed; %s: %s\n Performance counter will not be sampled"
17	"Mixed configuration of Processor is detected, performance counter will be disabled\n\
	as libcpc V2 is not supported for Mixed configuration System"
18      "Intra core interrupt testing done for processor %d"
19      "Inter core interrupt testing started for core %d with cpu %d as target"
20      "Inter core interrupt testing ended for core %d with cpu %d as target"

$ CONSOLE 
1000	%s specific arguments: \n\
	cmts	  = CPU ids of any one of the Cores in a CMT   \n\
	    	    Note: the ids string format: 0+1+2+... \n\
	            eg: cmts=0+1+2+3 \n\
	                Here 0, 1, 2, 3 refers the CPU ids of one the Cores \n\
		        in the CMTs  \n\
			For multi-stranded processors like Niagara,strand cpuids\n\
			can be given to select a particular strand of a core \n\
			for testing.If more than one strand is given for a core \n\
			only one strand will be selected for testing. \n\
	em   	  = Enabled|Disabled ECC monitor [Disabled]\n\
	threshold = Max number of ECC error reports [1] \n\
	perf	  = Enabled|Disabled performance counter [Disabled] \n\
	strandleveltest = Yes|No Strand level testing [No]  \n 

$ INFO
2001	"SUNWcpc, SUNWcpcu(x) package not installed, Performance counters will not be available."
2002    "When only single core in a CMT( cmt=%d, cpu_id=%d) is active, bandwidth = %lld MB/sec"

2003	"When all the cores in a CMT( cmt=%d) are active, bandwidth = %lld MB/sec"
2004	\nECC error summary (After reaching the Threshold)\n\
Found %d new ECC errors during the current pass\n\
Will Terminate cmttest instance#%d through pass#%d\n\
Test will  continue to run if run_on_error! is set system wide\n\n\t%s
2005	\nSummary of New ECC errors found while completing pass# %d \
(instance %d)
2006	\n\Found %d persistent ECC errors on %s\n
2007	\n\Found %d sticky ECC errors on %s\n
2008	\n\Found %d intermittent ECC errors on %s\n
2009	\n\Found %d ECC errors on %s
2010  %s

$ WARNING 4000-4999
4002	"Perfcounters Disabled as perfcounters MC_read and MC_write are not available on CPUs"
4005	"Testlib call %s failure: %d"
4008	"Performance counters will not be available"
4009	"cpc library version mismatch: %s"
4010	"cpc library function call %s failed : %s"
4011	"Can't measure Events : %s"
4012	"Can't bind cpc event to lwp %d, %s: %s"
4013    "Kstat library failure:Performance counters will be disabled"
$ FATAL 8000-9998
8000	"No CMT for testing. Please make sure at least one CMT with at least two online cores exists"
8001	"Illegal cmttest option"
8002	"cmts= option value %s has wrong format" 
8003	"System call %s failure: %s"
8004	"cpu %d binding failure: %s"
8005	"cmttest does not support the platform"
8006    "cmts= option value %s is not a CMT  that cmttest can test" 
8007    "Testlib call %s failed;Return value %d"
8008    "Error encountered while doing interrupt testing with long latency instructions in cpu %d"
	
$ ERROR

6000	"Failed on read & compare: cpu_id=%d, read=%x, exp=%x" \n\
Probable_Cause(s): <Bad Processor?> <Bad Memory?> <System error?> Recommended_Action(s): <Isolate the error> <If the problem persists, call your authorized Sun service provider.>
6002	Stopping after finding %d ECC errors \n\
For more details on ECC errors occurred, see system log files\n\t%s\n
6003    \nStopping after finding %d Correctable ECC errors \n\
  Use \"fmdump -eV\" to get complete listing of the ereport\n\t%s\n
$ -----------------------------------------------------------------------
$ PROBE messages
$ -----------------------------------------------------------------------
10001   "System call %s failure: %s"
10002	"ERROR:Perf Counters set to disabled as perfcounters \n\
	MC_read and MC_write are not available on this CPU"
10003 "ERROR: Mix Configuration is  detected. Perfcounters will be disabled.\n\
libcpc is not mixed configuation aware"
10004  "Failed in vts_tlib_get_cpuconfig()"
10005  "Failed in vts_tlib_get_onln_cpus()"
10006  "Failed in vts_tlib_is_cpu_cmt()"
10007  "Failed in vts_tlib_get_cpu_siblings_strand()"
10008  "Failed in vts_tlib_get_cpu_siblings()"

