Bug 206591 - 5.4.22-rt13 BUG: Command buffer error (vmwgfx)
Summary: 5.4.22-rt13 BUG: Command buffer error (vmwgfx)
Status: REOPENED
Alias: None
Product: Alternate Trees
Classification: Unclassified
Component: rt (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: alt-trees_rt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-19 01:03 UTC by ciwei100000
Modified: 2020-08-31 17:07 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.19.98-rt40
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg dump file (106.04 KB, text/plain)
2020-02-19 01:03 UTC, ciwei100000
Details
Update for new error related to vmwgfx in kernel 5.4.22-rt13 (80.00 KB, text/plain)
2020-03-07 10:31 UTC, ciwei100000
Details

Description ciwei100000 2020-02-19 01:03:18 UTC
Created attachment 287491 [details]
dmesg dump file

Stack Traces:

[ 2997.017819] BUG: scheduling while atomic: cinnamon/1410/0x00000002
[ 2997.017820] Modules linked in: rfkill(E) vmw_vsock_vmci_transport(E) vsock(E) vmw_balloon(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) pcbc(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) cryptd(E) glue_helper(E) intel_rapl_perf(E) joydev(E) pcspkr(E) serio_raw(E) snd_ens1371(E) snd_ac97_codec(E) ac97_bus(E) gameport(E) snd_rawmidi(E) snd_seq_device(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) sg(E) vmw_vmci(E) pcc_cpufreq(E) evdev(E) ac(E) fuse(E) parport_pc(E) ppdev(E) lp(E) parport(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) fscrypto(E) sd_mod(E) hid_generic(E) usbhid(E) hid(E) sr_mod(E) cdrom(E) ata_generic(E) vmwgfx(E) ttm(E) drm_kms_helper(E) uhci_hcd(E) ehci_pci(E) drm(E) ehci_hcd(E) mptspi(E) ata_piix(E) mptscsih(E) usbcore(E)
[ 2997.017890]  libata(E) mptbase(E) psmouse(E) scsi_transport_spi(E) scsi_mod(E) crc32c_intel(E) e1000(E) i2c_piix4(E) button(E)
[ 2997.017897] CPU: 5 PID: 1410 Comm: cinnamon Tainted: G            E     4.19.98-rt40 #1
[ 2997.017897] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/29/2019
[ 2997.017898] Call Trace:
[ 2997.017906]  dump_stack+0x66/0x90
[ 2997.017909]  __schedule_bug.cold.84+0x5/0x1d
[ 2997.017912]  __schedule+0x65c/0x7a0
[ 2997.017914]  schedule+0x36/0xd0
[ 2997.017916]  rt_spin_lock_slowlock_locked+0x109/0x2a0
[ 2997.017917]  rt_spin_lock_slowlock+0x50/0x80
[ 2997.017927]  vmw_fifo_ping_host+0x74/0xa0 [vmwgfx]
[ 2997.017934]  vmw_fence_wait+0x72/0x210 [vmwgfx]
[ 2997.017940]  ? vmw_view_commit_notify+0x11c/0x130 [vmwgfx]
[ 2997.017944]  dma_fence_wait_timeout+0x42/0x180
[ 2997.017950]  ? vmw_fence_fifo_up+0x30/0x30 [vmwgfx]
[ 2997.017955]  vmw_fence_obj_wait_ioctl+0x9f/0x120 [vmwgfx]
[ 2997.017970]  drm_ioctl_kernel+0xa1/0xf0 [drm]
[ 2997.017980]  drm_ioctl+0x205/0x3a0 [drm]
[ 2997.017987]  ? vmw_fence_fifo_up+0x30/0x30 [vmwgfx]
[ 2997.017992]  ? vmw_execbuf_ioctl+0x124/0x1d0 [vmwgfx]
[ 2997.017997]  vmw_generic_ioctl+0x162/0x2b0 [vmwgfx]
[ 2997.018007]  ? drm_version+0x90/0x90 [drm]
[ 2997.018009]  do_vfs_ioctl+0xa4/0x630
[ 2997.018012]  ? __sys_recvmsg+0x83/0xa0
[ 2997.018014]  ksys_ioctl+0x60/0x90
[ 2997.018016]  __x64_sys_ioctl+0x16/0x20
[ 2997.018018]  do_syscall_64+0x55/0xf0
[ 2997.018020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 2997.018022] RIP: 0033:0x7fa2e0c08427
[ 2997.018023] Code: 00 00 90 48 8b 05 69 aa 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 39 aa 0c 00 f7 d8 64 89 01 48
[ 2997.018024] RSP: 002b:00007ffcc574f2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 2997.018026] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa2e0c08427
[ 2997.018026] RDX: 00007ffcc574f340 RSI: 00000000c028644e RDI: 000000000000000d
[ 2997.018027] RBP: 00007ffcc574f340 R08: 0000000000000000 R09: 000055c54b3b9fe0
[ 2997.018027] R10: 0000000000000007 R11: 0000000000000246 R12: 00000000c028644e
[ 2997.018028] R13: 000000000000000d R14: 0000000000000001 R15: 000000000000018c
[ 2997.018139] BUG: scheduling while atomic: cinnamon/1410/0x00000000
[ 2997.018143] Modules linked in: rfkill(E) vmw_vsock_vmci_transport(E) vsock(E) vmw_balloon(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) pcbc(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) cryptd(E) glue_helper(E) intel_rapl_perf(E) joydev(E) pcspkr(E) serio_raw(E) snd_ens1371(E) snd_ac97_codec(E) ac97_bus(E) gameport(E) snd_rawmidi(E) snd_seq_device(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) sg(E) vmw_vmci(E) pcc_cpufreq(E) evdev(E) ac(E) fuse(E) parport_pc(E) ppdev(E) lp(E) parport(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) fscrypto(E) sd_mod(E) hid_generic(E) usbhid(E) hid(E) sr_mod(E) cdrom(E) ata_generic(E) vmwgfx(E) ttm(E) drm_kms_helper(E) uhci_hcd(E) ehci_pci(E) drm(E) ehci_hcd(E) mptspi(E) ata_piix(E) mptscsih(E) usbcore(E)
[ 2997.018159]  libata(E) mptbase(E) psmouse(E) scsi_transport_spi(E) scsi_mod(E) crc32c_intel(E) e1000(E) i2c_piix4(E) button(E)
[ 2997.018164] CPU: 5 PID: 1410 Comm: cinnamon Tainted: G        W   E     4.19.98-rt40 #1
[ 2997.018164] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/29/2019
[ 2997.018164] Call Trace:
[ 2997.018167]  dump_stack+0x66/0x90
[ 2997.018169]  __schedule_bug.cold.84+0x5/0x1d
[ 2997.018170]  __schedule+0x65c/0x7a0
[ 2997.018172]  schedule+0x36/0xd0
[ 2997.018173]  schedule_timeout+0x195/0x440
[ 2997.018174]  ? rt_mutex_futex_unlock+0xa1/0xb0
[ 2997.018178]  ? __next_timer_interrupt+0xc0/0xc0
[ 2997.018184]  vmw_fence_wait+0x136/0x210 [vmwgfx]
[ 2997.018191]  ? vmw_fence_obj_init+0xb0/0xb0 [vmwgfx]
[ 2997.018193]  dma_fence_wait_timeout+0x42/0x180
[ 2997.018198]  ? vmw_fence_fifo_up+0x30/0x30 [vmwgfx]
[ 2997.018203]  vmw_fence_obj_wait_ioctl+0x9f/0x120 [vmwgfx]
[ 2997.018226]  drm_ioctl_kernel+0xa1/0xf0 [drm]
[ 2997.018237]  drm_ioctl+0x205/0x3a0 [drm]
[ 2997.018243]  ? vmw_fence_fifo_up+0x30/0x30 [vmwgfx]
[ 2997.018248]  ? vmw_execbuf_ioctl+0x124/0x1d0 [vmwgfx]
[ 2997.018254]  vmw_generic_ioctl+0x162/0x2b0 [vmwgfx]
[ 2997.018263]  ? drm_version+0x90/0x90 [drm]
[ 2997.018265]  do_vfs_ioctl+0xa4/0x630
[ 2997.018267]  ? __sys_recvmsg+0x83/0xa0
[ 2997.018269]  ksys_ioctl+0x60/0x90
[ 2997.018271]  __x64_sys_ioctl+0x16/0x20
[ 2997.018275]  do_syscall_64+0x55/0xf0
[ 2997.018278]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 2997.018281] RIP: 0033:0x7fa2e0c08427
[ 2997.018282] Code: 00 00 90 48 8b 05 69 aa 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 39 aa 0c 00 f7 d8 64 89 01 48
[ 2997.018283] RSP: 002b:00007ffcc574f2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 2997.018284] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa2e0c08427
[ 2997.018286] RDX: 00007ffcc574f340 RSI: 00000000c028644e RDI: 000000000000000d
[ 2997.018287] RBP: 00007ffcc574f340 R08: 0000000000000000 R09: 000055c54b3b9fe0
[ 2997.018288] R10: 0000000000000007 R11: 0000000000000246 R12: 00000000c028644e
[ 2997.018290] R13: 000000000000000d R14: 0000000000000001 R15: 000000000000018c
Comment 1 Sebastian A. Siewior 2020-02-28 18:14:50 UTC
Thanks for report.

I just released v5.4.22-rt13 including this patch:
  https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/patch/?id=b901491e7b9b7a676818d84e482b69be72fc142f

which should fix the problem.
Since I'm not able to test it myself, please let me know if anything else pop up.

Sebastian
Comment 2 ciwei100000 2020-03-07 10:31:07 UTC
Created attachment 287817 [details]
Update for new error related to vmwgfx in kernel 5.4.22-rt13

Update for new error related to vmwgfx in kernel 5.4.22-rt13
Comment 3 ciwei100000 2020-03-07 10:33:20 UTC
Comment on attachment 287817 [details]
Update for new error related to vmwgfx in kernel 5.4.22-rt13

(In reply to Sebastian A. Siewior from comment #1)
> Thanks for report.
> 
> I just released v5.4.22-rt13 including this patch:
>  
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/patch/
> ?id=b901491e7b9b7a676818d84e482b69be72fc142f
> 
> which should fix the problem.
> Since I'm not able to test it myself, please let me know if anything else
> pop up.
> 
> Sebastian

Hi Sebastian,

Thank you so much for the fix. I am testing v5.4.22-rt12 now. However, it seems there is a new error related to vmwgfx. When it happens, the graphics hangs forever. I am sorry for the long message. I couldn't tell which part of the dmesg message is useful this time so I post all messages since the first error. The full dmesg message is attached as dmesg_demp_03072020.log

Could you please take a look when it's convenient to you?

[39706.122104] ------------[ cut here ]------------
[39706.122106] Command buffer error.
[39706.124755] WARNING: CPU: 2 PID: 881 at drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:399 vmw_cmdbuf_ctx_process+0x254/0x280 [vmwgfx]
[39706.125183] Modules linked in: rfkill(E) vmw_vsock_vmci_transport(E) vsock(E) intel_rapl_msr(E) intel_rapl_common(E) crct10dif_pclmul(E) vmw_balloon(E) crc32_pclmul(E) ghash_clmulni_intel(E) aesni_intel(E) crypto_simd(E) cryptd(E) glue_helper(E) intel_rapl_perf(E) joydev(E) pcspkr(E) serio_raw(E) snd_ens1371(E) snd_ac97_codec(E) ac97_bus(E) gameport(E) snd_rawmidi(E) snd_seq_device(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) sg(E) vmw_vmci(E) evdev(E) ac(E) fuse(E) parport_pc(E) ppdev(E) lp(E) parport(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) sd_mod(E) hid_generic(E) usbhid(E) hid(E) sr_mod(E) cdrom(E) ata_generic(E) vmwgfx(E) ttm(E) drm_kms_helper(E) drm(E) uhci_hcd(E) ehci_pci(E) ehci_hcd(E) usbcore(E) psmouse(E) mptspi(E) mptscsih(E) ata_piix(E) mptbase(E) scsi_transport_spi(E) libata(E) scsi_mod(E) crc32c_intel(E) e1000(E) i2c_piix4(E) button(E)
[39706.125214] CPU: 2 PID: 881 Comm: Xorg Tainted: G            E     5.4.22-rt13 #1
[39706.125217] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/29/2019
[39706.125219] RIP: 0010:vmw_cmdbuf_ctx_process+0x254/0x280 [vmwgfx]
[39706.125228] Code: 48 8b 44 24 38 83 00 01 48 83 c4 40 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 c7 c7 05 ae 6f c0 c6 05 5d d3 02 00 01 e8 45 44 5a d1 <0f> 0b e9 57 ff ff ff 48 c7 c7 1c ae 6f c0 c6 05 42 d3 02 00 01 e8
[39706.125230] RSP: 0018:ffffbe2f0185f978 EFLAGS: 00010286
[39706.125230] RAX: 0000000000000000 RBX: ffff9547cfb97c18 RCX: ffffffff92c51a98
[39706.125233] RDX: ffffffff92c51b30 RSI: 0000000000000000 RDI: 0000000000000286
[39706.125234] RBP: ffff9548b9b564a0 R08: ffffffff92c51a80 R09: 00000000001ce180
[39706.125235] R10: 0000000000000001 R11: ffffffff92c51ac0 R12: ffff9547d010da00
[39706.125235] R13: 0000000000000003 R14: dead000000000100 R15: ffff9547cfb97c00
[39706.125236] FS:  00007f6e0bedef00(0000) GS:ffff95492fc80000(0000) knlGS:0000000000000000
[39706.125237] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39706.125238] CR2: 00007f88241bc000 CR3: 0000000335da0005 CR4: 00000000001606e0
[39706.125259] Call Trace:
[39706.125424]  vmw_cmdbuf_man_process+0x55/0xf0 [vmwgfx]
[39706.125432]  __vmw_cmdbuf_cur_flush+0xad/0xe0 [vmwgfx]
[39706.125684]  vmw_cmdbuf_reserve+0x9c/0x150 [vmwgfx]
[39706.125690]  ? rt_mutex_slowlock+0x7b/0xc0
[39706.125695]  vmw_fifo_reserve_dx+0x31/0x1f0 [vmwgfx]
[39706.125722]  vmw_fifo_send_fence+0x1e/0xe0 [vmwgfx]
[39706.125728]  vmw_execbuf_fence_commands+0x53/0x100 [vmwgfx]
[39706.125732]  vmw_execbuf_process+0x794/0x1050 [vmwgfx]
[39706.125736]  vmw_execbuf_ioctl+0x7c/0x130 [vmwgfx]
[39706.125740]  ? vmw_execbuf_release_pinned_bo+0x50/0x50 [vmwgfx]
[39706.125743]  drm_ioctl_kernel+0xac/0xf0 [drm]
[39706.126095]  drm_ioctl+0x201/0x3a0 [drm]
[39706.126104]  ? vmw_execbuf_release_pinned_bo+0x50/0x50 [vmwgfx]
[39706.126108]  ? drm_ioctl_kernel+0xf0/0xf0 [drm]
[39706.126116]  vmw_generic_ioctl+0x9b/0x110 [vmwgfx]
[39706.126120]  do_vfs_ioctl+0xa4/0x630
[39706.126357]  ? do_setitimer+0x16e/0x280
[39706.126362]  ksys_ioctl+0x60/0x90
[39706.126364]  __x64_sys_ioctl+0x16/0x20
[39706.126365]  do_syscall_64+0x52/0x170
[39706.126368]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[39706.126370] RIP: 0033:0x7f6e0c60e427
[39706.126375] Code: 00 00 90 48 8b 05 69 aa 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 39 aa 0c 00 f7 d8 64 89 01 48
[39706.126377] RSP: 002b:00007ffecf2ea568 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[39706.126377] RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007f6e0c60e427
[39706.126378] RDX: 00007ffecf2ea5d0 RSI: 000000004028644c RDI: 0000000000000011
[39706.126378] RBP: 00007ffecf2ea5d0 R08: 00000000000000bc R09: 00007ffecf2ea658
[39706.126379] R10: 000055c0d7caaa74 R11: 0000000000003246 R12: 000000004028644c
[39706.126379] R13: 0000000000000011 R14: 00007ffecf2ea658 R15: 000055c0d6df23c0
[39706.126381] ---[ end trace 0000000000000002 ]---
[39878.652532] INFO: task vmtoolsd:790 blocked for more than 120 seconds.
[39878.652537]       Tainted: G        W   E     5.4.22-rt13 #1
[39878.652537] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[39878.652539] vmtoolsd        D    0   790      1 0x00000000
[39878.652540] Call Trace:
[39878.652545]  ? __schedule+0x414/0x860
[39878.652549]  schedule+0x36/0xc0
[39878.652550]  __rt_mutex_slowlock+0xbe/0x130
[39878.652552]  rt_mutex_slowlock_locked+0xbc/0x270
[39878.652553]  rt_mutex_slowlock+0x6d/0xc0
[39878.652556]  drm_modeset_backoff+0x4c/0xd0 [drm]
[39878.652572]  vmw_du_update_layout.isra.18+0x91/0x220 [vmwgfx]
[39878.652579]  ? __switch_to_asm+0x40/0x70
[39878.652580]  ? __switch_to_asm+0x34/0x70
[39878.652582]  vmw_kms_update_layout_ioctl+0x236/0x270 [vmwgfx]
[39878.652586]  ? vmw_du_connector_fill_modes+0x2b0/0x2b0 [vmwgfx]
[39878.652590]  drm_ioctl_kernel+0xac/0xf0 [drm]
[39878.652598]  drm_ioctl+0x201/0x3a0 [drm]
[39878.652605]  ? vmw_du_connector_fill_modes+0x2b0/0x2b0 [vmwgfx]
[39878.652609]  ? refcount_inc_checked+0x5/0x30
[39878.652611]  ? apparmor_capable+0x4d/0x100
[39878.652613]  ? security_capable+0x38/0x50
[39878.652614]  ? drm_ioctl_kernel+0xf0/0xf0 [drm]
[39878.652621]  vmw_generic_ioctl+0x9b/0x110 [vmwgfx]
[39878.652625]  do_vfs_ioctl+0xa4/0x630
[39878.652627]  ? thread_group_cputime_adjusted+0x4a/0x70
[39878.652630]  ksys_ioctl+0x60/0x90
[39878.652630]  ? __x64_sys_times+0x4c/0x70
[39878.652632]  __x64_sys_ioctl+0x16/0x20
[39878.652632]  do_syscall_64+0x52/0x170
[39878.652635]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[39878.652636] RIP: 0033:0x7f1de9204427
[39878.652641] Code: Bad RIP value.
[39878.652642] RSP: 002b:00007ffc9e9045b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[39878.652642] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f1de9204427
[39878.652643] RDX: 00007ffc9e904600 RSI: 0000000040106454 RDI: 000000000000000a
[39878.652644] RBP: 00007ffc9e904600 R08: 00007ffc9e903fc3 R09: 0000000000000000
[39878.652644] R10: 00007f1de927fae0 R11: 0000000000000246 R12: 0000000040106454
[39878.652644] R13: 000000000000000a R14: 0000564773de9ee7 R15: 0000000000000001
[39878.652651] INFO: task kworker/1:4:830 blocked for more than 120 seconds.
[39878.652652]       Tainted: G        W   E     5.4.22-rt13 #1
[39878.652652] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[39878.652653] kworker/1:4     D    0   830      2 0x80004000
[39878.652660] Workqueue: events vmw_cmdbuf_work_func [vmwgfx]
[39878.652660] Call Trace:
[39878.652661]  ? __schedule+0x414/0x860
[39878.652662]  ? __switch_to_asm+0x34/0x70
[39878.652663]  schedule+0x36/0xc0
[39878.652664]  __rt_mutex_slowlock+0xbe/0x130
[39878.652665]  ? __switch_to_asm+0x34/0x70
[39878.652666]  rt_mutex_slowlock_locked+0xbc/0x270
[39878.652667]  ? __schedule+0x41c/0x860
[39878.652668]  rt_mutex_slowlock+0x6d/0xc0
[39878.652669]  vmw_cmdbuf_reserve+0x62/0x150 [vmwgfx]
[39878.652674]  ? rt_spin_unlock+0x28/0x40
[39878.652675]  vmw_fifo_reserve_dx+0x31/0x1f0 [vmwgfx]
[39878.652680]  vmw_fifo_send_fence+0x1e/0xe0 [vmwgfx]
[39878.652685]  vmw_cmdbuf_work_func+0x3ee/0x500 [vmwgfx]
[39878.652689]  ? __switch_to_asm+0x34/0x70
[39878.652691]  process_one_work+0x18f/0x420
[39878.652693]  worker_thread+0x30/0x370
[39878.652695]  ? process_one_work+0x420/0x420
[39878.652696]  kthread+0x112/0x130
[39878.655247]  ? kthread_park+0x80/0x80
[39878.655250]  ret_from_fork+0x35/0x40
[39878.655254] INFO: task InputThread:963 blocked for more than 120 seconds.
[39878.655256]       Tainted: G        W   E     5.4.22-rt13 #1
[39878.655266] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[39878.655267] InputThread     D    0   963    869 0x00400000
[39878.655268] Call Trace:
[39878.655270]  ? __schedule+0x414/0x860
[39878.655271]  schedule+0x36/0xc0
[39878.655272]  vmw_cmdbuf_alloc_space+0x1af/0x220 [vmwgfx]
[39878.655278]  ? finish_wait+0x70/0x70
[39878.655280]  vmw_cmdbuf_alloc+0x73/0x1e0 [vmwgfx]
[39878.655285]  vmw_cmdbuf_reserve+0x11e/0x150 [vmwgfx]
[39878.655289]  vmw_fifo_reserve_dx+0x31/0x1f0 [vmwgfx]
[39878.655294]  ? map_vm_area+0x32/0x40
[39878.655624]  ? vmap+0x6a/0x90
[39878.655626]  vmw_cursor_update_image+0x4f/0xf0 [vmwgfx]
[39878.655631]  vmw_du_cursor_plane_atomic_update+0x205/0x2a0 [vmwgfx]
[39878.655636]  drm_atomic_helper_commit_planes+0xb5/0x220 [drm_kms_helper]
[39878.656010]  drm_atomic_helper_commit_tail+0x26/0x60 [drm_kms_helper]
[39878.656016]  commit_tail+0xc7/0x110 [drm_kms_helper]
[39878.656021]  drm_atomic_helper_commit+0xb4/0x120 [drm_kms_helper]
[39878.656026]  drm_atomic_helper_update_plane+0xf1/0x110 [drm_kms_helper]
[39878.656031]  drm_mode_cursor_universal+0x125/0x240 [drm]
[39878.656368]  drm_mode_cursor_common+0xc9/0x220 [drm]
[39878.656411]  ? __switch_to_asm+0x34/0x70
[39878.656413]  ? drm_mode_setplane+0x2a0/0x2a0 [drm]
[39878.656422]  drm_mode_cursor_ioctl+0x4d/0x70 [drm]
[39878.656430]  drm_ioctl_kernel+0xac/0xf0 [drm]
[39878.656438]  drm_ioctl+0x201/0x3a0 [drm]
[39878.656448]  ? drm_mode_setplane+0x2a0/0x2a0 [drm]
[39878.656457]  ? drm_ioctl_kernel+0xf0/0xf0 [drm]
[39878.656464]  vmw_generic_ioctl+0x9b/0x110 [vmwgfx]
[39878.656469]  do_vfs_ioctl+0xa4/0x630
[39878.656470]  ksys_ioctl+0x60/0x90
[39878.656471]  ? ksys_read+0x9f/0xd0
[39878.656473]  __x64_sys_ioctl+0x16/0x20
[39878.656473]  do_syscall_64+0x52/0x170
[39878.656475]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[39878.656476] RIP: 0033:0x7f6e0c60e427
[39878.656479] Code: Bad RIP value.
[39878.656480] RSP: 002b:00007f6e03e4e308 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[39878.656480] RAX: ffffffffffffffda RBX: 000055c0d6db84f0 RCX: 00007f6e0c60e427
[39878.656480] RDX: 00007f6e03e4e340 RSI: 00000000c01c64a3 RDI: 000000000000000e
[39878.656481] RBP: 00007f6e03e4e340 R08: 000055c0d6db8480 R09: 0000000000000001
[39878.656481] R10: 0000000000000780 R11: 0000000000003246 R12: 00000000c01c64a3
[39878.656482] R13: 000000000000000e R14: 0000000000000cfd R15: 00000000000000bc
[39999.489350] INFO: task vmtoolsd:790 blocked for more than 241 seconds.
[39999.489357]       Tainted: G        W   E     5.4.22-rt13 #1
[39999.489359] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[39999.489361] vmtoolsd        D    0   790      1 0x00000000
[39999.489363] Call Trace:
[39999.489370]  ? __schedule+0x414/0x860
[39999.489378]  schedule+0x36/0xc0
[39999.489380]  __rt_mutex_slowlock+0xbe/0x130
[39999.489383]  rt_mutex_slowlock_locked+0xbc/0x270
[39999.489385]  rt_mutex_slowlock+0x6d/0xc0
[39999.489389]  drm_modeset_backoff+0x4c/0xd0 [drm]
[39999.489418]  vmw_du_update_layout.isra.18+0x91/0x220 [vmwgfx]
[39999.489430]  ? __switch_to_asm+0x40/0x70
[39999.489432]  ? __switch_to_asm+0x34/0x70
[39999.489435]  vmw_kms_update_layout_ioctl+0x236/0x270 [vmwgfx]
[39999.489445]  ? vmw_du_connector_fill_modes+0x2b0/0x2b0 [vmwgfx]
[39999.489453]  drm_ioctl_kernel+0xac/0xf0 [drm]
[39999.489470]  drm_ioctl+0x201/0x3a0 [drm]
[39999.489484]  ? vmw_du_connector_fill_modes+0x2b0/0x2b0 [vmwgfx]
[39999.489493]  ? refcount_inc_checked+0x5/0x30
[39999.489497]  ? apparmor_capable+0x4d/0x100
[39999.489500]  ? security_capable+0x38/0x50
[39999.489503]  ? drm_ioctl_kernel+0xf0/0xf0 [drm]
[39999.489517]  vmw_generic_ioctl+0x9b/0x110 [vmwgfx]
[39999.489527]  do_vfs_ioctl+0xa4/0x630
[39999.489530]  ? thread_group_cputime_adjusted+0x4a/0x70
[39999.489534]  ksys_ioctl+0x60/0x90
[39999.489535]  ? __x64_sys_times+0x4c/0x70
[39999.489538]  __x64_sys_ioctl+0x16/0x20
[39999.489540]  do_syscall_64+0x52/0x170
[39999.489543]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[39999.489547] RIP: 0033:0x7f1de9204427
[39999.489555] Code: Bad RIP value.
[39999.489556] RSP: 002b:00007ffc9e9045b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[39999.489557] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f1de9204427
[39999.489558] RDX: 00007ffc9e904600 RSI: 0000000040106454 RDI: 000000000000000a
[39999.489559] RBP: 00007ffc9e904600 R08: 00007ffc9e903fc3 R09: 0000000000000000
[39999.489560] R10: 00007f1de927fae0 R11: 0000000000000246 R12: 0000000040106454
[39999.489561] R13: 000000000000000a R14: 0000564773de9ee7 R15: 0000000000000001
[39999.489571] INFO: task kworker/1:4:830 blocked for more than 241 seconds.
[39999.489573]       Tainted: G        W   E     5.4.22-rt13 #1
[39999.489573] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[39999.489575] kworker/1:4     D    0   830      2 0x80004000
[39999.489589] Workqueue: events vmw_cmdbuf_work_func [vmwgfx]
[39999.489589] Call Trace:
[39999.489591]  ? __schedule+0x414/0x860
[39999.489593]  ? __switch_to_asm+0x34/0x70
[39999.489596]  schedule+0x36/0xc0
[39999.489597]  __rt_mutex_slowlock+0xbe/0x130
[39999.489599]  ? __switch_to_asm+0x34/0x70
[39999.489601]  rt_mutex_slowlock_locked+0xbc/0x270
[39999.489603]  ? __schedule+0x41c/0x860
[39999.489605]  rt_mutex_slowlock+0x6d/0xc0
[39999.489608]  vmw_cmdbuf_reserve+0x62/0x150 [vmwgfx]
[39999.489618]  ? rt_spin_unlock+0x28/0x40
[39999.489621]  vmw_fifo_reserve_dx+0x31/0x1f0 [vmwgfx]
[39999.489632]  vmw_fifo_send_fence+0x1e/0xe0 [vmwgfx]
[39999.489641]  vmw_cmdbuf_work_func+0x3ee/0x500 [vmwgfx]
[39999.489651]  ? __switch_to_asm+0x34/0x70
[39999.489654]  process_one_work+0x18f/0x420
[39999.489658]  worker_thread+0x30/0x370
[39999.489661]  ? process_one_work+0x420/0x420
[39999.489663]  kthread+0x112/0x130
[39999.489665]  ? kthread_park+0x80/0x80
[39999.489667]  ret_from_fork+0x35/0x40
[39999.489673] INFO: task InputThread:963 blocked for more than 241 seconds.
[39999.489674]       Tainted: G        W   E     5.4.22-rt13 #1
[39999.489675] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[39999.489676] InputThread     D    0   963    869 0x00400000
[39999.489677] Call Trace:
[39999.489679]  ? __schedule+0x414/0x860
[39999.489681]  schedule+0x36/0xc0
[39999.489683]  vmw_cmdbuf_alloc_space+0x1af/0x220 [vmwgfx]
[39999.489693]  ? finish_wait+0x70/0x70
[39999.489697]  vmw_cmdbuf_alloc+0x73/0x1e0 [vmwgfx]
[39999.489707]  vmw_cmdbuf_reserve+0x11e/0x150 [vmwgfx]
[39999.489716]  vmw_fifo_reserve_dx+0x31/0x1f0 [vmwgfx]
[39999.489725]  ? map_vm_area+0x32/0x40
[39999.489728]  ? vmap+0x6a/0x90
[39999.489731]  vmw_cursor_update_image+0x4f/0xf0 [vmwgfx]
[39999.489739]  vmw_du_cursor_plane_atomic_update+0x205/0x2a0 [vmwgfx]
[39999.489748]  drm_atomic_helper_commit_planes+0xb5/0x220 [drm_kms_helper]
[39999.489760]  drm_atomic_helper_commit_tail+0x26/0x60 [drm_kms_helper]
[39999.489769]  commit_tail+0xc7/0x110 [drm_kms_helper]
[39999.489778]  drm_atomic_helper_commit+0xb4/0x120 [drm_kms_helper]
[39999.489787]  drm_atomic_helper_update_plane+0xf1/0x110 [drm_kms_helper]
[39999.489797]  drm_mode_cursor_universal+0x125/0x240 [drm]
[39999.489818]  drm_mode_cursor_common+0xc9/0x220 [drm]
[39999.489837]  ? __switch_to_asm+0x34/0x70
[39999.489840]  ? drm_mode_setplane+0x2a0/0x2a0 [drm]
[39999.489858]  drm_mode_cursor_ioctl+0x4d/0x70 [drm]
[39999.489877]  drm_ioctl_kernel+0xac/0xf0 [drm]
[39999.489892]  drm_ioctl+0x201/0x3a0 [drm]
[39999.489907]  ? drm_mode_setplane+0x2a0/0x2a0 [drm]
[39999.489926]  ? drm_ioctl_kernel+0xf0/0xf0 [drm]
[39999.489940]  vmw_generic_ioctl+0x9b/0x110 [vmwgfx]
[39999.489949]  do_vfs_ioctl+0xa4/0x630
[39999.489952]  ksys_ioctl+0x60/0x90
[39999.489954]  ? ksys_read+0x9f/0xd0
[39999.489957]  __x64_sys_ioctl+0x16/0x20
[39999.489958]  do_syscall_64+0x52/0x170
[39999.489961]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[39999.489964] RIP: 0033:0x7f6e0c60e427
[39999.489967] Code: Bad RIP value.
[39999.489969] RSP: 002b:00007f6e03e4e308 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[39999.489969] RAX: ffffffffffffffda RBX: 000055c0d6db84f0 RCX: 00007f6e0c60e427
[39999.489970] RDX: 00007f6e03e4e340 RSI: 00000000c01c64a3 RDI: 000000000000000e
[39999.489971] RBP: 00007f6e03e4e340 R08: 000055c0d6db8480 R09: 0000000000000001
[39999.489972] R10: 0000000000000780 R11: 0000000000003246 R12: 00000000c01c64a3
[39999.489973] R13: 000000000000000e R14: 0000000000000cfd R15: 00000000000000bc
[39999.489993] INFO: task cinnamon:1725 blocked for more than 120 seconds.
[39999.489994]       Tainted: G        W   E     5.4.22-rt13 #1
[39999.489995] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[39999.489996] cinnamon        D    0  1725   1708 0x00000000
[39999.489997] Call Trace:
[39999.489999]  ? __schedule+0x414/0x860
[39999.490001]  schedule+0x36/0xc0
[39999.490003]  __rt_mutex_slowlock+0xbe/0x130
[39999.490005]  rt_mutex_slowlock_locked+0xbc/0x270
[39999.490007]  rt_mutex_slowlock+0x6d/0xc0
[39999.490010]  vmw_cmdbuf_commit+0x21/0xb0 [vmwgfx]
[39999.490021]  vmw_execbuf_process+0x6d5/0x1050 [vmwgfx]
[39999.490031]  vmw_execbuf_ioctl+0x7c/0x130 [vmwgfx]
[39999.490039]  ? vmw_execbuf_release_pinned_bo+0x50/0x50 [vmwgfx]
[39999.490046]  drm_ioctl_kernel+0xac/0xf0 [drm]
[39999.490061]  drm_ioctl+0x201/0x3a0 [drm]
[39999.490076]  ? vmw_execbuf_release_pinned_bo+0x50/0x50 [vmwgfx]
[39999.490084]  ? drm_ioctl_kernel+0xf0/0xf0 [drm]
[39999.490098]  vmw_generic_ioctl+0x9b/0x110 [vmwgfx]
[39999.490107]  do_vfs_ioctl+0xa4/0x630
[39999.490110]  ksys_ioctl+0x60/0x90
[39999.490134]  __x64_sys_ioctl+0x16/0x20
[39999.490138]  do_syscall_64+0x52/0x170
[39999.490140]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[39999.490143] RIP: 0033:0x7f2157c0f427
[39999.490147] Code: Bad RIP value.
[39999.490149] RSP: 002b:00007ffe029642a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[39999.490149] RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007f2157c0f427
[39999.490150] RDX: 00007ffe02964310 RSI: 000000004028644c RDI: 000000000000000d
[39999.490151] RBP: 00007ffe02964310 R08: 0000000000000000 R09: 00007ffe02964398
[39999.490152] R10: 0000000000000001 R11: 0000000000000246 R12: 000000004028644c
[39999.490153] R13: 000000000000000d R14: 00007ffe02964398 R15: 0000555a42be3150
[40120.325827] INFO: task vmtoolsd:790 blocked for more than 362 seconds.
[40120.325832]       Tainted: G        W   E     5.4.22-rt13 #1
[40120.325832] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[40120.325834] vmtoolsd        D    0   790      1 0x00000000
[40120.325835] Call Trace:
[40120.325840]  ? __schedule+0x414/0x860
[40120.325844]  schedule+0x36/0xc0
[40120.325845]  __rt_mutex_slowlock+0xbe/0x130
[40120.325847]  rt_mutex_slowlock_locked+0xbc/0x270
[40120.325848]  rt_mutex_slowlock+0x6d/0xc0
[40120.325851]  drm_modeset_backoff+0x4c/0xd0 [drm]
[40120.325867]  vmw_du_update_layout.isra.18+0x91/0x220 [vmwgfx]
[40120.325875]  ? __switch_to_asm+0x40/0x70
[40120.325876]  ? __switch_to_asm+0x34/0x70
[40120.325878]  vmw_kms_update_layout_ioctl+0x236/0x270 [vmwgfx]
[40120.325882]  ? vmw_du_connector_fill_modes+0x2b0/0x2b0 [vmwgfx]
[40120.325886]  drm_ioctl_kernel+0xac/0xf0 [drm]
[40120.325895]  drm_ioctl+0x201/0x3a0 [drm]
[40120.325902]  ? vmw_du_connector_fill_modes+0x2b0/0x2b0 [vmwgfx]
[40120.325906]  ? refcount_inc_checked+0x5/0x30
[40120.325909]  ? apparmor_capable+0x4d/0x100
[40120.325911]  ? security_capable+0x38/0x50
[40120.325912]  ? drm_ioctl_kernel+0xf0/0xf0 [drm]
[40120.325919]  vmw_generic_ioctl+0x9b/0x110 [vmwgfx]
[40120.325923]  do_vfs_ioctl+0xa4/0x630
[40120.325925]  ? thread_group_cputime_adjusted+0x4a/0x70
[40120.325927]  ksys_ioctl+0x60/0x90
[40120.325928]  ? __x64_sys_times+0x4c/0x70
[40120.325930]  __x64_sys_ioctl+0x16/0x20
[40120.325931]  do_syscall_64+0x52/0x170
[40120.325933]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[40120.325934] RIP: 0033:0x7f1de9204427
[40120.325939] Code: Bad RIP value.
[40120.325940] RSP: 002b:00007ffc9e9045b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[40120.325941] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f1de9204427
[40120.325941] RDX: 00007ffc9e904600 RSI: 0000000040106454 RDI: 000000000000000a
[40120.325941] RBP: 00007ffc9e904600 R08: 00007ffc9e903fc3 R09: 0000000000000000
[40120.325942] R10: 00007f1de927fae0 R11: 0000000000000246 R12: 0000000040106454
[40120.325942] R13: 000000000000000a R14: 0000564773de9ee7 R15: 0000000000000001
[40120.325949] INFO: task kworker/1:4:830 blocked for more than 362 seconds.
[40120.325950]       Tainted: G        W   E     5.4.22-rt13 #1
[40120.325951] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[40120.325951] kworker/1:4     D    0   830      2 0x80004000
[40120.325958] Workqueue: events vmw_cmdbuf_work_func [vmwgfx]
[40120.325959] Call Trace:
[40120.325960]  ? __schedule+0x414/0x860
[40120.325961]  ? __switch_to_asm+0x34/0x70
[40120.325962]  schedule+0x36/0xc0
[40120.325963]  __rt_mutex_slowlock+0xbe/0x130
[40120.325964]  ? __switch_to_asm+0x34/0x70
[40120.325973]  rt_mutex_slowlock_locked+0xbc/0x270
[40120.325974]  ? __schedule+0x41c/0x860
[40120.325975]  rt_mutex_slowlock+0x6d/0xc0
[40120.325977]  vmw_cmdbuf_reserve+0x62/0x150 [vmwgfx]
[40120.325982]  ? rt_spin_unlock+0x28/0x40
[40120.325983]  vmw_fifo_reserve_dx+0x31/0x1f0 [vmwgfx]
[40120.325988]  vmw_fifo_send_fence+0x1e/0xe0 [vmwgfx]
[40120.325993]  vmw_cmdbuf_work_func+0x3ee/0x500 [vmwgfx]
[40120.325998]  ? __switch_to_asm+0x34/0x70
[40120.325999]  process_one_work+0x18f/0x420
[40120.326001]  worker_thread+0x30/0x370
[40120.326003]  ? process_one_work+0x420/0x420
[40120.326004]  kthread+0x112/0x130
[40120.326005]  ? kthread_park+0x80/0x80
[40120.326006]  ret_from_fork+0x35/0x40
[40120.326009] INFO: task InputThread:963 blocked for more than 362 seconds.
[40120.326010]       Tainted: G        W   E     5.4.22-rt13 #1
[40120.326010] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[40120.326011] InputThread     D    0   963    869 0x00400000
[40120.326012] Call Trace:
[40120.326013]  ? __schedule+0x414/0x860
[40120.326014]  schedule+0x36/0xc0
[40120.326015]  vmw_cmdbuf_alloc_space+0x1af/0x220 [vmwgfx]
[40120.326019]  ? finish_wait+0x70/0x70
[40120.326021]  vmw_cmdbuf_alloc+0x73/0x1e0 [vmwgfx]
[40120.326026]  vmw_cmdbuf_reserve+0x11e/0x150 [vmwgfx]
[40120.326031]  vmw_fifo_reserve_dx+0x31/0x1f0 [vmwgfx]
[40120.326035]  ? map_vm_area+0x32/0x40
[40120.326037]  ? vmap+0x6a/0x90
[40120.326038]  vmw_cursor_update_image+0x4f/0xf0 [vmwgfx]
[40120.326042]  vmw_du_cursor_plane_atomic_update+0x205/0x2a0 [vmwgfx]
[40120.326046]  drm_atomic_helper_commit_planes+0xb5/0x220 [drm_kms_helper]
[40120.326053]  drm_atomic_helper_commit_tail+0x26/0x60 [drm_kms_helper]
[40120.326057]  commit_tail+0xc7/0x110 [drm_kms_helper]
[40120.326062]  drm_atomic_helper_commit+0xb4/0x120 [drm_kms_helper]
[40120.326066]  drm_atomic_helper_update_plane+0xf1/0x110 [drm_kms_helper]
[40120.326071]  drm_mode_cursor_universal+0x125/0x240 [drm]
[40120.326081]  drm_mode_cursor_common+0xc9/0x220 [drm]
[40120.326090]  ? __switch_to_asm+0x34/0x70
[40120.326092]  ? drm_mode_setplane+0x2a0/0x2a0 [drm]
[40120.326100]  drm_mode_cursor_ioctl+0x4d/0x70 [drm]
[40120.326109]  drm_ioctl_kernel+0xac/0xf0 [drm]
[40120.326116]  drm_ioctl+0x201/0x3a0 [drm]
[40120.326123]  ? drm_mode_setplane+0x2a0/0x2a0 [drm]
[40120.326133]  ? drm_ioctl_kernel+0xf0/0xf0 [drm]
[40120.326139]  vmw_generic_ioctl+0x9b/0x110 [vmwgfx]
[40120.326144]  do_vfs_ioctl+0xa4/0x630
[40120.326145]  ksys_ioctl+0x60/0x90
[40120.326146]  ? ksys_read+0x9f/0xd0
[40120.326147]  __x64_sys_ioctl+0x16/0x20
[40120.326148]  do_syscall_64+0x52/0x170
[40120.326149]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[40120.326150] RIP: 0033:0x7f6e0c60e427
[40120.326152] Code: Bad RIP value.
[40120.326153] RSP: 002b:00007f6e03e4e308 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[40120.326153] RAX: ffffffffffffffda RBX: 000055c0d6db84f0 RCX: 00007f6e0c60e427
[40120.326154] RDX: 00007f6e03e4e340 RSI: 00000000c01c64a3 RDI: 000000000000000e
[40120.326154] RBP: 00007f6e03e4e340 R08: 000055c0d6db8480 R09: 0000000000000001
[40120.326155] R10: 0000000000000780 R11: 0000000000003246 R12: 00000000c01c64a3
[40120.326155] R13: 000000000000000e R14: 0000000000000cfd R15: 00000000000000bc
Comment 4 Sebastian A. Siewior 2020-03-19 17:01:00 UTC
(In reply to ciwei100000 from comment #3)
> Hi Sebastian,

Hi,

> 
> Could you please take a look when it's convenient to you?

can I use this/ trigger this myself? Like is there free software where I can use this driver?

Sebastian
Comment 5 Marek 2020-06-03 18:50:49 UTC
Hi,

I have observed the same error in kernel 5.7.0:

[   22.875840] ------------[ cut here ]------------
[   22.875844] Command buffer error.
[   22.875893] WARNING: CPU: 1 PID: 550 at drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:399 vmw_cmdbuf_ctx_process+0x208/0x210 [vmwgfx]
[   22.875894] Modules linked in: vmw_balloon kvm_intel kvm irqbypass btusb joydev btrtl input_leds btbcm btintel bluetooth pcspkr ecdh_generic ecc i2c_piix4 snd_ens1371 snd_ac97_codec ac97_bus snd_pcm snd_timer vmwgfx gameport snd_rawmidi snd_seq_device ttm snd vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock vmw_vmci ata_generic pata_acpi crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper serio_raw mptspi mptscsih e1000 mptbase ata_piix scsi_transport_spi dm_mirror dm_region_hash dm_log dm_mod
[   22.875914] CPU: 1 PID: 550 Comm: irq/16-vmwgfx Not tainted 5.7.0-gentoo #1
[   22.875915] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.16221537.B64.2005150253 05/15/2020
[   22.875921] RIP: 0010:vmw_cmdbuf_ctx_process+0x208/0x210 [vmwgfx]
[   22.875922] Code: 48 8b 44 24 20 83 00 01 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 c7 c7 be 89 27 c0 c6 05 34 fd 02 00 01 e8 d6 1c e1 ec <0f> 0b e9 74 fe ff ff 90 41 55 4c 8d af 88 00 00 00 41 54 49 89 fc
[   22.875923] RSP: 0018:ffffa015407dbdd8 EFLAGS: 00010286
[   22.875924] RAX: 0000000000000000 RBX: ffff9d02277ba488 RCX: 0000000000000007
[   22.875925] RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffff9d0235e9a7c0
[   22.875925] RBP: 0000000000000003 R08: 00000000000005ef R09: 0000000000000024
[   22.875926] R10: 656666756220646e R11: 2e726f7272652072 R12: ffff9d02277ba480
[   22.875927] R13: ffff9d02277ba668 R14: ffff9d020762ef00 R15: ffff9d020762ef18
[   22.875928] FS:  0000000000000000(0000) GS:ffff9d0235e80000(0000) knlGS:0000000000000000
[   22.875928] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   22.875929] CR2: 00007fab897a61b0 CR3: 000000020848a003 CR4: 00000000001606e0
[   22.875964] Call Trace:
[   22.875981]  ? irq_finalize_oneshot.part.0+0xe0/0xe0
[   22.875987]  vmw_cmdbuf_man_process+0x50/0xf0 [vmwgfx]
[   22.875992]  vmw_cmdbuf_irqthread+0x1d/0x30 [vmwgfx]
[   22.875996]  vmw_thread_fn+0x2d/0x60 [vmwgfx]
[   22.875998]  irq_thread_fn+0x1b/0x60
[   22.876004]  irq_thread+0xd7/0x170
[   22.876005]  ? irq_forced_thread_fn+0x70/0x70
[   22.876006]  ? irq_thread_check_affinity+0x80/0x80
[   22.876010]  kthread+0x10d/0x130
[   22.876014]  ? kthread_destroy_worker+0x40/0x40
[   22.876021]  ret_from_fork+0x35/0x40
[   22.876025] ---[ end trace 1a0d011254f85422 ]---
Comment 6 Daniel Vande More 2020-08-31 17:07:03 UTC
Same:

    [36964.929122] kernel: ------------[ cut here ]------------
    [36964.929124] kernel: Command buffer error.
    [36964.930453] kernel: WARNING: CPU: 1 PID: 330 at drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:399 vmw_cmdbuf_ctx_process+0x217/0x220 [vmwgfx]
    [36964.930455] kernel: Modules linked in: binfmt_misc rfcomm bnep vmw_vsock_vmci_transport vsock snd_ens1371 snd_ac97_codec gameport ac97_bus snd_pcm snd_seq_midi snd_seq_midi_event intel_rapl_msr intel_rapl_common snd_rawmidi kvm_intel kvm vmw_balloon intel_rapl_perf snd_seq btusb snd_seq_device btrtl snd_timer btbcm btintel joydev bluetooth input_leds serio_raw ecdh_generic ecc snd soundcore vmw_vmci mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log crct10dif_pclmul crc32_pclmul ghash_clmulni_intel vmwgfx ttm drm_kms_helper hid_generic syscopyarea sysfillrect sysimgblt aesni_intel usbhid crypto_simd fb_sys_fops hid cryptd glue_helper drm mptspi psmouse mptscsih ahci mptbase pata_acpi e1000 i2c_piix4 libahci scsi_transport_spi
    [36964.930767] kernel: CPU: 1 PID: 330 Comm: irq/16-vmwgfx Not tainted 5.4.0-42-generic #46-Ubuntu
    [36964.930769] kernel: Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020
    [36964.930782] kernel: RIP: 0010:vmw_cmdbuf_ctx_process+0x217/0x220 [vmwgfx]
    [36964.930785] kernel: Code: 07 48 8b 45 a8 83 00 01 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 f6 3c 47 c0 c6 05 02 07 02 00 01 e8 04 71 44 d5 <0f> 0b e9 71 fe ff ff 66 90 0f 1f 44 00 00 55 48 89 e5 41 56 4c 8d
    [36964.930787] kernel: RSP: 0000:ffffbc6980817da0 EFLAGS: 00013286
    [36964.930789] kernel: RAX: 0000000000000000 RBX: ffff92e31423dc88 RCX: 0000000000000006
    [36964.930790] kernel: RDX: 0000000000000007 RSI: 0000000000003096 RDI: ffff92e327a578c0
    [36964.930790] kernel: RBP: ffffbc6980817df8 R08: 000000000000079b R09: 0000000000000004
    [36964.931100] kernel: R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000003
    [36964.931102] kernel: R13: ffff92e1bbfda900 R14: ffff92e1bbfd9e00 R15: ffff92e1bbfd9e18
    [36964.931104] kernel: FS:  0000000000000000(0000) GS:ffff92e327a40000(0000) knlGS:0000000000000000
    [36964.931105] kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [36964.931106] kernel: CR2: 000010643b204000 CR3: 000000029e68e005 CR4: 00000000001606e0
    [36964.931135] kernel: Call Trace:
    [36964.931390] kernel:  ? irq_finalize_oneshot.part.0+0xf0/0xf0
    [36964.931401] kernel:  vmw_cmdbuf_man_process+0x56/0xf0 [vmwgfx]
    [36964.931409] kernel:  vmw_cmdbuf_irqthread+0x27/0x40 [vmwgfx]
    [36964.931416] kernel:  vmw_thread_fn+0x5f/0x70 [vmwgfx]
    [36964.931419] kernel:  irq_thread_fn+0x28/0x60
    [36964.931421] kernel:  irq_thread+0xda/0x170
    [36964.931423] kernel:  ? irq_forced_thread_fn+0x80/0x80
    [36964.931699] kernel:  kthread+0x104/0x140
    [36964.931704] kernel:  ? irq_thread_check_affinity+0xf0/0xf0
    [36964.931706] kernel:  ? kthread_park+0x90/0x90
    [36964.931967] kernel:  ret_from_fork+0x35/0x40
    [36964.931971] kernel: ---[ end trace 91e0179ce1cda501 ]---

Note You need to log in before you can comment on or make changes to this bug.