cardigliano at ntop
Jul 1, 2011, 5:06 AM
Post #2 of 2
2011/7/1 Peter Bates <p.bates [at] gold>:
> Hello all...
> I've got two Debian systems - both on 5.x.x (yes I know I should upgrade).
> Pulling down the latest PF_RING via svn,
> I build the kernel module and install, and then
> modprobe fine on one system.
> On the other I get:
> $ sudo modprobe pf_ring
> FATAL: Error inserting pf_ring
> (/lib/modules/2.6.26-2-686/kernel/net/pf_ring/pf_ring.ko): Unknown symbol in
> module, or unknown parameter (see dmesg)
> Dmesg shows:
> [74629.330903] pf_ring: Unknown parameter `num_slots'
"num_slots" is an old pf_ring parameter, now replaced with "min_num_slots"
Please try with:
$ cd PF_RING/kernel
$ make clean
$ sudo make install
passing "min_num_slots" instead of "num_slots"
> I guess I have two questions...
> 1) Is there an obvious reason for this?
> 2) What development platform/Linux version are most people using?
> I can see an awful lot of conditionals in pf_ring.c for handling
> different kernel versions.
Your kernel version should work. Anyway, perhaps it's time for an upgrade :-)
Usually we compile the code on Ubuntu, Gentoo, and some other distributions
> Peter Bates, Acting Head of Systems & Networks
> Goldsmiths, University of London
> New Cross, London SE14 6NW. Telephone: 020 7919 7082
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
Ntop-misc mailing list
Ntop-misc [at] listgateway