-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Are they being compiled against kernel kernel 2.6.32-504.el6.x86_64?
When I tried installing ixgbe-zc-3.21.2-1dkms.noarch.rpm, I got the
following:
[...]
Running Transaction
Installing : ixgbe-zc-3.21.2-1dkms.noarch
1/1
Non-fatal POSTIN scriptlet failure in rpm package
ixgbe-zc-3.21.2-1dkms.noarch
Loading new ixgbe-zc-3.21.2 DKMS files...
Building for 2.6.32-504.el6.x86_64
Building initial module for 2.6.32-504.el6.x86_64
Error! Bad return status for module build on kernel:
2.6.32-504.el6.x86_64 (x86_64)
Consult /var/lib/dkms/ixgbe-zc/3.21.2/build/make.log for more information.
warning: %post(ixgbe-zc-3.21.2-1dkms.noarch) scriptlet failed, exit
status 10
When I look at the make.log file referenced it contains:
DKMS make.log for ixgbe-zc-3.21.2 for kernel 2.6.32-504.el6.x86_64
(x86_64)
Tue Oct 21 14:46:36 PDT 2014
make -C /lib/modules/2.6.32-504.el6.x86_64/build
SUBDIRS=/var/lib/dkms/ixgbe-zc/3.21.2/build modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-504.el6.x86_64'
CC [M] /var/lib/dkms/ixgbe-zc/3.21.2/build/ixgbe_main.o
In file included from
/var/lib/dkms/ixgbe-zc/3.21.2/build/ixgbe_osdep.h:37,
from /var/lib/dkms/ixgbe-zc/3.21.2/build/ixgbe_type.h:65,
from /var/lib/dkms/ixgbe-zc/3.21.2/build/ixgbe_dcb.h:28,
from /var/lib/dkms/ixgbe-zc/3.21.2/build/ixgbe.h:47,
from /var/lib/dkms/ixgbe-zc/3.21.2/build/ixgbe_main.c:50:
/var/lib/dkms/ixgbe-zc/3.21.2/build/kcompat.h:4056: error: nested
redefinition of ‘enum pkt_hash_types’
/var/lib/dkms/ixgbe-zc/3.21.2/build/kcompat.h:4056: error:
redeclaration of ‘enum pkt_hash_types’
/var/lib/dkms/ixgbe-zc/3.21.2/build/kcompat.h:4057: error:
redeclaration of enumerator ‘PKT_HASH_TYPE_NONE’
include/linux/skbuff.h:613: note: previous definition of
‘PKT_HASH_TYPE_NONE’ was here
/var/lib/dkms/ixgbe-zc/3.21.2/build/kcompat.h:4058: error:
redeclaration of enumerator ‘PKT_HASH_TYPE_L2’
include/linux/skbuff.h:614: note: previous definition of
‘PKT_HASH_TYPE_L2’ was here
/var/lib/dkms/ixgbe-zc/3.21.2/build/kcompat.h:4059: error:
redeclaration of enumerator ‘PKT_HASH_TYPE_L3’
include/linux/skbuff.h:615: note: previous definition of
‘PKT_HASH_TYPE_L3’ was here
/var/lib/dkms/ixgbe-zc/3.21.2/build/kcompat.h:4060: error:
redeclaration of enumerator ‘PKT_HASH_TYPE_L4’
include/linux/skbuff.h:616: note: previous definition of
‘PKT_HASH_TYPE_L4’ was here
/var/lib/dkms/ixgbe-zc/3.21.2/build/ixgbe_main.c:9601: error: unknown
field ‘ndo_busy_poll’ specified in initializer
/var/lib/dkms/ixgbe-zc/3.21.2/build/ixgbe_main.c:9601: warning:
initialization from incompatible pointer type
make[2]: *** [/var/lib/dkms/ixgbe-zc/3.21.2/build/ixgbe_main.o] Error 1
make[1]: *** [_module_/var/lib/dkms/ixgbe-zc/3.21.2/build] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.el6.x86_64'
make: *** [default] Error 2
Yours,
John
On 10/21/14 1:38 PM, Luca Deri wrote:
> John, the ZC drivers are compiled every night for both CentOS v6
> and v7, and you can find them at http://packages.ntop.org
> <http://packages.ntop.org/> so they should compile for you too
>
> Luca
>
>> On 21 Oct 2014, at 22:29, John Ives <[email protected]>
>> wrote:
>>
> Has there been any progress on this as I am experiencing the same
> issue building 6.0.3 (trying to get to the ZC DAQ) fresh from svn
> on a RHEL 6.6 box (kernel 2.6.32-504.el6.x86_64 as well).
>
> Yours,
>
> John
>
> On 10/16/14 9:08 AM, Scott Finlon wrote:
>>>> make -C /lib/modules/2.6.32-504.el6.x86_64/build
>>>> SUBDIRS=/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src
>>>>
>>>>
modules make[1]: Entering directory
>>>> `/usr/src/kernels/2.6.32-504.el6.x86_64' CC [M]
>>>> /usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.o
>>>>
>>>>
>
>>>>
In file included from
> /usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.c:51:
>>>>
>
/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe.h:
>>>> In function ‘ixgbe_qv_unlock_napi’:
>>>> /usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe.h:602:
>>>>
>>>>
error: too many arguments to function ‘napi_gro_flush’
>>>> /usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.c:
>>>>
>>>>
At top level:
>>>> /usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.c:9778:
>>>>
>>>>
error: unknown field ‘ndo_busy_poll’ specified in initializer
>>>> /usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.c:9778:
>>>>
>>>>
warning: initialization from incompatible pointer type make[2]: ***
>>>> [/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src/ixgbe_main.o]
>>>>
>>>>
Error 1 make[1]: ***
>>>> [_module_/usr/local/src/PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.22.3-zc/src]
>>>>
>>>>
Error 2 make[1]: Leaving directory
>>>> `/usr/src/kernels/2.6.32-504.el6.x86_64' make: *** [default]
>>>> Error 2
>>>>
>>>>
>>>> I am running: Linux 2.6.32-504.el6.x86_64 #1 SMP Tue Sep 16
>>>> 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>
>>>> Scott Finlon, CISSP GCIA GCIH
>>>> ----------------------------------- Information Security
>>>> Engineer The University of Scranton email :
>>>> [email protected] phone : 570-941-6168
>>>> -----------------------------------
>>>>
>>>>
>>>> From: "[email protected]<mailto:[email protected]>"
>>>> <[email protected]<mailto:[email protected]>>
>>>> Reply-To:
>>>> "[email protected]<mailto:[email protected]>"
>>>>
>>>>
<[email protected]<mailto:[email protected]>>
>>>>
>>>>
> Date: Thursday, October 16, 2014 at 12:06 PM
>>>> To:
>>>> "[email protected]<mailto:[email protected]>"
>>>>
>>>>
<[email protected]<mailto:[email protected]>>
>>>>
>>>>
> Subject: Re: [Ntop-misc] Error compiling ixgbe drivers in RHEL
>>>>
>>>> Hi Scott probably something has changed in your kernel
>>>> version, please try also with ixgbe-3.22.3-zc to make sure it
>>>> has not been already fixed.
>>>>
>>>> Best Regards Alfredo
>>>>
>>>> On 16 Oct 2014, at 18:00, Scott Finlon
>>>> <[email protected]<mailto:[email protected]>>
>>>>
>>>>
wrote:
>>>>
>>>> I upgrade the kernel on my RHEL boxes today, and when I
>>>> attempted to recompile the ixgbe drivers I was met with the
>>>> following error:
>>>>
>>>> make -C /lib/modules/2.6.32-504.el6.x86_64/build
>>>> SUBDIRS=/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src
>>>>
>>>>
modules make[1]: Entering directory
>>>> `/usr/src/kernels/2.6.32-504.el6.x86_64' CC [M]
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.o
>>>>
>>>>
>
>>>>
In file included from
> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_osdep.h:37,
>>>>
>
from
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_type.h:65,
>>>>
>>>>
>
>>>>
from /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_dcb.h:28,
>>>> from
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe.h:47,
>>>>
>>>>
>
>>>>
from
> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.c:50:
>>>>
>
/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4063:
>>>> error: nested redefinition of ‘enum pkt_hash_types’
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4063:
>>>>
>>>>
error: redeclaration of ‘enum pkt_hash_types’
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4064:
>>>>
>>>>
error: redeclaration of enumerator ‘PKT_HASH_TYPE_NONE’
>>>> include/linux/skbuff.h:613: note: previous definition of
>>>> ‘PKT_HASH_TYPE_NONE’ was here
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4065:
>>>>
>>>>
error: redeclaration of enumerator ‘PKT_HASH_TYPE_L2’
>>>> include/linux/skbuff.h:614: note: previous definition of
>>>> ‘PKT_HASH_TYPE_L2’ was here
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4066:
>>>>
>>>>
error: redeclaration of enumerator ‘PKT_HASH_TYPE_L3’
>>>> include/linux/skbuff.h:615: note: previous definition of
>>>> ‘PKT_HASH_TYPE_L3’ was here
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/kcompat.h:4067:
>>>>
>>>>
error: redeclaration of enumerator ‘PKT_HASH_TYPE_L4’
>>>> include/linux/skbuff.h:616: note: previous definition of
>>>> ‘PKT_HASH_TYPE_L4’ was here
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.c:9371:
>>>>
>>>>
error: unknown field ‘ndo_busy_poll’ specified in initializer
>>>> /usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.c:9371:
>>>>
>>>>
warning: initialization from incompatible pointer type make[2]: ***
>>>> [/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src/ixgbe_main.o]
>>>>
>>>>
Error 1 make[1]: ***
>>>> [_module_/usr/local/src/PF_RING/drivers/DNA/ixgbe-3.21.2-DNA/src]
>>>>
>>>>
Error 2 make[1]: Leaving directory
>>>> `/usr/src/kernels/2.6.32-504.el6.x86_64' make: *** [default]
>>>> Error 2
>>>>
>>>> I see Ubuntu users had a similar problem back in August with
>>>> the OS back porting stuff into the kernel that wasn’t
>>>> officially there. Is there a similar patch for RHEL yet?
>>>>
>>>> Thanks! -Scott
>>>>
>>>>
>>>> Scott Finlon, CISSP GCIA GCIH
>>>> ----------------------------------- Information Security
>>>> Engineer The University of Scranton email :
>>>> [email protected]<mailto:[email protected]>
>>>> phone : 570-941-6168 -----------------------------------
>>>>
>>>> _______________________________________________ Ntop-misc
>>>> mailing list
>>>> [email protected]<mailto:[email protected]>
>>>>
>>>>
>
>>>>
http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________ Ntop-misc
>>>> mailing list [email protected]
>>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>>>
>
>
>> _______________________________________________ Ntop-misc mailing
>> list [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>
>
> _______________________________________________ Ntop-misc mailing
> list [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
- --
- -------------------------------------------------------------------------
John Ives
Information Security & Policy Phone (510) 229-8676
University of California, Berkeley
- -------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
iQEcBAEBCgAGBQJURtTEAAoJEJkidK6qbyws2tYIAJXxobgJ5xVPAKgB4bI195O5
EBdBzhkmMgk/n4/7tLMUGSWANVi9fmNUurmU2VspEcryNpDQOZQ587qoPoaEr7Xy
v3DPR7UFAMkdFL3h07UQJerRmj+7oTxJsTUJHF7TZWNn+wGRKD0oil2PhYVKH5sK
deQu+mzfLqI5zGZ5n1ofcF7kIV+hpjIn3S9LIIvZtu9kVCPFXQMHuE/ltYDZVm15
wXIZzhZLyO/E7fClBzxe0M7TpLI4GUYOKevGWZUmrC39TSZV30QkwPcq3xLqdzeK
gTLDrquTNN1nhdQofZYFpisDjqOKBbfCBcHxdpaXl5c/NakZuwlxVY8RaZoECBw=
=3NUu
-----END PGP SIGNATURE-----
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc