Comments (5)
It also fails on Ubuntu 18.04 with Kernel 5.3
09:19 $ dmesg | grep qdma
[ 205.367307] qdma:qdma_mod_init: Xilinx QDMA PF Reference Driver v2019.2.125.213.
[ 205.368093] qdma:probe_one: 0000:0a:00.0: func 0x0/0x4, p/v 0/0,0x000000006085203e.
[ 205.368095] qdma:probe_one: Configuring '0a:00:0' as master pf
[ 205.368096] qdma:probe_one: Driver is loaded in auto(0) mode
[ 205.368097] qdma:qdma_device_open: qdma_pf, 0a:00.00, pdev 0x0000000000c37130, 0x10ee:0x903f.
[ 205.368106] qdma_pf 0000:0a:00.0: enabling device (0000 -> 0002)
[ 205.569949] qdma_get_device_type: invalid device type(3), err:-1
[ 205.569952] qdma_get_versal_ip_type: inv versal_ip_type(2), err:-1
[ 205.771666] qdma_get_device_type: invalid device type(3), err:-1
[ 205.771668] qdma_get_versal_ip_type: inv versal_ip_type(2), err:-1
[ 206.578704] qdma:qdma_device_attributes_get: qdma0a000-p0000:0a:00.0: num_pfs:4, num_qs:4095, flr_present:1, st_en:1, mm_en:1, mm_cmpt_en:1, mailbox_en:1, mm_channel_max:1, qid2vec_ctx:0, cmpt_ovf_chk_dis:1, mailbox_intr:1, sw_desc_64b:1, cmpt_desc_64b:1, dynamic_bar:1, legacy_intr:1, cmpt_trig_count_timer:1
[ 206.578716] qdma:qdma_device_open: Vivado version =
[ 206.982150] qdma:xdev_identify_bars: User BAR 0.
[ 207.183866] qdma_dev_entry_create: Created the dev entry successfully
[ 208.394150] qdma:intr_setup: Error enabling MSI-X (-12)
[ 208.394151] qdma:qdma_device_online: Failed to setup interrupts, err -12
[ 208.394152] qdma:qdma_device_open: Failed to set the dma device online, err = -22
[ 208.797883] qdma_pf: probe of 0000:0a:00.0 failed with error -22
09:19 $ uname -a
Linux sparrow 5.3.0-53-generic #47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
from dma_ip_drivers.
Finally, it works with Ubuntu 18.04 and Kernel 4.15
09:21 $ dmesg | grep qdma
[ 2.440078] qdma_vf: loading out-of-tree module taints kernel.
[ 2.440152] qdma_vf: module verification failed: signature and/or required key missing - tainting kernel
[ 2.440571] qdma_vf:qdma_mod_init: Xilinx QDMA VF Reference Driver v2019.1.121.207.
[ 2.446281] qdma:qdma_mod_init: Xilinx QDMA PF Reference Driver v2019.1.121.207.
[ 2.447205] qdma:probe_one: 0000:0a:00.0: func 0x0/0x4, p/v 0/0,0x (null).
[ 2.447206] qdma:probe_one: Current device is in 0 mode
[ 2.447207] qdma:probe_one: Configuring '0a:00:0' as master pf
[ 2.447207] qdma:probe_one: Driver is loaded in auto mode
[ 2.447208] qdma:qdma_device_open: qdma_pf, 0a:00.00, pdev 0x (ptrval), 0x10ee:0x903f.
[ 2.447216] qdma_pf 0000:0a:00.0: enabling device (0000 -> 0002)
[ 2.447307] qdma:xdev_identify_bars: QDMA Config BAR passed by the user is correct
[ 2.447309] qdma:xdev_identify_bars: User BAR 2.
[ 2.447315] qdma:qdma_device_attributes_get: qdma0a000-p0000:0a:00.0: num_pfs:1, num_qs:64, flr_present:0, st_en:1, mm_en:1, mm_cmpt_en:0, mailbox_en:0, mm_channel_max:1
[ 2.450806] qdma:qdma_device_open: 0000:0a:00.0, 0a000, pdev 0x (ptrval), xdev 0x (ptrval), ch 1, q 0, vf 0.
(mcam_dev) ✔ ~
09:21 $ dmes^C
09:21 $ uname -a
Linux sparrow 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
from dma_ip_drivers.
Finally, the last combination is:
kernel 4 + 2019.2 driver, also fails
10:19 $ dmesg | grep qdma
[ 2.546932] qdma_vf: loading out-of-tree module taints kernel.
[ 2.547112] qdma_vf: module verification failed: signature and/or required key missing - tainting kernel
[ 2.547748] qdma_vf:qdma_mod_init: Xilinx QDMA VF Reference Driver v2019.2.125.213.
[ 2.559099] qdma:qdma_mod_init: Xilinx QDMA PF Reference Driver v2019.2.125.213.
[ 2.562029] qdma:probe_one: 0000:0a:00.0: func 0x0/0x4, p/v 0/0,0x (null).
[ 2.562031] qdma:probe_one: Configuring '0a:00:0' as master pf
[ 2.562031] qdma:probe_one: Driver is loaded in auto(0) mode
[ 2.562032] qdma:qdma_device_open: qdma_pf, 0a:00.00, pdev 0x (ptrval), 0x10ee:0x903f.
[ 2.562042] qdma_pf 0000:0a:00.0: enabling device (0000 -> 0002)
[ 2.763908] qdma_get_device_type: invalid device type(3), err:-1
[ 2.763911] qdma_get_versal_ip_type: inv versal_ip_type(2), err:-1
[ 2.965626] qdma_get_device_type: invalid device type(3), err:-1
[ 2.965627] qdma_get_versal_ip_type: inv versal_ip_type(2), err:-1
[ 3.772481] qdma:qdma_device_attributes_get: qdma0a000-p0000:0a:00.0: num_pfs:4, num_qs:4095, flr_present:1, st_en:1, mm_en:1, mm_cmpt_en:1, mailbox_en:1, mm_channel_max:1, qid2vec_ctx:0, cmpt_ovf_chk_dis:1, mailbox_intr:1, sw_desc_64b:1, cmpt_desc_64b:1, dynamic_bar:1, legacy_intr:1, cmpt_trig_count_timer:1
[ 3.772670] qdma:qdma_device_open: Vivado version =
[ 4.176092] qdma:xdev_identify_bars: User BAR 0.
[ 4.377807] qdma_dev_entry_create: Created the dev entry successfully
[ 5.588065] qdma:intr_setup: Error enabling MSI-X (-12)
[ 5.588066] qdma:qdma_device_online: Failed to setup interrupts, err -12
[ 5.588067] qdma:qdma_device_open: Failed to set the dma device online, err = -22
[ 5.991558] qdma_pf: probe of 0000:0a:00.0 failed with error -22
10:19 $ uname -a
Linux sparrow 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
from dma_ip_drivers.
This seems to be environment issue, check at your end
from dma_ip_drivers.
Thanks for the reply. I think it ended up being addressed in 2020.1.
We had to jump from 2019.1 to 2020.1
from dma_ip_drivers.
Related Issues (20)
- XDMA: driver is reading the user's BAR... HOT 20
- QDMA: Packet Length Mismatch Error
- XDMA: driver build on kernel 6.6.11-1 (Debian 12, Bookworm) HOT 2
- XDMA QuickStart Guide Tutorial and/or Wiki HOT 22
- QDMA: Enable TCP/UDP/SCTP Checksum Offload
- xdma driver install error HOT 1
- And here is complete guide for repaire the issue: HOT 2
- what is the unit of xdma BW in xdma run test
- assignment of read-only member ‘vm_flags’ HOT 1
- ‘struct genl_ops’ has no member named ‘policy’ HOT 1
- The xdma linux kernel driver does not build against Ubuntu kernel 6.5.x (Ubuntu 22.04.1_LTS). Any idea? HOT 3
- dma-perf can only get half of the bandwidth of a x8 PCIe Gen 5 card. Any suggestions?
- "DESC_COMPL" and "DESC_STOPPED" HOT 1
- Up to date drivers for Linux 6.8.9
- Is there a way for xdma driver to serve risc-v PC
- xdma: read write fpga user reg abnormal HOT 1
- Ubuntu 24.04 -Werror=incompatible-pointer-types HOT 1
- Warning when install xdma drivers:modules_install: missing 'System.map' file. Skipping depmod.
- kernel headers after linux 6.3
- can XDMA used with DPDK?
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 dma_ip_drivers.