To install the MODULES package:


A.  Update the kernel.

    1.  Make changes to the existing kernel files.  If you are currently
	running 0.99.xx you can do this by typing
                cd /usr/src/linux
                patch -p0 <$d/modules-plxx.diff

        If you are not running 0.99.xx, you will have to run patch and
        check the results by hand.

    2.  Type "make Image".  If any symbols in kernel/ksyms.o show up
	as undefined, delete them from kernel/ksyms.S.

B.  Create the user level programs.

    1.	cd to the "util" directory

    2.	Type "make".
        This should create "insmod", "rmmod", "unlock" and "lsmod"

    3.  Move the files "insmod", "rmmod", "unlock" and "lsmod" to some
        convenient place that's included in your path.

C.  Try out the sample "sys_hello" module.

    1.  Reboot with the new kernel.

    2.  cd to the "util" directory.

    3.  Type "cc -c sys_hello.c" to build the sys_hello module.

    4.  Type "insmod sys_hello.o" to install the module.
        You should see a message saying "init_module called".

    5.  Type "lsmod" to be sure it is installed.

    6.  Type "rmmod sys_hello" to delete the module.
        You should see a message saying "cleanup_module called".

    7.  Type "lsmod" to be sure it was deleted.





