I upgraded my 32bit CentOS 5.5 to PF_RING rev 4391 via svn and then
the module refused to load:
FATAL: Error inserting pf_ring
(/lib/modules/2.6.18-194.17.4.el5/kernel/net/pf_ring/pf_ring.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
dmesg indicated the problem was:
pf_ring: Unknown parameter `num_slots'
I then ran modinfo and saw that the old 'num_slots' parm is gone and
apparently replaced with 'min_num_slots'.
# modinfo pf_ring
filename:
/lib/modules/2.6.18-194.17.4.el5/kernel/net/pf_ring/pf_ring.ko
alias: net-pf-27
description: Packet capture acceleration and analysis
author: Luca Deri <[email protected]>
license: GPL
srcversion: 98963E92A258D3725733E96
depends:
vermagic: 2.6.18-194.17.4.el5 SMP mod_unload 686 REGPARM
4KSTACKS gcc-4.1
parm: min_num_slots:Min number of ring slots (uint)
parm: transparent_mode:0=standard Linux,
1=direct2pfring+transparent, 2=direct2pfring+non transparentFor 1
and 2 you need to use a PF_RING aware driver (uint)
parm: enable_tx_capture:Set to 1 to capture outgoing
packets (uint)
parm: enable_ip_defrag:Set to 1 to enable IP
defragmentation(only rx traffic is defragmentead) (uint)
Was this on purpose? I can't seem to find any reference to this new
parameter name on the web. Maybe it's just extra new. Anyway it threw
me for a bit there.
When I renamed 'num_slots' to 'min_num_slots' in my modprobe.conf line
for pf_ring, it seems to be fine then:
options pf_ring num_slots=4096 transparent_mode=0 enable_tx_capture=0
Kevin
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc