• Charlie Jacobsen's avatar
    Patched modprobe (and rest of init tools suite) now in repo. · 7cac6387
    Charlie Jacobsen authored
    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
Name
Last commit
Last update
..
arch Loading commit data...
build Loading commit data...
cgroup Loading commit data...
firewire Loading commit data...
gpio Loading commit data...
hv Loading commit data...
iio Loading commit data...
include Loading commit data...
kvm/kvm_stat Loading commit data...
laptop/freefall Loading commit data...
lcd Loading commit data...
lguest Loading commit data...
lib Loading commit data...
module-init-tools Loading commit data...
net Loading commit data...
nfsd Loading commit data...
objtool Loading commit data...
perf Loading commit data...
power Loading commit data...
scripts Loading commit data...
spi Loading commit data...
testing Loading commit data...
thermal/tmon Loading commit data...
time Loading commit data...
usb Loading commit data...
virtio Loading commit data...
vm Loading commit data...
Makefile Loading commit data...