Public bug reported:

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

** Affects: linux-riscv (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "boot.log.txt"
   
https://bugs.launchpad.net/bugs/2039782/+attachment/5711125/+files/boot.log.txt

-- 
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     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to