m64test tests the PCI-based M64 video board by performing the following subtests:
Video Memory test
RAMDAC test
Accelerator Port test
DO NOT run any other application or screen saver program that uses the Pineapple accelerator port while running m64test. Do not run power management software. These programs cause SunVTS to return incorrect errors.
Disable all screen savers before testing any graphics device. Type xset s off at a UNIX prompt to disable the Solaris screen saver. Disable power management software if it is running.
DO NOT run Open Windows across multiple monitors.
To start SunVTS with vtsui, but without vtsk, you must add the host name to xhost as: xhost + hostname.
By default, all options are enabled except frame buffer locking.
Due to the nature of graphic tests, reading from or writing to the frame buffer during graphic tests will disturb user operation. This test is only available in the Functional Test mode.
Table 20-2 m64test Test Mode
Test Mode |
Description |
---|---|
Functional Test |
The m64test verifies the M64 video board. |
/opt/SUNWvts/bin/m64test standard_arguments -o dev=device_name, S=subtest_number,F=#_of_subtest_loops,B=#_of_test_loops,L=disable,P=test_pattern
Table 20-3 m64test Command Line Syntax
Argument |
Explanation |
---|---|
dev=device_name |
device_name is the relative path name of the device being tested with respect to /dev/fbs; The default is m640. |
S=subtest_number |
subtest_number is the test number of the subtest to be run. Select from the subtests below. You can run multiple subtests by adding the subtest numbers. For example, n=0x00003 runs both test 00001 and test 00002; n=0x00005 runs both test 0x00001 and test 0x00004. Note that you do not need the leading zeros. n - 0x00001 VRAM n - 0x00002 RAMDAC n - 0x00004 Accelerator port test (Rendering Pipeline) More than one test can be selected by ORing subtest numbers. For example: n = 0x00005 means VRAM and Rendering Pipeline tests. A hex number must be preceded by 0x, decimal numbers are also acceptable. |
F=#_of_subtest_loops |
Specifies the number of times to repeat each subtest; the default is 1. |
B=#_of_test_loops |
Specifies the number of times to repeat a test loop before passing; default is 1. |
L=disable |
Disables the frame buffer lock.Disable the lock when the m64 is not the console or when the server is not running on the m64 under test. |
P=test_pattern |
Specifies the test pattern number. The default is r, for random patterns. You may also choose 0 for 0x0000000, 3 for 0x3333333, 5 for 0x5555555, or 9 for 0x9999999. |
64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname. If a test is not present in this directory, then it may only be available as a 32-bit test. For more information refer to "32-Bit and 64-Bit Tests".
Errors returned by m64test are nonspecific. It is not possible to determine which component caused a failure. In all error conditions, the field replaceable unit (FRU) is the entire M64 video board. The errors messages are listed below, along with probable causes and recommended actions.
Table 20-4 m64test Error Messages
|
Error Message |
Probable Cause(s) |
Recommended Action |
---|---|---|---|
6000 |
Out of memory |
System error. |
If problem persists, call your authorized Sun service provider. |
6002 |
string error: Misaligned raster. |
Software error. |
If problem persists, call your authorized Sun service provider. |
6003 |
Unable to open string. |
Device not present. |
Check for device presence. |
Device failure. |
Replace device. |
||
Permission restrictions. |
Check device permissions. |
||
6004 |
ioctl(2) Error in loading the Frame Buffer structure fbtype. |
IOCTL call to driver failure. |
Try replacing device.
Call your authorized Sun service provider. |
Device failure. |
|||
6005 |
ioctl(2) Error in loading the Original Color Map Values. |
IOCTL call to driver failure. |
Try replacing device.
Call your authorized Sun service provider. |
Device failure. |
|||
6006 |
ioctl(2) Error in Setting the Cursor Values. |
IOCTL call to driver failure. |
Try replacing device.
Call your authorized Sun service provider. |
Device failure. |
|||
6007 |
ioctl(2) Error in loading the GXInfo Structure fbtype. |
IOCTL call to driver failure. |
Try replacing device.
Call your authorized Sun service provider. |
Device failure. |
|||
6008 |
string (1-byte access) error: x/y (data) Expected 0x%02x, Actual 0x%0 2x, Xor 0x%02x. |
Device failure. |
Replace device.
Call your authorized Sun service provider. |
6009 |
string (2-byte access) error: x/y (data,data) Expected 0x%04x, Actual 0x%0 4x, Xor 0x%04x. |
Device failure. |
Replace device.
Call your authorized Sun service provider |
6010 |
string (4-byte access) error: x/y (data,data) Expected 0x%08x, Actual 0x%0 8x, Xor 0x%08x. |
Device failure |
Replace device.
Call your authorized Sun service provider. |
6011 |
string (8-byte access) error: x/y (data,data) Expected 0x%08x, Actual 0x%0 8x, Xor 0x%08x. |
Device failure |
Replace device.
Call your authorized Sun service provider. |
6012 |
string (64-byte access) error: x/y (data,data) Expected 0x%08x, Actual 0x% 08x, Xor 0x%08x. |
Device failure. |
Replace device.
Call your authorized Sun service provider. |
6013 |
Error in Allocating Memory mmap call Failure. |
System error. |
If problem persists, call your authorized Sun service provider. |
6014 |
Error in DeAllocating Memory unmap call Failure. |
System error. |
If problem persists, call your authorized Sun service provider. |
6015 |
ioctl(2) failed trying to turn on M64 video. |
IOCTL call to driver failure. |
Replace device.
Call your authorized Sun service provider. |
Device failure. |
|||
6016 |
ioctl(2) failed trying to post CLUT. |
IOCTL call to driver failure. |
Replace device.
Call your authorized Sun service provider. |
Device failure. |
|
||
6017 |
ioctl(2) failed trying to read CLUT. |
IOCTL call to driver failure. |
Replace device.
Call your authorized Sun service provider. |
Device failure. |
|||
6018 |
Miscompare found in Red channel of CLUT entry data. Expected 0x%02x, Ob served 0x%02x, XOR 0x%02x. |
RAMDAC failure. |
Replace device.
Call your authorized Sun service provider. |
Device failure. |
|||
6019 |
Miscompare found in Green channel of CLUT entry data. Expected 0x%02x, Observed 0x%02x, XOR 0x%02x. |
RAMDAC failure |
Replace device.
Call your authorized Sun service provider. |
Device failure |
|||
6020 |
Miscompare found in Blue channel of CLUT entry data. Expected 0x%02x, O served 0x%02x, XOR 0x%02x. |
RAMDAC failure. |
Replace device.
Call your authorized Sun service provider. |
Device failure |
|||
6021 |
RAMDAC test screen CRC signature error message. Monitor type data, Cursor Position data, Expected Signature 0xvalue, Actual Signature 0xvalue |
Device failure. |
Call your authorized Sun service provider. |
6022 |
sysinfo(2) failed getting hostname. |
No system permissions. |
Become superuser.
If problem persists, call your authorized Sun service provider. |
6023 |
Can't acquire console semaphore |
System error. |
If problem persists, call your authorized Sun service provider. |
6024 |
Cannot gain control of mouse:string |
System error. |
If problem persists, call your authorized Sun service provider. |
6025 |
Cannot gain control of keyboard:string |
System error. |
If problem persists, call your authorized Sun service provider. |
6026 |
Already grabbed by another client |
|
Try stopping other similar actions. If problem persists, call your authorized Sun service provider. |
6027 |
grabbed at invalid time |
System error. |
If problem persists, call your authorized Sun service provider. |
6028 |
grab window is not viewable |
|
If problem persists, call your authorized Sun service provider. |
6029 |
pointer/keyboard is frozen |
|
If problem persists, call your authorized Sun service provider. |
6030 |
Unknown cause |
|
If problem persists, all your authorized Sun service provider. |
6031 |
ioctl(2) failed trying to get current video mode. |
IOCTL call to driver failure |
Replace device.
Call your authorized Sun service provider. |
Device failure. |
|||
6032 |
ioctl(2) failed trying to set current video mode. |
IOCTL call to driver failure. |
Replace device.
Call your authorized Sun service provider. |
Device failure. |
|||
6033 |
ioctl(2) failed trying to get M64 system info. |
IOCTL call to driver failure. |
Replace device.
Call your authorized Sun service provider. |
Device failure. |
|||
6034 |
mmap(2) failed:string. |
System error. |
If problem persists, all your authorized Sun service provider. |
6035 |
munmap(2) failed:string. |
System error |
If problem persists, all your authorized Sun service provider. |
6036 |
close(2) failed:string. |
System error. |
If problem persists, all your authorized Sun service provider. |
6045 |
Can't access X Windows |
Permission denial from Host. |
Run xhost(1).
If X server is not running, run X server.
If problem persists, all your authorized Sun service provider. |
System error. |
|||
X Server is not running. |
|||
6046 |
wait(2) failed:string |
System error. |
If problem persists, all your authorized Sun service provider. |
6047 |
signal(2) failed:string |
System error. |
If problem persists, all your authorized Sun service provider. |
6048 |
ioctl(2) Error in vertical retrace test. |
IOCTL call to driver failure. |
Replace device.
Call your authorized Sun service provider. |
Device failure. |
|||
6049 |
Can't open display |
Permission denial from Host. |
Run xhost(1).
If X server is not running, run X server.
If problem persists, call your authorized Sun service provider. |
System error. |
|||
X Server is not running. |
|||
6050 |
m64 open file failed Could not open the signature file string: string |
No file permission or file does not exist. |
Check the file permissions.
If problem persists, call your authorized Sun service provider. |
6051 |
m64 FTRUNCATE failed in checker. Accelerator could not extend or truncate the signature file. |
Insufficient disk space. |
Create more space by deleting unnecessary files.
If problem persists, call your authorized Sun service provider. |
6052 |
m64 close failed in checker. Accelerator could not close signature file. |
System error. |
If problem persists, call your authorized Sun service provider.
|
6053 |
m64 check error in checker |
Device failure. |
Replace device.
If problem persists, call your authorized Sun service provider. |
6054 |
m64 ROP test failed |
Device failure. |
Replace device.
If problem persists, call your authorized Sun service provider. |
6055 |
m64 IOCTL fails FBIOPUTCMAP Error while putting color map. |
Device failure. |
Check software installation.
Replace device.
If problem persists, call your authorized Sun service provider. |
6056 |
m64 IOCTL fail FBIOGETCMAP. Error while getting color map. IOCTL call to deriver failure |
Device failure. |
Check software installation.
Replace device.
If problem persists, call your authorized Sun service provider. |
6057 |
Internal error Mon XLATOR Internal error occurred while translating monitor type to index into signature file |
Monitor types are modified. |
If problem persists, call your authorized Sun service provider. |