test_dram_dma.c error: "unable to open read dma queue"

0

Hi,

I am trying to run the test_dram_dma.c example on an f1.2xlarge instance. After downloading the FPGA image I encountered the following error on the last step:

sudo ./test_dram_dma
2021-10-03T21:44:34.660395Z, test_dram_dma, INFO, test_dram_dma.c +74: main(): Checking to see if the right AFI is loaded...
2021-10-03T21:44:34.670911Z, test_dram_dma, INFO, test_dram_dma_common.c +135: check_slot_config(): Operating on slot 0 with id: 0000:00:1d.0
2021-10-03T21:44:34.671770Z, test_dram_dma, ERROR, test_dram_dma.c +122: dma_example(): unable to open read dma queue
2021-10-03T21:44:34.671788Z, test_dram_dma, ERROR, test_dram_dma.c +82: main(): DMA example failed
2021-10-03T21:44:34.671794Z, test_dram_dma, INFO, test_dram_dma.c +95: main(): TEST FAILED

Has anyone else seen this error before, and if so, know what the issue is?

Thanks,
Kelvin

已提問 3 年前檢視次數 254 次
2 個答案
0
已接受的答案

Hi Kelvin,

Have you installed the XDMA driver on the instance? If you are using the FPGA Developer AMI, they come with XRT pre-installed. To use the cl_dram_dma examples, you would need to remove XRT and install the XDMA driver.

Instructions are provided here: https://github.com/aws/aws-fpga/blob/master/sdk/linux_kernel_drivers/xdma/xdma_install.md

Let us know if you've done these steps and we can investigate further.

Thanks,

Deep

Deep_P
已回答 3 年前
0

Thank you Deep. test_dram_dma passed after installing the xdma driver.

Regards
Kelvin

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南