$  Copyright(c) 2006 Sun Microsystems, Inc. All rights reserved.
$  Use is subject to license terms.


$ #pragma	ident	"@(#)vmemtest.msg	1.52	06/04/11	SMI."

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

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

1	%s
2	Virtual memory test:\n Number of instances = %ld \n\
 Instance Number = %d\n Sizeof memory to test for the instance \
= %lld MB (%lld pages)\n Test mode = %s\n
3	SubTest: %s	Pattern: 0x%08lx
4	SubTest: %s	Pattern: %s
5	Testing page %lld of %lld pages
6	%lld
7	0x%08lx

$ --------------------------------------------------
$ INFO 2000
$ --------------------------------------------------
2000	%s\n
2001	FAILURE :found %lld contiguous errors. First of these data \
miscompare at VA : 0x%08lx\n
2002	Vmemtest command arguments:\n\
\n\
mode=Page|Regular[Default]\
\tPage - write/read memory 1 page at a time\n\
\t\t\t\tRegular - write/read the entire assigned memory\n\
\n\
amount=#   : Memory to be tested in MB.\n\
Test evaluates size based on system resources.\n\
\n\
reserve=#  : Reserve Memory in MB.\n\
\n\
cerr=#     : Max.contiguous errors to be recorded as one memory error.\n\
Default value is 10\n\
\n\
type1=value: type1 is Sequential subtest,\n\
value is [Default] Enabled|Disabled.\n\
pp1=value  : pp1 is data pattern for Sequential subtest\n\
Select from Set - A & B. Default is address\n\
\n\
type2=value: type2 is File Cache subtest,\n\
value is [Default] Enabled|Disabled\n\
pp2=value  : pp2 is data pattern for File Cache subtest\n\
Select from Set - A & B. Default is address\n\
\n\
type3=value: type3 is Random Address subtest,\n\
value is Enabled|Disabled [Default]\n\
pp3=value  : pp3 is data pattern for Random Address subtest\n\
Select from Set - B. Default is checkerboard\n\
\n\
type4=value: type4 is Page Stride subtest,\n\
value is Enabled|Disabled [Default]\n\
pp4=value  : pp4 is data pattern for Page Stride subtest\n\
Select from Set - B. Default is checkerboard\n\
\n\
type5=value: type5 is March C subtest,\n\
value is Enabled|Disabled [Default]\n\
pp5=value  : pp5 is data pattern for March C subtest\n\
Select from Set -B. Default is checkerboard\n\
\n\
type6=value: type6 is Block_Copy test,\n\
value is Enabled|Disabled [Default]\n\
\n\
Valid data patterns:\n\
Set -A :address, walk_0, walk_1, random\n\
Set -B :0xffffffff, 0x00000000, 0x5aa55aa5,\
0xdb6db6db, checkerboard, UserDefined\n\
\n\
address:means Virtual address of that location \n\
walk_1: means walk a '1' from starting address to ending address\n\
walk_0: means walk a '0' from starting address to ending address\n\
random: means random() function  generated data pattern \n\
0xffffffff: All Bits are 1s\n\
0x00000000: All Bits are 0s\n\
0x5aa55aa5: 0x5aa55aa5 bit pattern\n\
0xdb6db6db: 0xdb6db6db bit pattern\n\
checkerboard: 0xaaaaaaaa bit pattern\n\
UserDefined: pattern specified by user with up= (see below)\n\
up=0x<value>:ex.up=0x2a341234 Default is 0x7ff77ff7\n\n
2003	eccmon=value:For Enabling Or Disabling ECC error monitor\n\
value is Enabled|Disabled [Default]\n\
eccthreshold=value: The max threshold value of ECC\n
after which test shall exit. Default value is 2\n
2004	\nECC error summary (After reaching the Threshold)\n\
Found %d new ECC errors during the current pass\n\
Will Terminate vmemtest instance#%d through pass#%d\n\
Vmemtest 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 

$ --------------------------------------------------
$ WARNING messages
$ --------------------------------------------------

4000	%s
4001    Maximum memory referenced by a single test instance is limited to 2GB.\n\
For optimized test coverage, please try increasing the number of test instances\n\
or reboot the machine in 64 bit mode and run the 64 bit version of vmemtest.
4002	Cannot lock page at virtual address 0x%lx: %s.
4003	kvm_open() failed.
4004	kvm_getproc() failed.
4005	kvm_physaddr() failed.\n\
Cannot get physical address for virtual address 0x%lx.
4006    Cannot unlock page at virtual address 0x%lx: %s.
4007	\nAttempt to reserve (%ld)KB more than available Free swap(%ld)KB\n\
vmemtest instance(%d) will exit without testing
4008	\nNo subtest is enabled\n\
vmemtest instance(%d) will exit without testing
4009	sprintf() failed: %s.
4011	Low Free Swap space on the system.\n\
vmemtest instance(%d) will exit without testing
4012	\n"%s" (type%d) is Not enabled. "pp%d" is Redundent.
4013    "System call sysconf(_SC_NPROCESSORS_CONF) Failed : %s \n\
Could not get num of cpus: Setting default number of pmemtest instances to 2. \n"
4014	\nFound non-fatal system error of class %s\n\
	Detected on %s\n\
	Reported by %s\n\
	AFAR = 0x%llx  AFSR = 0x%llx\n\
	Error Type = %s\n
4015	\nFound non-fatal system error of class %s\n\
	AFAR = 0x%llx  AFSR = 0x%llx\n\
	Error Type = %s\n
4016    Maximum memory referenced by a single test instance is limited to 2GB.\n\
For optimized test coverage, please try increasing the number of test instances\n\
or run the 64 bit version of vmemtest.

4017	\nFound non-fatal system error of class %s\n\
        Detected on %s\n\
        Reported by %s\n\
        SPARC AFSR = 0x%llx SPARC AFAR = 0x%llx\n\
        L2 AFSR = 0x%llx L2 AFAR = 0x%llx\n\
        DRAM AFSR = 0x%llx DRAM AFAR = 0x%llx DRAM loc = 0x%llx \
        DRAM cntr = 0x%llx\n\
        Error disposition = 0x%llx Error type = %s\n

4018	\nFound non-fatal system error of class %s\n\
        Detected on %s\n\
        Reported by %s\n\
        Error type = %s\n

4019	\nFound non-fatal system error of class %s\n\
        SPARC AFSR = 0x%llx SPARC AFAR = 0x%llx\n\
        L2 AFSR = 0x%llx L2 AFAR = 0x%llx \n\
        DRAM AFSR = 0x%llx DRAM AFAR = 0x%llx DRAM loc = 0x%llx \
        DRAM cntr = 0x%llx\n\
        Error disposition = 0x%llx Error type = %s\n

4020	\nFound non-fatal system error of class %s\n\
        Error type = %s\n

4021	malloc() failure. errno = %d errstr = %s\n

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

6000	%s
6001	setrlimit(RLIMIT_DATA) failed to set to RLIM_INFINITY: %s.
6002	Test Completed. %d noncontiguous miscompare errors found.\n\
Check the info log file for details.
6003	msync() failed: %s.
6004	Test terminated after finding miscompared data. \
run_on_error is disabled.
6005    \n\Stopping after finding %d ECC errors \n\
For more details on ECC errors occured, see system log files\n\t%s\n
6006    \nStopping after finding %d memory ECC errors \n\
Use /usr/sbin/fmdump to get the ereports corresponding to the memory errors \n\
and refer to FMA guide to interpret the ereports\n\t%s\n
6007	\nECC error threshold reached\n\
	Total ECC errors found for current run = %d.\n\
	[ For more details use fmdump(1M) ].\n\
	Proceeding to terminate vmemtest through instance %d.\n\
	vmemtest stopped.\n


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

8000	%s
8001	Test terminated after finding maximum number of noncontiguous errors.
8002	Swap space exhausted. Increase swap space to allocate at least \n\
%dKB from the process heap.
8003	unlink() failed: %s.
8004	valloc(0x%x) failed: %s.
8005	open(%s) failed: %s
8006	mmap() virtual address 0x%x to %s failed: %s
8007	munmap(0x%x) failed: %s.
8008	close() failed on %s: %s.
8009	swapctl() failed: %s.
8010	calloc() failed: %s.
8011	getitimer() error: %s
8012	write()  failed (%s).
8013	llseek() failed (%s).
8014	read()   failed (%s).
8015	read() at address 0x%lx  failed (%s).
8016	malloc() failed: %s.
8017	Couldn't open file %s: %s.
8018	\amount\ option need a number in MB.\n
8019	\reserve\ option need a number in MB.\n
8020	Specify User defined Pattern!!.\n
8021	User Defined Pattern %s  is invalid : %s\n
8022	\nSpecify test method!!.
8023	\nSpecify test pattern!!.
8024	\nInvalid Data Pattern!! (pp%d). Subtest: %s\n\
Run ./vmemtest -u to know the Valid set of Data patterns \
for this subtest.\n
8025 	Could not create a temporary file name for %s : %s\n
8026	Invalid option: %s, use -u option for help on usage\n

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

10000	sysinfo failed\n
10001	vmem_probe: get_mem_board() returned NULL.\n
10002	vmem_probe: No memory boards. get_mem_board(): %s.\n
10003	testprobe_vmemtest: swapctl() failed: %s
10004   testprobe_vmemtest: sprintf() failed: %s
