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


$	#ident  "@(#)scitest.msg  1.5  02/05/28  SMI"

$ * Network test error message file.
$ * VERBOSE 1
$ * INFO 2000
$ * WARNING 4000
$ * ERROR 6000
$ * FATAL 8000


$ VERBOSE
1 "Message received from VTS kernel: Type %d %s."
2 "Set echo data length for device type '%s' to min %d max %d."
3 "Probing for network interface %s."
4 "Allocated %d bytes for configuration storage, %d bytes per unit."
5 "Random test: %d packets of random datalen and random pattern."
6 "Increment test: %d packets of datalen %d to %d using incremental pattern."
7 "Pattern test: %d packets of datalen %d using patterns 0 to 0xFF."
8 "Pattern test: %d packets of datalen %d using pattern 0x%X."
9 "%s" 
10 " inet %s"
11 " ether %s"
12 " port %d"
13 "Packet ID started at %d."
14 "Send ICMP broadcast to find target."
15 "Send RPC broadcast to find target."
16 "Timeout for host %s. Message delayed over the specified limit."
17 "Unable to find test target using ICMP echo."

$ INFO
2000 Network test options:\n\
 target=  List of test targets can be host name, or inet address\n\
 dev=     Network interface name (default %s)\n\
 test=    Test type (Random+Increment+Pattern, default all)\n

2001  packets= Number of random/pattern packets (default %d)\n\
 pattern= Specific data pattern (default all patterns 0 to 0xFF)\n\
 delay=  Delay time between subtests in seconds (default %d)\n\
 timeout= Number of seconds to wait before time out (default %d)\n\
 retry=   Number of test timeout retries (default %d)\n\
 warn     Print warning messages\n
2002  Connected: <%s, %s, %s>
2003  Not configured: <interface %s not configured>


$ WARNING
4001 "Unable to communicate from %s." Probable_Cause(s): <SCI adaptor failure> <no cable connection> Recommended_Actions: <replace SCI adaptor> <check cable connection>
4002 "Can not access /etc/sma.ip file.I WILL STOP TESTING SCI INTERFACES." Probable_Cause(s):<the cluster needs to be configured> </etc/sma.ip is missing> <old cluster version.> Recommended_Actions: <use sm_config and configure the cluster> <restore the files from a backup tape> <specify the cluster machines in the Target Host of Test Options before running the test.> 

$ ERROR
6000 "RPC broadcast failure (%s)."
6001 "Unable to resolve %s ethernet address."
6002 "No ICMP echo reply from %s." Probable_Cause(s): <SCI adaptor failure> <no cable connection> Recommended_Actions: <replace SCI adaptor> <check cable connection> 
6003 "ICMP echo reply incorrect length from %s, exp %d obs %d."
6004 "ICMP echo reply length %d from %s, data mismatch at byte %d, exp 0x%02x obs 0x%02x."
6005 "Unable to find any test target."
6006 "Unable to find necessary test targets for the ethernet switch."


$  System error messages
$ FATAL
8000 "Unable to open %s (%s)."
8001 "Bad ioctl %s (%s)."
8002 "Unable to allocate %d bytes of memory (%s)."
8003 "System call %s returned %d (%s)."
8004 "Unable to map network entry for %s."
8005 "ATM device %s requires target specification."
8006 "Failed to allocate %d bytes of swap space for configuration."
8007 "dl_primitive response = %d"
8008 "dl_ok_ack: short response"
8009 "dl_phys_addr_ack: short response"
8010 "Invalid Argument '%s'"
8011 "Interface %s not configured in system."
8012 "SCITEST can not open/read the cluster config file: /etc/sma.ip "
8013 "SCITEST is using the cluster config file: /etc/sma.ip only. Please remove the target specification from the command line. "


$ PROBE vts_msg
10001 "scitest probe: Failed to open /etc/path_to_inst."
10004 "Device is not configurated in the system= %s ",
10005 "scitest probe: Failed to get ethernet address."
10006 "scitest probe: dl_primitive not responded with DL_OK_ACK."
10007 "scitest probe: Short response during dl_ok_ack."
10008 "scitest probe: dl_primitive not responded with DL_PHYS_ADDR_ACK."
10009 "scitest probe: dl_phys_addr_ack has short response."
10011 "scitest probe: No Host Entry."
10012 "scitest probe: Can't get domain name: YP not running."

$ PROBE some print stuff
10020 "ERROR: %s(scitest) is not configured in the system. "
10021 "scitest probe: Failed to open device: %s error: %s. "
10022 "Host_Name: %s"
10023 ",Host Address: %s"
10024 "Port Address: %s"
10025 "Port Address: Unknown"
10026 ",Host ID: %x"
10027 ",Domain Name: %s"

$ PROBE sys_msg
10051 "scitest probe: Bad ioctl SIOCGIFCONF for getting network configuration %s. " 
10052 "scitest probe: Bad ioctl SIOCGIFFLAGS for getting device flags %s. "
10053 "scitest probe: Bad ioctl SIOCGIFADDR for getting internet address %s. "
10054 "scitest probe: Bad ioctl SIOCGIFNETMASK for getting netmask %s. "
10055 "scitest probe: Cannot open a socket %s. "
10056 "scitest probe: System call putmsg failed %s. "
10057 "scitest probe: System call getmsg failed %s. "
10061 "scitest probe: Failed to allocate memory(1) %s. "
10062 "scitest probe: Failed to allocate memory %s. "
10063 "scitest probe: Failed to open /dev/ip %s. "
10064 "scitest probe:1: Failed ioctl(SIOCGIFCONF) system call %s. "
10065 "scitest probe: Failed ioctl(SIOCGIFFLAGS) system call %s. "
