-
Found under tools/module-init-tools. These are not (for now) automatically built and installed when the kernel is built. To build and install, enter the module-init-tools directory, and do the following: [ 1 ] aclocal -I m4 && automake --add-missing --copy && autoconf [ 2 ] ./configure --prefix=/ --program-prefx=lcd- [ 3 ] make [ 4 ] (sudo) make install This will install the patched /sbin/lcd-modprobe and /sbin/lcd-insmod, as well as the other init tools that were left untouched. The user mode helper will use lcd-modprobe to load the module. The man pages won't install on emulab (since /share is read only). You can specify a different man dir via configure if you wish. After installation, you should then be able to successfully run a kernel module inside of an lcd, via lcd_create_as_module. The only changes to init tools are in modprobe.c and insmod.c; only the changes in modprobe.c are of interest (lcd-insmod is not currently used/needed). Instead of doing the Linux init_module system call, lcd-modprobe does an ioctl call to the LCD driver (hence, the LCD driver must be loaded), with the bytes of the module, its size, and command line options.
7cac6387
To find the state of this project's repository at the time of any of these versions, check out the tags.