If you are getting "QM_MODULES: Function not implemented" error while executing lsmod or restarting the iptables, the following tricks will fix that.
1. Download the latest version of module-init-tools.
2. ./configure --prefix=/
make
make instal
3. Now translate your old /etc/modules.conf into /etc/modprobe.conf with the ./generate-modprobe.conf script that comes with module-init-tools:
./generate-modprobe.conf /etc/modprobe.conf
Thats it the issue will be fixed.