home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / HARDWARE / WDUSRDGS.ZIP / USERDIAG.DOC next >
Encoding:
Text File  |  1989-03-14  |  10.3 KB  |  300 lines

  1.     
  2.  
  3.  
  4.                              USER DOCUMENTATION
  5.     
  6.                       WESTERN DIGITAL USER DIAGNOSTICS
  7.     
  8.     
  9.        This document is intended to accompany the utility USERDIAG.EXE
  10.        placed on this bulletin board for your convenience.
  11.     
  12.        The utility is a safe, non-destructive way for your customer
  13.        (or your self) to verify the configuration of your AT
  14.        compatible computer, and to specifically test the hard drive/
  15.        controller subsystem.
  16.     
  17.        Upon loading the program, the low-order ram pointer bytes are
  18.        presented to the screen. The machine's power-on self tests
  19.        test installed peripherals, and if valid ones exsist, the
  20.        tables are updated.
  21.     
  22.     
  23.        NOTE : THIS UTILITY DOES NOT PERFORM THE SETUP OR FORMAT
  24.               FUNCTIONS. THESE FUNCTIONS MUST BE PERFORMED BY
  25.               THE MACHINE'S MANUFACTURER-SUPPLIED SETUP AND
  26.               FORMAT UTILITIES. IN THE EVENT A FORMATTER IS
  27.               REQUIRED, WE SUGGEST THE OBTAINING OF THE WD
  28.               UTILITY WDFMT.
  29.     
  30.     
  31.        A sample of the start-up screen follows:
  32.     
  33.     
  34.     
  35.     System contains the following :
  36.     
  37.      640K bytes of RAM
  38.      2 Floppy disk drive(s)
  39.      1 Parallel printer port(s)
  40.      2 Asynchronous serial port(s)
  41.      1 Hard disk drive(s) of the following configuration(s) ...
  42.     
  43.     Drive    Cylinders    Heads    Precomp cyl    Landing zone    Sectors/track
  44.     
  45.      0          820        10         65535           820              17
  46.     
  47.     Total formatted capacity of drive  0  is  71,372,800 bytes
  48.     
  49.     If the above information is not correct, run your system's setup utility
  50.     
  51.     The following diagnostic will use the configuration information above 
  52.     
  53.     Do you want to do a hard drive / controller diagnostic ( y / n) ??
  54.     
  55.     
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.     
  63.     
  64.  
  65.  
  66.     
  67.        Note that the total count for all devices, as well as the
  68.        physical capacity of the hard drive is indicated. The useable
  69.        capacity is somewhat less, due to the partitioning method
  70.        that DOS uses.
  71.     
  72.        You can proceed to the controller/drive diagnostic by typing
  73.        'y' now. No return is necessary.
  74.     
  75.        The disk diagnostic is useful for a problem installation,
  76.        or to verify absolute disk addresses in the event of a disk
  77.        error later.
  78.     
  79.        The user can directly enter any cylinder, sector, or head
  80.        he desires to test. The drive number can also be selected
  81.        if TWO drives are present. The amount of sectors to test
  82.        (sector count) is valid only for a (R)ead operation. If
  83.        no value is entered for any parameter, the program
  84.        automatically chooses:
  85.     
  86.                drive        =   0
  87.                cylinder     =   0
  88.                head         =   0
  89.                sector no.   =   1
  90.                sector count =   256
  91.                command      =   re(Z)ero
  92.     
  93.        The currently supported commands are :
  94.     
  95.                re(Z)ero ....... recalibrates drive to cylinder 0
  96.     
  97.                (S)eek   ....... positions drive to any cylinder
  98.     
  99.                (R)ead   ....... transfers data from drive starting
  100.                                 at location chosen, and continues
  101.                                 for duration of sector count
  102.     
  103.                (W)rite / read . transfers a random pattern of
  104.                                 data to the drive, then reads
  105.                                 it back, and checks for errors.
  106.                                 THIS IS DONE ONLY AT THE LAST
  107.                                 SECTOR OF THE DRIVE. YOU CANNOT
  108.                                 CHANGE THE LOCATION.
  109.     
  110.                (A)ll .......... each of the preceeding commands
  111.                                 done in order. Any error will
  112.                                 terminate the sequence, and you
  113.                                 have the option of trying a
  114.                                 single command.
  115.     
  116.     
  117.  
  118.  
  119.  
  120.  
  121.  
  122.     
  123.     
  124.  
  125.  
  126.  
  127.        As you may notice, the sector number, sector count, and
  128.        head number have no bearing on re(Z)ero and (S)eek
  129.        commands.
  130.     
  131.        IMPORTANT NOTE : Illegal disk addresses have been screened
  132.                         for, and the following is how the program
  133.                         handles them.
  134.     
  135.        ILLEGAL SECTOR NUMBER : results when sector 0 or a sector number
  136.                                greater than the actual sector per track
  137.                                count is selected. Sector 0 is fixed
  138.                                to 1, and the sector per track value
  139.                                from the system BIOS is the maximum.
  140.     
  141.        ILLEGAL HEAD NUMBER   : results when a head number greater
  142.                                than ONE LESS THAN THE BIOS VALUE
  143.                    is selected. Head (<0) is fixed to 0
  144.                                and head numbers are truncated at
  145.                                one less than the BIOS value.
  146.     
  147.        ILLEGAL CYLINDER NO.  : results when a cylinder number less
  148.                                than zero or greater than ONE LESS
  149.                                than the BIOS table. Handled exactly
  150.                                like the heads, above. Can also
  151.                                result when a read operation will
  152.                                span many cylinders. The actual
  153.                                cylinder entered is tested against
  154.                                the selected value PLUS the sector
  155.                                count divided by the number of sectors
  156.                                in a cylinder PLUS 1. If the result
  157.                    would be greater, than the max cylinder
  158.                    count of the drive, the difference is
  159.                    truncated.
  160.     
  161.        ILLEGAL SECTOR COUNT .. results when less than zero or
  162.                                greater than 255 is entered. The
  163.                                program makes 0 equal 256, and
  164.                                <0 equal 1.
  165.     
  166.        A sample session follows:
  167.     
  168.     
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.     
  187.     
  188.  
  189.  
  190.  
  191.      Drive 0 selected automatically
  192.      Select a cylinder between         0  and     819   ? 819
  193.      Select a head (surface) between     0  and       9   ? 9
  194.      Select a starting sector between     1  and      17   ? 1
  195.      Select a number of sectors between  1  and     256   ? 17
  196.      The following commands are available :
  197.  
  198.       re(Z)ero,  (S)eek,  (R)ead,  (W)rite/read verify,  (A)ll
  199.  
  200.         ENTER YOUR OPTION       :      ? a
  201.  
  202.      Now issuing the rezero (recal) command ......... command successful !
  203.      Now issuing the seek command ................... command successful !
  204.      Now issuing the read command ................... command successful !
  205.  
  206.      For your protection, this part of our show will only do the LAST SECTOR
  207.      That will be ... cylinder     819  , head   9  , sector   17
  208.  
  209.      Now issuing the write command .................. command successful !
  210.      Now issuing the read command to compare data ... command successful !
  211.      Now comparing data ............................. data compared O.K. !
  212.  
  213.      Want another test    ( y / n )       ?
  214.  
  215.     
  216.     
  217.     
  218.        IMPORTANT NOTE : In the event of an error, the status and
  219.                         error registers are presented to the screen.
  220.                         An English interpretation of the HIGHEST
  221.                         PRIORITY ERROR will follow. If there is a
  222.                         real problem, such as an XT controller
  223.                         installed in the system, or a timeout error
  224.                         that "hangs" the controller, the status
  225.                         and error register values may be the same.
  226.                         The sector count, head number, and cylinder
  227.                         number are also displayed.
  228.     
  229.             Possible error codes listed below:
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.     
  237.     
  238.  
  239.  
  240.     
  241.                POSSIBLE ERROR CODES :
  242.     
  243.     
  244.        ERROR                   PROBABLE CAUSE
  245.     
  246.        DRIVE NOT READY         Improper drive select option on drive.
  247.        TRACK 0 ERROR           Drive not up to speed, or no seek
  248.                    complete signal received. Cable fault.
  249.                    Power the machine off and re-verify
  250.                    drive select option and cable connections.
  251.  
  252.        WRITE FAULT FROM DRIVE  Improper drive type selected in SETUP.
  253.                                Above maximum cylinder number or head
  254.                    number was selected. Verify the drive
  255.                    type selected in SETUP.
  256.  
  257.        CONTROLLER STAYED BUSY  No index signal was present from the
  258.        INDEX STAYED ACTIVE     drive. If this signal is missing, the
  259.                                controller will wait forever if a
  260.                                (R)ead command is selected. Power the
  261.                                machine off and re-verify drive select
  262.                                option and cable connections.
  263.     
  264.        DRQ FAILURE             The controller either still has data
  265.                                that was unread or is waiting for
  266.                                data to write. If this persists, the
  267.                                controller is probably defective.
  268.     
  269.        BAD BLOCK ON DRIVE      These are either unreadable or marked as
  270.        DATA CORRECTED ON       bad at format time. BE SURE THESE AREAS
  271.        DRIVE               ARE NOT USED. Use a format utility (WDFMT)
  272.        UNCORRECTABLE DATA      and enter these areas as bad. If the
  273.        ERROR               disk contains data, try to relocate the
  274.        ID FIELD (address)      cluster that contains this area using a
  275.        NOT FOUND           DOS disk utility. Verify that the drive
  276.                    type selected in SETUP matches the actual
  277.                    configuration of the hard drive, and
  278.                    that a low-level format was performed on
  279.                    the ENTIRE drive.
  280.     
  281.        ILLEGAL COMMAND           The controller was unable to recognize
  282.                    the command you issued. This could be
  283.                    caused by incorrect jumper configuration
  284.                    on controller (check USER'S GUIDES
  285.                    section of this BBS). Also could be
  286.                    defective controller.
  287.  
  288.  
  289.      IF PROBLEMS PERSIST ... 24 hour Technical Support number 1-800-777-4787
  290.                                   ==============
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.