(Page 1 of 1 in this chapter)


Chapter 4

Verifying MC1 Installation


4.1 Introduction 36

4.2 Verifying Your MC1 Installation with mc1tst 36

4.3 Verifying Your MC1 Installation with the SW Utility 37

4.1 Introduction

After you finish installing and configuring the MC1 hardware and software, verify that the system is operational before you continue. You can verify that the system is operational by exercising board functionality with the utilities sw and mc1tst.

4.2 Verifying Your MC1 Installation with mc1tst

The utility program, mc1tst, confirms the MC1 board has been properly installed and performs configuration and stream diagnostics. mc1tst tests four streams at a time, during which the status of the MC1 configuration will be displayed.

Under UNIX, mc1tst can be found in /opt/nms/bin. Under Windows NT and OS/2, mc1tst can be found in \nms\bin. If you have not already done so, add the directory to your path.

  1. Remove both the MVIP interconnect cable and the MC1 interconnect cable from the board being tested. It is important that no other board in the chassis is driving any of the MVIP streams. It is also required that no other MC1 interface boards are driving any MC1 streams.

    
    
  2. Execute the mc1tst program by entering:

       mc1tst
    
    
     The following message should appear:

    The MC1 Interface Card checks out.

  3. If any errors occur, check the following:

    
    -	 Is the board properly seated in the PC-AT bus slot?

    - Do the addresses selected by the DIP switch match those selected at installation time and those listed in config.sys?

4.3 Verifying Your MC1 Installation with the SW Utility

The SW utility is installed with your MC1 board software. Under UNIX, sw can be found in /opt/nms/bin. Under Windows NT and OS/2, sw can be found in \nms\bin. If you have not already done so, you should add the directory to your path.

To verify the MC1 board:

  1. Enter:

       sw
    
    
     The SW utility starts up, and displays its prompt:

    SW:

  2. Open the device driver and assign a handle. The command differs under different operating systems.

    
    -	 Under Windows NT, enter the following command at the sw prompt to load the mc1sw driver and open device 0:

        drv.LoadDriver mc=mc1sw 0
    
    
    -	 Under OS/2, enter the following command at the sw prompt to load the mc1sw16 driver and open device 0:

    drv.LoadDriver mc=mc1sw16 0 - Under UNIX, enter the following command at the sw prompt to open device 0:

    drv.OpenDevice /dev/mc100 mc sw opens the driver and assigns handle mc to device 0. The prompt reappears.

  3. Reset the switch to a known initial state by entering:

       drv.ResetSwitch mc
    
    
  4. Make a switch connection by entering:

       drv.makeconx mc 16:0 to 0:0
    
    
    
    
  5. Display the switch connection by entering:

       drv.readconx mc 0:0
    
    
     The following is displayed:

    STo (0:00) 16:00

  6. Exit sw by entering:

       Exit 
    
    
     The operating system prompt reappears. If you can successfully reset the switch and make a switch connection, your MC1 board has been properly installed.



(Page 1 of 1 in this chapter)


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.