Installation

No Install Program

There is no installation program for Kernel Trace.  This omission is intentional, as the expected audience of this product is:
  1. consultants and developers
  2. large corporate IT departments
Since this audience is highly technical and the installations will most often be done on a large number of standardized machines, there is little value to a generic, graphical installation program.

Before starting the installation, it is critically important to have read the planning sections of this document.  In particular, one must ensure that the prerequisites have been accommodated.

Installation Procedure

  1. Insert the Kernel Trace for OS/2 CD in the CD-ROM drive or unzip the ktrace.zip file which you downloaded (depending upon your delivery media).

  2.  
  3. Execute one of the following copy commands:

  4.  
      COPY Z:\KTRACE\KTRACE.SYS X:\OS2\BOOT
    or
      COPY Z:\KTRACE\KTRACE.SYS X:\


    where X: represents the boot drive and Z: represents the drive letter assigned to the CD-ROM drive or the partition onto which ktrace.zip was unzipped (depending upon your delivery media).
     

  5. Create a directory for KTRACE, for example, C:\KTRACE.

  6.  
  7. Copy the files KTRACE.CFG, KTRACE.EXE, and LICENSE.KTO into the directory created in the previous step.

  8. Note:  Trace files will be stored in this directory by default, so please ensure adequate disk space is available, if you do not plan to override this behavior at the command line when tracing.
     
  9. Optional
  10. Locate the CONFIG.SYS in the root directory of the boot drive.  Add the following statement to your CONFIG.SYS:

  11.  
      BASEDEV=KTRACE.SYS


    This line is the sole, required change to the system's configuration to enable KTRACE.  This device driver MUST be loaded as a BASEDEV, which means it is loaded at a very early point in the system's IPL.  This also means that the driver must reside in either the root directory of the boot drive (e.g., C:\) or in the \OS2\BOOT directory on the boot drive.  OS/2 cannot find BASEDEV drivers if they do not reside in one of these two directories.
     

  12. Optional

  13. Append the following statement to SET PATH in  CONFIG.SYS:
     
      SET PATH=<Current Path>;Y:\KTRACE;


    where <Current Path> is the complete path currently set in CONFIG.SYS and Y: is the drive where the KTRACE directory resides.
     

  14. Reboot the system.
If the device driver is successfully loaded, the following output will be visible during the machine's boot sequence:

Locked Files

None of the Kernel Trace modules are locked, including the device driver.  This means that the distribution of changes is as easy as replacing these files with newer versions.


© 2001 Golden Code Development Corporation.  ALL RIGHTS RESERVED