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

$  #ident  "@(#)tapetest.msg  1.17  04/08/13  SMI"


$ -----------------------
$ Messages for tapetest.c
$ -----------------------

$ --------------------------------------------------
$ VERBOSE
$ --------------------------------------------------

1	"Msg received: Type %d %s"
2	"File test is disabled in readonly mode."
3	"Sharing for 60 seconds."
4	"Rewinding tape."
5	"Retensioning tape."
6	"Erasing tape."
7	"Load in the first tape once again."
8	"Switch to 2nd device."
9	"Switch to next (%d) device."
10	"Unload tape %d and load tape %d."
11	"Test passed."
12	"Begin %s test on %s."
13	"Writing to end of tape."
14	"Writing %d blocks."
15	"Rewinding tape after %s."
16	"Reading to end of tape."
17	"Reading %d blocks."
18	"File test, %s 4 files."
19	"File test, reading to EOF on 3rd file."
20	"File test, reading to EOF on 4th file."
21	"Backspacing to start of 2nd file."
22	"Reading 2nd file again."
23	"Hit EOT at block %d."
24	"Connectivity Test was successful."
25	"Online Test was successful."
26	"recon: Started."
27	"SCSI tape name: %s."
28	"recon: Stopped."
29	"SCSI disk name: %s."
30	"recon : Passed."
31	"Retrying SCSI disconnect/reconnect."
32 	"Start Tape AsyncIO test from block %lld to %lld"


$ --------------------------------------------------
$ INFO	
$ --------------------------------------------------

2000	"%s specific arguments [defaults]:\n\
	dev =<device name> = name of tape device(required)\n\
	l   = specify length of test(EOT, Specified, Long or Short)\n\
	s   = specify # of blocks to be tested\n\
	d   = specify density of tape to open\n\
	m   = write read or read only test\n\
	ft  = enable/disable file test\n\
	ret = enable/disable retension\n\
	dat = DAT or DAT_Stacker/Other or Other_stacker\n\
	8mm = 8mm or 8mm_Library\n\
	num = Dat stacker magazine size\n"
2001    Connected: <drive type = %s>
2002    Busy: <Tape drive is currently being used>
2003    No media present: <Tape drive is connected, but no tape is inserted>
2004    Not connected: <Tape drive is not attached>
2005	"Tandberg QIC Read/Write media failure." \
Probable_Cause(s): <Incorrect test settings for older QIC tape media.> \
Recommended_Action(s): <Retry test with 512 byte blocksize setting.> <Retry test with read-only setting.> <Use highest capacity tape media drive will allow (refer to tape drive documentation for QIC media compatibilities).>

$ --------------------------------------------------
$ ERROR
$ --------------------------------------------------

6000	"Missing device name." \
Probable_Cause(s): <No device name specified.> \
Recommended_Action(s): <Retry test with correct device name specification.>

6001	"Failed ioctl on unload and load next tape: err_code = %d!" \
Probable_Cause(s): <This Stacker/Library Unit may lack the Automatic Cycle Option> \
Recommended_Action(s): <Run the test with Single Pass Option Enabled.>

6002	"Cannot open %s: %s." \
Probable_Cause(s): <No tape media in drive.> \
Recommended_Action(s): <Load tape media and retry test.>

6005	"Cannot close %s: %s." Probable_Cause(s): <Bad drive.> \
Recommended_Action(s): <Retry test.  If problem persists check/replace the drive.>

6006	"%s write failed on %s, block %d: EOF reached." \
Probable_Cause(s): <EOF reached prematurely.> \
Recommended_Action(s): <Retry test with reduced blocksize specification or until EOF.>

6007	"%s write failed on %s, block %d: %s, sense key(0x%x) = %s." \
Probable_Cause(s): <Drive needs attention.> \
Recommended_Action(s): <Perform action to reset sense key and retry test.>

6008	"%s read failed on %s, block %d: EOF reached." \
Probable_Cause(s): <EOF reached prematurely.> \
Recommended_Action(s): <Retry test with reduced blocksize specification or until EOF.>

6009	"%s read failed on %s, block %d: %s, sense key(0x%x) = %s." \
Probable_Cause(s): <Drive needs attention.> \
Recommended_Action(s): <Perform action to reset sense key and retry test.>

6010	"%s compare failed on '%s', block %d, offset %d, pattern 0x%x, data= 0x%x." \
Probable_Cause(s): <Bad Drive.> \
Recommended_Action(s): <Retry test.  If problem persists check/replace the drive.>

6011	"%s tape MTIOCGETDRIVETYPE ioctl: %s." \
Probable_Cause(s): <Bad drive.> \
Recommended_Action(s): <Retry test.  If problem persists check/replace the drive.>

6012	"%s failed on %s: %s." \
Probable_Cause(s): <Bad drive.> \
Recommended_Action(s): <Retry test.  If problem persists check/replace the drive.>"

6013	"Failed Connectivity test on %s:%s." \
Probable_Cause(s): <Broken cable or bad drive.> <No tape media in the drive>\
Recommended_Action(s): <Check/Replace cable or drive.> <Load tape media and retry test.>

6014	"Failed Online test:%s." \
Probable_Cause(s): <Device may be in use.> \
Recommended_Action(s): <Retry Later.>

6015	"Failed Online test:%s:%s." \
Probable_Cause(s): <No tape media in drive.> \
Recommended_Action(s): <Load tape media and retry test.>

6016	"Online test was unsuccessful:%s." \
Probable_Cause(s): <No tape media in drive.> \
Recommended_Action(s): <Load tape media and retry test.>

6017	"Failed Online read test:%s." \
Probable_Cause(s): <Bad drive.> \
Recommended_Action(s): <Retry test.  If problem persists check/replace the drive.> 

6018	"Open Failed on %s: %s." \
Probable_Cause(s): <Broken cable or bad drive.> \
Recommended_Action(s): <Check/Replace cable or drive.>

6019	"malloc() failed." \
Probable_Cause(s): <Syetem load too heavy> <System error> \
Recommended_Action(s): <Reduce the system load> <If the problem persists, call your authorized Sun service provider.>

6020	"No more tapes available in the tape stacker library." \
Probable_Cause(s): <Not enough tapes available in the tape stacker library.> \
Recommended_Action(s): <Add more tapes to the tape stacker library or decrease the Number_Of_Tapes in the test.>

6021	"Failed online test on %s:%s." \
Probable_Cause(s): <Broken cable or bad drive.> <No tape media in the drive>\
Recommended_Action(s): <Check/Replace cable or drive.> <Load tape media and retry test.>

$ --------------------------------------------------
$ FATAL
$ --------------------------------------------------

8000 "Failed to create buffer %d:%ld" Probable_Cause(s): <Not enough memory> Recommended_Action(s): <Reduce the system load> <If the problem persists, call your authorized Sun service provider.>

8001 "Failed aioread :offset: %lld,%d,%s" Probable_Cause(s): <Does this OS support Asynchronous Tape Drive operation?> <Cable/Drive/Controller> Recommended_Action(s):  <De-select AsyncIO Test method if not supported> <If the problem persists, call your authorized Sun service provider.>

8002 "Failed aiowrite :offset: %lld,%d,%s" Probable_Cause(s): <Does this OS support Asynchronous Tape Drive operation?> <Cable/Drive/Controller> Recommended_Action(s):  <De-select AsyncIO Test method if not supported> <If the problem persists, call your authorized Sun service provider.>

8003 "A System call failed." Probable_Cause(s): <Path to /usr/include/sys or OS not responding.> Recommended_Action(s): <Reduce the system load> <If the problem persists, call your authorized Sun service provider.>

10000 "tapetest probe: WARNING: Failed to open /etc/path_to_inst.\n"
