MDK9.1 ipsec module fix

The ipsec kernel module shipped with mdk9.1 has a bug that prevents it from loading into the running kernel. Fixing it is easy.

As root, run 'modprobe ipsec', if it prints an error message, follow the instructions below. If it doesn't print an error, ignore this page.

The Fix

  1. Follow the instructions on the kernel prep page
    Note: You are just building one kernel module, not a whole new kernel
  2. # wget http://speculation.org/garrick/ipsecpatch.sh
    # sh ipsecpatch.sh
    # cd /usr/src/linux
    # make modules  (this will take a while, do something else while waiting)
    # gzip < net/ipsec/ipsec.o > /lib/modules/`uname -r`/kernel/net/ipsec/ipsec.o.gz
    # modprobe ipsec  <-- look!  no error!
    

Back to Top level page

Flames and well-wishes to garrick@speculation.org
All content is © 2002-2004 Garrick Staples,
Registered Linux User #264142.
Valid XHTML 1.1! Cynthia Tested! Valid CSS!
Created with Vim! Powered by Mandrake!