-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VP FPGA Error: "modprobe: ERROR: could not insert 'edma_drv': Exec format error" #61
Comments
I'v already created a new AWS instance(based on AMI - ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20180308 (ami-38708b45)) to flush the flow. I do not meet such a issue. Please make sure you have already installed AWS SDK and move the driver to the right place. |
What's more, we need to make sure we are using the right AMI and AWS instance Choose an instance type: we recommend the “f1.2xlarge”. |
I am using the other AMI recommendation which the http://nvdla.org/vp_fpga.html has stated: FPGA Developer AMI” (CentOS) You are saying the SDK will not be installed properly on this type? |
I followed the instructions stated all in the below image one by one: Should I do something else to make the SDK to be installed? |
Not sure, I do not tried this AMI. |
Sure, I will go with the same instance as you said shortly (in an hour). Thank you very much. |
|
So I should not checkout the version v1.4.0 of the aws-fpga? Because in the below image it is saying that we have to go with version 1.4.0. |
Yes, we need v1.4.0 |
so there is nothing I have to follow from the below link; https://github.com/aws/aws-fpga/tree/master/sdk I have to follow the instructions in the below image: Am I right? |
I just ran the command setup sdk_setup.sh It is saying the below: Build complete. Root privileges are required to install. You may be asked for your password... /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin Moreover, the lsmod | grep edma is not showing anything. It means I have to follow the next steps. Am I right? |
@taog2018 When I follow the next steps, I get the following error: ubuntu@ip-172-31-69-50:~/aws-fpga/sdk/linux_kernel_drivers/edma$ echo 'edma' | sudo tee --append /etc/modules-load.d/edma.conf |
Yes, you can create this path /etc/modules-load.d |
Dear @taog2018 , Thank you for your help. I was able to successfully do "make" and "make install". The VP is up now. Thank you very much again. |
I am following steps of 3.4.2 Setup AWS SDK and edma driver of the below link:
http://nvdla.org/vp_fpga.html
I get the below error:
[centos@ip-172-31-68-107 edma]$ sudo modprobe edma-drv
modprobe: ERROR: could not insert 'edma_drv': Exec format error
If I run the below command, the error goes away:
sudo rmmod xocl
Is the above command the right thing to do? Anybody can help me?
Thank you.
The text was updated successfully, but these errors were encountered: