Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

Problem loading PF_RING

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


p.bates at gold

Jul 1, 2011, 4:42 AM

Post #1 of 2 (589 views)
Permalink
Problem loading PF_RING

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'

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.

Thanks.

--
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
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


cardigliano at ntop

Jul 1, 2011, 5:06 AM

Post #2 of 2 (563 views)
Permalink
Re: Problem loading PF_RING [In reply to]

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
$ make
$ 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

Regards
Alfredo

>
> Thanks.
>
> --
> 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
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.