Hi Luca,

I did try this with a non tnapi driver with the same result.

Here's the output from your new pf_ring.c:

Jun 27 04:30:37 hydradevva-nr1 kernel: [PF_RING] Added
/proc/net/pf_ring/2287-none.2
Jun 27 04:30:37 hydradevva-nr1 kernel: [PF_RING] packet_ring_bind(2) error
Jun 27 04:30:37 hydradevva-nr1 kernel: [PF_RING] Removing
/proc/net/pf_ring/2287-none.2


Thanks,
Karl

On 6/26/11 3:17 PM, "Luca Deri" <[email protected]> wrote:

>Kerl
>can you please replace the pf_ring.c file with
>http://luca.ntop.org/pf_ring.c and tell me when bind fails what you see
>in the syslog
>
>Thanks Luca
>
>
>On Jun 23, 2011, at 2:59 PM, Henderson, Karl wrote:
>
>> Yes, I still got a errno 22 on the bind function.
>> 
>> On 6/23/11 8:15 AM, "Luca Deri" <[email protected]> wrote:
>> 
>>> Karl
>>> I don't see a failure. Has this test been run while you open failed?
>>> 
>>> Thanks Luca
>>> 
>>> On Jun 22, 2011, at 7:33 PM, Henderson, Karl wrote:
>>> 
>>>> Hi Luca,
>>>> 
>>>> Here's the output:
>>>> 
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] ring_create()
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] ring_insert()
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] Added
>>>> /proc/net/pf_ring/7796-none.0
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] ring_create():
>>>>created
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] -->
>>>> SO_RING_BUCKET_LEN=200
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] ring_bind() called
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] called
>>>> ring_release(none)
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] Removing
>>>> /proc/net/pf_ring/7796-none.0
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] Removed
>>>> /proc/net/pf_ring/7796-none.0
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] ring_remove()
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] Found socket to
>>>>remove
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] leaving ring_remove()
>>>> Jun 22 06:34:35 hydradevva-nr1 kernel: [PF_RING] ring_release: done
>>>> 
>>>> Cheers,
>>>> 
>>>> Karl
>>>> 
>>>> On 6/22/11 12:36 PM, "Luca Deri" <[email protected]> wrote:
>>>> 
>>>>> insmod ./pf_ring.ko enable_debug=1
>>>> 
>>>> _______________________________________________
>>>> Ntop-dev mailing list
>>>> [email protected]
>>>> http://listgateway.unipi.it/mailman/listinfo/ntop-dev
>>> 
>>> ---
>>> If you can not measure it, you can not improve it - Lord Kelvin
>>> 
>>> _______________________________________________
>>> Ntop-dev mailing list
>>> [email protected]
>>> http://listgateway.unipi.it/mailman/listinfo/ntop-dev
>> 
>> _______________________________________________
>> Ntop-dev mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-dev
>
>---
>
>"Debugging is twice as hard as writing the code in the first place.
>Therefore, if you write the code as cleverly as possible, you are, by
>definition, not smart enough to debug it. - Brian W. Kernighan
>
>_______________________________________________
>Ntop-dev mailing list
>[email protected]
>http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to