2.4. Enabling Auto-Loading for the SRR Module

[Note]

Most Linux distributions ship with auto-loading enabled. So, unless you are running a modified or trimmed down version of the kernel, you can almost certainly ignore this section.

You can test to see if your kernel is auto-loading as follows:

  1. Unload the SRR Module using the rmmod command:
    # /sbin/rmmod srripc
  2. Run the SRR Module test program (explained above) from the srr-x.x.x/test/ subdirectory:
    # cd srr-x.x.x/test/
    # make linux

If the test runs, then your kernel has successfully auto-loaded the SRR Module. If the test did not run, then you will have to rebuild your kernel with kernel auto-loading turned on.

  1. In the 2.2 and later kernel's configuration section "Loadable Module Support", answer YES to both:
    Enable loadable module support
    and
    Kernel module loader
  2. Recompile your Linux kernel and reboot.