SunVTS 2.0.1 Test Supplement
검색에만이 책은
PDF로 이 문서 다운로드

Environmental Test (envtest)

3

envtest exercises devices on the I2C bus that are used to control the systems operating environment. The envtest is comprised of five subtests which 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

그래픽

Figure 3-1 envtest

Table 3-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 Offline mode.
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 and checks to see if the remaining fanbanks have been set to high. 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 Offline mode.
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 Offline mode.
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
Status
Identifies 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 all three testing modes: connectivity, online, and offline.
Table 3-2 envtest
Test ModeDescription
Connectivity ModeReports the status of the power supplies, the temperature sensors within the system, and verifies normal operating parameters
Online ModeUses the same functionality as Connectivity mode (above)
Offline ModeTests the disk back panel, front panel LEDs, and fan control circuitry. Also uses the same functionality as Online mode and Connectivity mode.

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,env_mon=interval
Table 3-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
env_mon=IntervalDisplays all environmental statistics, does not test.

envtest Error Messages

Table 3-4 envtest
Error MessageProbable Cause(s)Recommended Action
8000Unable to open driver
<driver name>: <sys error
Device name is wrong or driver is
not loaded
Check the device name (if entered)
or load driver.

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 structure> inenvtest module not foundCheck revision and reload envctrl driver.
<kstat module>
No kernel resource available
Consult /var/adm/messages file
System software error
for more information.
8003kstat_read failed <envtest
structure> in <kstat
envtest module not foundCheck revision /reload envctrl
driver.
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 <speed>:
Fan hardware failureManually check the fan speed and
replace the fan.

<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 3-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 did notHardware failureReplace the hardware.

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

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.
8020Unable to reset front panel LEDs to original stateSystem software errorConsult the /var/adm/messages file for more information.
Table 3-4 envtest(Continued)
Error MessageProbable Cause(s)Recommended Action
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: ioctlenvctrl hardware error

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 retrieve powerI2C hardware failureReplace power supply.

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.