Code Monkey home page Code Monkey logo

Comments (3)

klogg avatar klogg commented on May 20, 2024

Please try with latest commit. I did some rework of how it66121 / fl2000 register and interact that allowed me to handle deregistration better and fixed some races. I am not sure everything is fixed now but worth to try

from fl2000_drm.

Boteium avatar Boteium commented on May 20, 2024

I believe I have similar problem on a 5.10 kernel.
the module compiled and loaded sucessfully.
xrandr does shows new HDMI display but says "unknown connection".

[421796.887484] fl2000: loading out-of-tree module taints kernel.
[421796.887527] fl2000: module verification failed: signature and/or required key missing - tainting kernel
[421796.889030] usbcore: registered new interface driver fl2000_usb
[421818.707970] usb 4-4: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[421818.728254] usb 4-4: config 1 interface 1 altsetting 0 has a duplicate endpoint with address 0x81, skipping
[421818.728256] usb 4-4: config 1 interface 1 altsetting 0 has a duplicate endpoint with address 0x1, skipping
[421818.728257] usb 4-4: config 1 interface 1 altsetting 1 has a duplicate endpoint with address 0x81, skipping
[421818.728259] usb 4-4: config 1 interface 1 altsetting 1 has a duplicate endpoint with address 0x1, skipping
[421818.728262] usb 4-4: config 1 interface 1 altsetting 2 has a duplicate endpoint with address 0x81, skipping
[421818.728263] usb 4-4: config 1 interface 1 altsetting 2 has a duplicate endpoint with address 0x1, skipping
[421818.728265] usb 4-4: config 1 interface 1 altsetting 3 has a duplicate endpoint with address 0x81, skipping
[421818.728266] usb 4-4: config 1 interface 1 altsetting 3 has a duplicate endpoint with address 0x1, skipping
[421818.728267] usb 4-4: config 1 interface 1 altsetting 4 has a duplicate endpoint with address 0x81, skipping
[421818.728268] usb 4-4: config 1 interface 1 altsetting 4 has a duplicate endpoint with address 0x1, skipping
[421818.728269] usb 4-4: config 1 interface 1 altsetting 5 has a duplicate endpoint with address 0x81, skipping
[421818.728270] usb 4-4: config 1 interface 1 altsetting 5 has a duplicate endpoint with address 0x1, skipping
[421818.728271] usb 4-4: config 1 interface 1 altsetting 6 has a duplicate endpoint with address 0x81, skipping
[421818.728272] usb 4-4: config 1 interface 1 altsetting 6 has a duplicate endpoint with address 0x1, skipping
[421818.728275] usb 4-4: New USB device found, idVendor=1d5c, idProduct=2000, bcdDevice= 2.00
[421818.728276] usb 4-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[421818.735039] i2c i2c-7: Binding FL2000 master
[421818.735356] i2c 0-004c: Binding IT66121 component
[421818.889040] i2c i2c-7: Bridge attached
[421818.889048] i2c i2c-7: bound 0-004c (ops it66121_component_ops [it66121])
[421818.889172] [drm] Initialized fl2000_drm 0.0.1 20181001 for i2c-7 on minor 1
[421818.910774] i2c i2c-7: Cannot get monitor status (-6)
[421818.911331] i2c i2c-7: [drm] Cannot find any crtc or sizes
[421818.925185] i2c i2c-7: Cannot get monitor status (-6)
[421818.926326] i2c i2c-7: Cannot get monitor status (-6)
[421819.008500] i2c i2c-7: Cannot read interrupt status (-6)
[421819.163534] i2c i2c-7: Cannot get monitor status (-6)
[421819.164094] i2c i2c-7: [drm] Cannot find any crtc or sizes
[421819.164642] i2c i2c-7: Cannot get monitor status (-6)
[421819.165752] i2c i2c-7: Cannot get monitor status (-6)
[421826.631923] i2c i2c-7: Cannot get monitor status (-6)
[421826.633271] i2c i2c-7: [drm] Cannot find any crtc or sizes
[421826.633835] i2c i2c-7: Cannot get monitor status (-6)
[421826.634953] i2c i2c-7: Cannot get monitor status (-6)
[421835.190513] i2c i2c-7: Cannot get monitor status (-6)
[421837.895914] i2c i2c-7: Cannot get monitor status (-6)
[421842.115557] i2c i2c-7: Cannot get monitor status (-6)
[421842.116120] i2c i2c-7: [drm] Cannot find any crtc or sizes
[421842.117249] i2c i2c-7: Cannot get monitor status (-6)
[421842.118365] i2c i2c-7: Cannot get monitor status (-6)
[421842.391992] i2c i2c-7: Cannot get monitor status (-6)
[421842.392567] i2c i2c-7: [drm] Cannot find any crtc or sizes
[421842.393165] i2c i2c-7: Cannot get monitor status (-6)
[421842.394290] i2c i2c-7: Cannot get monitor status (-6)
[421913.289838] i2c i2c-7: Cannot get monitor status (-6)
[421914.209711] i2c i2c-7: Cannot get monitor status (-6)
[421945.148711] ------------[ cut here ]------------
[421945.148716] WARNING: CPU: 8 PID: 1128 at kernel/dma/mapping.c:188 dma_map_sg_attrs+0x37/0x50
[421945.148717] Modules linked in: it66121(OE) fl2000(OE) snd_seq_dummy snd_hrtimer snd_seq rfcomm xt_MASQUERADE ip6table_mangle iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter ip6table_filter ip6_tables ext4 mbcache jbd2 i2c_dev cmac algif_hash algif_skcipher af_alg tcp_bbr sch_fq bnep hwmon_vid nls_iso8859_1 vfat fat amdgpu snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio eeepc_wmi uvcvideo gpu_sched asus_wmi sparse_keymap i2c_algo_bit video wmi_bmof snd_usb_audio snd_hda_intel videobuf2_vmalloc ttm snd_intel_dspcfg videobuf2_memops soundwire_intel amd64_edac_mod videobuf2_v4l2 edac_mce_amd soundwire_generic_allocation videobuf2_common soundwire_cadence kvm_amd snd_usbmidi_lib snd_hda_codec drm_kms_helper snd_rawmidi videodev snd_seq_device kvm snd_hda_core snd_hwdep soundwire_bus btusb snd_soc_core cec btrtl syscopyarea btbcm sysfillrect btintel snd_compress ac97_bus snd_pcm_dmaengine sp5100_tco sysimgblt irqbypass rapl bluetooth k10temp
[421945.148750] i2c_piix4 snd_pcm mc fb_sys_fops snd_timer snd joydev mousedev soundcore ecdh_generic uas rfkill ecc crc16 wmi gpio_amdpt gpio_generic mac_hid pinctrl_amd acpi_cpufreq drm pkcs8_key_parser sg fuse crypto_user agpgart ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq dm_crypt cbc encrypted_keys trusted tpm hid_logitech_hidpp hid_logitech_dj usbhid usb_storage crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cryptd dm_mod glue_helper r8169 realtek ccp mdio_devres rng_core libphy xhci_pci xhci_pci_renesas
[421945.148773] CPU: 8 PID: 1128 Comm: Xorg Tainted: G OE 5.10.16-1-ck-zen2 #1
[421945.148773] Hardware name: System manufacturer System Product Name/PRIME A320M-K, BIOS 5603 10/14/2020
[421945.148775] RIP: 0010:dma_map_sg_attrs+0x37/0x50
[421945.148776] Code: 85 c0 48 0f 44 05 61 fc cc 01 83 f9 02 77 19 48 83 bf 50 02 00 00 00 74 11 48 85 c0 75 11 e8 70 1c 00 00 85 c0 78 13 c3 0f 0b <0f> 0b 31 c0 c3 48 8b 40 50 e8 8b 00 d1 00 eb e9 0f 0b 0f 1f 80 00
[421945.148777] RSP: 0018:ffffb42c41843cd8 EFLAGS: 00010246
[421945.148778] RAX: 0000000000000000 RBX: ffff9272837c9058 RCX: 0000000000000000
[421945.148778] RDX: 00000000000001e9 RSI: ffff92762d1ba000 RDI: ffff9275f41d4088
[421945.148779] RBP: ffff92772fbb27e0 R08: 0000000000000020 R09: 0000000000000000
[421945.148779] R10: 0000000000000000 R11: ffffddd2c0000000 R12: ffff92719b9a82a0
[421945.148780] R13: 0000000000000000 R14: ffff9271bff255b8 R15: ffff9276acda35e0
[421945.148781] FS: 00007fd2e71f4940(0000) GS:ffff92805ea00000(0000) knlGS:0000000000000000
[421945.148781] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[421945.148782] CR2: 0000561b41bc7000 CR3: 0000000168034000 CR4: 0000000000350ee0
[421945.148782] Call Trace:
[421945.148838] amdgpu_dma_buf_map+0x186/0x1c0 [amdgpu]
[421945.148843] dma_buf_dynamic_attach+0x16e/0x270
[421945.148856] drm_gem_prime_import_dev.part.0+0x1e/0xc0 [drm]
[421945.148867] drm_gem_prime_fd_to_handle+0x196/0x1d0 [drm]
[421945.148875] ? drm_prime_destroy_file_private+0x20/0x20 [drm]
[421945.148882] drm_ioctl_kernel+0xab/0xf0 [drm]
[421945.148889] drm_ioctl+0x20e/0x3a0 [drm]
[421945.148896] ? drm_prime_destroy_file_private+0x20/0x20 [drm]
[421945.148897] ? ktime_get_mono_fast_ns+0x4e/0x90
[421945.148900] __x64_sys_ioctl+0x83/0xb0
[421945.148902] do_syscall_64+0x33/0x40
[421945.148904] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[421945.148905] RIP: 0033:0x7fd2e7be7e6b
[421945.148906] Code: ff ff ff 85 c0 79 8b 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d d5 af 0c 00 f7 d8 64 89 01 48
[421945.148907] RSP: 002b:00007ffeebdd1e38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[421945.148907] RAX: ffffffffffffffda RBX: 00007ffeebdd1e7c RCX: 00007fd2e7be7e6b
[421945.148908] RDX: 00007ffeebdd1e7c RSI: 00000000c00c642e RDI: 000000000000003d
[421945.148908] RBP: 00000000c00c642e R08: 000000000000003d R09: 0000000000000000
[421945.148909] R10: fffffffffffffbaf R11: 0000000000000246 R12: 0000000000000000
[421945.148909] R13: 000000000000003d R14: 0000000000000320 R15: 0000000000001400
[421945.148910] ---[ end trace b1d97ece89f5589e ]---

from fl2000_drm.

klogg avatar klogg commented on May 20, 2024

hi, thank you for the logs, checking

from fl2000_drm.

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.