Problem in install(xocl, xclmgmt andERT firmware)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- linux, ubuntu
- Domain
- devops, operating-systems
Research direction
Reproduce the Ubuntu 22.04 installation using build.sh and the generated xrt*.deb, then inspect the DKMS installation output and /lib/firmware/xilinx. Determine whether the xocl and xclmgmt messages, Secure Boot notice, and missing ERT firmware are expected. Done means documenting the cause and required installation steps, or identifying a reproducible packaging defect.
Written by the indexing model from the issue text.
Description
I run in ubuntu22.04: Follow the instruction in https://xilinx.github.io/XRT/2022.2/html/build.html
When : sudo apt install ./xrt_202220.2.14.0_22.04-amd64-xrt.deb
There is some problem in xocl and xclmgmt, and also I see "Secure Boot not enabled on this system."
and ERT firmware seems to be skipped, I can't find it in /lib/firmware/xilinx.
Could you tell me is my installation successful? How can I solve these problems?
The follow result is:
sudo ./build.sh
****************************************************************
* XILINX_VITIS is undefined or not accessible *
* MicroBlaze firmware will not be built *
****************************************************************
Above is some warnings? But the build.sh is success and package the xrt*.deb
sudo apt install ./xrt_202220.2.14.0_22.04-amd64-xrt.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'xrt' instead of './xrt_202220.2.14.0_22.04-amd64-xrt.deb'
The following NEW packages will be installed:
xrt
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/23.6 MB of archives.
After this operation, 104 MB of additional disk space will be used.
Get:1 /home/lab/tools/XRT-2022.2/build/Release/xrt_202220.2.14.0_22.04-amd64-xrt.deb xrt amd64 2.14.0 [23.6 MB]
Selecting previously unselected package xrt.
(Reading database ... 214520 files and directories currently installed.)
Preparing to unpack .../xrt_202220.2.14.0_22.04-amd64-xrt.deb ...
Unpacking xrt (2.14.0) ...
Setting up xrt (2.14.0) ...
Unloading old XRT Linux kernel modules
**rmmod: ERROR: Module xocl is not currently loaded
rmmod: ERROR: Module xclmgmt is not currently loaded**
Invoking DKMS common.postinst for xrt
Loading new xrt-2.14.0 DKMS files...
Building for 5.19.0-40-generic
Building initial module for 5.19.0-40-generic
Can't load /var/lib/shim-signed/mok/.rnd into RNG
80CBFDBA2C7F0000:error:12000079:random number generator:RAND_load_file:Cannot op
en file:../crypto/rand/randfile.c:106:Filename=/var/lib/shim-signed/mok/.rnd
..+...+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+
.....+....+...+..............+.+.....+...............+.............+............
+..+...+...+.+...+.....+.............+.....+.......+..+...+............+....+..+
...+....+..+....+...........+....+.........+...+.....+.........+...+.+......+...
..+...+......+....++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++*.......+......+......+....++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++
......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........
...+..........+...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++*...+...+........+......+.........+.......+..+......+......+......+...+......
....+.........+...+..+...+....+.....+......+...+.........+..........+..+.+......
..+.+.........+..+.........+.+........+............+.......+..+.+..+.+..+.......
.....+.....................+.......+..+.+...........+......+...+.........+......
.+...+...........+.......+.....+............+..........+...+..+......+.+........
.+......+......+...+..+.......+...........+.+......+.....+.........+....+.......
..+..+......+......................+..+.+........+.......+..+.......+........+..
....+.......+...+...........+.+...+..+....+...+..+...+......+.........+.+.......
..............+........+...+.........+.+............+..+....+.....+......+.+..+.
..+............+......+.+...........+...+....+..+...+......+..........+.....+...
...+...............+....+...........+...+............+...+.......+.........+..+.
...+...+..+...+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++
-----
**Secure Boot not enabled on this system.**
Done.
xocl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.19.0-40-generic/updates/dkms/
xclmgmt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.19.0-40-generic/updates/dkms/
depmod....
Finished DKMS common.postinst
Loading new XRT Linux kernel modules
Installing MSD / MPD daemons
| Components | Status |
|------------------------------|--------------------|
| XOCL & XCLMGMT Kernel Driver | Success |
| XRT USERSPACE | Success |
| MPD/MSD | Success |
- Dominant language
- C++
- Stars
- 686
- Forks
- 549
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 70
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Xilinx/XRT
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 70/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·