Skip to contentSkip to conversation

DPDK apps are now working on CentOS 6.4

DISCUSSION Patrick Mahan 2 participants 2 messages May 17, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

This is an update to my last email requesting help with the DPDK sources and Fedora 14.

After talking with a colleague who was investigating DPDK as well, I removed the Fedora 14 install and installed instead CentOS 6.4. After installing the release, I did a 'yum update' on the kernel sources to obtain their latest kernel (2.6.32 + patches) which seems to include the hugepage fixes pointed out in the "Getting Started" guide. Plus, HPET was fully there (it was not mmapable in F14 until I rebuilt the kernel).

Booted with hugepages=1024, mounted /mnt/huge, 'make config' and 'make', installed uio and igb_uio and ran build/app/testpmd as shown on the website and now packets are moving. I don't know (yet) why Fedora 14 would not work while CentOS does when it looks like they have the same fixes. I partitioned my drive when I installed CentOS so I could install Fedora 14 back on the box as well.

The only error I was the inability to mmap the HPET even though the kernel config shows HPET_MMAP=y.

Later,

Patrick

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello,

17/05/2013 16:06, Patrick Mahan :

Quoted 2 lines

I don't know (yet) why Fedora 14 would not
work while CentOS does when it looks like they have the same fixes.

It's strange. I've already seen DPDK running on Fedora 14.

Quoted 2 lines

The only error I was the inability to mmap the HPET even though the kernel config shows HPET_MMAP=y.

You should try with the option --no-hpet.

Signature · 1 line
Thomas