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

gefragt vor 3 Jahren254 Aufrufe
2 Antworten
0
Akzeptierte Antwort

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
beantwortet vor 3 Jahren
0

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

Regards
Kelvin

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen