Running the Ethernet FCode SelftestDiagnosticRunning the Ethernet FCode SelftestDiagnostic
Torun the ethernet diagnostics, you must first bring the system to a stop at the
OpenBoot prompt after issuing a reset. Ifyou do not reset the system, the diagnostic
tests may cause the system to hang.
For more information about the OpenBoot commands in this section, refer to the
OpenBoot 3.x Command Reference manual.
1. Shut down the system.
Use the standard shut down proceduresdescribed in Solaris 2.x Handbook for
SMCC Peripherals.
2. At the ok prompt, set the auto-boot? configuration variable to false.
ok setenv auto-boot? false
3. Reset the system.
ok reset-all
4. Type show-devs to display the list of devices.
Youshould see lines in the list of devices, similar to the example below, specific
to the Sun Quad FastEthernet PCI adapter:
ok show-devs
...
/pci@1f,2000/pci@2/SUNW,qfe@0,1
/pci@1f,2000/pci@2/SUNW,qfe@1,1
/pci@1f,2000/pci@2/SUNW,qfe@2,1
/pci@1f,2000/pci@2/SUNW,qfe@3,1
...
In this example, the SUNW,qfe@x,1 entries identify the device paths to the four
Ethernet channels.
5. Type the following to put the OpenBoot PROM into diagnostic mode:
ok setenv diag-switch? true
6. Type the following to run the selftest using the test command on one of the
adapters four Ethernet channels:
ok test <device path>
42 Sun Quad FastEthernet PCIAdapter Installationand User’s Guide Revision A, August 1997