Hi

I've been trying to install the kenel module pktgen and am having some problems with it. I was wondering if anyone has had any experience with using this package who might be able to help.

I'm currently trying this on a rh Enterprose 4 system:
uname -a
2.6.9-89.ELsmp #1 SMP Thu May 6 16:47:26 BST 2010 x86_64 x86_64 x86_64 GNU/Linux

(But will also want to install it on Fedora 12, once I manage to get that installed.)

So far I have
got hold of a kenel rpm

edited /usr/src/redhat/SOURCES/kernel-2.6.9-x86_64-smp.config to include CONFIG_NET_PKTGEN=m under # Network testing

built the kernel using rpmbuild -ba kernel-2.6.spec


Having done this, after using modprobe to install it, the module looks to be installed. It is listed by lsmod. However all the documentation I have read indicates that once running I should see one thread per cpu created the files /proc/net/pktgen/pgctrl and /proc/net/pktgen/kpktgend_X should be created.

I do not see the threads or the files, so I guess either something has not been installed correctly or I'm missing a step that starts pktgen.

The files I do see in /proc/net/pktgen/ are:
ls /proc/net/pktgen/
pg0 pg1 pg2 pg3 pg4 pg5 pg6 pg7 pg_busy0 pg_busy1 pg_busy2 pg_busy3 pg_busy4 pg_busy5 pg_busy6 pg_busy7

Does anyone know either how pktgen should be installed and started ? Is there an installation step I have missed, or do I need to explicitly start it in some way ?