Comments (4)
Hi,
Please check if you have xocl or edma driver installed already. If yes, then remove these before inserting xdma module.
lsmod | grep edma
lsmod | grep xocl
Let us know if you still continue to see issues.
Thanks,
AWScsaralay
from aws-fpga.
Thanks for replying so fast
I've removed xocl driver, and install the xdma driver again, but one of the error still exists
Can't read private key
I use
lsmod | grep xdma
and I can see xdma modules
But when I checked the /dev/ directory, I still cannot find device like "xdmaX_h2c_Y"
It seems xdma driver is not successfully installed.
Could you help me to check out ?
Thank you!
The following are logs
[centos@xdma]$ sudo make install all
Makefile:25: XVC_FLAGS: .
make -C /lib/modules/3.10.0-693.21.1.el7.x86_64/build M=/home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma modules
make[1]: Entering directory/usr/src/kernels/3.10.0-693.21.1.el7.x86_64' /home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma/Makefile:25: XVC_FLAGS: . Building modules, stage 2. /home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma/Makefile:25: XVC_FLAGS: . MODPOST 1 modules make[1]: Leaving directory
/usr/src/kernels/3.10.0-693.21.1.el7.x86_64'
make -C /lib/modules/3.10.0-693.21.1.el7.x86_64/build M=/home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma modules_install
make[1]: Entering directory/usr/src/kernels/3.10.0-693.21.1.el7.x86_64' INSTALL /home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma/xdma.ko Can't read private key DEPMOD 3.10.0-693.21.1.el7.x86_64 make[1]: Leaving directory
/usr/src/kernels/3.10.0-693.21.1.el7.x86_64'
depmod -a
install -m 644 10-xdma.rules /etc/udev/rules.d
rmmod -s xdma || true
modprobe xdma
make: `all' is up to date.
from aws-fpga.
Hi forcici,
This is not really an error that should stop the installation.
Can't read private key
Can you try clearing the fpga slot first by calling:
sudo fpga-clear-local-image -S0
AFI 0 none cleared 1 ok 0 0x071417d3
AFIDEVICE 0 0x1d0f 0x1042 0000:00:1d.0
After that if you run sudo make install, it should bind the driver to the cleared AFI.
Make sure that you run the following in case you've installed any of these drivers before:
sudo rmmod edma_drv
sudo rmmod xocl
Let us know here if this doesn't help!
Thanks,
Deep
from aws-fpga.
Thanks for you response.
I tried what you told me to do, and then I reboot AWS cloud service. Now I am able to find xdma device in directory /dev/*
Thank you !
from aws-fpga.
Related Issues (20)
- Reading Interrupt Signal from the shell HOT 2
- vitis_setup.sh with non-root permissions HOT 5
- AWS XVC new update HOT 4
- ERROR: [Place 30-678] Failed to do clock region partitioning HOT 8
- Placement issues faced as Vivado Tool is not using complete pBlock for Custom Logic Design HOT 5
- Using ARM processor in f1 FPGA instance HOT 16
- DDR performance drop with specific address access pattern HOT 4
- PCIM AXI W Channel hangs with wReady stuck at 0 HOT 2
- Time delay in filling up BRAM using DMA HOT 3
- Clock routing error [Place 30-838] HOT 4
- DMA read is not correct HOT 1
- [XRT] ERROR: failed to load xclbin: Invalid argument / xocl_read_axlf_helper: interface uuids do not match HOT 4
- Inserting ILA is improving the performance HOT 4
- Update HOT 8
- Name port does not exist for instance f1_inst HOT 6
- PCIM ARID all bits can be used? HOT 1
- peer xclbin download err: -11 HOT 2
- fpga_mgmt_load_local_image_sync() failures HOT 12
- Linux Kernel 6 support for xdma HOT 4
- Does aws have u200? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-fpga.