Git Product home page Git Product logo

Comments (4)

AWScsaralay avatar AWScsaralay commented on May 19, 2024

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.

forcici avatar forcici commented on May 19, 2024

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.

deeppat avatar deeppat commented on May 19, 2024

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.

forcici avatar forcici commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.