I have the same problem
[ 14.873826] Console: switching to colour frame buffer device 240x67
[ 15.120436] radeon 0001:01:00.0: [drm] fb0: radeondrmfb frame buffer device
[ 75.138845] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 75.145779] rcu: 0-...0: (2 ticks this GP)
idle=ae24/1/0x4000000000000002 softirq=881/882 fqs=7501
[ 75.156363] rcu: hardirqs softirqs csw/system
[ 75.162878] rcu: number: 17595499 0 0
[ 75.169396] rcu: cputime: 0 0 0 ==>
30016(ms)
[ 75.177538] rcu: (detected by 3, t=15011 jiffies, g=121, q=273 ncpus=4)
[ 75.185375] Task dump for CPU 0:
[ 75.189151] task:swapper/0 state:R running task stack:0 pid:0
ppid:0 flags:0x00000008
[ 75.200753] Call Trace:
[ 75.203615] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
Timed out for waiting the udev queue being empty.
[ 198.633202] watchdog: Watchdog detected hard LOCKUP on cpu 0
[ 198.639832] Modules linked in: radeon(+) hid_generic usbhid hid motorcomm
video drm_suballoc_helper i2c_algo_bit drm_ttm_helper ttm drm_display_helper
dwmac_starfive stmmac_platform cec rc_core stmmac drm_kms_helper drm
axp20x_regulator pcs_xpcs xhci_pci dw_mmc_starfive dw_mmc_pltfm phylink
backlight xhci_pci_renesas pinctrl_starfive_jh7110_aon dw_mmc
clk_starfive_jh7110_aon axp20x_i2c jh7110_trng clk_starfive_jh7110_isp
clk_starfive_jh7110_vout axp20x spi_cadence_quadspi phy_jh7110_usb
[ 242.654895] INFO: task kworker/1:2:83 blocked for more than 120 seconds.
[ 242.662754] Not tainted 6.5.0-10-generic #10.1-Ubuntu
[ 242.669286] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 242.678454] task:kworker/1:2 state:D stack:0 pid:83 ppid:2
flags:0x00000000
[ 242.688246] Workqueue: events output_poll_execute [drm_kms_helper]
[ 242.695736] Call Trace:
[ 242.698600] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 242.704733] [<ffffffff80ce7a9e>] schedule+0x4e/0xde
[ 242.710452] [<ffffffff80ce7eb4>] schedule_preempt_disabled+0x18/0x20
[ 242.717901] [<ffffffff80ce907a>] __mutex_lock.constprop.0+0x3ce/0x6e0
[ 242.725452] [<ffffffff80ce949c>] __mutex_lock_slowpath+0x1a/0x26
[ 242.732495] [<ffffffff80ce94f0>] mutex_lock+0x48/0x58
[ 242.738419] [<ffffffff0246a11a>] drm_client_dev_hotplug+0x7c/0x10a [drm]
[ 242.746934] [<ffffffff025d4a2e>] output_poll_execute+0x1e2/0x21c
[drm_kms_helper]
[ 242.755890] [<ffffffff8003c3a0>] process_one_work+0x1dc/0x3b4
[ 242.762628] [<ffffffff8003ca34>] worker_thread+0x88/0x456
[ 242.768959] [<ffffffff80044fe6>] kthread+0xc4/0xe4
[ 242.774576] [<ffffffff80003f82>] ret_from_fork+0xe/0x20
[ 242.780717] INFO: task (udev-worker):117 blocked for more than 120 seconds.
[ 242.788875] Not tainted 6.5.0-10-generic #10.1-Ubuntu
[ 242.795410] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 242.804577] task:(udev-worker) state:D stack:0 pid:117 ppid:111
flags:0x00000006
[ 242.814360] Call Trace:
[ 242.817230] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 242.823366] [<ffffffff80ce7a9e>] schedule+0x4e/0xde
[ 242.829088] [<ffffffff80ced910>] schedule_timeout+0x128/0x15e
[ 242.835831] [<ffffffff80ce8520>] __wait_for_common+0x17c/0x24a
[ 242.897655] [<ffffffff80ce8614>] wait_for_completion+0x26/0x36
[ 242.959630] [<ffffffff800a8160>] __wait_rcu_gp+0xec/0x192
[ 243.021222] [<ffffffff800b46f4>] synchronize_rcu+0x118/0x126
[ 243.083262] [<ffffffff807d9388>] __sysrq_swap_key_ops+0xa2/0xf4
[ 243.145935] [<ffffffff807d93f4>] register_sysrq_key+0x1a/0x26
[ 243.208817] [<ffffffff025d872e>]
__drm_fb_helper_initial_config_and_unlock+0x1ae/0x24a [drm_kms_helper]
[ 243.276529] [<ffffffff025d8804>] drm_fb_helper_initial_config+0x3a/0x46
[drm_kms_helper]
[ 243.342843] [<ffffffff028a98c6>] radeon_fbdev_client_hotplug+0xb4/0xba
[radeon]
[ 243.410095] [<ffffffff02469e6e>] drm_client_register+0x4c/0x92 [drm]
[ 243.475748] [<ffffffff028aa1c2>] radeon_fbdev_setup+0xaa/0xf8 [radeon]
[ 243.542662] [<ffffffff027a5474>] radeon_pci_probe+0xe8/0x158 [radeon]
[ 243.609846] [<ffffffff806b97f4>] local_pci_probe+0x40/0x88
[ 243.675177] [<ffffffff806ba18e>] pci_call_probe+0x60/0x17a
[ 243.740214] [<ffffffff806bad4a>] pci_device_probe+0x7c/0xdc
[ 243.804828] [<ffffffff8083a7b4>] call_driver_probe+0x22/0x142
[ 243.869782] [<ffffffff8083b36e>] really_probe+0x9a/0x2a2
[ 243.934343] [<ffffffff8083b5f4>] __driver_probe_device+0x7e/0x146
[ 243.999560] [<ffffffff8083b6f4>] driver_probe_device+0x38/0xd0
[ 244.064017] [<ffffffff8083b966>] __driver_attach+0xee/0x1e8
[ 244.128136] [<ffffffff80838e78>] bus_for_each_dev+0x6c/0xc4
[ 244.192404] [<ffffffff8083acbe>] driver_attach+0x26/0x34
[ 244.256463] [<ffffffff8083a1fe>] bus_add_driver+0x112/0x21e
[ 244.321058] [<ffffffff8083cb12>] driver_register+0x52/0x106
[ 244.385902] [<ffffffff806b927a>] __pci_register_driver+0x4c/0x60
[ 244.451082] [<ffffffff0275506c>] radeon_module_init+0x6c/0x1000 [radeon]
[ 244.518090] [<ffffffff80002962>] do_one_initcall+0x5c/0x1e2
[ 244.582278] [<ffffffff800c01ca>] do_init_module+0x5e/0x224
[ 244.645610] [<ffffffff800c16ee>] load_module+0x7b4/0x8de
[ 244.708029] [<ffffffff800c1a40>] init_module_from_file+0x82/0xd4
[ 244.771181] [<ffffffff800c1c26>] sys_finit_module+0x194/0x330
[ 244.834148] [<ffffffff80ce48f0>] do_trap_ecall_u+0xd6/0x154
[ 244.896674] [<ffffffff80003e30>] ret_from_exception+0x0/0x64
[ 255.222845] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 255.285167] rcu: 0-...0: (2 ticks this GP)
idle=ae24/1/0x4000000000000002 softirq=881/882 fqs=29999
[ 255.351454] rcu: hardirqs softirqs csw/system
[ 255.414129] rcu: number: 122510523 0 0
[ 255.476719] rcu: cputime: 0 0 0 ==>
210144(ms)
[ 255.538375] rcu: (detected by 3, t=60038 jiffies, g=121, q=550 ncpus=4)
[ 255.597060] Task dump for CPU 0:
[ 255.649257] task:swapper/0 state:R running task stack:0 pid:0
ppid:0 flags:0x00000008
[ 255.709383] Call Trace:
[ 255.760869] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 365.534866] INFO: task kworker/u8:0:10 blocked
for more than 122 seconds.
[ 365.590858] Not tainted 6.5.0-10-generic #10.1-Ubuntu
[ 365.645174] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 365.702385] task:kworker/u8:0 state:D stack:0 pid:10 ppid:2
flags:0x00000000
[ 365.760737] Workqueue: events_unbound fsnotify_connector_destroy_workfn
[ 365.817773] Call Trace:
[ 365.870364] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 365.926289] [<ffffffff80ce7a9e>] schedule+0x4e/0xde
[ 365.981778] [<ffffffff80ced910>] schedule_timeout+0x128/0x15e
[ 366.038151] [<ffffffff80ce8520>] __wait_for_common+0x17c/0x24a
[ 366.094480] [<ffffffff80ce8614>] wait_for_completion+0x26/0x36
[ 366.150507] [<ffffffff800ac25e>] __synchronize_srcu+0x9e/0xd2
[ 366.206171] [<ffffffff800ac38c>] synchronize_srcu+0xc4/0x118
[ 366.261776] [<ffffffff8034a804>] fsnotify_connector_destroy_workfn+0x88/0xc6
[ 366.319286] [<ffffffff8003c3a0>] process_one_work+0x1dc/0x3b4
[ 366.375619] [<ffffffff8003ca34>] worker_thread+0x88/0x456
[ 366.431113] [<ffffffff80044fe6>] kthread+0xc4/0xe4
[ 366.485434] [<ffffffff80003f82>] ret_from_fork+0xe/0x20
[ 366.539678] INFO: task kworker/u8:1:39 blocked for more than 123 seconds.
[ 366.595457] Not tainted 6.5.0-10-generic #10.1-Ubuntu
[ 366.649760] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 366.707116] task:kworker/u8:1 state:D stack:0 pid:39 ppid:2
flags:0x00000000
[ 366.765869] Workqueue: events_unbound fsnotify_mark_destroy_workfn
[ 366.822814] Call Trace:
[ 366.875693] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 366.931973] [<ffffffff80ce7a9e>] schedule+0x4e/0xde
[ 366.987730] [<ffffffff80ced910>] schedule_timeout+0x128/0x15e
[ 367.044340] [<ffffffff80ce8520>] __wait_for_common+0x17c/0x24a
[ 367.101047] [<ffffffff80ce8614>] wait_for_completion+0x26/0x36
[ 367.157754] [<ffffffff800ac25e>] __synchronize_srcu+0x9e/0xd2
[ 367.213740] [<ffffffff800ac3c6>] synchronize_srcu+0xfe/0x118
[ 367.269033] [<ffffffff8034a8fa>] fsnotify_mark_destroy_workfn+0xb8/0x122
[ 367.325305] [<ffffffff8003c3a0>] process_one_work+0x1dc/0x3b4
[ 367.380386] [<ffffffff8003cbac>] worker_thread+0x200/0x456
[ 367.434917] [<ffffffff80044fe6>] kthread+0xc4/0xe4
[ 367.488543] [<ffffffff80003f82>] ret_from_fork+0xe/0x20
[ 367.542472] INFO: task kworker/1:2:83 blocked for more than 245 seconds.
[ 367.598535] Not tainted 6.5.0-10-generic #10.1-Ubuntu
[ 367.653723] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 367.712074] task:kworker/1:2 state:D stack:0 pid:83 ppid:2
flags:0x00000000
[ 367.771766] Workqueue: events output_poll_execute [drm_kms_helper]
[ 367.829627] Call Trace:
[ 367.883208] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 367.940182] [<ffffffff80ce7a9e>] schedule+0x4e/0xde
[ 367.996671] [<ffffffff80ce7eb4>] schedule_preempt_disabled+0x18/0x20
[ 368.054867] [<ffffffff80ce907a>] __mutex_lock.constprop.0+0x3ce/0x6e0
[ 368.113333] [<ffffffff80ce949c>] __mutex_lock_slowpath+0x1a/0x26
[ 368.171317] [<ffffffff80ce94f0>] mutex_lock+0x48/0x58
[ 368.228110] [<ffffffff0246a11a>] drm_client_dev_hotplug+0x7c/0x10a [drm]
[ 368.287389] [<ffffffff025d4a2e>] output_poll_execute+0x1e2/0x21c
[drm_kms_helper]
[ 368.347333] [<ffffffff8003c3a0>] process_one_work+0x1dc/0x3b4
[ 368.405449] [<ffffffff8003ca34>] worker_thread+0x88/0x456
[ 368.463166] [<ffffffff80044fe6>] kthread+0xc4/0xe4
[ 368.520171] [<ffffffff80003f82>] ret_from_fork+0xe/0x20
[ 368.577616] INFO: task (udev-worker):117 blocked for more than 246 seconds.
[ 368.637422] Not tainted 6.5.0-10-generic #10.1-Ubuntu
[ 368.696015] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 368.757512] task:(udev-worker) state:D stack:0 pid:117 ppid:111
flags:0x00000006
[ 368.819586] Call Trace:
[ 368.874488] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 368.932719] [<ffffffff80ce7a9e>] schedule+0x4e/0xde
[ 368.990445] [<ffffffff80ced910>] schedule_timeout+0x128/0x15e
[ 369.048771] [<ffffffff80ce8520>] __wait_for_common+0x17c/0x24a
[ 369.106908] [<ffffffff80ce8614>] wait_for_completion+0x26/0x36
[ 369.164525] [<ffffffff800a8160>] __wait_rcu_gp+0xec/0x192
[ 369.221163] [<ffffffff800b46f4>] synchronize_rcu+0x118/0x126
[ 369.277977] [<ffffffff807d9388>] __sysrq_swap_key_ops+0xa2/0xf4
[ 369.334752] [<ffffffff807d93f4>] register_sysrq_key+0x1a/0x26
[ 369.391011] [<ffffffff025d872e>] __drm_fb_helper_initial_config_
[ 492.510860] INFO: task kworker/u8:0:10 blocked for more than 249 seconds.
[ 492.564915] Not tainted 6.5.0-10-generic #10.1-Ubuntu
[ 492.617848] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 492.673956] task:kworker/u8:0 state:D stack:0 pid:10 ppid:2
flags:0x00000000
[ 492.731311] Workqueue: events_unbound fsnotify_connector_destroy_workfn
[ 492.787215] Call Trace:
[ 492.838602] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 492.892777] [<ffffffff80ce7a9e>] schedule+0x4e/0xde
[ 492.945845] [<ffffffff80ced910>] schedule_timeout+0x128/0x15e
[ 492.999404] [<ffffffff80ce8520>] __wait_for_common+0x17c/0x24a
[ 493.052810] [<ffffffff80ce8614>] wait_for_completion+0x26/0x36
[ 493.106080] [<ffffffff800ac25e>] __synchronize_srcu+0x9e/0xd2
[ 493.159238] [<ffffffff800ac38c>] synchronize_srcu+0xc4/0x118
[ 493.212115] [<ffffffff8034a804>] fsnotify_connector_destroy_workfn+0x88/0xc6
[ 493.266898] [<ffffffff8003c3a0>] process_one_work+0x1dc/0x3b4
[ 493.320520] [<ffffffff8003ca34>] worker_thread+0x88/0x456
[ 493.373728] [<ffffffff80044fe6>] kthread+0xc4/0xe4
[ 493.426209] [<ffffffff80003f82>] ret_from_fork+0xe/0x20
[ 493.479066] INFO: task kworker/u8:1:39 blocked for more than 250 seconds.
[ 493.534114] Not tainted 6.5.0-10-generic #10.1-Ubuntu
[ 493.588125] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 493.645324] task:kworker/u8:1 state:D stack:0 pid:39 ppid:2
flags:0x00000000
[ 493.703797] Workqueue: events_unbound fsnotify_mark_destroy_workfn
[ 494.767235] Call Trace:
[ 494.820280] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 494.876746] [<ffffffff80ce7a9e>] schedule+0x4e/0xde
[ 494.932656] [<ffffffff80ce7eb4>] schedule_preempt_disabled+0x18/0x20
[ 494.990222] [<ffffffff80ce907a>] __mutex_lock.constprop.0+0x3ce/0x6e0
[ 495.047809] [<ffffffff80ce949c>] __mutex_lock_slowpath+0x1a/0x26
[ 495.104830] [<ffffffff80ce94f0>] mutex_lock+0x48/0x58
[ 495.160695] [<ffffffff0246a11a>] drm_client_dev_hotplug+0x7c/0x10a [drm]
[ 495.219207] [<ffffffff025d4a2e>] output_poll_execute+0x1e2/0x21c
[drm_kms_helper]
[ 495.278809] [<ffffffff8003c3a0>] process_one_work+0x1dc/0x3b4
[ 495.336572] [<ffffffff8003ca34>] worker_thread+0x88/0x456
[ 495.393991] [<ffffffff80044fe6>] kthread+0xc4/0xe4
[ 495.450807] [<ffffffff80003f82>] ret_from_fork+0xe/0x20
[ 495.508159] Future hung task reports are suppressed, see sysctl
kernel.hung_task_warnings
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-riscv in Ubuntu.
https://bugs.launchpad.net/bugs/2039782
Title:
Stalls on CPUs/tasks on VisionFive 2 with external GPU
Status in linux-riscv package in Ubuntu:
New
Bug description:
I am trying to install Ubuntu Mantic on the StarFive VisionFive 2 1.3B
board using
https://cdimage.ubuntu.com/releases/23.10/release/ubuntu-23.10-live-
server-riscv64.img.gz
I have connected an Nvidia GT710 graphics card to the NVMe connector
and see rcu_sched stalls. I have not observed this behavior on
StarFive VisionFive 2 1.3B boards without an external GPU.
The U-Boot installed on SPI flash is
https://launchpad.net/~ubuntu-risc-v-team/+archive/ubuntu/release/+files/u-boot-starfive_2023.09.22-next-5d2fae79c7d6-0ubuntu1~ppa5_riscv64.deb
[ 93.102845] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 93.114452] rcu: 0-...!: (1 GPs behind) idle=c69c/1/0x4000000000000002
softirq=2431/2431 fqs=41
[ 93.128724] rcu: (detected by 2, t=15008 jiffies, g=4353, q=2369
ncpus=4)
[ 93.140996] Task dump for CPU 0:
[ 93.149549] task:swapper/0 state:R running task stack:0
pid:0 ppid:0 flags:0x00000000
[ 93.164907] Call Trace:
[ 93.172715] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 93.183385] rcu: rcu_sched kthread timer wakeup didn't happen for 14937
jiffies! g4353 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x200
[ 93.200202] rcu: Possible timer handling issue on cpu=0
timer-softirq=890
[ 93.212733] rcu: rcu_sched kthread starved for 14945 jiffies! g4353 f0x0
RCU_GP_WAIT_FQS(5) ->state=0x200 ->cpu=0
[ 93.228777] rcu: Unless rcu_sched kthread gets sufficient CPU time,
OOM is now expected behavior.
[ 93.243573] rcu: RCU grace-period kthread stack dump:
[ 93.254522] task:rcu_sched state:R stack:0 pid:15 ppid:2
flags:0x00000000
[ 93.268895] Call Trace:
[ 93.277340] [<ffffffff80ce749c>] __schedule+0x27a/0x82e
[ 93.288646] [<ffffffff80ce7a9e>] schedule+0x4e/0xde
[ 93.299623] [<ffffffff80ced874>] schedule_timeout+0x8c/0x15e
[ 93.311380] [<ffffffff800b0e26>] rcu_gp_fqs_loop+0x2fc/0x3d4
[ 93.323170] [<ffffffff800b3322>] rcu_gp_kthread+0x11a/0x142
[ 93.334901] [<ffffffff80044fe6>] kthread+0xc4/0xe4
[ 93.345833] [<ffffffff80003f82>] ret_from_fork+0xe/0x20
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-riscv/+bug/2039782/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp