* Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
2016-03-23 14:00 ` Thomas Monjalon
@ 2016-03-23 14:38 ` Murali Krishna
2016-03-23 14:49 ` Thomas Monjalon
2016-03-23 14:52 ` Murali Krishna
2016-03-23 15:05 ` Murali Krishna
2 siblings, 1 reply; 7+ messages in thread
From: Murali Krishna @ 2016-03-23 14:38 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: users
Hi Thomas,
I tried workaround 1, 2 and 3.
1. I still see some errors after disabling igb_uio(setting
CONFIG_RTE_EAL_IGB_UIO=n in x86_64-native-linuxapp-gcc/.config) in the same
kernel(2.6.32-621.el6.x86_64). Please see the attachment for detailed error
information.
2. I tried to build dpdk 2.2.0 on Rhel7.2 kernel(3.10.0-327.el7.x86_64) and
I didn’t see any errors.
3. I tried to compile older DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0) on
the same Rhel6.8 kernel(2.6.32-621.el6.x86_64). I am seeing the same errors
which I observed while building dpdk 2.2.0 when I try to compile older
DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0)
Thanks,
Murali
-----Original Message-----
From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
Sent: Wednesday, March 23, 2016 7:31 PM
To: Murali Krishna
Cc: users@dpdk.org
Subject: Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
Hi,
2016-03-23 19:04, Murali Krishna:
> [root@Rhel68B1 dpdk-2.2.0]# cat /etc/redhat-release
>
> Red Hat Enterprise Linux Server release 6.8 Beta (Santiago)
>
> [root@Rhel68B1 dpdk-2.2.0]# uname -a
>
> Linux Rhel68B1 2.6.32-621.el6.x86_64 #1 SMP Wed Feb 24 00:07:06 EST
> 2016
> x86_64 x86_64 x86_64 GNU/Linux
[...]
> /root/dpdk-2.2.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:213:
> error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use in this
> function)
[...]
> Is there any workaround for this?
Yes there are a lot of workarounds (see the 4 proposals below).
igb_uio is an out-of-tree kernel module.
We are replacing it with upstream modules uio_pci_generic or vfio.
1/ Try to disable igb_uio in your config
(x86_64-native-linuxapp-gcc/.config):
CONFIG_RTE_EAL_IGB_UIO=n
2/ If you want igb_uio, you should upgrade your kernel 3/ If you want to
keep this kernel, you can try an older DPDK version 4/ If you want to keep
this kernel and this DPDK, you can try to fix
the issue and submit a patch to dev@dpdk.org.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1st_Workaround_disabled_igb_uio.txt
URL: <http://dpdk.org/ml/archives/users/attachments/20160323/0d2f2dca/attachment.txt>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
2016-03-23 14:38 ` Murali Krishna
@ 2016-03-23 14:49 ` Thomas Monjalon
2016-03-23 15:00 ` Murali Krishna
0 siblings, 1 reply; 7+ messages in thread
From: Thomas Monjalon @ 2016-03-23 14:49 UTC (permalink / raw)
To: Murali Krishna; +Cc: users
2016-03-23 20:08, Murali Krishna:
> Hi Thomas,
>
> I tried workaround 1, 2 and 3.
>
> 1. I still see some errors after disabling igb_uio(setting
> CONFIG_RTE_EAL_IGB_UIO=n in x86_64-native-linuxapp-gcc/.config) in the same
> kernel(2.6.32-621.el6.x86_64). Please see the attachment for detailed error
> information.
You must disable KNI which is also failing:
CONFIG_RTE_KNI_KMOD=n
> 2. I tried to build dpdk 2.2.0 on Rhel7.2 kernel(3.10.0-327.el7.x86_64) and
> I didn’t see any errors.
>
> 3. I tried to compile older DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0) on
> the same Rhel6.8 kernel(2.6.32-621.el6.x86_64). I am seeing the same errors
> which I observed while building dpdk 2.2.0 when I try to compile older
> DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0)
It is hard to maintain these out of tree modules for kernels receiving
a lot of backports.
> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> 2016-03-23 19:04, Murali Krishna:
> > [root@Rhel68B1 dpdk-2.2.0]# cat /etc/redhat-release
> >
> > Red Hat Enterprise Linux Server release 6.8 Beta (Santiago)
> >
> > [root@Rhel68B1 dpdk-2.2.0]# uname -a
> >
> > Linux Rhel68B1 2.6.32-621.el6.x86_64 #1 SMP Wed Feb 24 00:07:06 EST
> > 2016
> > x86_64 x86_64 x86_64 GNU/Linux
> [...]
> > /root/dpdk-2.2.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:213:
> > error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use in this
> > function)
> [...]
> > Is there any workaround for this?
>
> Yes there are a lot of workarounds (see the 4 proposals below).
> igb_uio is an out-of-tree kernel module.
> We are replacing it with upstream modules uio_pci_generic or vfio.
>
> 1/ Try to disable igb_uio in your config (x86_64-native-linuxapp-gcc/.config):
> CONFIG_RTE_EAL_IGB_UIO=n
> 2/ If you want igb_uio, you should upgrade your kernel
> 3/ If you want to keep this kernel, you can try an older DPDK version
> 4/ If you want to keep this kernel and this DPDK, you can try to fix
> the issue and submit a patch to dev@dpdk.org.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
2016-03-23 14:49 ` Thomas Monjalon
@ 2016-03-23 15:00 ` Murali Krishna
0 siblings, 0 replies; 7+ messages in thread
From: Murali Krishna @ 2016-03-23 15:00 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: users
After disabling KNI(CONFIG_RTE_KNI_KMOD=n), dpdk 2.2.0 got compiled
successfully on Rhel 6.8 Kernel(2.6.32-621.el6.x86_64).
Thanks,
Murali
-----Original Message-----
From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
Sent: Wednesday, March 23, 2016 8:20 PM
To: Murali Krishna
Cc: users@dpdk.org
Subject: Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
2016-03-23 20:08, Murali Krishna:
> Hi Thomas,
>
> I tried workaround 1, 2 and 3.
>
> 1. I still see some errors after disabling igb_uio(setting
> CONFIG_RTE_EAL_IGB_UIO=n in x86_64-native-linuxapp-gcc/.config) in the
> same kernel(2.6.32-621.el6.x86_64). Please see the attachment for
> detailed error information.
You must disable KNI which is also failing:
CONFIG_RTE_KNI_KMOD=n
> 2. I tried to build dpdk 2.2.0 on Rhel7.2
> kernel(3.10.0-327.el7.x86_64) and I didn’t see any errors.
>
> 3. I tried to compile older DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK
> 2.0.0) on the same Rhel6.8 kernel(2.6.32-621.el6.x86_64). I am seeing
> the same errors which I observed while building dpdk 2.2.0 when I try
> to compile older DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0)
It is hard to maintain these out of tree modules for kernels receiving a lot
of backports.
> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> 2016-03-23 19:04, Murali Krishna:
> > [root@Rhel68B1 dpdk-2.2.0]# cat /etc/redhat-release
> >
> > Red Hat Enterprise Linux Server release 6.8 Beta (Santiago)
> >
> > [root@Rhel68B1 dpdk-2.2.0]# uname -a
> >
> > Linux Rhel68B1 2.6.32-621.el6.x86_64 #1 SMP Wed Feb 24 00:07:06 EST
> > 2016
> > x86_64 x86_64 x86_64 GNU/Linux
> [...]
> > /root/dpdk-2.2.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:213:
> > error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use in this
> > function)
> [...]
> > Is there any workaround for this?
>
> Yes there are a lot of workarounds (see the 4 proposals below).
> igb_uio is an out-of-tree kernel module.
> We are replacing it with upstream modules uio_pci_generic or vfio.
>
> 1/ Try to disable igb_uio in your config
> (x86_64-native-linuxapp-gcc/.config):
> CONFIG_RTE_EAL_IGB_UIO=n
> 2/ If you want igb_uio, you should upgrade your kernel 3/ If you want
> to keep this kernel, you can try an older DPDK version 4/ If you want
> to keep this kernel and this DPDK, you can try to fix
> the issue and submit a patch to dev@dpdk.org.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
2016-03-23 14:00 ` Thomas Monjalon
2016-03-23 14:38 ` Murali Krishna
@ 2016-03-23 14:52 ` Murali Krishna
2016-03-23 15:05 ` Murali Krishna
2 siblings, 0 replies; 7+ messages in thread
From: Murali Krishna @ 2016-03-23 14:52 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: users
I also tried to build DPDK 2.2.0 on Rhel 6.7 Kernel(2.6.32-573.el6.x86_64)
and I didn’t see any errors, build was successful.
Thanks,
Murali
-----Original Message-----
From: Murali Krishna [mailto:murali.krishna@broadcom.com]
Sent: Wednesday, March 23, 2016 8:08 PM
To: 'Thomas Monjalon'
Cc: 'users@dpdk.org'
Subject: RE: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
Hi Thomas,
I tried workaround 1, 2 and 3.
1. I still see some errors after disabling igb_uio(setting
CONFIG_RTE_EAL_IGB_UIO=n in x86_64-native-linuxapp-gcc/.config) in the same
kernel(2.6.32-621.el6.x86_64). Please see the attachment for detailed error
information.
2. I tried to build dpdk 2.2.0 on Rhel7.2 kernel(3.10.0-327.el7.x86_64) and
I didn’t see any errors.
3. I tried to compile older DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0) on
the same Rhel6.8 kernel(2.6.32-621.el6.x86_64). I am seeing the same errors
which I observed while building dpdk 2.2.0 when I try to compile older
DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0)
Thanks,
Murali
-----Original Message-----
From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
Sent: Wednesday, March 23, 2016 7:31 PM
To: Murali Krishna
Cc: users@dpdk.org
Subject: Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
Hi,
2016-03-23 19:04, Murali Krishna:
> [root@Rhel68B1 dpdk-2.2.0]# cat /etc/redhat-release
>
> Red Hat Enterprise Linux Server release 6.8 Beta (Santiago)
>
> [root@Rhel68B1 dpdk-2.2.0]# uname -a
>
> Linux Rhel68B1 2.6.32-621.el6.x86_64 #1 SMP Wed Feb 24 00:07:06 EST
> 2016
> x86_64 x86_64 x86_64 GNU/Linux
[...]
> /root/dpdk-2.2.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:213:
> error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use in this
> function)
[...]
> Is there any workaround for this?
Yes there are a lot of workarounds (see the 4 proposals below).
igb_uio is an out-of-tree kernel module.
We are replacing it with upstream modules uio_pci_generic or vfio.
1/ Try to disable igb_uio in your config
(x86_64-native-linuxapp-gcc/.config):
CONFIG_RTE_EAL_IGB_UIO=n
2/ If you want igb_uio, you should upgrade your kernel 3/ If you want to
keep this kernel, you can try an older DPDK version 4/ If you want to keep
this kernel and this DPDK, you can try to fix
the issue and submit a patch to dev@dpdk.org.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
2016-03-23 14:00 ` Thomas Monjalon
2016-03-23 14:38 ` Murali Krishna
2016-03-23 14:52 ` Murali Krishna
@ 2016-03-23 15:05 ` Murali Krishna
2 siblings, 0 replies; 7+ messages in thread
From: Murali Krishna @ 2016-03-23 15:05 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: users
Note: DPDK 2.2.0 build was successful on Rhel 6.7
kernel(2.6.32-573.el6.x86_64) without disabling
igb_uio(CONFIG_RTE_EAL_IGB_UIO=n) and KNI(CONFIG_RTE_KNI_KMOD=n)
Thanks,
Murali
-----Original Message-----
From: Murali Krishna [mailto:murali.krishna@broadcom.com]
Sent: Wednesday, March 23, 2016 8:23 PM
To: 'Thomas Monjalon'
Cc: 'users@dpdk.org'
Subject: RE: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
I also tried to build DPDK 2.2.0 on Rhel 6.7 Kernel(2.6.32-573.el6.x86_64)
and I didn’t see any errors, build was successful.
Thanks,
Murali
-----Original Message-----
From: Murali Krishna [mailto:murali.krishna@broadcom.com]
Sent: Wednesday, March 23, 2016 8:08 PM
To: 'Thomas Monjalon'
Cc: 'users@dpdk.org'
Subject: RE: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
Hi Thomas,
I tried workaround 1, 2 and 3.
1. I still see some errors after disabling igb_uio(setting
CONFIG_RTE_EAL_IGB_UIO=n in x86_64-native-linuxapp-gcc/.config) in the same
kernel(2.6.32-621.el6.x86_64). Please see the attachment for detailed error
information.
2. I tried to build dpdk 2.2.0 on Rhel7.2 kernel(3.10.0-327.el7.x86_64) and
I didn’t see any errors.
3. I tried to compile older DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0) on
the same Rhel6.8 kernel(2.6.32-621.el6.x86_64). I am seeing the same errors
which I observed while building dpdk 2.2.0 when I try to compile older
DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0)
Thanks,
Murali
-----Original Message-----
From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
Sent: Wednesday, March 23, 2016 7:31 PM
To: Murali Krishna
Cc: users@dpdk.org
Subject: Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel
Hi,
2016-03-23 19:04, Murali Krishna:
> [root@Rhel68B1 dpdk-2.2.0]# cat /etc/redhat-release
>
> Red Hat Enterprise Linux Server release 6.8 Beta (Santiago)
>
> [root@Rhel68B1 dpdk-2.2.0]# uname -a
>
> Linux Rhel68B1 2.6.32-621.el6.x86_64 #1 SMP Wed Feb 24 00:07:06 EST
> 2016
> x86_64 x86_64 x86_64 GNU/Linux
[...]
> /root/dpdk-2.2.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:213:
> error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use in this
> function)
[...]
> Is there any workaround for this?
Yes there are a lot of workarounds (see the 4 proposals below).
igb_uio is an out-of-tree kernel module.
We are replacing it with upstream modules uio_pci_generic or vfio.
1/ Try to disable igb_uio in your config
(x86_64-native-linuxapp-gcc/.config):
CONFIG_RTE_EAL_IGB_UIO=n
2/ If you want igb_uio, you should upgrade your kernel 3/ If you want to
keep this kernel, you can try an older DPDK version 4/ If you want to keep
this kernel and this DPDK, you can try to fix
the issue and submit a patch to dev@dpdk.org.
^ permalink raw reply [flat|nested] 7+ messages in thread