How are external kernel modules loaded?



I'm running Debian squeeze on an amd64 system and want to use the
current version (4.5) of ipset instead of version 2.5 in the
stable release.

After doing the following steps:

install ipset source from http://ipset.netfilter.org/install.html
apt-get install linux-source-2.6.32
cd /usr/src
bzip2 -dc linux-source-2.6.32.tar.bz2 | tar xf -
cd /usr/src/linux-source-2.6.32
make defconfig
make modules
cd /usr/local/src/ipset/ipset-4.5
make KERNEL_DIR=/usr/src/linux-source-2.6.32
make KERNEL_DIR=/usr/src/linux-source-2.6.32 install

I am tantalizingly close but still no cigar:

ipset -v
ipset v4.5, protocol version 4.
FATAL: Module ip_set not found.
ipset v4.5: Couldn't verify kernel module version!

The ipset modules have been installed here:

cd /lib/modules/2.6.32/extra
ip_set.ko ip_set_ipportiphash.ko
ip_set_macipmap.ko ipt_SET.ko
ip_set_iphash.ko ip_set_ipportnethash.ko
ip_set_nethash.ko ipt_set.ko
ip_set_ipmap.ko ip_set_iptree.ko ip_set_portmap.ko
ip_set_ipporthash.ko ip_set_iptreemap.ko ip_set_setlist.ko

Please tell me what's the best way to configure the system
to always find and load these modules. My web searches for
a how-to in this regard have come up empty.

Thanks,
Andris


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4FC18803.9050304@xxxxxxxxxx



Relevant Pages

  • Re: Marvell Yukon gigabit ethernet card
    ... Last year I purchased a new amd64 system: ... luck with Debian testing amd64 net install, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • help with ipset for Lenny
    ... I'm keen to get IPSET running on a few boxes to cater for some custom iptables rules which at the moment are being initiated with bash scripts and it's very slow. ... apt-get install module-assistant ... module-assistant install netfilter-extensions-source ... But get an error "Bad luck, the kernel headers for the target kernel version could not be found....etc" and a headers files message. ...
    (Debian-User)
  • Using Debian problem--please help
    ... I used the netinst from the US mirror and I installed it on an AMD64 system and everything went fine and after the install when Debian ask's for my account name and pass it leaves that GUI and goes to nothing but a GRAY screen and a mouse cursor. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: How are external kernel modules loaded?
    ... install ipset source from http://ipset.netfilter.org/install.html ... ipset v4.5, protocol version 4. ... Kernel module protocol version 4. ...
    (Debian-User)