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

$ #ident  "@(#)spiftest.msg 1.9     02/06/18 SMI" 

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

$ --------------------------------------------------
$ VERBOSE
$ --------------------------------------------------
1  "Begin %s test"
2  "End %s test"
3  "%s: "
4  "Board %d installed"
5  "Baud rate=%d, character size=%d, stop bit=%d, parity=%s, control flow=%s ")
6  "data pattern = 0x%x"
7  "Internal Test"
8  "96-pin Loopback Test \n\
Attach a 96-pin loopback plug firmly to the SPC/S board under test")
9  "25-pin Loopback Test \n\
Attach a 25-pin loopback plug to the serial port under test")
10  "Echo TTY Test \n\
Connect a TTY terminal to the serial port and type at the tty keyboard\n\
- To terminate, type ctrl-C at the tty keyboard")
11  "Printer Test \n\
Connect a parallel printer to the printer port under test"
12  "Testing device %s"
13  "Data Loopback test"
14  "Parallel Port Loopback Test"
15  "Modem Loopback Test"
16  "End of Echo TTY test"
17  "Parallel port loopback test failed on %s"

$ --------------------------------------------------
$ INFO
$ --------------------------------------------------
2000  %s Need a device name.
2001  %s need  a Test Mode .
2002  %s need  a value .
2003  %s need  a term name .
2004  %s specific arguments:\n\
dev= stc0..stc7. Specify the device to be tested.\n\
M= test mode. Internal,96_pin_Loopback,25_pin_Loopback,Echo_TTY.\n\
Ptr  Enable printer subtest.\n\
Stop= 1 or 2.  Specify stop bit.\n\
B= 110..38400.  Specify baud rate.\n\
Size= 5..8.  Specify character size.\n
2005 Parity= none,odd,even.  Specify parity.\n\
F= xonoff, rtscts, both.  Specify flow control.\n\
Data= 0x55, 0xaa, random. Specify test pattern: 0x55555555, 0xAAAAAAAA, or random pattern.\n\
sp= all, none or one serial port to be tested, such as term/3.\n\
tout= 1..1200.  Specify timeout in seconds.\n
2006  "Ioctl I_FLUSH error on %s"
2007  "Interrupted!"
2008  "%s"
2009  "current_test %d, type of error %s "

$ ---------------------------------------------------------------
$ ERROR
$ ---------------------------------------------------------------
6000  "%s." \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s): <Retry test. If the problem persists, contact \
your Sun Service provider.>

6001  "Expected = 0x%x, observed = 0x%x" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s): <Retry test. If the problem persists, contact \
your Sun Service provider.>

6002  "Expected (0x%x): " \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

6003  "Observed (0x%x): " \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

6004  "Modem Loopback test failed on %s" \
Probable_Cause(s): <Faulty Device.>\ 
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

6005  "Off-line error on device %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

6006  "Paper out error on device %s" \
Probable_Cause(s): <Printer out of paper.> \
Recommended_Action(s) <Retry test after putting in paper>

6007  "Busy error on device %s" \
Probable_Cause(s): <System load heavy.> \
Recommended_Action(s) <Reduce system load and Retry test.> <If the problem \
persists, contact your Sun Service provider.>

6008  "Error on device %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test.> <If the problem persists, contact your \
Sun Service provider.>

6009  "retry %d exceeds limit %d rc =s %d" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <If the problem persists, contact your \
Sun Service provider.>

6010  "Expected %d bytes, observed %d bytes" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

6011  "Internal test failed on %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

6012  "Data Loopback test failed on %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

6013  "Ioctl TIOCSSOFTCAR error on %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

6014    "malloc() failed." \
Probable_Cause(s): <Syetem load too heavy> <System error> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

$ --------------------------------------------------
$ FATAL
$ --------------------------------------------------
8000  "Must provide device name!" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8001  "No SPC/S card found or device driver not installed" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8002  "Ioctl TCSETS failed on %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8003  "Open error on %s - device driver may not be installed properly" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8004  "Device %s is already opened" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8005  "Ioctl STC_SREGS(STC_IOREG-COR2) error in %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8006  "Ioctl STC_GREGS(STC_IOREG-CCR) error in %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8007  "Ioctl STC_S1REGS(STC_IOREG-CCR) error in %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8008  "Ioctl STC_SREGS(STC_PPCREG-PDATA) error in %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8009  "Ioctl STC_GREGS(STC_PPCREG-PDATA) error in %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8011  "Ioctl TIOCMGET failed on %S" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8012  "%s: Expected DSR set, observed clear" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8013  "%s: Expected DSR clear, observed set" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8014  "Ioctl TIOCMSET failed on %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8015  "Ioctl TIOCMBIC failed on %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8016  "Read error on %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8017  "Write error on %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8018  "Ioctl STC_GPPC error on device %s" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8019  "Can't kill all processes" \
Probable_Cause(s): <Faulty Device.> \
Recommended_Action(s) <Retry test. If the problem persists, contact your \
Sun Service provider.>

8020  "Timeout error on %s." \
Probable_Cause(s): <No loopback plug> <System under stress> \
Recommended_Actions: <Check Loopback plug> <Increase Timeout for heavily \
stressed systems>

8021  "Timeout error on %s." \
Probable_Cause(s):<tty terminal not connected> \
Recommended_Actions: <Check tty terminal connected to.>

8022  "Timeout error on %s" \
Probable_Cause(s): <System under stress> \
Recommended_Actions: <Increase Timeout for heavily stressed systems>

8023   "%s device does not exist"

$ -------------------------------------------------
$ POPUP MESSAGES
$ -------------------------------------------------
10000 "Failed to separate the id and logical name.\n"
