Mailing List Archive

Compilation of ixgbe-zc- module on RHEL 6.7 with kernel version-2.6.32-696.16.1.el6.x86_64
Hi all,

We are using PF_RING-6.2.0 and IXGBE-ZC compilation failing on the RHEL 6.7
with kernel version-2.6.32-696.16.1.el6.x86_64

Below are the errors received -

/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/*src/kcompat.h:
In function '__kc_vlan_get_protocol':*
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/
*src/kcompat.h:3404: error: implicit declaration of function
'vlan_tx_tag_present'In file included from
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.c:51:*
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h:
In function 'ixgbe_qv_unlock_napi':
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h:602:




*error: too few arguments to function 'napi_gro_flush'make[2]: ***
[/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.o]
Error 1make[1]: ***
[_module_/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src]
Error 2make[1]: Leaving directory
`/usr/src/kernels/2.6.32-696.16.1.el6.x86_64'make: *** [default] Error 2*
make: Leaving directory
`/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src'
error: Bad exit status from /var/tmp/rpm-tmp.TtmLvI (%install)

Please help to resolve this.




Regards,
Gautam
Re: Compilation of ixgbe-zc- module on RHEL 6.7 with kernel version-2.6.32-696.16.1.el6.x86_64 [ In reply to ]
Hi Gautam
please move to latest stable (7.0) or use the drivers included in that version,
we no longer support 6.2..

Alfredo

> On 30 Nov 2017, at 05:50, Chandrika Gautam <chandrika.iitd.rock@gmail.com> wrote:
>
> Hi all,
>
> We are using PF_RING-6.2.0 and IXGBE-ZC compilation failing on the RHEL 6.7 with kernel version-2.6.32-696.16.1.el6.x86_64
>
> Below are the errors received -
>
> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/kcompat.h: In function '__kc_vlan_get_protocol':
> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/kcompat.h:3404: error: implicit declaration of function 'vlan_tx_tag_present'
> In file included from /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.c:51:
> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h: In function 'ixgbe_qv_unlock_napi':
> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h:602: error: too few arguments to function 'napi_gro_flush'
> make[2]: *** [/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.o] Error 1
> make[1]: *** [_module_/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.32-696.16.1.el6.x86_64'
> make: *** [default] Error 2
> make: Leaving directory `/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src'
> error: Bad exit status from /var/tmp/rpm-tmp.TtmLvI (%install)
>
> Please help to resolve this.
>
>
>
>
> Regards,
> Gautam
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
Re: Compilation of ixgbe-zc- module on RHEL 6.7 with kernel version-2.6.32-696.16.1.el6.x86_64 [ In reply to ]
Hi Alfredo,

Thanks for the prompt reply!

We can not use latest PF_RING 7.0 immediately but will plan that soon.
Meanwhile we can safely use the ixgbe driver code from 7.0 with PF_RING
6.2.0 right ?


Regards,
Gautam

On Thu, Nov 30, 2017 at 2:09 PM, Alfredo Cardigliano <cardigliano@ntop.org>
wrote:

> Hi Gautam
> please move to latest stable (7.0) or use the drivers included in that
> version,
> we no longer support 6.2..
>
> Alfredo
>
> On 30 Nov 2017, at 05:50, Chandrika Gautam <chandrika.iitd.rock@gmail.com>
> wrote:
>
> Hi all,
>
> We are using PF_RING-6.2.0 and IXGBE-ZC compilation failing on the RHEL
> 6.7 with kernel version-2.6.32-696.16.1.el6.x86_64
>
> Below are the errors received -
>
> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-
> 6.2.0/PF_RING-ZC-6.2.0/*src/kcompat.h: In function
> '__kc_vlan_get_protocol':*
> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-
> 6.2.0/PF_RING-ZC-6.2.0/
> *src/kcompat.h:3404: error: implicit declaration of function
> 'vlan_tx_tag_present'In file included from
> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.c:51:*
> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-
> 6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h: In function 'ixgbe_qv_unlock_napi':
> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-
> 6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h:602:
>
>
>
> *error: too few arguments to function 'napi_gro_flush'make[2]: ***
> [/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.o]
> Error 1make[1]: ***
> [_module_/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src]
> Error 2make[1]: Leaving directory
> `/usr/src/kernels/2.6.32-696.16.1.el6.x86_64'make: *** [default] Error 2*
> make: Leaving directory `/root/rpmbuild/BUILD/PF_RING-
> ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src'
> error: Bad exit status from /var/tmp/rpm-tmp.TtmLvI (%install)
>
> Please help to resolve this.
>
>
>
>
> Regards,
> Gautam
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
Re: Compilation of ixgbe-zc- module on RHEL 6.7 with kernel version-2.6.32-696.16.1.el6.x86_64 [ In reply to ]
Hi Gautam
said that it’s untested, you should be able to use drivers from 7 with 6.2

Alfredo

> On 30 Nov 2017, at 10:54, Chandrika Gautam <chandrika.iitd.rock@gmail.com> wrote:
>
> Hi Alfredo,
>
> Thanks for the prompt reply!
>
> We can not use latest PF_RING 7.0 immediately but will plan that soon.
> Meanwhile we can safely use the ixgbe driver code from 7.0 with PF_RING 6.2.0 right ?
>
>
> Regards,
> Gautam
>
> On Thu, Nov 30, 2017 at 2:09 PM, Alfredo Cardigliano <cardigliano@ntop.org <mailto:cardigliano@ntop.org>> wrote:
> Hi Gautam
> please move to latest stable (7.0) or use the drivers included in that version,
> we no longer support 6.2..
>
> Alfredo
>
>> On 30 Nov 2017, at 05:50, Chandrika Gautam <chandrika.iitd.rock@gmail.com <mailto:chandrika.iitd.rock@gmail.com>> wrote:
>>
>> Hi all,
>>
>> We are using PF_RING-6.2.0 and IXGBE-ZC compilation failing on the RHEL 6.7 with kernel version-2.6.32-696.16.1.el6.x86_64
>>
>> Below are the errors received -
>>
>> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/kcompat.h: In function '__kc_vlan_get_protocol':
>> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/kcompat.h:3404: error: implicit declaration of function 'vlan_tx_tag_present'
>> In file included from /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.c:51:
>> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h: In function 'ixgbe_qv_unlock_napi':
>> /root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h:602: error: too few arguments to function 'napi_gro_flush'
>> make[2]: *** [/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.o] Error 1
>> make[1]: *** [_module_/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src] Error 2
>> make[1]: Leaving directory `/usr/src/kernels/2.6.32-696.16.1.el6.x86_64'
>> make: *** [default] Error 2
>> make: Leaving directory `/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src'
>> error: Bad exit status from /var/tmp/rpm-tmp.TtmLvI (%install)
>>
>> Please help to resolve this.
>>
>>
>>
>>
>> Regards,
>> Gautam
>> _______________________________________________
>> Ntop-misc mailing list
>> Ntop-misc@listgateway.unipi.it <mailto:Ntop-misc@listgateway.unipi.it>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it <mailto:Ntop-misc@listgateway.unipi.it>
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc