To install the MODULES package:


A.  Update the kernel.

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

        If you are not running 0.99.12, 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.lst.

B.  Create the user level programs.

    1.	Create a suitable source directory, cd to it, and type
		tar xvf $d/user.tar

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

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

C.  Try out the hello world module.

    1.  Reboot with the new kernel.

    2.  cd to the directory containing the user programs.

    3.  Type "cc -c sys_hello.c" to build the hello system call.

    4.  Type "cc -o hello hello.c" to build the hello world program.

    5.  Type "insmod sys_hello.o" to install the hello system call.

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

    7.  Type "./hello" to run the hello system call.

    8.  Type "rmmod sys_hello" to delete the hello system call.

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





