linux-lima icon indicating copy to clipboard operation
linux-lima copied to clipboard

Hung task with 4.17rc7

Open koenkooi opened this issue 6 years ago • 1 comments

When trying to run kodi-gbm dmesg is filling with hung task warnings like these:

[ 3021.755145] INFO: task kodi-gbm:464 blocked for more than 120 seconds.
[ 3021.756109]       Not tainted 4.17.0-rc7 #2
[ 3021.760485] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 3021.768009] kodi-gbm        D    0   464    460 0x0000022c
[ 3021.773418] Call trace:
[ 3021.775847]  __switch_to+0x94/0xd8
[ 3021.779199]  __schedule+0x198/0x5b0
[ 3021.782636]  schedule+0x38/0xa0
[ 3021.785822]  schedule_timeout+0x1c4/0x338
[ 3021.789762]  dma_fence_default_wait+0x1a0/0x1d8
[ 3021.794210]  dma_fence_wait_timeout+0x1c/0x38
[ 3021.798530]  lima_vm_bo_del+0x1b8/0x1d0 [lima]
[ 3021.802927]  lima_gem_object_close+0x88/0xd0 [lima]
[ 3021.807756]  drm_gem_object_release_handle+0x34/0x90
[ 3021.812664]  idr_for_each+0x5c/0x118
[ 3021.816203]  drm_gem_release+0x28/0x40
[ 3021.819911]  drm_release+0x288/0x340
[ 3021.823449]  __fput+0x88/0x1d0
[ 3021.826450]  ____fput+0xc/0x18
[ 3021.829481]  task_work_run+0x9c/0xc0
[ 3021.833024]  do_exit+0x2a8/0x948
[ 3021.836210]  do_group_exit+0x38/0xa0
[ 3021.839747]  get_signal+0xf8/0x4d0
[ 3021.843108]  do_signal+0x68/0x220
[ 3021.846375]  do_notify_resume+0xc8/0x110
[ 3021.850271]  work_pending+0x8/0x10

This is on an amlogic s905x device with a mali450 GPU. Lima kernel patches match 70d18cdf3b5bd.

root@libretech-cc:~# uname -a
Linux libretech-cc 4.17.0-rc7 #2 SMP PREEMPT Tue May 29 15:39:32 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

Kmscube doesn't seem to trigger this.

koenkooi avatar May 30 '18 07:05 koenkooi

I'm not expecting kodi to work with the current lima stack, I use it as a test.

koenkooi avatar May 30 '18 07:05 koenkooi