home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 4 Drivers / 04-Drivers.zip / cmd640.zip / README.OS3 < prev   
Text File  |  1995-03-21  |  10KB  |  276 lines

  1. CMD 32-Bit Local Bus IDE Driver Installation Instructions 
  2. ---------------------------------------------------------
  3.  
  4. INSTALLATION
  5. ------------
  6. A)If you want to install the OS/2 Warp and your CD-ROM is configured on the 
  7. second channel, do the following:
  8.  
  9. 1) Backup the IBM1S506.ADD and IBMIDECD.FLT in the OS2 Warp installation Disk 1.
  10.  
  11. 2) Copy the CMD640X.ADD to IBM1S506.ADD and CMDATAPI.FLT to IBMIDECD.FLT in 
  12. the OS2 Warp installation Disk 1.
  13.  
  14. 3) ADD this line on the first line of the config.sys of the DISK 1.
  15. 'Set CopyFromFloppy = 1'
  16.  
  17.                                       
  18.  
  19. B) If you already have OS/2 WARP installed in the system, do the following:
  20.  
  21. 1) Copy CMD640X.ADD and CMDATAPI.FLT to your OS2\BOOT directory 
  22. (e.g., C:\OS2\BOOT).
  23.  
  24. 2) Edit C:\CONFIG.SYS (type E C:\CONFIG.SYS), replacing 
  25.     BASEDEV=IBM1S506.ADD
  26.    with 
  27.     BASEDEV=CMD640X.ADD /V
  28.  
  29. 3) Reboot the system and verify that it is functioning correctly.
  30.    The following steps are optional, for those who are interested in
  31.    getting maximum performance.
  32.  
  33.  
  34. 4) In order for the driver to load performance optimizations for your
  35.    IDE drives, you must specify your Local Bus clock speed.  IF YOU ARE
  36.    NOT SURE OF YOUR LOCAL BUS CLOCK SPEED, DO NOT PROCEED UNTIL YOU ARE
  37.    SURE.  
  38.    
  39.    PCI-Bus:  
  40.      486 CPU's:
  41.        If you have a 486-25, DX2-50, or DX4-75 processor, your Local 
  42.        Bus speed is probably 25.  Otherwise, it is probably 33.
  43.      Pentium CPU's:
  44.        If you have a Pentium 60 or 90, your Local Bus Speed is probably 30.
  45.        If you have a Pentium 66 or 100, your Local Bus Speed is probably 33.
  46.  
  47.    VL-Bus:  If you have a DX processor, your Local Bus clock speed is
  48.    equal to your CPU clock speed.  If you are using a DX2, your Local Bus
  49.    clock speed is half of your CPU clock speed.
  50.      VL Examples:
  51.        1) 486-50DX CPU - Local Bus clock speed = 50
  52.        2) 486-66DX2 CPU - Local Bus clock speed = 66/2 = 33
  53.  
  54. 5) Edit C:\CONFIG.SYS.  Find the line
  55.     BASEDEV=CMD640X.ADD /V
  56.    and change it to
  57.     BASEDEV=CMD640X.ADD /V /LBSPEED:dd
  58.  
  59.    where dd = Local Bus Speed in MHz.
  60.  
  61. 6) If you have an ATAPI CD-ROM, find the line 
  62.     BASEDEV=IBMIDECD.FLT
  63.    and change it to
  64.     BASEDEV=CMDATAPI.FLT /V
  65.  
  66. 6) Next, reboot your system, and the driver will load drive optimizations.
  67.  
  68.  
  69.  
  70. COMMAND LINE OPTIONS
  71. --------------------
  72.  
  73. The following diagram illustrates the CMD640X.ADD unit parameter structure: 
  74.  
  75.  
  76. BASEDEV=CMD640X.ADD  ---------------------------> 
  77.                |                   ^
  78.                |--- /V ------------|
  79.                |--- /LBSPEED:dd ---|
  80.                |----/CH2:dd--------|
  81.                |-------------------|
  82.  
  83.  
  84. -------> /A:d -------------------------------------->
  85.         ^  |                      ^   |
  86.         |  |------ /I ----------->|   |
  87.         |  |------ /<!>R -------->|   |
  88.         |  |------ /IRQ:dd ------>|   |
  89.         |  |------ /PORT:hhhh --->|   |
  90.         |  |------ /16BIT ------->|   |
  91.         |  |-------/!SATM---------|   |
  92.         |  |----------------------|   |
  93.         |                             |
  94.         |-----------------------------|
  95.  
  96.  
  97.  -------> /U:d -------> /GEO: ------------> dd -------------------------->
  98.     ^            ^ |            |                            ^ | |  |
  99.     |            | |            |----- (dddd,dddd,dddd) -----| | |  |
  100.     |            | |                                           | |  |    
  101.     |            | |------------ /T:dddd ----------------------| |  |
  102.     |            | |------------ /<!>SMS ----------------------| |  |
  103.     |            | |------------ /<!>LBA ----------------------| |  |
  104.     |            | |------------ /PIOMODE:d -------------------| |  |
  105.     |            |-----------------------------------------------|  |
  106.     |                                                               | 
  107.     |---------------------------------------------------------------|
  108.  
  109.  
  110.  CMD640X.ADD Device Driver Parameters 
  111.  
  112.  
  113.  /V        Verbose - Display driver information 
  114.  
  115.  This parameter displays the adapter device driver level, disk controller
  116.  status and drive geometry information during the OS/2 system
  117.  initialization. 
  118.  
  119.  
  120.  /LBSPEED:dd     Local Bus Clock Speed
  121.  
  122.  This parameter specifies the clock speed of the local bus in MHz.
  123.  Specifying this parameter enables the driver to load performance
  124.  optimizations for each attached drive (ATA Timing Modes).  <dd>
  125.  must be between 20 and 50.  The /V - (Verbose)  option will display
  126.  the local bus clock speed, as well as the ATA PIO Timing mode
  127.  supported by each drive.
  128.  
  129.  NOTE:  If your BIOS has built-in support for Fast PIO Modes on the
  130.  PCI-0640X, specifying /LBSPEED will override your BIOS' settings.
  131.  Don't specify /LBSPEED if you do not wish the driver to perform
  132.  PCI-0640X drive/chip initialization.  See the /!SATM parameter below
  133.  for information on how to control initialization on a per-IDE port
  134.  basis.
  135.  
  136.  
  137.  /CH2:dd         Secondary IDE Channel
  138.  
  139.  This parameter enables support of the secondary IDE channel.  If <dd>
  140.  is 0, the PCI-0640X Secondary IDE Channel is used.  If <dd> is 1, the
  141.  driver will support an external 16-bit ISA IDE adapter.  If /CH2 is
  142.  not specified, the driver will automatically attempt to auto-detect
  143.  the proper secondary IDE channel type.
  144.  
  145.  
  146.  /A:d            Adapter Number 
  147.  
  148.  This parameter specifies the IDE port number to which options following
  149.  this parameter apply.  Specify 0 for the Primary IDE, and 1 for Secondary
  150.  IDE.
  151.  
  152.  
  153.  /I        Ignore Adapter 
  154.  
  155.  This parameter indicates that the CMD IDE driver should not attempt to
  156.  initialize the adapter indicated. 
  157.  
  158.  This adapter device driver automatically attempts to locate and initialize
  159.  both the primary and secondary adapters. In some cases other DASD
  160.  controllers may appear between the primary and secondary IDE controllers.
  161.  In these cases the system should be configured as follows: 
  162.  
  163.  BASEDEV=CMD640X.ADD /V /A:1 /I
  164.  BASEDEV=MOREDASD.ADD
  165.  BASEDEV=CMD640X.ADD /V /A:0 /I
  166.  
  167.  
  168.  /<!>R     Reset Adapter 
  169.  
  170.  If this parameter is negated (/!R), adapter resets are disabled. In most
  171.  cases resets are beneficial to assist in recovering from transient
  172.  hardware problems such as lost interrupts, timeouts, or commands a
  173.  particular adapter may not support. 
  174.  
  175.  
  176.  /IRQ:dd         Interrupt Level 
  177.  
  178.  This parameter overrides the default IRQ Number for the adapter indicated.
  179.  The default IRQ address for Adapter 0 is (14) and for Adapter 1 is (15).
  180.  
  181.  
  182.  /PORT:hhhh      Port Number
  183.  
  184.  This parameter specifies the (hexadecimal) I/O port base address to be
  185.  used when accessing the specified adapter.  Defaults for are 1F0 for
  186.  /A:0, and 170 for /A:1.
  187.  
  188.  
  189.  /16BIT          16-Bit Access
  190.  
  191.  By default, 32-Bit accesses are used for Local Bus IDE ports.  If
  192.  If 16-Bit accesses are preferred, this parameter should be specified.
  193.  
  194.  
  195.  /U:d            Unit Number 
  196.  
  197.  This parameter specifies the fixed disk drive number to which options
  198.  following this parameter apply.  Fixed disk drive numbers start at 0. 
  199.  
  200.  
  201.  /GEO      Drive Geometry 
  202.  
  203.  This parameter overrides the Cylinder/Head/Sector geometry for the unit
  204.  selected. The fourth parameter is the Write Precompensation Cylinder which
  205.  may be omitted for drives which do not require precompensation. 
  206.  
  207.  As an alternate format standard BIOS drive types may be used. Types (0-46)
  208.  are supported. User defined types 47-49 should be entered directly by in
  209.  the previous format. 
  210.  
  211.  If a second set of geometry is present, then the first set specifies the
  212.  physical geometry of the drive, and the second set indicates the translated
  213.  geometry which is reported to the OS/2 system. 
  214.  
  215.  
  216.  /T:dddd         Drive Timeout 
  217.  
  218.  This parameter indicates the total allowable error recover time for a
  219.  request. Error recovery times < 5 seconds will be ignored. This parameter
  220.  defaults to 30 seconds. A shorter interval may be desirable for fault
  221.  tolerant applications. 
  222.  
  223.  
  224.  /<!>SMS         Enable Multple Block I/O Support 
  225.  
  226.  This parameter enables Set Multiple Support, which the improves performance
  227.  of most IDE drives. If the drive does not support this feature, this switch
  228.  will be ignored. The /V - (Verbose) option will indicate whether this
  229.  feature has been enabled on a particular drive.   By default, Set Multiple
  230.  Support is enabled.  To disable it on a particular drive, use /!SMS.
  231.  
  232.  
  233.  /<!>LBA            Enable LBA Support 
  234.  
  235.  This parameter enables Logical Block Support for IDE drives which support
  236.  this option. The /V - (Verbose) option will indicate whether this feature
  237.  has been enabled on a particular drive.  By default, LBA Support is
  238.  disabled.
  239.  
  240.  
  241.  /!SATM             Disable Setting of ATA Timing Modes 
  242.  
  243.  
  244.  This parameter prevents the driver from loading performance optimizations
  245.  for drives attached to the currently specified adapter.  If your BIOS
  246.  directly supports the CMD PCI IDE and you don't want to override its
  247.  settings, you must specify /!SATM.
  248.  
  249.  NOTE:  Not specifying /LBSPEED is equivalent to "/A:0 /!SATM /A:1 /!SATM."
  250.  
  251.  
  252.  /PIOMODE:d         Override Vendor-Specified ATA PIO Mode
  253.  
  254.  By default, the driver automatically sets the highest ATA PIO timing mode
  255.  supported by each drive.  This parameter allows the user to override the
  256.  vendor-specified ATA PIO timing mode with any timing mode between 0 and 5.
  257.  This is particularly useful for support of drives which have firmware
  258.  bugs, causing them to return incorrect PIO timing modes in the IDENTIFY
  259.  DRIVE command.  For example, many current drives which claim to be Mode 2
  260.  are really Mode 0 or Mode 1.
  261.  
  262.  WARNING:  Setting a PIO Mode higher than supported by a drive may cause
  263.        boot failure or data corruption.  However, setting a lower PIO
  264.        Mode than specified by a drive is harmless.
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.