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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠