Vim3 hangs under QEMU-KVM

Hi All,

I’m using a vim3 to run a couple of tests with QEMU-KVM. The host os is ubuntu 20.04 focal with mainline kernel 5.10-rc6. After leaving the device running overnight, the next day (today) I came back to see it stuck. I wasn’t even able to log in via serial console.

Here’s some excerpt of syslog:

Feb 23 03:17:01 localhost CRON[3195]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 23 03:23:44 localhost systemd[2382]: Starting Timed resync...
Feb 23 03:23:44 localhost systemd[2382]: psd-resync.service: Succeeded.
Feb 23 03:23:44 localhost systemd[2382]: Finished Timed resync.
Feb 23 03:25:01 localhost CRON[3244]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb 23 03:35:01 localhost CRON[3252]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb 23 03:45:01 localhost CRON[3259]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb 23 03:55:01 localhost CRON[3269]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb 23 04:05:01 localhost CRON[3276]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb 23 04:14:15 localhost kernel: [ 6652.689920] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
Feb 23 04:14:15 localhost kernel: [ 6652.694722] rcu:   3-...0: (10 ticks this GP) idle=6f6/1/0x4000000000000000 softirq=61931/61932 fqs=2517 
Feb 23 04:14:15 localhost kernel: [ 6652.704799]        (detected by 2, t=5255 jiffies, g=105097, q=21)
Feb 23 04:14:15 localhost kernel: [ 6652.704921] Task dump for CPU 3:
Feb 23 04:14:15 localhost kernel: [ 6652.705053] task:kworker/3:2     state:R  running task     stack:    0 pid: 3271 ppid:     2 flags:0x0000002a
Feb 23 04:14:15 localhost kernel: [ 6652.705628] Workqueue: events dbs_work_handler
Feb 23 04:14:15 localhost kernel: [ 6652.705810] Call trace:
Feb 23 04:14:15 localhost kernel: [ 6652.706052]  __switch_to+0x100/0x160
Feb 23 04:14:15 localhost kernel: [ 6652.706222]  0xffff000041bece00
Feb 23 04:15:02 localhost CRON[3285]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Feb 23 04:15:18 localhost kernel: [ 6715.709876] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
Feb 23 04:15:18 localhost kernel: [ 6715.713475] rcu:   3-...0: (10 ticks this GP) idle=6f6/1/0x4000000000000000 softirq=61931/61932 fqs=10178 
Feb 23 04:15:18 localhost kernel: [ 6715.722792]        (detected by 4, t=21007 jiffies, g=105097, q=225)
Feb 23 04:15:18 localhost kernel: [ 6715.722918] Task dump for CPU 3:
Feb 23 04:15:18 localhost kernel: [ 6715.723049] task:kworker/3:2     state:R  running task     stack:    0 pid: 3271 ppid:     2 flags:0x0000002a
Feb 23 04:15:18 localhost kernel: [ 6715.723627] Workqueue: events dbs_work_handler
Feb 23 04:15:18 localhost kernel: [ 6715.723796] Call trace:
Feb 23 04:15:18 localhost kernel: [ 6715.724036]  __switch_to+0x100/0x160
Feb 23 04:15:18 localhost kernel: [ 6715.724202]  0xffff000041bece00
Feb 23 04:16:21 localhost kernel: [ 6778.729766] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
Feb 23 04:16:21 localhost kernel: [ 6778.734605] rcu:   3-...0: (10 ticks this GP) idle=6f6/1/0x4000000000000000 softirq=61931/61932 fqs=17654 
Feb 23 04:16:21 localhost kernel: [ 6778.744899]        (detected by 5, t=36765 jiffies, g=105097, q=235)
Feb 23 04:16:21 localhost kernel: [ 6778.745030] Task dump for CPU 3:
Feb 23 04:16:21 localhost kernel: [ 6778.745171] task:kworker/3:2     state:R  running task     stack:    0 pid: 3271 ppid:     2 flags:0x0000002a
Feb 23 04:16:21 localhost kernel: [ 6778.745743] Workqueue: events dbs_work_handler
Feb 23 04:16:21 localhost kernel: [ 6778.745915] Call trace:
Feb 23 04:16:21 localhost kernel: [ 6778.746161]  __switch_to+0x100/0x160
Feb 23 04:16:21 localhost kernel: [ 6778.746335]  0xffff000041bece00
Feb 23 04:17:01 localhost CRON[3288]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 23 04:17:24 localhost kernel: [ 6841.749679] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
Feb 23 04:17:24 localhost kernel: [ 6841.754461] rcu:   3-...0: (10 ticks this GP) idle=6f6/1/0x4000000000000000 softirq=61931/61932 fqs=25468 
Feb 23 04:17:24 localhost kernel: [ 6841.764738]        (detected by 5, t=52520 jiffies, g=105097, q=478)
Feb 23 04:17:24 localhost kernel: [ 6841.764866] Task dump for CPU 3:
Feb 23 04:17:24 localhost kernel: [ 6841.764999] task:kworker/3:2     state:R  running task     stack:    0 pid: 3271 ppid:     2 flags:0x0000002a
Feb 23 04:17:24 localhost kernel: [ 6841.765577] Workqueue: events dbs_work_handler
Feb 23 04:17:24 localhost kernel: [ 6841.765750] Call trace:
Feb 23 04:17:24 localhost kernel: [ 6841.765994]  __switch_to+0x100/0x160
Feb 23 04:17:24 localhost kernel: [ 6841.766169]  0xffff000041bece00