I think the HOW-TO and /usr/src/linux/Documentation/modules.txt should
be revised to clarify this point. At least when I read that text, I
thought that insmod and rmmod were the natural tools to use. It seemed
that depmod was only a cute add-on. Also, is it possible that my problems have
arisen because I have the directories /lib/modules/1.2.13 and
/lib/modules/2.0.20 and the modprobe does not know which to look
in? The man page seems to indicate that this is not so, but I have not
played to see.
What is the recommended way to set up the default paths so that each new
build of kernel and modules will search for the properly compiled
modules? If the current kernel is 2.0.20, I suppose one could set up a link
/lib/modules/current -> /lib/modules/2.0.20
and pass options to depmod in /etc/conf.modules to search this
directory, but this requires the link to be updated with each new
kernel build. Is there a better way?
TIA,
-sen
---------------------------------------------------------------------------
| Sheldon E. Newhouse | e-mail: sen1@math.msu.edu |
| Mathematics Department | |
| Michigan State University | telephone: 517-355-9684 |
| E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 |
---------------------------------------------------------------------------