The "udl" driver crashes the kernel.

Pavel Machek pavel at ucw.cz
Sun Nov 25 23:07:22 UTC 2018


On Sun 2018-11-25 16:58:59, wzabolot at elektron.elka.pw.edu.pl wrote:
> When I connect my Displaylink DL-165 adapter to my Debian/testing
> machine, the "udl" driver is loaded and the following error messages
> appears in kernel logs:

4.18 kernel. Might be worth testing latest stable, and latest
mainline...

Is there version that worked for you?

I added udl maintainers to the Cc list.

Best regards,
								Pavel

> 
> Nov  7 20:47:30 wzdell kernel: [  205.871354] usb 4-1.2: new high-speed
> USB device number 4 using ehci-pci
> Nov  7 20:47:35 wzdell kernel: [  211.209020] usb 4-1.2: New USB device
> found, idVendor=17e9, idProduct=0290, bcdDevice= 0.01
> Nov  7 20:47:35 wzdell kernel: [  211.209027] usb 4-1.2: New USB device
> strings: Mfr=1, Product=2, SerialNumber=3
> Nov  7 20:47:35 wzdell kernel: [  211.209032] usb 4-1.2: Product: DL-165
> Adapter
> Nov  7 20:47:35 wzdell kernel: [  211.209036] usb 4-1.2: Manufacturer:
> DisplayLink
> Nov  7 20:47:35 wzdell kernel: [  211.209040] usb 4-1.2: SerialNumber:
> 102140
> Nov  7 20:47:35 wzdell mtp-probe: checking bus 4, device 4:
> "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2"
> Nov  7 20:47:35 wzdell mtp-probe: bus: 4, device: 4 was not an MTP device
> Nov  7 20:47:35 wzdell kernel: [  211.269753] [drm] vendor descriptor
> length:22 data:22 5f 01 00 20 05 00 01 03 04 02
> Nov  7 20:47:35 wzdell kernel: [  211.320940] [drm] Cannot find any crtc
> or sizes
> Nov  7 20:47:35 wzdell kernel: [  211.320962] [drm] Supports vblank
> timestamp caching Rev 2 (21.10.2013).
> Nov  7 20:47:35 wzdell kernel: [  211.320963] [drm] No driver support
> for vblank timestamp query.
> Nov  7 20:47:35 wzdell kernel: [  211.320999] [drm] Initialized udl
> 0.0.1 20120220 for 4-1.2:1.0 on minor 1
> Nov  7 20:47:35 wzdell kernel: [  211.321002] [drm] Initialized udl on
> minor 1
> Nov  7 20:47:35 wzdell kernel: [  211.321078] usbcore: registered new
> interface driver udl
> Nov  7 20:47:37 wzdell kernel: [  212.700722] WARNING: CPU: 0 PID: 1024
> at /build/linux-iActNR/linux-4.18.10/drivers/gpu/drm/drm_gem.c:893
> drm_gem_object_put+0x34/0x40 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.700726] Modules linked in: udl
> rfcomm ctr ccm cpufreq_userspace cpufreq_conservative cpufreq_powersave
> bnep bbswitch(O) nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4
> nf_defrag_ipv4 nft_counter xt_owner xt_state xt_conntrack nf_conntrack
> libcrc32c nft_compat nf_tables nfnetlink binfmt_misc intel_rapl
> x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass
> uvcvideo arc4 iwldvm videobuf2_vmalloc mac80211 videobuf2_memops
> videobuf2_v4l2 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel
> videobuf2_common snd_hda_codec videodev snd_hda_core snd_hwdep snd_pcm
> snd_timer media snd soundcore i915 btusb btrtl btbcm btintel bluetooth
> iwlwifi dell_laptop dell_wmi dell_smbios mei_me drbg ansi_cprng mei
> ecdh_generic wmi_bmof dcdbas cfg80211 drm_kms_helper sparse_keymap
> dell_wmi_descriptor
> Nov  7 20:47:37 wzdell kernel: [  212.700822]  intel_cstate drm
> intel_uncore intel_rapl_perf dell_smm_hwmon evdev iTCO_wdt
> iTCO_vendor_support joydev rfkill video serio_raw i2c_algo_bit pcspkr sg
> pcc_cpufreq wmi dell_smo8800 button battery ac parport_pc ppdev lp
> parport ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2
> crc32c_generic fscrypto ecb algif_skcipher af_alg dm_crypt dm_mod sr_mod
> cdrom sd_mod ums_realtek uas usb_storage crct10dif_pclmul crc32_pclmul
> crc32c_intel ghash_clmulni_intel pcbc ahci libahci aesni_intel xhci_pci
> aes_x86_64 ehci_pci crypto_simd libata xhci_hcd ehci_hcd cryptd
> glue_helper psmouse scsi_mod i2c_i801 r8169 lpc_ich mii usbcore
> usb_common thermal
> Nov  7 20:47:37 wzdell kernel: [  212.700925] CPU: 0 PID: 1024 Comm:
> Xorg Tainted: G           O      4.18.0-2-amd64 #1 Debian 4.18.10-2
> Nov  7 20:47:37 wzdell kernel: [  212.700927] Hardware name: Dell
> Inc.          Dell System Vostro 3750/0VP036, BIOS A14 09/26/2012
> Nov  7 20:47:37 wzdell kernel: [  212.700955] RIP:
> 0010:drm_gem_object_put+0x34/0x40 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.700957] Code: 53 48 8b 47 08 48 8b
> 40 68 48 a9 f8 ff ff ff 74 19 48 89 fb e8 7d c3 02 de 84 c0 75 02 5b c3
> 48 89 df 5b e9 ee fc ff ff f3 c3 <0f> 0b eb e3 0f 1f 84 00 00 00 00 00
> 66 66 66 66 90 48 8b 42 08 48
> Nov  7 20:47:37 wzdell kernel: [  212.701035] RSP: 0018:ffffac86826bbd00
> EFLAGS: 00010246
> Nov  7 20:47:37 wzdell kernel: [  212.701039] RAX: 0000000000000000 RBX:
> ffff95fc65313800 RCX: 0000000000000000
> Nov  7 20:47:37 wzdell kernel: [  212.701042] RDX: ffffffffffffffff RSI:
> ffff95fc662b0610 RDI: ffff95fc65313800
> Nov  7 20:47:37 wzdell kernel: [  212.701045] RBP: ffff95fc31f1a020 R08:
> ffff95fc662b0610 R09: ffff95fc662b06c0
> Nov  7 20:47:37 wzdell kernel: [  212.701047] R10: 0000000000100000 R11:
> 0000000000000040 R12: 0000000000000000
> Nov  7 20:47:37 wzdell kernel: [  212.701050] R13: ffffac86826bbdc8 R14:
> ffffac86826bbdc0 R15: 00000000000000b3
> Nov  7 20:47:37 wzdell kernel: [  212.701054] FS: 
> 00007f78c0ceba80(0000) GS:ffff95fc7e400000(0000) knlGS:0000000000000000
> Nov  7 20:47:37 wzdell kernel: [  212.701057] CS:  0010 DS: 0000 ES:
> 0000 CR0: 0000000080050033
> Nov  7 20:47:37 wzdell kernel: [  212.701060] CR2: 00007f78abdfac94 CR3:
> 00000004287fe002 CR4: 00000000000606f0
> Nov  7 20:47:37 wzdell kernel: [  212.701063] Call Trace:
> Nov  7 20:47:37 wzdell kernel: [  212.701080]  udl_gem_mmap+0x58/0xb0 [udl]
> Nov  7 20:47:37 wzdell kernel: [  212.701112]  ?
> drm_mode_create_dumb_ioctl+0x90/0x90 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.701138] 
> drm_ioctl_kernel+0xa1/0xf0 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.701164]  drm_ioctl+0x2eb/0x390 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.701193]  ?
> drm_mode_create_dumb_ioctl+0x90/0x90 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.701203]  ? datagram_poll+0x28/0xf0
> Nov  7 20:47:37 wzdell kernel: [  212.701209]  ? sock_poll+0x7b/0xb0
> Nov  7 20:47:37 wzdell kernel: [  212.701216]  ?
> ep_item_poll.isra.13+0x3f/0xb0
> Nov  7 20:47:37 wzdell kernel: [  212.701221]  ? sock_poll+0x7b/0xb0
> Nov  7 20:47:37 wzdell kernel: [  212.701230]  do_vfs_ioctl+0xa4/0x640
> Nov  7 20:47:37 wzdell kernel: [  212.701237]  ?
> __x64_sys_epoll_ctl+0xf2/0x590
> Nov  7 20:47:37 wzdell kernel: [  212.701243]  ksys_ioctl+0x70/0x80
> Nov  7 20:47:37 wzdell kernel: [  212.701250]  __x64_sys_ioctl+0x16/0x20
> Nov  7 20:47:37 wzdell kernel: [  212.701257]  do_syscall_64+0x55/0x110
> Nov  7 20:47:37 wzdell kernel: [  212.701265] 
> entry_SYSCALL_64_after_hwframe+0x44/0xa9
> Nov  7 20:47:37 wzdell kernel: [  212.701271] RIP: 0033:0x7f78c1c09067
> Nov  7 20:47:37 wzdell kernel: [  212.701272] Code: b3 66 90 48 8b 05 21
> 7e 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00
> 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d
> f1 7d 0c 00 f7 d8 64 89 01 48
> Nov  7 20:47:37 wzdell kernel: [  212.701349] RSP: 002b:00007ffc9ddc4ef8
> EFLAGS: 00003246 ORIG_RAX: 0000000000000010
> Nov  7 20:47:37 wzdell kernel: [  212.701354] RAX: ffffffffffffffda RBX:
> 0000000000000000 RCX: 00007f78c1c09067
> Nov  7 20:47:37 wzdell kernel: [  212.701356] RDX: 00007ffc9ddc4f30 RSI:
> 00000000c01064b3 RDI: 0000000000000037
> Nov  7 20:47:37 wzdell kernel: [  212.701359] RBP: 00007ffc9ddc4f30 R08:
> 0000000000000000 R09: 000055bbb6541fe0
> Nov  7 20:47:37 wzdell kernel: [  212.701361] R10: 00007ffc9ddc4edc R11:
> 0000000000003246 R12: 00000000c01064b3
> Nov  7 20:47:37 wzdell kernel: [  212.701364] R13: 0000000000000037 R14:
> 000055bbb6580d90 R15: 0000000000000001
> Nov  7 20:47:37 wzdell kernel: [  212.701369] ---[ end trace
> 6b30e2bd6c85b37b ]---
> Nov  7 20:47:37 wzdell kernel: [  212.703507] WARNING: CPU: 0 PID: 1024
> at /build/linux-iActNR/linux-4.18.10/drivers/gpu/drm/drm_gem.c:893
> drm_gem_object_put+0x34/0x40 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.703509] Modules linked in: udl
> rfcomm ctr ccm cpufreq_userspace cpufreq_conservative cpufreq_powersave
> bnep bbswitch(O) nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4
> nf_defrag_ipv4 nft_counter xt_owner xt_state xt_conntrack nf_conntrack
> libcrc32c nft_compat nf_tables nfnetlink binfmt_misc intel_rapl
> x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass
> uvcvideo arc4 iwldvm videobuf2_vmalloc mac80211 videobuf2_memops
> videobuf2_v4l2 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel
> videobuf2_common snd_hda_codec videodev snd_hda_core snd_hwdep snd_pcm
> snd_timer media snd soundcore i915 btusb btrtl btbcm btintel bluetooth
> iwlwifi dell_laptop dell_wmi dell_smbios mei_me drbg ansi_cprng mei
> ecdh_generic wmi_bmof dcdbas cfg80211 drm_kms_helper sparse_keymap
> dell_wmi_descriptor
> Nov  7 20:47:37 wzdell kernel: [  212.703595]  intel_cstate drm
> intel_uncore intel_rapl_perf dell_smm_hwmon evdev iTCO_wdt
> iTCO_vendor_support joydev rfkill video serio_raw i2c_algo_bit pcspkr sg
> pcc_cpufreq wmi dell_smo8800 button battery ac parport_pc ppdev lp
> parport ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2
> crc32c_generic fscrypto ecb algif_skcipher af_alg dm_crypt dm_mod sr_mod
> cdrom sd_mod ums_realtek uas usb_storage crct10dif_pclmul crc32_pclmul
> crc32c_intel ghash_clmulni_intel pcbc ahci libahci aesni_intel xhci_pci
> aes_x86_64 ehci_pci crypto_simd libata xhci_hcd ehci_hcd cryptd
> glue_helper psmouse scsi_mod i2c_i801 r8169 lpc_ich mii usbcore
> usb_common thermal
> Nov  7 20:47:37 wzdell kernel: [  212.703696] CPU: 0 PID: 1024 Comm:
> Xorg Tainted: G        W  O      4.18.0-2-amd64 #1 Debian 4.18.10-2
> Nov  7 20:47:37 wzdell kernel: [  212.703698] Hardware name: Dell
> Inc.          Dell System Vostro 3750/0VP036, BIOS A14 09/26/2012
> Nov  7 20:47:37 wzdell kernel: [  212.703723] RIP:
> 0010:drm_gem_object_put+0x34/0x40 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.703724] Code: 53 48 8b 47 08 48 8b
> 40 68 48 a9 f8 ff ff ff 74 19 48 89 fb e8 7d c3 02 de 84 c0 75 02 5b c3
> 48 89 df 5b e9 ee fc ff ff f3 c3 <0f> 0b eb e3 0f 1f 84 00 00 00 00 00
> 66 66 66 66 90 48 8b 42 08 48
> Nov  7 20:47:37 wzdell kernel: [  212.703801] RSP: 0018:ffffac86826bbd00
> EFLAGS: 00010246
> Nov  7 20:47:37 wzdell kernel: [  212.703805] RAX: 0000000000000000 RBX:
> ffff95fc65313e00 RCX: 0000000000000000
> Nov  7 20:47:37 wzdell kernel: [  212.703807] RDX: ffffffffffffffff RSI:
> ffff95fc662b0610 RDI: ffff95fc65313e00
> Nov  7 20:47:37 wzdell kernel: [  212.703810] RBP: ffff95fc31f1a020 R08:
> ffff95fc662b0610 R09: ffff95fc65313868
> Nov  7 20:47:37 wzdell kernel: [  212.703812] R10: 0000000000100004 R11:
> 0000000000000040 R12: 0000000000000000
> Nov  7 20:47:37 wzdell kernel: [  212.703815] R13: ffffac86826bbdc8 R14:
> ffffac86826bbdc0 R15: 00000000000000b3
> Nov  7 20:47:37 wzdell kernel: [  212.703819] FS: 
> 00007f78c0ceba80(0000) GS:ffff95fc7e400000(0000) knlGS:0000000000000000
> Nov  7 20:47:37 wzdell kernel: [  212.703822] CS:  0010 DS: 0000 ES:
> 0000 CR0: 0000000080050033
> Nov  7 20:47:37 wzdell kernel: [  212.703825] CR2: 00007f78abdfac94 CR3:
> 00000004287fe002 CR4: 00000000000606f0
> Nov  7 20:47:37 wzdell kernel: [  212.703827] Call Trace:
> Nov  7 20:47:37 wzdell kernel: [  212.703837]  udl_gem_mmap+0x58/0xb0 [udl]
> Nov  7 20:47:37 wzdell kernel: [  212.703867]  ?
> drm_mode_create_dumb_ioctl+0x90/0x90 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.703902] 
> drm_ioctl_kernel+0xa1/0xf0 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.703928]  drm_ioctl+0x2eb/0x390 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.703956]  ?
> drm_mode_create_dumb_ioctl+0x90/0x90 [drm]
> Nov  7 20:47:37 wzdell kernel: [  212.703963]  ? do_mmap+0x3f9/0x5c0
> Nov  7 20:47:37 wzdell kernel: [  212.703971]  do_vfs_ioctl+0xa4/0x640
> Nov  7 20:47:37 wzdell kernel: [  212.703978]  ksys_ioctl+0x70/0x80
> Nov  7 20:47:37 wzdell kernel: [  212.703985]  __x64_sys_ioctl+0x16/0x20
> Nov  7 20:47:37 wzdell kernel: [  212.703991]  do_syscall_64+0x55/0x110
> Nov  7 20:47:37 wzdell kernel: [  212.703998] 
> entry_SYSCALL_64_after_hwframe+0x44/0xa9
> Nov  7 20:47:37 wzdell kernel: [  212.704002] RIP: 0033:0x7f78c1c09067
> Nov  7 20:47:37 wzdell kernel: [  212.704003] Code: b3 66 90 48 8b 05 21
> 7e 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00
> 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d
> f1 7d 0c 00 f7 d8 64 89 01 48
> Nov  7 20:47:37 wzdell kernel: [  212.704080] RSP: 002b:00007ffc9ddc4ef8
> EFLAGS: 00003246 ORIG_RAX: 0000000000000010
> Nov  7 20:47:37 wzdell kernel: [  212.704084] RAX: ffffffffffffffda RBX:
> 0000000000000000 RCX: 00007f78c1c09067
> Nov  7 20:47:37 wzdell kernel: [  212.704087] RDX: 00007ffc9ddc4f30 RSI:
> 00000000c01064b3 RDI: 0000000000000037
> Nov  7 20:47:37 wzdell kernel: [  212.704089] RBP: 00007ffc9ddc4f30 R08:
> 0000000000000037 R09: 0000000100000000
> Nov  7 20:47:37 wzdell kernel: [  212.704092] R10: 0000000000000001 R11:
> 0000000000003246 R12: 00000000c01064b3
> Nov  7 20:47:37 wzdell kernel: [  212.704094] R13: 0000000000000037 R14:
> 000055bbb6580d90 R15: 0000000000000001
> Nov  7 20:47:37 wzdell kernel: [  212.704099] ---[ end trace
> 6b30e2bd6c85b37c ]---
> 

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181126/b761ee51/attachment-0001.sig>


More information about the dri-devel mailing list