$  Copyright (C) 1999 Sun Microsystems, Inc.

$ * netlbtest message file.

$ #pragma ident   "@(#)netlbtest.msg  1.11  03/07/18 SMI" 


$ * VERBOSE 1
$ * INFO 2000
$ * WARNING 4000
$ * ERROR 6000
$ * FATAL 8000


$ VERBOSE
$ V_KRNL_MSG
1		"Message received from VTS kernel: type %d %s"
$ V_TESTSTART
2		"%s: Started."
$ V_FRMCNT
3		"pkt count = %d"
$ V_TESTEND
4		"Transmitted %d pkts, received (correctly) %d pkts"

$ V_LB_TYPE
5 		"Running %s loopback test."


$ INFO
$I_USG_MSG
2000		"%s specific arguments:\n\
		dev=<device>	: specify device to be tested, e.g., ge0\n\
		tpkts=<integer>	: total number of pkts to send, from 1 to\n\
				  100000000\n\
		pksz=<integer>	: specify packet size, between 60 to 1514\n\
		lb=<mode>	: specify loopback mode, Internal or External\n\
		timeout=<integer> : specify the time waited (in seconds) for \n\
				   a packet to be received, between 1 to 1000\n\
		warn		: enable display warnning message\n\
		debug		: enable saving driver status into files\n

$I_TYPE_MSG
2001            "Running %s %s loopback test:\n"
$I_REG_VALUE
2002            "Reg 0x%x = 0x%04X;"


$ WARNING
$W_TESTSTOP
4000		"Due to the receive timeout, no further pkts will be transmitted"

$W_LIVESYSTEM
4002    	"%s is on a live network. Not to run netlbtest"  Recommended_Action(s): <Bring down with ifconfig command>

$W_INST
4003		"Can't set loopback mode on device %s." Probable_Cause(s): <There are more than one instances running on the same device.> <loopback test was killed without setting the driver back to normal.> Recommended_Action(s): <Reduce number of instances to 1 instance per device.> <If the problem persists, reset driver by modunload or reset the system.>

$W_NOLINK
4004		"Link is Down." Probable_Cause(s): <No loopback plug> <Bad loopback cable>"
		
$W_PKTDELAY
4005            "Packet delay: transmitted packet #%d, received packet #%d."  probable_Cause(s): <The system load is too heavy.> <Timeout value set too short for this system.> Recommended_Action(s): <Reduce number of concurrent tests.> <Increase timeout value to at least %d seconds.>


$ERROR

$E_RXTIMEOUT
6000   "timed out for receiving pkt number %d." Probable_Cause(s): <Device and/or Driver not configured properly.> <Device and/or Driver does not function properly.> Recommended_Action(s): <Configure device/driver as per requirements.> <Check or replace loopback cable.> <Run this test again with Debug_timeout enabled and check the driver status located at /var/opt/SUNWvts/logs/%s.netstat_XXXXXX> <If the problem persists, call your authorized Sun service provider.>

$E_NORECEIVE
6001	"Not receive any packets." Probable_Cause(s):<Loopback cable not connected.> <Faulty loopback cable.> <This device/driver does not support loopback operation.> Recommended_Action(s): <Check loopback cable.> <Make sure the driver version is correct.> <If the problem persists, call your authorized Sun service provider.>

$E_PKT
6002   "Data mismatch between transmitted and received pkt %d." Probable_Cause(s): <Link Loss.> <CRC Error.> <Alignment Error.> Recommended_Action(s): <If the frequency of errors is large, call your authorized Sun service provider.>

$E_NOLINK
6003    "Failed to get the link up. Probable_Cause(s): <Loopback cable not connected.> <Faulty loopback cable.> Recommended_Action(s): <Check and replace, if necessary, the loopback cable.> <If problem persists, call your authorized Sun service provider.>

$E_MISSPKT
6004    "Missed %d packet(s)%s: Transmitted %d pkts, received (correctly) %d pkts." Probable_Cause(s): <Unstable hardware.> Recommended_Action(s): <check the hardware> <Run this test with Debug_timeout enabled and check the driver status located at /var/opt/SUNWvts/logs/%s.netstat_XXXXXX> <If the problem persists, call your authorized Sun service provider.>



$ FATAL

$F_OPEN
8000   "Can't open device %s, errmsg = %s." Probable_Cause(s): <Wrong device name specified.> <Device not present.> Recommended_Action(s):<Check device name.> <Check for card.>

$F_NOMEM
8001    "Memory Allocation Failure." Probable_Cause(s): <System ran out of memory.> Recommended_Action(s): <Reduce the number of processes currently executing.> <Increase system memory.>

$F_ENXIO
8002    "No device found." Probable_Cause(s): <Wrong device name specified.> <Device is not installed.> Recommended_Action(s): <Check device name.> <Install device.>

$F_NOLINK
8003    "Failed to get the link up. Probable_Cause(s): <Loopback cable not connected.> <Faulty loopback cable.> Recommended_Action(s): <Check and replace, if necessary, the loopback cable.> <If problem persists, call your authorized Sun service provider.> 

$F_TXFAIL
8004    "Transmit failed, errmsg = %s." Probable_Cause(s): <STREAMS was unable to accept more data, perhaps due to insufficient STREAMS memory resources.> Recommended_Action(s): <Reduce the system load.>

$F_RXFAIL
8005    "Receive failed for pkt number %d, errmsg = %s." Recommended_Action(s): <Try again, if the problem persists, call your authorized Sun service provider.>

$F_ATTACH
8006	"Attach failed for device %s." Probable_Cause(s): <Wrong Instance number %s specified.> Recommended_Action(s): <Specify correct instance number.>

$F_BIND
8007	"DLPI bind failed for device %s." Probable_Cause(s): <Wrong Instance number %s specified.> Recommended_Action(s): <Specify correct instance number.>

$F_NO_LB
8008	"The device driver does not support loopback interface." Recommended_Action(s): <Check device driver SW version.> <Try again, if the problem persists, call your authorized Sun service provider.>

$F_TOMANYINST
8009		"Can't set loopback mode on device %s." Probable_Cause(s): <There are more than one instances running on the same device.> <loopback test was killed without setting the driver back to normal.> Recommended_Action(s): <Reduce number of instances to 1 instance per device.> <If the problem persists, reset driver by modunload or reset the system.>

$F_RXTIMEOUT
8010   "timed out for receiving pkt number %d." Probable_Cause(s): <Device and/or Driver not configured properly.> <Device and/or Driver does not function properly.> Recommended_Action(s): <Configure device/driver as per requirements.> <Check and/or replace loopback cable.> <Run this test again with Debug_timeout enabled and check the driver status located at /var/opt/SUNWvts/logs/%s.netstat_XXXXXX> <If the problem persists, call your authorized Sun service provider.>

$F_NORECEIVE
8011    "Not receive any packets." Probable_Cause(s):<Loopback cable not connected.> <Faulty loopback cable.> <This device/driver does not support loopback operation.> Recommended_Action(s): <Check loopback cable.> <Make sure the driver version is correct.> <If the problem persists, call your authorized Sun service provider.>

$ 
10001 "ethertest probe: Failed to open NETLBCONFFILE."

