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

$ #pragma ident  "@(#)dtlbtest.msg 1.6     04/04/06 SMI"

$ Message ID ranges:
$ VERBOSE  1 ~ 1999
$ INFO     2000 ~ 3999
$ WARNING  4000 ~ 5999
$ ERROR    6000 ~ 7999
$ FATAL    8000 ~ 9998
$ 9999 is reserved by test library for old style messages.
$ 0 is reserved and is an invalid message for all tests.

$ *********************************************
$ VERBOSE messages
$ *********************************************
$ MSG_STARTING_DTLBTEST
1	"Starting DTLB test..."
$ MSG_FINISHING_DTLBTEST
2	"Finishing DTLB test..."
$ MSG_STARTING_TEST
6	"### %s (%s) ###"
$ MSG_RTPRIORITY
101	"Set to real-time scheduling w/ priority=%d"
$ MSG_FXPRIORITY
102	"Set to fixed scheduling w/ priority=%d"
$ MSG_PERROR
103 "%s: %s"
$ MSG_HITTEST_PERCENTAGE
104	"CPU#%d showed too many DTLB misses in %s page hit test:\n%.2f%% miss rate (max +/-%.1f%% tolerated)\nExpected misses: 0/%ld; Actual: %ld\nPossible cause:\n    1)High background activity (processes, IRQs) in system\n    2)Use of locked pages by other processes\n    3)Unexpected software inconsistency with OS/library (internal optimization)
$ MSG_MISSTEST_PERCENTAGE
105	"CPU#%d showed too large variance from expected DTLB miss count\nin %s page miss test: %.2f%% miss rate (max +/-%.1f%% tolerated)\nExpected misses: %ld; Actual: %ld\nPossible cause:\n    1)High background activities (proceess, IRQs) in system\n    2)Use of locked pages by other processes\n    3)Unexpected software inconsistency with OS/library (internal optimization)
$ MSG_MISSTEST_PERCENTAGE_LOW
106	"CPU#%d showed too low DTLB miss count in %s page miss test: %.2f%% miss rate (max +/-%.1f%% tolerated)\nExpected misses: %ld; Actual: %ld\nPossible cause:\n    1)Use of locked pages by other proceses\n    2)Unexpected software inconsistency with OS/library (internal optimization)
$ MSG_MISSTEST_WRONG_PAGESIZE
107	"Miss count rates in this subtest should be ignored and not be treated\nas a hardware failure because this subtest is affected by the operating\nsystem's DTLB usage optimization.\nCPU#%d %s page miss test: Expected misses: %ld; Actual: %ld (%f.2%%)
$ MSG_LIBCPC_NOTFOUND
108	"libcpc.so not installed; skipping DTLB miss count evaluation"
$ MSG_CALLBACK
1999 "Message received from VTS kernel: Type %d %s\n "

$ *****************************************************
$ INFO messages (including INFO, CONSOLE, and LOGFILE)
$ No double quotes (" ") are needed for INFO messages.
$ *****************************************************
$ MSG_PROG_USAGE
2000	%s specific arguments:\n\
	cpu={0..1023}   CPU #                       Default: all\n\
	test={h|a}      Hit/miss or address test    Default: both\n\
	tlb={16|512}    DTLB type                   Default: both\n\
	psize={8K|64K|512K|4M}	DTLB page size      Default: all\n\
	aloop={1..1000} Address pattern loop        Default: 1\n\
	aseed=n         Address pattern seed value  Default: timestamp\n\n\
	Supported Combinations of psize/tlb :	\n\n\
	  OS		CPU-MODEL			PSIZE/TLB \n\n\
	Solaris 8	US-II			    8K/64, 4M/64 \n\
			US-III			    8K/512, 4M/16 \n\
			US-III+ and later	    8K/512, 4M/512 \n\
	Solaris 9	US-II			    {8K|64K|512K|4M}/64 \n\
			US-III			    64K/16, 512K/16, 4M/16, 8K/512 \n\
			US-III+ and later	    all except 8K/16 \n
$	htt={0.1..10.0} Hit test tolerance  (%%)     Default: 1.0\n\
$	mtt={0.1..10.0} Miss test tolerance (%%)     Default: 1.0\n\
$	sched={ts|x}    Scheduling T/S or eXclusive Default: ts\n\
$	avma=x          Address pattern VA mask\n\
$	DEBUG=1\n
$ MSG_APTSEED
2001	"Address pattern seed value: %ld"

$ *****************************************************
$ WARNING messages
$ *****************************************************
$ MSG_REDUCED_ALLOCATION
4002	"Allocation size reduced due to physical memory shortage; full=%s/alloc=%s\nSubtest coverage reduced as well"
$ MSG_SKIP_FULLMISSTEST
4003	"Full miss test skipped due to reduced memory allocation"
$ MSG_NOCPUS2TEST
4006	"No CPUs to test"
$ MSG_CPC_INIT_FAILED
4008	"CPC interface initialization failed; %s: %s\nDTLB miss counts will not be sampled."
$ MSG_INSUFFICIENT_PHYSMEM
4011	"Subtest skipped due to physical memory shortage; full=%s/min=%s"

$ ********************************
$ ERROR messages
$ ********************************
$ MSG_ADDRPATTERN_FAILED
6003	"CPU#%d failed in write[%s]-read[%s]-verify\n    Seg base:   0x%016lx\n    Faulty addr:0x%016lx (transition from 0x%016lx)\n    Read-back:  0x%016lx (expected:0x%016lx)\n    Phys addr:  0x%016lx (transition from 0x%016lx)\n    Random address pattern seed value: %d"
$ MSG_ADDRPATTERN_FAILED_MORE
6004	"CPU#%d: There are %d more address pattern test failures"

$ *******************************
$ FATAL messages
$ *******************************
$ MSG_ARG_ERROR
8000	"Enter an appropriate value for option %s=?"
$ MSG_ARG_RANGE
8002	"Value out of range for option %s"
$ MSG_ARG_VALUE
8003	"Invalid value for option %s"
$ MSG_CHECKCPU_FAILED
8004	"CPU on-line check failed"
$ MSG_CPU_OFFLINE
8005	"Designated CPU #%d is not on-line"
$ MSG_UNSUPPORTED_PSIZE
8006	"Page size %s not supported on this OS version or unavailable for given TLB (%s) for CPU model (%s)"
$ MSG_UNSUPPORTED_CPU
8007	"CPU type %s is not supported"
$ MSG_UNSUPPORTED_HITMISS
8008	"Hit/miss test unavailable for this platform"
$ MSG_CANTOPEN_PROCRMAP
8009	"Can't open proc file %s: %s"
$ MSG_CPC_TAKE_SAMPLE_FAILED
8010	"cpc_take_sample() failed"
$ MSG_MALLOC_FAILED
8012	"malloc failed: %s"
$ MSG_THRCREATE_FAILED
8013	"thr_create() failed to create a new thread: %s"
$ MSG_THRCREATE_NONE
8014	"No threads could be created"
$ MSG_2MANYCPUS2TEST
8015	"Too many CPUs to test (max:%d)"
$ MSG_PAGESIZE_FAILED
8017	"Couldn't get physical page size; syconf(_SC_PAGESIZE): %s"
$ MSG_MIXED_CPUS
8018	"Tests cannot be performed on mixed CPU types"
$ MSG_PERROR_FATAL
8019	"%s: %s"
$ MSG_INFO_MISMATCH
8020 "Mismatch in number of cpus from sysinfo (%ld) and prominfo (%ld).\n A possible cause could be that Dynamic Reconfiguration(DR) was performed. \nThe mismatch will happen in Starcat(Sun-Fire 15K) systems. \nRecommended Action: Rebooting the system will enable the test to run on all online cpus."

$ *********************************************************
$ Messages for msg_monitor library
$ Adding this here to avoid install rules in the library 
$ Unclear if the same test binary can have messages spread
$ across two .msg files
$
$ All messages are such that it is unique to L2 test. 
$**********************************************************
$------------------
$ ERROR messages
$------------------
$ MSG_NO_RULE_FILE      7000
7000    "No rule file and no default matching function specified"
