DisplayLink / evdi

Extensible Virtual Display Interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kernal oops + NULL pointer dereference

theironrobin opened this issue · comments

commented
Are you using the latest driver?
Yes
Are you using the latest EVDI version?
Yes
If you are using a DisplayLink device, have you checked 'troubleshooting'
on DisplayLink's website?
Yes
Is this issue related to evdi/kernel?
Yes

Hardware is Lenovo Thinkpad X13s (sc8280xp SoC)

Linux distribution and its version
Arch Linux ARM
Linux kernel version
6.2.1
Desktop environment in use
GNOME 43.3
[   41.129503] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[   41.284947] usb 3-1: New USB device found, idVendor=047d, idProduct=8074, bcdDevice=93.05
[   41.284992] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   41.285009] usb 3-1: Product: USB2.1 Hub
[   41.285022] usb 3-1: Manufacturer: GenesysLogic
[   41.317771] input: MX Anywhere 3 Mouse as /devices/virtual/misc/uhid/0005:046D:B025.0004/input/input16
[   41.318158] hid-generic 0005:046D:B025.0004: input,hidraw3: BLUETOOTH HID v0.15 Mouse [MX Anywhere 3] on 00:00:00:00:5a:ad
[   41.328126] hub 3-1:1.0: USB hub found
[   41.328709] hub 3-1:1.0: 4 ports detected
[   41.405570] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[   41.430619] usb 4-1: New USB device found, idVendor=047d, idProduct=8073, bcdDevice=93.05
[   41.430633] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   41.430637] usb 4-1: Product: USB3.1 Hub
[   41.430641] usb 4-1: Manufacturer: GenesysLogic
[   41.456111] hub 4-1:1.0: USB hub found
[   41.456712] hub 4-1:1.0: 4 ports detected
[   41.709560] usb 3-1.2: new high-speed USB device number 3 using xhci-hcd
[   41.990137] usb 3-1.2: New USB device found, idVendor=047d, idProduct=8076, bcdDevice= 6.60
[   41.990184] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   41.990203] usb 3-1.2: Product: USB2.0 Hub
[   41.990217] usb 3-1.2: Manufacturer: VIA Labs, Inc.
[   42.033027] hub 3-1.2:1.0: USB hub found
[   42.033633] hub 3-1.2:1.0: 4 ports detected
[   42.070399] usb 4-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[   42.093721] usb 4-1.1: New USB device found, idVendor=17e9, idProduct=6000, bcdDevice=32.01
[   42.093763] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   42.093781] usb 4-1.1: Product: USB-C Dual-4K Dock
[   42.093794] usb 4-1.1: Manufacturer: DisplayLink
[   42.093805] usb 4-1.1: SerialNumber: DGWC00120695073
[   42.167462] mc: Linux media interface: v0.10
[   42.172775] usbcore: registered new interface driver cdc_ether
[   42.195698] cdc_ncm 4-1.1:1.5: MAC-Address: 80:6d:97:1f:d3:6a
[   42.195708] cdc_ncm 4-1.1:1.5: setting rx_max = 16384
[   42.195780] cdc_ncm 4-1.1:1.5: setting tx_max = 16384
[   42.195973] cdc_ncm 4-1.1:1.5 eth0: register 'cdc_ncm' at usb-xhci-hcd.1.auto-1.1, CDC NCM (SEND ZLP), 80:6d:97:1f:d3:6a
[   42.196019] usbcore: registered new interface driver cdc_ncm
[   42.198949] usbcore: registered new interface driver cdc_wdm
[   42.392078] usb 4-1.2: new SuperSpeed USB device number 4 using xhci-hcd
[   42.451397] usb 4-1.1: Warning! Unlikely big volume range (=767), cval->res is probably wrong.
[   42.451438] usb 4-1.1: [4] FU [Mic Capture Volume] ch = 2, val = -4592/7680/16
[   42.459324] usb 4-1.1: Warning! Unlikely big volume range (=672), cval->res is probably wrong.
[   42.459339] usb 4-1.1: [7] FU [USB Audio Playback Volume] ch = 6, val = -10752/0/16
[   42.459962] usbcore: registered new interface driver snd-usb-audio
[   42.460053] usbcore: registered new interface driver cdc_mbim
[   42.475614] cdc_ncm 4-1.1:1.5 enu1u1i5: renamed from eth0
[   42.498313] usb 4-1.2: New USB device found, idVendor=047d, idProduct=8075, bcdDevice= 6.65
[   42.498335] usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   42.498344] usb 4-1.2: Product: USB3.0 Hub
[   42.498352] usb 4-1.2: Manufacturer: VIA Labs, Inc.
[   42.528135] hub 4-1.2:1.0: USB hub found
[   42.528521] hub 4-1.2:1.0: 1 port detected
[   42.605435] usb 3-1.4: new high-speed USB device number 4 using xhci-hcd
[   42.739615] usb 3-1.4: New USB device found, idVendor=047d, idProduct=8074, bcdDevice=93.05
[   42.739685] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   42.739691] usb 3-1.4: Product: USB2.1 Hub
[   42.739695] usb 3-1.4: Manufacturer: GenesysLogic
[   42.800193] hub 3-1.4:1.0: USB hub found
[   42.800789] hub 3-1.4:1.0: 4 ports detected
[   42.831935] usb 4-1.4: new SuperSpeed USB device number 5 using xhci-hcd
[   42.855771] usb 4-1.4: New USB device found, idVendor=047d, idProduct=8073, bcdDevice=93.05
[   42.855784] usb 4-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   42.855788] usb 4-1.4: Product: USB3.1 Hub
[   42.855791] usb 4-1.4: Manufacturer: GenesysLogic
[   42.896487] evdi: [I] (card1) Opened by Task 2153 (DesktopManagerE) of process 2111 (DisplayLinkMana)
[   42.896505] evdi evdi.0: [drm] Cannot find any crtc or sizes
[   42.896521] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000074
[   42.896524] Mem abort info:
[   42.896525]   ESR = 0x0000000096000004
[   42.896527]   EC = 0x25: DABT (current EL), IL = 32 bits
[   42.896529]   SET = 0, FnV = 0
[   42.896530]   EA = 0, S1PTW = 0
[   42.896531]   FSC = 0x04: level 0 translation fault
[   42.896533] Data abort info:
[   42.896534]   ISV = 0, ISS = 0x00000004
[   42.896535]   CM = 0, WnR = 0
[   42.896536] user pgtable: 4k pages, 48-bit VAs, pgdp=00000003d116b000
[   42.896538] [0000000000000074] pgd=0000000000000000, p4d=0000000000000000
[   42.896543] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
[   42.896546] Modules linked in: cdc_mbim cdc_wdm cdc_ncm snd_usb_audio snd_usbmidi_lib cdc_ether snd_hwdep usbnet snd_rawmidi mii mc uhid snd_soc_wsa883x q6prm_clocks q6apm_lpass_dais snd_q6dsp_common q6apm_dai q6prm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device michael_mic aes_ce_ccm algif_aead des_generic libdes qrtr_mhi xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo algif_hash algif_skcipher af_alg iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype br_netfilter bridge stp llc iptable_filter tun evdi(O) overlay snd_q6apm hci_uart btqca btrtl btbcm btintel pm8941_pwrkey bluetooth qrtr_smd binfmt_misc aes_ce_blk nvmem_qcom_spmi_sdam qcom_spmi_adc_tm5 qcom_pon qcom_spmi_temp_alarm aes_ce_cipher qcom_spmi_adc5 ghash_ce qcom_vadc_common industrialio gf128mul sha2_ce snd_soc_sc8280xp ath11k_pci sha256_arm64 snd_soc_qcom_sdw sha1_ce ath11k snd_soc_hdmi_codec snd_soc_qcom_common mac80211 libarc4 qcom_geni_serial cfg80211
[   42.896621]  snd_soc_wcd938x regmap_sdw mhi snd_soc_wcd938x_sdw snd_soc_lpass_va_macro snd_soc_lpass_rx_macro snd_soc_lpass_tx_macro snd_soc_lpass_wsa_macro snd_soc_wcd_mbhc soundwire_qcom snd_soc_lpass_macro_common snd_soc_core snd_compress qcom_q6v5_pas soundwire_bus snd_pcm_dmaengine qcom_pil_info snd_pcm slimbus qcom_q6v5 snd_timer qcom_sysmon snd qcom_battmgr qcom_common soundcore nls_ascii nls_cp437 vfat fat joydev evdev sch_fq_codel udl drm_shmem_helper pkcs8_key_parser dm_multipath sg crypto_user loop fuse dm_mod dax configfs efivarfs ip_tables x_tables autofs4 ext4 mbcache jbd2 hid_multitouch gpio_keys msm mdt_loader llcc_qcom ocmem gpu_sched qrtr
[   42.896671] CPU: 6 PID: 2153 Comm: DesktopManagerE Tainted: G           O       6.2.1-3-x13s+ #1
[   42.896673] Hardware name: LENOVO 21BX0015US/21BX0015US, BIOS N3HET76W (1.48 ) 12/23/2022
[   42.896676] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   42.896678] pc : drm_crtc_next_vblank_start+0x2c/0x90
[   42.896688] hub 4-1.4:1.0: USB hub found
[   42.896687] lr : drm_atomic_helper_wait_for_fences+0x88/0x1f4
[   42.896692] sp : ffff80000c45b4c0
[   42.896692] x29: ffff80000c45b4c0 x28: ffff4a8a1e3caab0 x27: 0000000000000000
[   42.896697] x26: ffff4a89f934b800 x25: 0000000000000038 x24: ffff4a8a1677e280
[   42.896700] x23: 0000000000000001 x22: 0000000000000001 x21: ffff4a89c2b74000
[   42.896704] x20: 0000000000000000 x19: 0000000000000000 x18: 0000000000000006
[   42.896706] x17: 65636f727020666f x16: ffffbfa548570580 x15: 0000000000000000
[   42.896710] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[   42.896712] x11: 0000000000000000 x10: 0000000000000000 x9 : ffffbfa548562fd8
[   42.896715] x8 : ffff4a8a31827000 x7 : 0000000000000000 x6 : 000000000000003f
[   42.896719] x5 : 00000000ffffffff x4 : ffff4a89c2b74000 x3 : 0000000000000130
[   42.896722] x2 : 0000000000000000 x1 : ffff80000c45b520 x0 : ffff4a89f9348400
[   42.896725] Call trace:
[   42.896726]  drm_crtc_next_vblank_start+0x2c/0x90
[   42.896729]  drm_atomic_helper_wait_for_fences+0x88/0x1f4
[   42.896733]  drm_atomic_helper_commit+0xb0/0x18c
[   42.896736]  drm_atomic_commit+0xb0/0xf0
[   42.896740]  drm_client_modeset_commit_atomic+0x218/0x280
[   42.896743]  drm_client_modeset_commit_locked+0x64/0x194
[   42.896745]  drm_client_modeset_commit+0x38/0x60
[   42.896747]  __drm_fb_helper_initial_config_and_unlock+0x468/0x560
[   42.896751]  drm_fb_helper_initial_config+0x54/0x64
[   42.896755]  evdi_fbdev_init+0x78/0xd0 [evdi]
[   42.896766]  evdi_drm_device_create+0xa8/0x1e4 [evdi]
[   42.896773]  evdi_platform_device_probe+0x58/0xd0 [evdi]
[   42.896780]  platform_probe+0x70/0xcc
[   42.896782]  really_probe+0xc8/0x3e0
[   42.896785]  __driver_probe_device+0x84/0x190
[   42.896788]  driver_probe_device+0x44/0x120
[   42.896791]  __device_attach_driver+0xc4/0x160
[   42.896794]  bus_for_each_drv+0x84/0xe0
[   42.896797]  __device_attach+0xa4/0x1cc
[   42.896800]  device_initial_probe+0x1c/0x2c
[   42.896803]  bus_probe_device+0xa4/0xb0
[   42.896806]  device_add+0x404/0x930
[   42.896808]  platform_device_add+0x108/0x280
[   42.896812]  platform_device_register_full+0xd8/0x170
[   42.896814]  evdi_platform_dev_create+0x1c/0xc4 [evdi]
[   42.896821]  evdi_platform_device_add+0x158/0x1b0 [evdi]
[   42.896827]  add_store+0x230/0x33c [evdi]
[   42.896833]  dev_attr_store+0x20/0x34
[   42.896837]  sysfs_kf_write+0x4c/0x5c
[   42.896842]  kernfs_fop_write_iter+0x120/0x1f0
[   42.896845]  vfs_write+0x1cc/0x380
[   42.896850]  ksys_write+0x78/0x110
[   42.896853]  __arm64_sys_write+0x24/0x30
[   42.896856]  invoke_syscall+0x50/0x120
[   42.896861]  el0_svc_common.constprop.0+0x4c/0xf4
[   42.896864]  do_el0_svc+0x40/0xbc
[   42.896868]  el0_svc+0x2c/0x84
[   42.896871]  el0t_64_sync_handler+0xf4/0x120
[   42.896872]  el0t_64_sync+0x190/0x194
[   42.896876] Code: f9400004 b9409013 f940a082 9ba30a73 (b9407662)
[   42.896878] ---[ end trace 0000000000000000 ]---
[   42.897532] hub 4-1.4:1.0: 4 ports detected
[   42.949449] usb 3-1.2.3: new full-speed USB device number 5 using xhci-hcd
[   43.059004] usb 3-1.2.3: New USB device found, idVendor=065f, idProduct=f60f, bcdDevice= 1.00
[   43.059058] usb 3-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   43.059084] usb 3-1.2.3: Product: SD4750P USB-C & USB 3.0 Dual 4K Docking Station
[   43.059410] usb 3-1.2.3: Manufacturer: Good way
[   43.059423] usb 3-1.2.3: SerialNumber: 0123456789ABC
[   43.156473] hid-generic 0003:065F:F60F.0005: hiddev0,hidraw4: USB HID v1.11 Device [Good way SD4750P USB-C & USB 3.0 Dual 4K Docking Station] on usb-xhci-hcd.1.auto-1.2.3/input0
[   43.193703] usb 3-1.4.2: new low-speed USB device number 6 using xhci-hcd
[   43.323179] usb 3-1.4.2: New USB device found, idVendor=13ba, idProduct=0018, bcdDevice= 0.01
[   43.323221] usb 3-1.4.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   43.323238] usb 3-1.4.2: Product: Barcode Reader
[   43.411298] input: Barcode Reader  as /devices/platform/soc@0/a8f8800.usb/a800000.usb/xhci-hcd.1.auto/usb3/3-1/3-1.4/3-1.4.2/3-1.4.2:1.0/0003:13BA:0018.0006/input/input18
[   43.470930] hid-generic 0003:13BA:0018.0006: input,hidraw5: USB HID v1.10 Keyboard [Barcode Reader ] on usb-xhci-hcd.1.auto-1.4.2/input0
[   43.475422] input: Barcode Reader  Mouse as /devices/platform/soc@0/a8f8800.usb/a800000.usb/xhci-hcd.1.auto/usb3/3-1/3-1.4/3-1.4.2/3-1.4.2:1.1/0003:13BA:0018.0007/input/input19
[   43.476195] input: Barcode Reader  System Control as /devices/platform/soc@0/a8f8800.usb/a800000.usb/xhci-hcd.1.auto/usb3/3-1/3-1.4/3-1.4.2/3-1.4.2:1.1/0003:13BA:0018.0007/input/input20
[   43.534398] input: Barcode Reader  Consumer Control as /devices/platform/soc@0/a8f8800.usb/a800000.usb/xhci-hcd.1.auto/usb3/3-1/3-1.4/3-1.4.2/3-1.4.2:1.1/0003:13BA:0018.0007/input/input21

    [   43.534527] hid-generic 0003:13BA:0018.0007: input,hidraw6: USB HID v1.10 Mouse [Barcode Reader ] on usb-xhci-hcd.1.auto-1.4.2/input1