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

$  #pragma ident   "@(#)cputest.msg 1.19     05/03/29 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.
$CPUDATA_CALLBACK_MSG 1999
1999	"Message recieved from VTS kernel: Type %d %s\n"


$ *********************************************
$ VERBOSE messages
$ *********************************************
$ CPUDATA_START_MSG	1
0001	"Initiating CPU Test  ..."
$ CPUDATA_PASSCOUNT_MSG	2
0002	"\tCount: %s iterations"
0003	"Start: %d Iterations of SubTest %s %s"
$ CPUDATA_END_MSG       4
0004    "Testing Complete"
$ CPUDATA_FILESIZE_MSG  5
0005    "\tTest File Size: %s kbytes"
0006    "Start: %d Iterations of SubTest %s (pass %d)"
0007    "Start: %d Iterations of SubTest %s (%s)"
8       "PASSED: Iteration %d (pass %d)"
9       "PASSED: Iteration %d (%s)"
10    "FAILED: Iteration %d (pass %d)"
11    "FAILED: Iteration %d (%s)"
$ CPUDATA_SYSDETAIL_MSG 12
12    "in %s phase on processor %d"
$ CPUDATA_LOOPPROG_MSG  15
15    "PROGRAM FAILURE: Iteration %d %s"
$ CPUDATA_RETAIN_MSG  	18
18	"\tRetain Mode: %s" 
$ CPUDATA_PATSEL_MSG  	19
19	"\tPattern Select: %s" 
$ CPUDATA_TESTSEL_MSG   20
20	"\tTest Select: %s"
$ CPUDATA_NO_G0_X86	21
21	"g0 and SAS subtest are not supported on x86" 

$ *****************************************************
$ INFO messages (including INFO, CONSOLE, and LOGFILE)
$ No double quotes (" ") is needed for INFO messages.
$ *****************************************************
$ TEST_USAGE_INFOMSG 2000
2000    %s specific arguments:\n\
\tdev\tDevice Name: 'cpu-unit<n>'\tn={0..63}\n\
\tcount\tIterations\t\t\tn={1..8192}\n\
\ttest\tTest List\t\t\ttestlist={CUC,g0,DC,CUC+g0,CUC+g0+DC}\n\
\tretain\tFile Retention Mode\t\tmode={Purge,Save,OnError}\n\
\tsize\tFile Size (KB)\t\t\tn={1..8192}\n\
\tdcount\tDC test iterations\t\tn={1..100000}\n
2001	Retained CUC files are:\n\
\t%s\n\t%s\n\t%s\n\t%s\n
2002	i:j=%d:%d, d0=0x%16llx, d1=0x%16llx, exp=%d obs=%d\n
2003    "cputest failed with %d errors."
2004    "cputest completed successfully."
2005	Not Connected<>
2006	Connected<%s processor operating at frequency %d MHz.>
2007	Connected<A %s processor operating at an unknown frequency.>
$ TEST_USAGE_INFOMSG_X86 2008
2008    %s specific arguments:\n\
\tdev\tDevice Name: 'cpu-unit<n>'\tn={0..63}\n\
\tcount\tIterations\t\t\tn={1..8192}\n\
\ttest\tTest List\t\t\ttestlist={CUC,g0,CUC+g0}\n\
\tretain\tFile Retention Mode\t\tmode={Purge,Save,OnError}\n\
\tsize\tFile Size (KB)\t\t\tn={1..8192}\n

$ ********************************
$ ERROR messages
$ ********************************
$ CPUDATA_CMPERROR_MSG 6000
6000    "Data Comparison failed; %s is suspected cause."
$ CPUDATA_DTERROR_MSG 6001
6001    "Data Test failed iteration %d; %s is suspected cause."
$ TERM_SIGNAL_MSG 6002
6002    "cputest stopped: %s."

$ *******************************
$ FATAL messages
$ *******************************
$ ER_BAD_OPTIONS	 8000
8000 "Illegal option value passed to cputest %s=%s." \
Probable_Cause(s): \
<User error.> \
Recommended_Action(s): \
< Check usage by typing cputest -u>

$ CPUDATA_ALLOCERROR_MSG 8001
8001    "failed to allocate test buffer"
$ CPUDATA_BINDERROR_MSG  8002
8002    "unable to bind to cpu=%d:\n\t%s"
$ CPUDATA_PROGERROR_MSG  8003  
8003    "program operation %s failed due to %s"
$ CPUDATA_SYSERROR_MSG   8004
8004    "system call %s failed with : %s"
$ CPUDATA_EXECERROR_MSG  8005
8005    "exec'd program %s failed with code %d. Probable Cause: Program error, Lack of System resources, No hardware faults. Action: Rerun VTS with cputest only"
$ CPUDATA_XENVERROR_MSG  8006
8006    "%s environment incompatibility caused operation %s to fail"
$ CPUDATA_BP0_MSG        8007
8007     "bin_probe: argument error"
$ CPUDATA_BP1_MSG        8008
8008     "bin_probe() %s unavailable because: %s"
$ CPUDATA_FG1_MSG 	8010 
8010       "Unable to create file %s" 
$ CPUDATA_FG3_MSG 	8011
8011       "Unable to allocate %d byte buffer for %s" 
$ CPUDATA_FG4_MSG 	8012
8012       "Unable to write %d bytes to %s " 
$ CPUDATA_NOTSU_MSG	8013
8013	   "NOT Superuser; MUST be superuser to run this program"
8014 "Illegal option name passed to cputest '%s'" \
Probable_Cause(s): \
<User error.> \
Recommended_Action(s): \
< Check usage by typing cputest -u>
$ ER_NULL_OPTION	8015
8015	   "%s: %s option requires a value"
$ CPUDATA_TMPFILEERROR_MSG 8016
8016       "Failed to create tempfile"
$ CPUDATA_CORRUPT_MSG
8017	"Failed silent data corruption test : expected / observed = %lx / %lx" Probable_Cause(s): <Faulty CPU module.> Recommended_Action(s): <Retry test. If the problem persists, contact your Sun Service provider.>

$ *******************************
$ Probe messages
$ *******************************
$ CPUDATAPROBE_PSR_MSG    10001
10001       "\nPSR%d Status=%d\n"
$ CPUDATAPROBE_FREQ_MSG   10002
10002       "\nfreq=%s\n"
$ CPUDATAPROBE_KSRDF_MSG  10003
10003       "kstat_read() failed"
$ CPUDATAPROBE_KSRDP_MSG  10004
10004       "kstat_read() succeeded"
$ CPUDATAPROBE_CPUID_MSG  10005
10005      "set processor_id as 0" 
10009   "Type:%s"
10010   "Type:%s, clock-frequency:%s"
$ CPUDATAPROBE_MAXCPU_MSG 10011
10011       "maxcpu=%d\n"
10012   "SPARC V9 based FPU"
10013   "~ %4.1f MHz"
10014   "SPARC V9 CPU"
10028   "Generic CPU"
10029   "Unknown Type"
10030   "Unknown Frequency"
10031   "Hardware disabled"
10032   "get_psr_info: processor %d"
10033   " %d MHz."
10034	"Error. Could not register this test."

$ *******************************
$ Signals info
$ *******************************
20001   "%s  hangup (signal: SIGHUP 1)" 
20002   "%s  interrupt (signal: SIGINT  2)"
20003   "%s  quit (signal: SIGINT 3) "
20004   "%s  illegal instruction (signal: SIGILL  4)"
20005   "%s  trace trap (signal: SIGTRAP 5)"
20006   "%s  used by abort, replace SIGIOT in the future (signal:  SIGABRT 6 )"
20007   "%s  EMT instruction (signal: SIGEMT  7)"
20008   "%s  floating point exception (signal: SIGFPE  8  )"
20009   "%s  kill (cannot be caught or ignored) (signal: SIGKILL 9  )"
20010   "%s  bus error (signal: SIGBUS  10)"
20011   "%s  segmentation violation (signal: SIGSEGV 11  )"
20012   "%s  bad argument to system call (signal: SIGSYS  12)"
20013   "%s  write on a pipe with no one to read it (signal: SIGPIPE 13   )"
20014   "%s  alarm clock (signal: SIGALRM 14)"
20015   "%s  software termination signal from kill (signal: SIGTERM 15)"
20016   "%s  urgent condition on IO channel (signal: SIGURG  16)"
20017   "%s  sendable stop signal not from tty (signal: SIGSTOP 17  )"
20018   "%s  stop signal from tty (signal: SIGTSTP 18)"
20019   "%s  continue a stopped process (signal: SIGCONT 19 )"
20020   "%s  to parent on child stop or exit (signal: SIGCHLD 20)"
20021   "%s  to readers pgrp upon background tty read (signal: SIGTTIN 21 )"
20022   "%s  like TTIN for output if (tp>t_local&LTOSTOP) (signal: SIGTTOU 22)"
20023   "%s  input/output possible signal (signal: SIGIO   23)"
20024   "%s  exceeded CPU time limit (signal: SIGXCPU 24)"
20025   "%s  exceeded file size limit (signal: SIGXFSZ 25)"
20026   "%s  virtual time alarm (signal: SIGVTALRM 26)"
20027   "%s  profiling time alarm (signal: SIGPROF 27)"
20028   "%s  window changed (signal: SIGWINCH 28)"
20029   "%s  resource lost (eg, recordlock lost) (signal: SIGLOST 29  )"
20030   "%s  user defined signal 1 (signal: SIGUSR1 30)"
20031   "%s  user defined signal 2 (signal: SIGUSR2 31)"
20032   "%s  unknown signal"

