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

SVR5 MDI driver installation

All SVR5 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 SVR5 that has not been configured with ndcfg.


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005