- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to run DMA example from the OPAE samples on Arria 10. I managed to run other examples such as nlb and hello_afu, but dma_afu example gives me following error:
Running test in HW mode
Error fpgaDmaOpen: no memory
Error fpgaDmaClose: invalid parameter
Can you help me resolve it. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you confirm if you have sufficient memory allocated with the following command.
sudo sh -c "echo 20 > /sys/kernel/mm/hugepages/hugepages-\ 2048kB/nr_hugepages"
Also, if you are using multiple PAC cards, you need to allocate more memory.
thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am still investigating the source of this error.
I will reply to you shortly.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which version of OPAE are you running? Which OS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use OPAE 1.1 on Ubuntu 18.04 server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you confirm if you have sufficient memory allocated with the following command.
sudo sh -c "echo 20 > /sys/kernel/mm/hugepages/hugepages-\ 2048kB/nr_hugepages"
Also, if you are using multiple PAC cards, you need to allocate more memory.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Folks,
What was the solution to this issue? I am having the same problem. From this ticket, it is not clear how the issue got resolved?
Ofcourse, I am unable to run in sudo mode.
s005-n002:~/A10_RTL_AFU/dma_afu/sw$ sudo sh -c "echo 20 > /sys/kernel/mm/hugepages/hugepages-\ 2048kB/nr_hugepages"
Dear User,
this server does not allow you to run "sudo".
If you need to install a dependency, please put it in your home directory.
* For autotools, you can do it with "./configure --prefix=~/my-path"
* For Python packages, use "pip install <package_name> --user" or create a Conda environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@AIvan11 @Fawaz_Al-Jubori @Richard_C_Intel
How was this issue resolved? I am having the same problem.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page