Commit 7cac6387 authored by Committed by Vikram NarayananBrowse files
Patched modprobe (and rest of init tools suite) now in repo.
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.
Showing with 3756 additions and 0 deletions