DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Testing and debugging MDI drivers

UnixWare 7 MDI driver installation

All UnixWare 7 MDI drivers are dynamically loaded kernel modules, so it is easy to add counters and cmn_err( ) lines while debugging. The procedure for doing this for a driver that has already been configured into the kernel is:

  1. Modify the driver source code.

  2. Rebuild the driver.

  3. Move your Driver.o file to the /etc/conf/pack.d<driver> directory.

  4. Make any necessary modifications to the Driver Software Package (DSP).

  5. Issue the following command sequence:
       nd stop
       modadmin -U driver
       /etc/conf/bin/idbuild -M <driver>
       nd start
       ndcfg -f <name>.bcfg
    


    NOTE: mdi_get_unit(D3mdi) will notice if you attempt to use a driver on UnixWare 7 that has not been configured with ndcfg.


© 2004 The SCO Group, Inc. All rights reserved.
HDK 7.1.4 - September 2004