Speeding Up Kernel Development For Specific Modules

Instead of creating the entire Linux kernel and building all of its many modules, you can build and install specific modules or sub-directories.

  1. # make modules SUBDIRS=net/netfilter/
  2. # sudo make modules_install SUBDIRS=net/netfilter/

To determine if your module is loaded cat /proc/modules

  1. # cat /proc/modules | grep queue
  2. nfnetlink_queue 22156 0 - Live 0x0000000000000000
  3. nfnetlink 14606 1 nfnetlink_queue, Live 0x0000000000000000

Remove your desired module using rmmod

# sudo rmmod nfnetlink_queue

Install your new module using insmod or alternatively modprobe

# sudo insmod net/netfilter/nfnetlink_queue.ko

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.