Troubleshooting

Overview

There are three main steps in the troubleshooting process.
  1. View logs to review the posted messages, warnings and errors.  See Application Messages and RCs and Device Driver Messages to assist in interpretation.
  2. Run NTRACE with the query option to get a report of its assessment of the binding environment.
  3. Run NTRDIAG to provide a detailed report on the installation and environment.

Query

NTRACE.EXE provides a query mode, which allows the display of a list of MAC adapters which are available for tracing.  This allows the user to identify adapters by the "index" which is used by NTRACE (see Command Syntax section for the -a option).  It also provides a mechanism to verify that the NTRACE.OS2 is bound to MAC adapters as expected.

Possibly of greater importance is the display of the basic characteristics of each adapter.

Sample output for protocol mode:

Sample output for service mode:

Interpreting "Network Traffic" Characteristic

The "Network Traffic" characteristic is a guage of the LAN adapter's capability to support full bidirectional frame capture.  The Network Trace v1.0 had only some of this data in the query report.  It reported on the Loopback characteristic.  Starting in v1.1, a more useful metric is being reported.  It has 4 possible values based on 2 criteria:
 
 
Loopback Support
No Loopback Support
Protocol Mode
"Bidirectional Limited" 

This means that outbound frames can MOST OFTEN be captured.  However, since loopback can sometimes be an unreliable source of frames, the bidirectional capability is "qualified" by the word "limited".

"Inbound Only"

Outbound frames are never captured.

Service Mode
"Bidirectional Excessive"

Not only can traffic be captured in both directions, but since loopback is on, most or all outbound frames will be captured twice.  NTRACE has no way of determining which frames it should keep and which frames are duplicates.  To resolve this issue, it is very important to disable loopback support in the associated MAC driver.  This is often accomplished by a setting in PROTOCOL.INI.

This "capability" will also cause a performance impact, especially in heavily loaded networks.  The MAC and protocol drivers will have to handle the outbound frames twice!  This could cause significant problems and lead to lost frames

LOOPBACK should be disabled for these MAC drivers.

"Bidirectional"

Full bidirectional capture with no limitations or issues.

Diagnostic Utility

A utility is provided which will extensively check an installation's validity.  While no diagnostic routine is fool-proof, this tool will find 90% of the flaws with a Network Trace installation.   The utility is named NTRDIAG.EXE and exists on the CD-ROM in the \utility directory.  It requires 4 other executables to properly execute:
  1. RXMISC.DLL - a library of shared functions
  2. MACDUMP.EXE - a program that queries information from the NDIS protocol manager, PROTMAN.OS2
  3. NTRDUMP.EXE - dumps the data segment from the NTRACE.OS2 driver
  4. BINDTREE.EXE - queries a detailed report of the NDIS binding tree as provided by PROTMAN.OS2
These supporting executables usually reside in the same directory as NTRDIAG.EXE. The tool can be run directly from the CD-ROM as long as the current directory is WRITABLE.  This allows for temporary files and other access as appropriate.  If C: is a drive with write access (on WSOD this may NOT be always true!) and K: is the CD-ROM drive then:

[C:\]k:\utility\ntrdiag.exe

Running NTRDIAG.EXE

It is important to run NTRDIAG.EXE ONLY after Network Trace is both installed and has been booted at least once since the last change to CONFIG.SYS or PROTOCOL.INI.  If this assumption is not valid, then NTRDIAG may return inconsistant results.  Remember that NTRDIAG.EXE does not work on a WSOD client!

NTRDIAG.EXE runs in the following modes:

In any mode you can specify the /noansi option to suppress ANSI screen control codes.

What NTRDIAG Checks

  1. there are >= 1 (same) RXMISC.DLL instances
  2. CONFIG.SYS is a readable text file in the root directory of the OS/2 boot partition
  3. DEVICE=...PROTMAN.OS2 can be located in CONFIG.SYS
  4. PROTOCOL.INI can be located and read
  5. DEVICE=...LANMSGDD can be located in CONFIG.SYS
  6. LANTRAN.LOG can be located and read
  7. CALL NETBIND.EXE is present in CONFIG.SYS
  8. RUN LANMSGEX is present in CONFIG.SYS
  9. DEVICE=...NTRACE.OS2 can be located in CONFIG.SYS
  10. LANMSGDD precedes PROTMAN.OS2 in CONFIG.SYS
  11. NTRACE.OS2 follows PROTMAN.OS2  in CONFIG.SYS
  12. NTR.MSG can be located
  13. all NTRACE.OS2 file instances are the same
  14. all NTR.MSG file instances are same
  15. there are >= 1 (same) NTRACE.EXE instances
  16. there are >= 1 (same) BINDTREE.EXE instances
  17. there are >= 1 (same) MACDUMP.EXE instances
  18. there are >= 1 (same) NTRDUMP.EXE instances
  19. there are >= 1 (same) valid instances of LICENSE.NTO
  20. there are >= 1 properly named instances of NTRACE.OS2 in CONFIG.SYS
  21. LANTRAN.LOG shows no error messages from NTRACE.OS2
  22. PROTOCOL.INI  contains valid sections for all installed instances of  NTRACE.OS2
  23. MACDUMP shows correct NTRACE.OS2 bindings

© 2000 Golden Code Development Corporation.  ALL RIGHTS RESERVED