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

$  #ident  "@(#)bpptest.msg  1.13  02/10/07  SMI"
 
 
$ bpptest messages
$ VERBOSE	   1 - 1999	
$ INFO		2000 - 3999 (also used for LOGFILE and CONSOLE messages)
$ WARNING	4000 - 5999
$ ERROR		6000 - 7999
$ FATAL		8000 - 9999 
$ PROBE	       10000 -

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

$ PROC_TERMINATED
1000	"Process %d is being terminated."

$ START_TEST_MESG
1001	"Begin %s test on %s."

$ END_TEST_MESG	
1002	"End %s test on %s."

$ OPEN_MESG
1003	"Opened %s; file descriptor = %d."

$ DATA_INIT_MESG
1004	"Initializing text data."

$ WRITE_MESG
1005	"Starting writing to %s."

$ WRITE_RANDOM_MESG
1006	"RANDOM: Wrote %d bytes to %s."

$ WRITE_FIXED_MESG
1007	"FIXED: Wrote %d bytes to %s."

$ DMA_START_MESG
1008	"Start DMA memory test."

$ DMA_END_MESG
1009	"Finished DMA memory test."

$ CLOSE_MESG
1010	"Closing %s."

$ CLOSE_ERR
1011	"Error in closing %s." Probable_Cause(s): <%s>

$ PROC_KILLED
1012	"Process %d is terminated." Probable_Cause(s): <%s>

$ LOOPBACKSUBTEST_PASS_MSG1
1013 	"I/O pins test passed."

$ LOOPBACKSUBTEST_PASS_MSG2
1014 	"I/O read/write test passed."

$ LOOPBACKSUBTEST_PASS_MSG3
1015 	"Block read test passed."

$ LOOPBACKBLK_PTN
1016	"Block Test Pattern: %x"


$ --------------------------------------------------
$ CONSOLE messages
$ --------------------------------------------------

$ ROUTINE_USAGE_MESG
2000	Test arguments:	dev    = devicename,\n\
		access = mode of operation (only writeonly allowed),\n\
		mode   = frequency of printing.\n\n

$ TEST_USAGE_MESG
2001	[dev=device_name,access=writeonly|readonly,mode=fast|medium|extended]

$ CONNECTIVITY_PASS
2002	Connected. <Connectivity test on %s passed.>


$ --------------------------------------------------
$ WARNING MESSAGES
$ --------------------------------------------------

$ NO_PRINT_TEST
4000	"Printing test not performed!" Probable_Cause(s): <Printer not attached>



$ --------------------------------------------------
$ ERROR messages
$ --------------------------------------------------
$ COMPARE_FAIL
6000	"Read compare failed, expected:0x%x, observed:0x%x." \
Probable_Cause(s):  <Suspect DMA circuitry or FIFO associated with bpp.> \
Recommended_Action(s): <Retry.  If the problem persists, contact your Sun Service representative.>

$ ERROR_INFO
6001	"Error occured while accessing %s; \n\
Time out Error: %x; Bus Error: %x; Pin Status: %x" Probable_Cause(s): <%s>

$ ERROR_IOPIN
6002	"Error condition detected on I/O pins" Probable_Cause(s): \
<%s : exp = 0x%02X, obs = 0x%02X> <Device fault> \
<Loopback may not be installed> \
Recommended Action(s): <Please contact your Sun Service Representative>

$ ERROR_LOOPBACKTIMEOUT
6003	"Time Out during %s" Probable_Cause(s): <Device fault> \
<Loopback may not be installed> Recommended_Action(s): \
<Please contact your Sun Service Representative>

$ ERROR_BUSERR
6004	"Bus Error during %s" Probable_Cause(s): <Device fault> \
<Loopback may not be installed> Recommended_Action(s): \
<Please contact your Sun Service Representative>

$ ERROR_PINERR
6005	"Pin Error during %s; Status: %d" Probable_Cause(s): <Device fault> \
<Loopback may not be installed> Recommended_Action(s): \
<Please contact your Sun Service Representative>

$ ERROR_UNKNOWNERR
6006	"Unknown Error during %s" Probable_Cause(s): <Device fault> \
<Loopback may not be installed> Recommended_Action(s): \
<Please contact your Sun Service Representative>

$ ERROR_LOOPBACKIO
6007	"Error during Loopback I/O testing : exp = 0x%02X, obs = 0x%02X" \
Probable_Cause(s): <Device fault> <Loopback may not be installed> \
Recommended_Action(s): <Please contact your Sun Service Representative>

$ ERROR_LOOPBACKBLK
6008	"Error during Loopback block read; mismatch at byte %d: exp = 0x%02X, obs = 0x%02X" \
Probable_Cause(s): <Device fault> <Loopback may not be installed> \
Recommended_Action(s): <Please contact your Sun Service Representative>


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

$ DEV_OPEN_FAIL
8000	"Could not open %s." \
Probable_Cause(s): <%s> <Device does not exist.> <Device not configured correctly.>

$ WRITE_FAIL
8001	"Encountered error while writing to %s;\n\
Requested bytes to write: %d; Bytes successfuly written: %d"\
Probable_Cause(s): <Device not configured correctly or does not exist.> \
<Too many print requests are queued up.> <Printer is out of paper.> \
Recommended_Action(s): <Ensure device exists and is configured correctly.> \
<Retry after sometime.> <If the problem persists, contact Sun Sevice representative.>

$ NO_MEMORY
8002	"Failed to obtain memory from malloc() system call." \
Probable_Cause(s): <System is heavily loaded.>

$ FORK_FAIL
8003	"Error occured while attempting to fork a child process." \
Probable_Cause(s): <%s>

$ IOCTL_FAIL
8004	"ioctl fail on %s." Probable_Cause(s): <%s>

$ GEN_ERR
8005	"Error = %d." Probable_Cause(s): <%s>

$ DEV_BUSY
8006	"Device %s unavailable for testing." \
Probable_Cause(s): <Device is busy.> \
Recommended_Action(s): <Retry after sometime.>

$ IOCTL_FAIL_CALL
8007	"ioctl fail on %s." Probable_Cause(s): <Illegal parameter during ioctl call.>


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

$ ERROR_WRITEONLY
10000  "ERROR: Only writeonly mode supported at this time.\n"
