* [dpdk-users] Install DPDK on Centos7
@ 2018-04-20 16:01 RICCARDO RUSSO
2018-04-20 16:26 ` Chris Paquin
2018-04-23 7:27 ` James Bensley
0 siblings, 2 replies; 5+ messages in thread
From: RICCARDO RUSSO @ 2018-04-20 16:01 UTC (permalink / raw)
To: users
Hello,
I'm trying to install dpdk on CentOS
$ yum -y update
$ yum -y install git gcc numactl-devel libpcap-devel kernel-devel
$ hostnamectl
...
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-514.26.1.el7.x86_64
Architecture: x86-64
$ wget http://dpdk.org/browse/dpdk-stable/snapshot/dpdk-stable-18.02.tar.gz
$ gunzip dpdk-stable-18.02.tar.gz
$ tar -xvf dpdk-stable-18.02.tar
$ export RTE_SDK=/root/dpdk-stable-18.02
$ export RTE_TARGET=x86_64-native-linuxapp-gcc
$ cd $RTE_SDK
$ make install T=x86_64-native-linuxapp-gcc DESTDIR=install
...
== Build lib/librte_eal/linuxapp/eal
SYMLINK-FILE include/exec-env/rte_kni_common.h
CC eal.o
CC eal_hugepage_info.o
CC eal_memory.o
CC eal_thread.o
CC eal_log.o
CC eal_vfio.o
CC eal_vfio_mp_sync.o
CC eal_debug.o
CC eal_lcore.o
CC eal_timer.o
CC eal_interrupts.o
CC eal_alarm.o
CC eal_common_lcore.o
CC eal_common_timer.o
CC eal_common_memzone.o
CC eal_common_log.o
CC eal_common_launch.o
CC eal_common_memory.o
CC eal_common_tailqs.o
CC eal_common_errno.o
CC eal_common_cpuflags.o
CC eal_common_hypervisor.o
CC eal_common_string_fns.o
CC eal_common_hexdump.o
CC eal_common_devargs.o
CC eal_common_bus.o
CC eal_common_dev.o
CC eal_common_options.o
CC eal_common_thread.o
CC eal_common_proc.o
CC rte_malloc.o
CC malloc_elem.o
CC malloc_heap.o
CC rte_keepalive.o
CC rte_service.o
CC rte_reciprocal.o
CC rte_cpuflags.o
CC rte_hypervisor.o
CC rte_spinlock.o
CC rte_cycles.o
AR librte_eal.a
INSTALL-LIB librte_eal.a
== Build lib/librte_eal/linuxapp/igb_uio
make: *** /lib/modules/3.10.0-514.26.1.el7.x86_64/build: No such file or
directory. Stop.
make[7]: *** [igb_uio.ko] Error 2
make[6]: *** [igb_uio] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2
I don't know what I am missing
Rr
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] Install DPDK on Centos7
2018-04-20 16:01 [dpdk-users] Install DPDK on Centos7 RICCARDO RUSSO
@ 2018-04-20 16:26 ` Chris Paquin
2018-04-22 18:15 ` ..
2018-04-23 7:27 ` James Bensley
1 sibling, 1 reply; 5+ messages in thread
From: Chris Paquin @ 2018-04-20 16:26 UTC (permalink / raw)
To: RICCARDO RUSSO; +Cc: users
Here are my notes from the rhel, might be helpful.
https://fatmin.com/2017/08/25/how-to-install-testpmd-on-rhel-7-x/
On Fri, Apr 20, 2018, 12:02 PM RICCARDO RUSSO <riccardo.russo79@gmail.com>
wrote:
> Hello,
> I'm trying to install dpdk on CentOS
>
> $ yum -y update
> $ yum -y install git gcc numactl-devel libpcap-devel kernel-devel
> $ hostnamectl
> ...
> Virtualization: kvm
> Operating System: CentOS Linux 7 (Core)
> CPE OS Name: cpe:/o:centos:centos:7
> Kernel: Linux 3.10.0-514.26.1.el7.x86_64
> Architecture: x86-64
>
> $ wget
> http://dpdk.org/browse/dpdk-stable/snapshot/dpdk-stable-18.02.tar.gz
> $ gunzip dpdk-stable-18.02.tar.gz
> $ tar -xvf dpdk-stable-18.02.tar
> $ export RTE_SDK=/root/dpdk-stable-18.02
> $ export RTE_TARGET=x86_64-native-linuxapp-gcc
> $ cd $RTE_SDK
> $ make install T=x86_64-native-linuxapp-gcc DESTDIR=install
> ...
> == Build lib/librte_eal/linuxapp/eal
> SYMLINK-FILE include/exec-env/rte_kni_common.h
> CC eal.o
> CC eal_hugepage_info.o
> CC eal_memory.o
> CC eal_thread.o
> CC eal_log.o
> CC eal_vfio.o
> CC eal_vfio_mp_sync.o
> CC eal_debug.o
> CC eal_lcore.o
> CC eal_timer.o
> CC eal_interrupts.o
> CC eal_alarm.o
> CC eal_common_lcore.o
> CC eal_common_timer.o
> CC eal_common_memzone.o
> CC eal_common_log.o
> CC eal_common_launch.o
> CC eal_common_memory.o
> CC eal_common_tailqs.o
> CC eal_common_errno.o
> CC eal_common_cpuflags.o
> CC eal_common_hypervisor.o
> CC eal_common_string_fns.o
> CC eal_common_hexdump.o
> CC eal_common_devargs.o
> CC eal_common_bus.o
> CC eal_common_dev.o
> CC eal_common_options.o
> CC eal_common_thread.o
> CC eal_common_proc.o
> CC rte_malloc.o
> CC malloc_elem.o
> CC malloc_heap.o
> CC rte_keepalive.o
> CC rte_service.o
> CC rte_reciprocal.o
> CC rte_cpuflags.o
> CC rte_hypervisor.o
> CC rte_spinlock.o
> CC rte_cycles.o
> AR librte_eal.a
> INSTALL-LIB librte_eal.a
> == Build lib/librte_eal/linuxapp/igb_uio
> make: *** /lib/modules/3.10.0-514.26.1.el7.x86_64/build: No such file or
> directory. Stop.
> make[7]: *** [igb_uio.ko] Error 2
> make[6]: *** [igb_uio] Error 2
> make[5]: *** [linuxapp] Error 2
> make[4]: *** [librte_eal] Error 2
> make[3]: *** [lib] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [pre_install] Error 2
> make: *** [install] Error 2
>
> I don't know what I am missing
> Rr
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] Install DPDK on Centos7
2018-04-20 16:26 ` Chris Paquin
@ 2018-04-22 18:15 ` ..
0 siblings, 0 replies; 5+ messages in thread
From: .. @ 2018-04-22 18:15 UTC (permalink / raw)
To: Chris Paquin; +Cc: RICCARDO RUSSO, users
Got the kernel headers installed?
On Fri, 20 Apr 2018, 18:26 Chris Paquin, <cpaquin@redhat.com> wrote:
> Here are my notes from the rhel, might be helpful.
>
> https://fatmin.com/2017/08/25/how-to-install-testpmd-on-rhel-7-x/
>
>
> On Fri, Apr 20, 2018, 12:02 PM RICCARDO RUSSO <riccardo.russo79@gmail.com>
> wrote:
>
> > Hello,
> > I'm trying to install dpdk on CentOS
> >
> > $ yum -y update
> > $ yum -y install git gcc numactl-devel libpcap-devel kernel-devel
> > $ hostnamectl
> > ...
> > Virtualization: kvm
> > Operating System: CentOS Linux 7 (Core)
> > CPE OS Name: cpe:/o:centos:centos:7
> > Kernel: Linux 3.10.0-514.26.1.el7.x86_64
> > Architecture: x86-64
> >
> > $ wget
> > http://dpdk.org/browse/dpdk-stable/snapshot/dpdk-stable-18.02.tar.gz
> > $ gunzip dpdk-stable-18.02.tar.gz
> > $ tar -xvf dpdk-stable-18.02.tar
> > $ export RTE_SDK=/root/dpdk-stable-18.02
> > $ export RTE_TARGET=x86_64-native-linuxapp-gcc
> > $ cd $RTE_SDK
> > $ make install T=x86_64-native-linuxapp-gcc DESTDIR=install
> > ...
> > == Build lib/librte_eal/linuxapp/eal
> > SYMLINK-FILE include/exec-env/rte_kni_common.h
> > CC eal.o
> > CC eal_hugepage_info.o
> > CC eal_memory.o
> > CC eal_thread.o
> > CC eal_log.o
> > CC eal_vfio.o
> > CC eal_vfio_mp_sync.o
> > CC eal_debug.o
> > CC eal_lcore.o
> > CC eal_timer.o
> > CC eal_interrupts.o
> > CC eal_alarm.o
> > CC eal_common_lcore.o
> > CC eal_common_timer.o
> > CC eal_common_memzone.o
> > CC eal_common_log.o
> > CC eal_common_launch.o
> > CC eal_common_memory.o
> > CC eal_common_tailqs.o
> > CC eal_common_errno.o
> > CC eal_common_cpuflags.o
> > CC eal_common_hypervisor.o
> > CC eal_common_string_fns.o
> > CC eal_common_hexdump.o
> > CC eal_common_devargs.o
> > CC eal_common_bus.o
> > CC eal_common_dev.o
> > CC eal_common_options.o
> > CC eal_common_thread.o
> > CC eal_common_proc.o
> > CC rte_malloc.o
> > CC malloc_elem.o
> > CC malloc_heap.o
> > CC rte_keepalive.o
> > CC rte_service.o
> > CC rte_reciprocal.o
> > CC rte_cpuflags.o
> > CC rte_hypervisor.o
> > CC rte_spinlock.o
> > CC rte_cycles.o
> > AR librte_eal.a
> > INSTALL-LIB librte_eal.a
> > == Build lib/librte_eal/linuxapp/igb_uio
> > make: *** /lib/modules/3.10.0-514.26.1.el7.x86_64/build: No such file or
> > directory. Stop.
> > make[7]: *** [igb_uio.ko] Error 2
> > make[6]: *** [igb_uio] Error 2
> > make[5]: *** [linuxapp] Error 2
> > make[4]: *** [librte_eal] Error 2
> > make[3]: *** [lib] Error 2
> > make[2]: *** [all] Error 2
> > make[1]: *** [pre_install] Error 2
> > make: *** [install] Error 2
> >
> > I don't know what I am missing
> > Rr
> >
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] Install DPDK on Centos7
2018-04-20 16:01 [dpdk-users] Install DPDK on Centos7 RICCARDO RUSSO
2018-04-20 16:26 ` Chris Paquin
@ 2018-04-23 7:27 ` James Bensley
2018-04-23 14:11 ` Chris Paquin
1 sibling, 1 reply; 5+ messages in thread
From: James Bensley @ 2018-04-23 7:27 UTC (permalink / raw)
To: RICCARDO RUSSO; +Cc: users
On 20 April 2018 at 17:01, RICCARDO RUSSO <riccardo.russo79@gmail.com> wrote:
> Hello,
> I'm trying to install dpdk on CentOS
>
> $ yum -y update
> $ yum -y install git gcc numactl-devel libpcap-devel kernel-devel
> $ hostnamectl
> ...
> Virtualization: kvm
> Operating System: CentOS Linux 7 (Core)
> CPE OS Name: cpe:/o:centos:centos:7
> Kernel: Linux 3.10.0-514.26.1.el7.x86_64
> Architecture: x86-64
>
> $ wget http://dpdk.org/browse/dpdk-stable/snapshot/dpdk-stable-18.02.tar.gz
> $ gunzip dpdk-stable-18.02.tar.gz
> $ tar -xvf dpdk-stable-18.02.tar
> $ export RTE_SDK=/root/dpdk-stable-18.02
> $ export RTE_TARGET=x86_64-native-linuxapp-gcc
> $ cd $RTE_SDK
> $ make install T=x86_64-native-linuxapp-gcc DESTDIR=install
> ...
> == Build lib/librte_eal/linuxapp/eal
> SYMLINK-FILE include/exec-env/rte_kni_common.h
> CC eal.o
> CC eal_hugepage_info.o
> CC eal_memory.o
> CC eal_thread.o
> CC eal_log.o
> CC eal_vfio.o
> CC eal_vfio_mp_sync.o
> CC eal_debug.o
> CC eal_lcore.o
> CC eal_timer.o
> CC eal_interrupts.o
> CC eal_alarm.o
> CC eal_common_lcore.o
> CC eal_common_timer.o
> CC eal_common_memzone.o
> CC eal_common_log.o
> CC eal_common_launch.o
> CC eal_common_memory.o
> CC eal_common_tailqs.o
> CC eal_common_errno.o
> CC eal_common_cpuflags.o
> CC eal_common_hypervisor.o
> CC eal_common_string_fns.o
> CC eal_common_hexdump.o
> CC eal_common_devargs.o
> CC eal_common_bus.o
> CC eal_common_dev.o
> CC eal_common_options.o
> CC eal_common_thread.o
> CC eal_common_proc.o
> CC rte_malloc.o
> CC malloc_elem.o
> CC malloc_heap.o
> CC rte_keepalive.o
> CC rte_service.o
> CC rte_reciprocal.o
> CC rte_cpuflags.o
> CC rte_hypervisor.o
> CC rte_spinlock.o
> CC rte_cycles.o
> AR librte_eal.a
> INSTALL-LIB librte_eal.a
> == Build lib/librte_eal/linuxapp/igb_uio
> make: *** /lib/modules/3.10.0-514.26.1.el7.x86_64/build: No such file or
> directory. Stop.
> make[7]: *** [igb_uio.ko] Error 2
> make[6]: *** [igb_uio] Error 2
> make[5]: *** [linuxapp] Error 2
> make[4]: *** [librte_eal] Error 2
> make[3]: *** [lib] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [pre_install] Error 2
> make: *** [install] Error 2
>
> I don't know what I am missing
> Rr
Hi Riccardo,
I have to install these packages on CentOS 7 first:
sudo yum install make coreutils gcc glibc-devel.x86_64
kernel-devel.x86_64 kernel-headers.x86_64 python libpcap-devel
numactl.x86_64 numactl-devel.x86_64 numactl-libs.x86_64
Cheers,
James.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-users] Install DPDK on Centos7
2018-04-23 7:27 ` James Bensley
@ 2018-04-23 14:11 ` Chris Paquin
0 siblings, 0 replies; 5+ messages in thread
From: Chris Paquin @ 2018-04-23 14:11 UTC (permalink / raw)
To: James Bensley; +Cc: RICCARDO RUSSO, users
If there are any steps or pre-reqs that I am missing in my guide [1] please
let me know. Anything else that I should add?
[1] https://fatmin.com/2017/08/25/how-to-install-testpmd-on-rhel-7-x/
CHRISTOPHER PAQUIN
Cloud INFRASTRUCTURE Architect, RHCE, RHCSA-OSP
Red Hat <https://www.redhat.com/>
M: 770-906-7646
<https://red.ht/sig>
On Mon, Apr 23, 2018 at 3:27 AM, James Bensley <jwbensley@gmail.com> wrote:
> On 20 April 2018 at 17:01, RICCARDO RUSSO <riccardo.russo79@gmail.com>
> wrote:
> > Hello,
> > I'm trying to install dpdk on CentOS
> >
> > $ yum -y update
> > $ yum -y install git gcc numactl-devel libpcap-devel kernel-devel
> > $ hostnamectl
> > ...
> > Virtualization: kvm
> > Operating System: CentOS Linux 7 (Core)
> > CPE OS Name: cpe:/o:centos:centos:7
> > Kernel: Linux 3.10.0-514.26.1.el7.x86_64
> > Architecture: x86-64
> >
> > $ wget http://dpdk.org/browse/dpdk-stable/snapshot/dpdk-stable-
> 18.02.tar.gz
> > $ gunzip dpdk-stable-18.02.tar.gz
> > $ tar -xvf dpdk-stable-18.02.tar
> > $ export RTE_SDK=/root/dpdk-stable-18.02
> > $ export RTE_TARGET=x86_64-native-linuxapp-gcc
> > $ cd $RTE_SDK
> > $ make install T=x86_64-native-linuxapp-gcc DESTDIR=install
> > ...
> > == Build lib/librte_eal/linuxapp/eal
> > SYMLINK-FILE include/exec-env/rte_kni_common.h
> > CC eal.o
> > CC eal_hugepage_info.o
> > CC eal_memory.o
> > CC eal_thread.o
> > CC eal_log.o
> > CC eal_vfio.o
> > CC eal_vfio_mp_sync.o
> > CC eal_debug.o
> > CC eal_lcore.o
> > CC eal_timer.o
> > CC eal_interrupts.o
> > CC eal_alarm.o
> > CC eal_common_lcore.o
> > CC eal_common_timer.o
> > CC eal_common_memzone.o
> > CC eal_common_log.o
> > CC eal_common_launch.o
> > CC eal_common_memory.o
> > CC eal_common_tailqs.o
> > CC eal_common_errno.o
> > CC eal_common_cpuflags.o
> > CC eal_common_hypervisor.o
> > CC eal_common_string_fns.o
> > CC eal_common_hexdump.o
> > CC eal_common_devargs.o
> > CC eal_common_bus.o
> > CC eal_common_dev.o
> > CC eal_common_options.o
> > CC eal_common_thread.o
> > CC eal_common_proc.o
> > CC rte_malloc.o
> > CC malloc_elem.o
> > CC malloc_heap.o
> > CC rte_keepalive.o
> > CC rte_service.o
> > CC rte_reciprocal.o
> > CC rte_cpuflags.o
> > CC rte_hypervisor.o
> > CC rte_spinlock.o
> > CC rte_cycles.o
> > AR librte_eal.a
> > INSTALL-LIB librte_eal.a
> > == Build lib/librte_eal/linuxapp/igb_uio
> > make: *** /lib/modules/3.10.0-514.26.1.el7.x86_64/build: No such file or
> > directory. Stop.
> > make[7]: *** [igb_uio.ko] Error 2
> > make[6]: *** [igb_uio] Error 2
> > make[5]: *** [linuxapp] Error 2
> > make[4]: *** [librte_eal] Error 2
> > make[3]: *** [lib] Error 2
> > make[2]: *** [all] Error 2
> > make[1]: *** [pre_install] Error 2
> > make: *** [install] Error 2
> >
> > I don't know what I am missing
> > Rr
>
> Hi Riccardo,
>
> I have to install these packages on CentOS 7 first:
>
> sudo yum install make coreutils gcc glibc-devel.x86_64
> kernel-devel.x86_64 kernel-headers.x86_64 python libpcap-devel
> numactl.x86_64 numactl-devel.x86_64 numactl-libs.x86_64
>
> Cheers,
> James.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-04-23 14:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-20 16:01 [dpdk-users] Install DPDK on Centos7 RICCARDO RUSSO
2018-04-20 16:26 ` Chris Paquin
2018-04-22 18:15 ` ..
2018-04-23 7:27 ` James Bensley
2018-04-23 14:11 ` Chris Paquin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).