Giter Site home page Giter Site logo

Comments (5)

hmaarrfk avatar hmaarrfk commented on June 26, 2024

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.

hmaarrfk avatar hmaarrfk commented on June 26, 2024

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.

hmaarrfk avatar hmaarrfk commented on June 26, 2024

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.

sujathabanoth-xlnx avatar sujathabanoth-xlnx commented on June 26, 2024

This seems to be environment issue, check at your end

from dma_ip_drivers.

hmaarrfk avatar hmaarrfk commented on June 26, 2024

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)

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.