README - WDTBLCHK (C) Copyright 1994-98, Western Digital Corporation PROGRAM SUMMARY: This program reports the number of drives physically detected, the number of drives defined by the BIOS, and the characteristics of the drive parameter table for each drive detected. This program was written for OEMs and end users. OEMs can use this program to verify BIOS drive parameter table compatibility for supporting large capacity IDE drives. End users can use this program to report drive configuration information to Western Digital Technical Support personnel over the phone when discussing disk drive related issues. TO RUN THE PROGRAM: To run the program, type WDTBLCHK at the DOS prompt. TO QUIT THE PROGRAM: To quit the program, hit ESC. To scroll through the different screens, any of the following keys can be used: PGUP, PGDN, HOME, END, ENTER, TAB, BACKSPACE. At the end of the program, the user is asked if a log file should be created. The user can respond with Y for YES, or N or ESC for NO. COMMAND LINE OPTIONS: -C Creates a single screen of information for the FIT lab. The screen can be piped to a log file. -L Causes a log file to be created. No information is shown on the screen. -N Disables the prompt asking if the user wants a log file to be created when exiting from the screen displays. LOG FILE: When quitting the program, the user is given the option to store the results to log file WDTBLCHK.LOG. This log file contains the same information displayed on the screen. ERROR LEVELS Always 0. DRIVES SUPPORTED: All AT-IDE interface drives. ADDITIONAL PROGRAM INFORMATION: WDTBLCHK does not change any drive or system settings so this program can safely be run on any system. WDTBLCHK only issues Identify (direct I/O) and Read Verify (INT 13) commands to the drives. SUMMARY OF INFORMATION REPORTED BY THIS PROGRAM: DRIVES PHYSICALLY DETECTED - Number of drives found at primary and secondary baseports. A count in the range 0-4. DRIVES REPORTED BY INT 13 FUNCTION 8 - A count in the range 0-4. DRIVE INFO: Drive model, firmware, cyls, heads, spt reported by Identify command for each drive. INT 13 INFO: Drive cyls, heads, spt, and size for each drive. The drive size is reported in MB (megabytes), where 1 MB equals 1,000,000 bytes. INT 13 EXTENSION INFO: Function 41 supported (Y/N), Function 48 supported (Y/N), Drive cyls, heads, spt, sectors and size for each drive. The drive size is reported in MB (megabytes), where 1 MB equals 1,000,000 bytes. INT 41/46 INFO: Logical cyls, heads, and spt. Drive cyls, heads, and spt (drive values only valid for Enhanced Drive Parameter Tables). Signature byte (A in upper nibble indicates enhanced table). Checksum (only required for enhanced tables - reported as valid or invalid. Enhanced Table: NO or YES (YES if signature byte upper nibble = A). TRANSLATE MODE FOR EACH DRIVE: One of the following messages is reported for each drive: DRIVE NOT ACTIVE - drive not active according to INT 13. NO TRANSLATION - no drive parameter translation detected. LBA - BIOS is performing translation using LBA addressing. CHS TO CHS - BIOS is performing translation using C/H/S addressing. REVISION HISTORY: ---------------------------------------------------------------------------- rev 2.40, 21 jan 99, dms Added support for drives with cylinders beyond 16383. First screens now show drive info from Promise card. ---------------------------------------------------------------------------- rev 2.30, 21 apr 98, dms The condensed log and the full log now show the INT 13 information in two sections. The EXTENSIONS information is in the second section. The EXTENSIONS drive size is now shown for both log formats. The drive numbers are now 1-4 instead of 0-3 when logging the I13 info to be consistent. ---------------------------------------------------------------------------- rev 2.20, 20 apr 98, dms When showing the Phy Sectors and Phy Size on the first two screens, base these numbers on the CYL HDS and SPT if the PHY SECTOR count returned by the drive is 0 since older drives return 0. ---------------------------------------------------------------------------- rev 2.10, 17 apr 98, dms Added support for I13 Extensions - Function 41, Function 48, drive parms, drive size. Added PHY. SECTORS and PHY. SIZE (MB) based on the buffer contents from the Identify Drive command. These values show the true size of the drive even if the size is greater than 8.4 GB. Rearranged the two screens that show I13 data. Instead of showing data for 2 drives on one screen and 2 drives on the second screen, now shows data for all 4 drives on the first screen, and the second screen shows I13 Extensions info for all 4 drives. ---------------------------------------------------------------------------- rev 1.90, 12 nov 97, dms Modified -c option so it creates a single screen of all information. This screen can be piped to a log file. ---------------------------------------------------------------------------- rev 1.80, 31 oct 97, dms Added -c option to provide new log format for the fit lab. Modified the log file format for the I13 results - now has all info for a drive on a single line as requested by the fit lab. ---------------------------------------------------------------------------- rev 1.70, 6 Nov 95, dms Fix bug - Finds slave drive even if master is not present. ---------------------------------------------------------------------------- rev 1.60, 2 Nov 95, dms Fix bug - No longer falsely detects drives at secondary baseport on some systems. More quickly screens secondary baseport for ATAPI devices (was sometimes taking 10 seconds before showing screen - now takes 2 seconds max). ---------------------------------------------------------------------------- rev 1.50, 10 Oct 95, dms Fix bug - Correctly show drive size in log file. Now shows drive size in MB instead of bytes. ---------------------------------------------------------------------------- rev 1.40, 9/22/95, dms Fix bug - Correctly show number of heads when heads are > 127. Fix bug - Correctly show drive size in bytes when size is > 2.1 GBytes. Fix bug - Sets log filename to WDTBLCHK.LOG instead of WDCHECK.LOG. ---------------------------------------------------------------------------- rev 1.30, 5/23/95, dms Fix bug - Now shows model info instead of garbage on IBM Pentium. Also shows values of 0 for Drive Cyls Heads and SPT for INT 41/46 if the table is not an enhanced table. Detects drive from 4 baseports instead of 2. Uses different numbering scheme for displaying screens. Shows section and subsection instead of just page number. This change was needed since the number of pages varies based on the number of drives present. ---------------------------------------------------------------------------- rev 1.20, 8/10/94, dms Added -L option to create log file without showing info on screen. Fixed bug so INT13 drive count is shown as 4 instead of 0. Added display of drive serial numbers. ---------------------------------------------------------------------------- rev 1.10, 6/21/94, dms Change translation descriptions: NOW: WAS: No Translation Direct CHS To CHS Other ---------------------------------------------------------------------------- rev 1.00, 6/8/94, dms Initial release. ----------------------------------------------------------------------------