UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor mikeren
Visitor
3,001 Views
Registered: ‎12-21-2017

kcu1500 install fail

Jump to solution

There are errors when I install the kcu1500.  I run the intall.sh and the result is below.

-------------------------------------------------------------------------------------------------------------------------------------

dodo-pc@dodo-PC:/opt/dsa/xilinx_kcu1500_dynamic_5_0/xbinst$ sudo ./install.sh -f yes -k yes
[sudo] dodo-pc 的密码:
INFO: Installing firmware for FPGA devices
Removing existing xclmgmt
Removing existing xocl
Found hal zip..ignoring
/tmp/2045/0
Archive:  xclmgmt.zip
  inflating: driver/include/xclerr.h  
  inflating: driver/include/xclbin.h  
  inflating: driver/xclng/mgmt/mgmt-bit.c  
  inflating: driver/xclng/mgmt/mgmt-core.c  
  inflating: driver/xclng/mgmt/mgmt-core.h  
  inflating: driver/xclng/mgmt/mgmt-cw.c  
  inflating: driver/xclng/mgmt/mgmt-i2c.c  
  inflating: driver/xclng/mgmt/mgmt-thread.c  
  inflating: driver/xclng/mgmt/mgmt-firewall.c  
  inflating: driver/xclng/mgmt/mgmt-utils.c  
  inflating: driver/xclng/mgmt/mgmt-ioctl.c  
  inflating: driver/xclng/mgmt/mgmt-xvc.c  
  inflating: driver/xclng/mgmt/mgmt-sysfs.c  
  inflating: driver/xclng/mgmt/mgmt-mb.c  
  inflating: driver/xclng/mgmt/xvc_pcie_ioctl.h  
  inflating: driver/include/xclfeatures.h  
 extracting: driver/xclng/mgmt/10-xclmgmt.rules  
  inflating: driver/xclng/mgmt/Makefile  
  inflating: driver/xclng/include/mgmt-reg.h  
  inflating: driver/xclng/include/mgmt-ioctl.h  
no makefile found in include
INFO: building kernel mode driver
make -C /lib/modules/4.8.0-36-generic/build M=/tmp/2045/0/driver/xclng/mgmt modules  #CFLAGS_MODULE=-DMGMT_1PF
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-36-generic'
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-core.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-bit.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-cw.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-i2c.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-thread.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-firewall.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-utils.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-ioctl.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-xvc.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-sysfs.o
  CC [M]  /tmp/2045/0/driver/xclng/mgmt/mgmt-mb.o
  LD [M]  /tmp/2045/0/driver/xclng/mgmt/xclmgmt.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/2045/0/driver/xclng/mgmt/xclmgmt.mod.o
  LD [M]  /tmp/2045/0/driver/xclng/mgmt/xclmgmt.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-36-generic'
INFO: Installing new kernel mode driver xclmgmt version 2017.4.4
make -C /lib/modules/4.8.0-36-generic/build M=/tmp/2045/0/driver/xclng/mgmt modules  #CFLAGS_MODULE=-DMGMT_1PF
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-36-generic'
make -C /lib/modules/4.8.0-36-generic/build M=/tmp/2045/0/driver/xclng/mgmt modules_install
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-36-generic'
  INSTALL /tmp/2045/0/driver/xclng/mgmt/xclmgmt.ko
At main.c:158:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  4.8.0-36-generic
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-36-generic'
depmod -a
install -m 644 10-xclmgmt.rules /etc/udev/rules.d
rmmod -s xclmgmt || true
modprobe xclmgmt
/tmp/2045/0
Archive:  xocl.zip
  inflating: driver/xclng/drm/xocl/libxdma.c  
  inflating: driver/xclng/drm/xocl/libxdma.h  
  inflating: driver/xclng/drm/xocl/xocl_bo.c  
  inflating: driver/xclng/drm/xocl/xocl_drv.c  
  inflating: driver/xclng/drm/xocl/xocl_sysfs.c  
  inflating: driver/xclng/drm/xocl/xocl_ioctl.c  
  inflating: driver/xclng/drm/xocl/xocl_test.c  
  inflating: driver/xclng/drm/xocl/xocl_drv.h  
  inflating: driver/xclng/drm/xocl/xocl_exec.h  
  inflating: driver/xclng/drm/xocl/xocl_xdma.c  
  inflating: driver/xclng/drm/xocl/xocl_ctx.c  
  inflating: driver/xclng/drm/xocl/xocl_xdma.h  
  inflating: driver/xclng/drm/xocl/cdev_sgdma.h  
  inflating: driver/xclng/drm/xocl/xocl_xvc.c  
  inflating: driver/xclng/drm/xocl/xocl_xvc.h  
  inflating: driver/xclng/drm/xocl/xvc_pcie_ioctl.h  
  inflating: driver/xclng/drm/xocl/Makefile  
 extracting: driver/xclng/drm/xocl/10-xocl.rules  
  inflating: driver/xclng/drm/.dir-locals.el  
  inflating: driver/xclng/include/xocl_ioctl.h  
  inflating: driver/xclng/include/libxdma_api.h  
  inflating: driver/xclng/include/drm/drm.h  
  inflating: driver/xclng/include/drm/drm_mode.h  
  inflating: driver/include/xclfeatures.h  
  inflating: driver/include/xclbin.h  
no makefile found in include
INFO: building kernel mode driver
make -C /lib/modules/4.8.0-36-generic/build M=/tmp/2045/0/driver/xclng/drm/xocl modules
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-36-generic'
  CC [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl_sysfs.o
/tmp/2045/0/driver/xclng/drm/xocl/xocl_sysfs.c: In function ‘mem_topology_show’:
/tmp/2045/0/driver/xclng/drm/xocl/xocl_sysfs.c:54:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  struct drm_device *ddev = dev_get_drvdata(dev);
  ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_sysfs.c: In function ‘connectivity_show’:
/tmp/2045/0/driver/xclng/drm/xocl/xocl_sysfs.c:68:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  struct drm_device *ddev = dev_get_drvdata(dev);
  ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_sysfs.c: In function ‘ip_layout_show’:
/tmp/2045/0/driver/xclng/drm/xocl/xocl_sysfs.c:81:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  struct drm_device *ddev = dev_get_drvdata(dev);
  ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_sysfs.c: In function ‘debug_ip_layout_show’:
/tmp/2045/0/driver/xclng/drm/xocl/xocl_sysfs.c:94:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  struct drm_device *ddev = dev_get_drvdata(dev);
  ^
  CC [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl_bo.o
/tmp/2045/0/driver/xclng/drm/xocl/xocl_bo.c: In function ‘xocl_free_bo’:
/tmp/2045/0/driver/xclng/drm/xocl/xocl_bo.c:105:23: warning: unused variable ‘xdev’ [-Wunused-variable]
  struct drm_xocl_dev *xdev = xobj->base.dev->dev_private;
                       ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_bo.c: In function ‘xocl_create_bo_ioctl’:
/tmp/2045/0/driver/xclng/drm/xocl/xocl_bo.c:340:23: warning: unused variable ‘xdev’ [-Wunused-variable]
  struct drm_xocl_dev *xdev = dev->dev_private;
                       ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_bo.c:337:15: warning: unused variable ‘page_count’ [-Wunused-variable]
  unsigned int page_count;
               ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_bo.c:336:15: warning: unused variable ‘cpages’ [-Wunused-variable]
  struct page *cpages;
               ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_bo.c:334:6: warning: unused variable ‘j’ [-Wunused-variable]
  int j;
      ^
  CC [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl_drv.o
In file included from ./include/linux/printk.h:6:0,
                 from ./include/linux/kernel.h:13,
                 from ./include/linux/list.h:8,
                 from ./include/linux/module.h:9,
                 from /tmp/2045/0/driver/xclng/drm/xocl/xocl_drv.c:20:
/tmp/2045/0/driver/xclng/drm/xocl/xocl_drv.c: In function ‘probe_feature_rom’:
./include/linux/kern_levels.h:4:18: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
 #define KERN_SOH "\001"  /* ASCII Start Of Header */
                  ^
./include/linux/kern_levels.h:13:19: note: in expansion of macro ‘KERN_SOH’
 #define KERN_INFO KERN_SOH "6" /* informational */
                   ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_drv.c:122:13: note: in expansion of macro ‘KERN_INFO’
      printk(KERN_INFO "XOCL: Printing PCI VendorID: %llx\n", xdev->ddev->pdev->
             ^
./include/linux/kern_levels.h:4:18: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
 #define KERN_SOH "\001"  /* ASCII Start Of Header */
                  ^
./include/linux/kern_levels.h:13:19: note: in expansion of macro ‘KERN_SOH’
 #define KERN_INFO KERN_SOH "6" /* informational */
                   ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_drv.c:123:13: note: in expansion of macro ‘KERN_INFO’
      printk(KERN_INFO "XOCL: Printing PCI DeviceID: %llx\n", xdev->ddev->pdev->
             ^
/tmp/2045/0/driver/xclng/drm/xocl/xocl_drv.c: In function ‘xocl_init’:
/tmp/2045/0/driver/xclng/drm/xocl/xocl_drv.c:799:1: warning: label ‘unregister_pci’ defined but not used [-Wunused-label]
 unregister_pci:
 ^
  CC [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl_xdma.o
  CC [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl_ioctl.o
  CC [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl_test.o
  CC [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl_ctx.o
/tmp/2045/0/driver/xclng/drm/xocl/xocl_ctx.c:196:34: warning: ‘penguin_ops’ defined but not used [-Wunused-variable]
 static struct drm_xocl_sched_ops penguin_ops = {
                                  ^
  CC [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl_xvc.o
  CC [M]  /tmp/2045/0/driver/xclng/drm/xocl/libxdma.o
  LD [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/2045/0/driver/xclng/drm/xocl/xocl.mod.o
  LD [M]  /tmp/2045/0/driver/xclng/drm/xocl/xocl.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-36-generic'
INFO: Installing new kernel mode driver xocl version 2017.4.5
make -C /lib/modules/4.8.0-36-generic/build M=/tmp/2045/0/driver/xclng/drm/xocl modules
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-36-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-36-generic'
make -C /lib/modules/4.8.0-36-generic/build M=/tmp/2045/0/driver/xclng/drm/xocl modules_install
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-36-generic'
  INSTALL /tmp/2045/0/driver/xclng/drm/xocl/xocl.ko
At main.c:158:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  4.8.0-36-generic
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-36-generic'
depmod -a
install -m 644 10-xocl.rules /etc/udev/rules.d
rmmod -s xocl || true
rmmod -s xdma || true
modprobe xocl
Generating SDAccel runtime environment setup script, setup.sh for bash
Generating SDAccel runtime environment setup script, setup.csh for (t)csh

-----------------------------------------------------------------------------------------------------------------------------
dodo-pc@dodo-PC:/opt/dsa/xilinx_kcu1500_dynamic_5_0/xbinst$ source setup.sh

-----------------------------------------------------------------------------------------------------------------------------
dodo-pc@dodo-PC:/opt/dsa/xilinx_kcu1500_dynamic_5_0/xbinst$ cd test/
dodo-pc@dodo-PC:/opt/dsa/xilinx_kcu1500_dynamic_5_0/xbinst/test$ ./verify.exe verify.xclbin
ERROR: Unable to open profile report for writing
Error: Failed to find an OpenCL platform!
Test failed

0 Kudos
1 Solution

Accepted Solutions
Visitor mikeren
Visitor
1,801 Views
Registered: ‎12-21-2017

Re: kcu1500 install fail

Jump to solution
I update my bios and it works.
0 Kudos
10 Replies
Scholar watari
Scholar
2,986 Views
Registered: ‎06-16-2013

Re: kcu1500 install fail

Jump to solution

Hi @mikeren

 

I guess you need to confirm "Installation Requirements" on page 8 of UG1144 (v2017.4) and install necessary package.

Would you confirm it ?

 

https://www.xilinx.com/support/documentation/sw_manuals_j/xilinx2017_4/ug1144-petalinux-tools-reference-guide.pdf

 

Best regards,

0 Kudos
Visitor andy_fox
Visitor
2,841 Views
Registered: ‎10-03-2017

Re: kcu1500 install fail

Jump to solution

This one relates to the signing of the driver. It is probably benign and you may find that the driver is installed anyway.

One approach (not recommended) is to prevent Ubuntu from doing a signature check by disabling verification using: sudo mokutil --disable-validation. (Google around about that command).

I don't think the issue you report is related to your installation, I think it relates to the version of Ubuntu you are using requiring signed drivers.

 

PS what do you see with lspci -kvv ? Can you see the pci driver for the card ?

0 Kudos
Highlighted
Observer zhengchaofeng
Observer
2,809 Views
Registered: ‎02-01-2018

Re: kcu1500 install fail

Jump to solution

Hi @mikeren

    There are same failures on my kcu1500, do you have any solutions now?

0 Kudos
Visitor njbenann
Visitor
2,572 Views
Registered: ‎02-16-2018

Re: kcu1500 install fail

Jump to solution

Hello @watari @andy_fox @mikeren @zhengchaofeng,

 

I am facing the same issue. Are there any solutions for this? Please let me know.

 

I used mokutil to disable verification but I still see the same issue. Stuck on this error for few weeks now. Any help will be greatly appreciated. 

0 Kudos
Observer zhengchaofeng
Observer
2,543 Views
Registered: ‎02-01-2018

Re: kcu1500 install fail

Jump to solution

hello, @njbenann

 

In page 136 of UG1023, you can try like that.

 

 

Note: If the test directory is not write enabled, it might be necessary to run the executable from a different
directory with an absolute path to the verify.xclbin.

 

 

0 Kudos
Visitor njbenann
Visitor
2,513 Views
Registered: ‎02-16-2018

Re: kcu1500 install fail

Jump to solution

Thank you for the reply @zhengchaofeng. Yes I have tried that but I still the same issue.

 

Since you said you have the same failures earlier, I was wondering if you have fixed it. Let me know.

0 Kudos
Observer remy561
Observer
1,938 Views
Registered: ‎06-20-2018

Re: kcu1500 install fail

Jump to solution

Same issue here with ubuntu 16.04.4 and SDAccel 2018.2. The card runs just fine though, so I guess I'll ignore it.

 

0 Kudos
Xilinx Employee
Xilinx Employee
1,919 Views
Registered: ‎09-08-2011

Re: kcu1500 install fail

Jump to solution

Hi mikeren,

 

   I believe you can ingore the SSL errors. They shouldn't in general affect the cards driver installs.

 

Verify that you can see the device:

 

lspci -d 10ee:

 

or lspci -vvv | grep Xilinx

 

Once you know it's there, then you should install the drivers by doing:

 

>sudo install.sh (generally what i do)

 

which will say sucess at the very end of the process. I would give it a reboot,

 

and then relaunch and source setup.sh

 

call xbsak list and see if the card is seen by xbsak.

 

If you can get there, then you should be good to go, otherwise please let me know where you get stopped.

If at first you don't succeed, try redefining success?
0 Kudos
Visitor mikeren
Visitor
1,802 Views
Registered: ‎12-21-2017

Re: kcu1500 install fail

Jump to solution
I update my bios and it works.
0 Kudos
Moderator
Moderator
949 Views
Registered: ‎11-04-2010

Re: kcu1500 install fail

Jump to solution
Hi, @mikeren ,
Please close the thread as solution accepted when the issue is resolved.
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos