
                                   GWSCAN 5.12

PROGRAM DESCRIPTION:

    GWSCAN 5.12 is a DOS based diagnostic hard drive utility that allows 
    you to test most Parallel ATA (PATA) and Serial ATA (SATA) hard 
    drives.  It also allows you to completely erase hard drives and in 
    some cases, repair hard drives.


TO RUN THE PROGRAM:

    BACK UP DATA:
    Before running GWSCAN to test a hard drive, it is recommended that you
    back up all data for all hard drives.  This utility may write to the 
    drive during the re-certification process.  As with all utilities that 
    write to a drive, it is recommended that you back up your data before 
    proceeding.

    CREATE BOOTABLE GWSCAN MEDIA:     
    The program may be run from a floppy drive, bootable USB flash drive, CD, 
    or other bootable media.  Select the appropriate media to use for your
    computer and follow the corresponding instructions in the Readme.txt 
    file for creating the media.  

    START THE PROGRAM: 
    To start the program, boot to the GWSCAN media.  If GWSCAN does not 
    automatically start, type GWSCAN at the command prompt.


TO TEST EACH DRIVE: 

    Pick the 'Select Drive' option to see a list of all drives 
    installed and the current status of each drive.

    For each drive that shows a status of 'DRIVE NOT TESTED', select
    the drive by using the up/down arrows until the desired drive
    is highlighted and hit ENTER, then return to the main menu to test
    the drive.

    Once the target drive is selected, choose either the Quick or 
    Extended Test Options.  The Quick Test option may not be available
    on older hard drives. If it is not available, then the program will
    give you the option to run the Extended Test.

    Depending if Quick or Extended test was selected, the 'Test' may take
    between 1 minute or several hours to complete (the test time will vary
    depending on the size and speed of the hard drive and the performance of
    the computer).

    At the end of the test a test result is displayed. Also, the status and
    code for all tested drives is always available by choosing the 'Select 
    Drive' option from the main menu.
      
    If errors are detected during a 'Test' option, you will be
    given the option to attempt to repair the errors.

    Use the 'Select Drive' and 'Quick Test' and 'Extended Test' options 
    to select, test, and repair each drive until all drives have been
    tested.

    Select QUIT from the main menu to quit the program. At this point 
    a message will inform you that the system should be reset to 
    reinitialize the BIOS and hard drive(s). Press CTRL-ALT-DELETE or
    turn the power off to restart the system.

    When rebooting, remove the GWSCAN media so the system boots to the
    hard drive.


TO CONTACT TECHNICAL SUPPORT:

    Consult your system manual for contact information.


MAIN MENU OPTIONS:

    Select Drive           Allows you to select hard drives drive and view 
			   status for all drives.  This option is used if 
			   the computer has multiple hard drives installed 
			   and a certain drive needs to be tested.  

    Check Smart Status     Checks the Self-Monitoring Analysis and Reporting 
			   Technology (SMART) status of the hard drive.  

    Quick Test             Performs a 1-2 minute 'intelligent' test of the 
			   selected drive.  The Quick Test can determine with
			   a high level of confidence that a drive is defect-
			   free in a short amount of time.  For maximum 
			   confidence, the Extended Test is recommended.

    Extended Test          Performs a detailed scan of the selected drive.  
			   The test time will vary depending on the size 
			   and speed of the hard drive.  The performance 
			   of the computer also affects the test time.  For
			   example, a 160GB hard drive may take over an hour
			   and a 500GB hdd may take over 2 hours to complete 
			   the test.

    Write Zeros To Drive   Writes zeros to the hard drive.  Full Erase and
			   Quick Erase options are available.
			   	* Full Erase  - GWSCAN writes zeros to the 
						drive, erasing the data in 
						each sector of the hard drive.
				* Quick Erase - GWSCAN writes zeros to the 
						drive, erasing the data in 
						the first and last million 
						sectors of the hard drive.

    View Test Results      Display results for last drive tested.

    Print Test Results     Prints results for last drive tested.  This option
			   is not supported.

    Log File Open/Close    Stores results for all drives tested in GWSCAN.LOG.  
			   This option is not supported.

    Help                   Displays the GWSCAN help file (GWSCAN.TXT).

    Quit                   Exits GWSCAN


ERROR/STATUS CODES:

DESCRIPTION                  CODE

COMPLETED WITHOUT ERRORS      0
ABORTED BY HOST               1
INTERRUPTED BY DRIVE RESET    2     
INCOMPLETE DUE TO ERROR       3
UNKNOWN ELEMENT FAILURE       4
ELECTRICAL ELEMENT FAILURE    5
SERVO/SEEK ELEMENT FAILURE    6
READ ELEMENT FAILURE          7
HANDLING FAILURE              8
UNKNOWN TEST STATUS           9
UNKNOWN TEST STATUS           10
UNKNOWN TEST STATUS           11
UNKNOWN TEST STATUS           12
UNKNOWN TEST STATUS           13
UNKNOWN TEST STATUS           14
TEST IN PROGRESS              15
ERRORS FOUND                  100
UNKNOWN ERROR                 101
SEEK TIMEOUT                  102
WRITE FAULT ERROR             103
DRIVE NOT READY               104
BUSY GLITCH                   105
TRACK 0 ERROR                 106
CHECK SUM ERROR               107
SEEK NOT COMPLETE             108
DRQ WAS SET                   109
DRQ NOT EXPECTED              110
DIAG COMMAND ERROR            111
IRQ TIMEOUT                   112
DRIVE TABLE ERROR             113
TRANSFER RATE ERROR           114
ICRC ERROR                    115
IDNF ERROR                    116
UNCORRECTABLE ECC ERROR       117
DAM ERROR                     118
NO MULTI                      119
NO DRIVE FOUND                120
SERVO ERROR                   121
UNKNOWN ERROR                 122
UNKNOWN ERROR                 123
CORRECTED DATA                124
BAD TRACK                     125
UNKNOWN ERROR                 126
UNKNOWN ERROR                 127
BUFFER MISCOMPARE             128
G-LIST ERROR                  129
INVALID SERIAL                130
SERIAL RETRY                  131
COMMAND ERROR                 132
ILLEGAL ID                    133
BUSY TIMEOUT                  134
DRQ TIMEOUT                   135
BAD SECTOR                    136
RELOCATED SECTOR              137
STILL BUSY TIMEOUT            138
DRQ NOT EXPECTED              139
DRQ TIMEOUT ECC               140
UNKNOWN ERROR                 141
TK-TK SEEK ERROR              142
RANDOM SEEK ERROR             143
THIRD STROKE ERROR            144
FULL STROKE ERROR             145
SEEK OVERHEAD ERROR           146
BAD ID PARAMETERS             147
NOT SELECTED                  148
MASTER SLAVE ERROR            149
UNKNOWN ERROR                 150
PARK ERROR                    151
WRITE PROTECT ERROR           152
MEDIA ERROR                   153
MEDIA CHANGE ERROR            154
MEDIA CHANGE REQ ERROR        155
NO MEDIA ERROR                156
SET MAX ERROR                 157
Q DMA SERVICE ERROR           158
SMART ERROR                   159
UNKNOWN COMMAND               160
RESET SIGNATURE               161
READY EXPECTED                162
UNKNOWN ERROR                 163
DRIVE NOT TESTED              200
NON-WD DRIVE                  201
DRIVE NOT SUPPORTED           202
WRITE LOG ERROR               203
MISSING LOG FILE              204
ABORTED BY USER               205
MEMORY ALLOCATION ERROR       206
CRITICAL RESOURCE ERROR       207
FATAL ERROR                   208
SELF TEST FAILED TO RUN       209
SELF TEST INCOMPLETE          210
2-9 UNCORR ECC ERRORS         211
10+ UNCORR ECC ERRORS         212
2-9 DAM ERRORS                213
10+ DAM ERRORS                214
2-9 IDNF ERRORS               215
10+ IDNF ERRORS               216
2-9 SERVO ERRORS              217
10+ SERVO ERRORS              218
DRIVE CABLE ERROR             219
DRIVE IS LOCKED               220
TEST NOT SUPPORTED            221
DRIVE FAILED THE TEST         222
ERRORS REPAIRED               223
ERRORS NOT REPAIRED           224
TOO MANY ERRORS FOUND         225
SECTOR RELOCATION ERROR       226
SMART NOT SUPPORTED           227


CHNAGE HISTORY:
5.12:
   -Re-compiled with DT32 library v093 to support additional controllers.

5.11:
   -Re-compiled with DT32 library v088 to support additional controllers.

5.10:
   -Removed GetHardwareInfo function for non-WD drive

5.09c:
   -Re-compiled with DT32 library v075 to support single SATA slave configuration

5.09b:
   -Recompliled with DT32 library v074 to support ICH6	

5.09a:
   -Recompliled with DT32 library v071	

5.09:
   -Ignored ProcessTare result if RBB format is not supported
   -Removed SMARTPassthru AC3 funtion for VSC/SOC base drive like Mammoth
   -Set DRQTimeout to 10 ms for SmartRdLog function on Mammoth

5.08:
   -Removed IOReadyOn for SATA to avoid lockup on VIA w/ SATA
   -Used PutText instead of printf in ShowCtrlrAndDriveInfo
   -Compiled with DT32 0x5A
   -Appended WriteZero status to smart log

5.07:
   - Re-Compiled with latest dt32 library to support Intel ICH5 with BIOS RAID setting enabled

5.06:
   - Compiled with dt32 v054 library to support Intel ICH5

5.05:
   - Fixed "-dn" problem for PCI controller

5.04:
   - Changed polling cycle to ~10 seconds

5.03:
   - Added check for HPA and write zeros up to HPA only

5.02:
   - Added support for non-WD drives
   - Displayed Primary/Secondary Master/Slave for drive information
   - Changed .cs1 log from overwrite to append
   - Added change to display correct DCM and FTS strings
   - Changed Quick Erase switch from -F to -FWRITE

5.01:
   -Added D? switch to show controller and drive information.
   -Changed O switch option to allow log files to be saved on A:, B: and other drives.
   -Added detection for single slave configuration
   -Returned status/error codes to DOS.
