SunVTS 2.1 Test Reference Manual
  Procure somente este livro
Fazer download desta apostila em PDF
CHAPTER 12

Environmental Test (envtest)


envtest exercises the I2C bus on the Ultra(TM) 4, Ultra Enterprise(TM) 200, and Ultra Enterprise 400 product lines. Five subtests are in envtest to test and report on the power supply status, system temperature status, fan speed, disk LEDs, and front panel and keyswitch. envtest is not scalable.

envtest Options

Gráfico

FIGURE 12-1 envtest

TABLE 12-1 envtest
envtest OptionsDescription
Disk LEDs TestIlluminates each LED on the disk backplane(s) to green, then amber, and then back to its original state. The test then illuminates all disk LEDs to green, then amber, and then back to their original state. This test is only enabled in Functional test.
Fan TestCycles each fanbank speed to low, medium, and high, then verifies the correct speed. Next, each fanbank is stopped, one at a time. The test then verifies that a fan fault has occurred. Next, the watchdog timer is invoked to simulate a catastrophic failure. The test verifies that the system set all fanbanks to high and then resets the fan speed to normal. This test is only enabled in Functional test.
Front Panel and Keyswitch TestFlashes each individual LED on the front panel to ON (green or amber), then OFF, and then back to its original state. The test then illuminates all front panel LEDs then sets them back to their original state. The power on LED is Read Only and will not be cycled. The test then displays the current keyswitch position. This test is only enabled in Functional test.
Power Supply StatusIdentifies the number of power supplies that are in the system, the state of each power supply, and verifies that the power supply temperatures are within normal operating parameters. This test is enabled in all modes.
Temperature StatusIdentifies the current temperature of each CPU in the system, the ambient temperature of the system, and verifies that all temperatures are within normal operating parameters. This test is enabled in all modes.

envtest Test Modes

envtest supports Connection and Functional tests.
TABLE 12-2 envtest
Test ModeDescription
Connection TestReports the status of the power supplies, the temperature sensors within the system, and verifies normal operating parameters
Functional TestTests the disk back panel, front panel LEDs, and fan control circuitry. Also uses the same functionality as Online mode and connection test

If you invoke SunVTS through SyMON, the following Functional Test description applies: Uses the same functionality as connection test (above)


envtest Command Line Syntax

/opt/SUNWvts/bin/envtest [standard arguments] [-o
dev=device name,diskleds=E/D,fans=E/D,fpanel=E/D,
psupply=E/D,temp=E/D

TABLE 12-3 envtest
ArgumentExplanation
dev=raw_device_nameSpecifies the name of the raw device to test
diskleds=enable|disableEnables or disables diskleds test
fans=enable|disableEnables or disables fans test
fpanel=enable|disableEnables or disables front panel test
psupply=enable|disableEnables or disables power supply test
temp=enable|disableEnables or disables temperature test
Table 12-4 envtest
Error MessageProbable Cause(s)Recommended Action
8000Unable to open driver
<driver name>: <sys
Device name is wrong or
driver is not loaded
Check the device name (if entered)
or load driver.

error msg>



Device busyKill all other processes accessing driver.
8001    kstat_open failed

No kernel resource available Consult /var/adm/messages file
System software error
for more information.
8002kstat_lookup failed
for <envtest
envtest module not found Check revision and reload
envctrl driver.
structure> in <kstat
No kernel resource available
Consult /var/adm/messages file
System software error
for more information.
8003kstat_read failed <envtest structure>envtest module not found Check revision /reload envctrl driver.
in <kstat module>
No kernel resource available
Consult the /var/adm/messages
System software error
file for more information.
8004    Unable to close kstat

No kernel resource available Consult the /var/adm/messages
System software error
file for more information.
8005Unable to set mode to DIAG using ioctl.: <sys error msg>System software errorConsult the /var/adm/messages file for more information.
8006Unable to set disk LEDs: <sys error msg>System software errorConsult the /var/adm/messages file for more information.
8007Unable to get disk LEDs: <sys error msg>System software errorConsult the /var/adm/messages file for more information.
8008Unable to set <fan
type> fan speed to
Fan hardware failureManually check the fan speed and
replace the fan.

<speed>:

<sys error msg>

System software errorConsult the /var/adm/messages file for more information.
8009Unable to get <fan type> fan speed: <sys error msg>System software errorConsult the /var/adm/messages file for more information.
Table 12-4 envtest(Continued)
Error MessageProbable Cause(s)Recommended Action
8010<fan type> fan speed
<speed> out of range
Fan hardware failureManually check the fan speed and
replace the fan.


System software errorConsult the /var/adm/messages file for more information.
8011Forced fan fault didHardware failureReplace the hardware.

not occur for <fan
type> fanbank
System software errorConsult the /var/adm/messages
file for more information.
8012Forced fan fault didHardware failureReplace the hardware.
not clear for <fan
System over temperature
Consult the /var/adm/messages
System software error
file for more information.
8013Unable to setHardware failureReplace the hardware.

watchdog timer


System software errorConsult the /var/adm/messages file for more information.
8014Unable to set temperature to <temperature>System software errorConsult the /var/adm/messages file for more information.
8015Power Supply <supply> has failed: Limit <0=PASS|1=FAIL> Current Share <0=PASS|1=FAIL> Temperature <temperature>Power supply hardware failureReplace the power supply.
8016Unable to allocate memory using malloc. : <sys error msg>System software errorConsult the /var/adm/messages file for more information.
8017Unable to set mode to NORMAL using ioctl. : <sys error msg>System software errorConsult the /var/adm/messages file for more information.
8018Error encountered during call to <function name>

8019Unable to set front panel LEDs using ioctl.: <sys error msg>System software errorConsult the /var/adm/messages file for more information.
Table 12-4 envtest(Continued)
Error MessageProbable Cause(s)Recommended Action
8020Unable to reset front panel LEDs to original stateSystem software errorConsult the /var/adm/messages file for more information.
8021Unable to set front panel LEDs to <led mask>System software errorConsult the /var/adm/messages file for more information.
8022Ambient temperature <temperature> Celsius out of rangeenvctrl hardware error
8023CPU <CPU #> temperature <temperature> Celsius out of rangeenvctrl hardware error
8024Data Miscompare:envctrl hardware error

ioctl diskled mask =
<diskled mask> kstat
diskled mask =
<diskled mask>
System software errorConsult the /var/adm/messages
file for more information.
8025Illegal options
passed to envtest
<option>
User errorCheck usage by typing
envtest -u.
8026Unable to retrieveI2C hardware failureReplace power supply.

power supply
information.
I2C bus wedgedCheck for other I2C devices that
may be corrupting the I2C bus.
8027Power Supply Over Temperature: PS Slot <slot> PS Temperature <temperature>.Bad Power SupplyReplace Power Supply.