qa-extras2 hang rcu/scheduling while atomic


Richard Purdie
 

https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/3538

failure during execution of dnf --help

Traceback from qemu logs fro thre 5.10 kernel (full log attached):

qemux86-64 login: [ 133.333475] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 133.337109] (detected by 2, t=25864 jiffies, g=1529, q=10)
[ 133.339025] rcu: All QSes seen, last rcu_preempt kthread activity 4865 (4294800423-4294795558), jiffies_till_next_fqs=3, root ->qsmask 0x0
[ 133.343445] rcu: rcu_preempt kthread starved for 4870 jiffies! g1529 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 ->cpu=2
[ 133.346976] rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
[ 133.350262] rcu: RCU grace-period kthread stack dump:
[ 133.352704] task:rcu_preempt state:R stack: 0 pid: 13 ppid: 2 flags:0x00004000
[ 133.355581] Call Trace:
[ 133.356488] __schedule+0x1dc/0x570
[ 133.357693] ? __mod_timer+0x220/0x3c0
[ 133.359018] schedule+0x68/0xe0
[ 133.360000] schedule_timeout+0x8f/0x160
[ 133.361267] ? force_qs_rnp+0x8d/0x1c0
[ 133.362515] ? __next_timer_interrupt+0x100/0x100
[ 133.364264] rcu_gp_kthread+0x55f/0xba0
[ 133.365701] ? note_gp_changes+0x70/0x70
[ 133.367356] kthread+0x145/0x170
[ 133.368597] ? kthread_associate_blkcg+0xc0/0xc0
[ 133.370686] ret_from_fork+0x22/0x30
[ 133.371976] BUG: scheduling while atomic: swapper/2/0/0x00000002
[ 133.374066] Modules linked in: bnep
[ 133.375324] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.10.41-yocto-standard #1
[ 133.377813] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 133.381882] Call Trace:
[ 133.382744] dump_stack+0x5e/0x74
[ 133.384027] __schedule_bug.cold+0x4b/0x59
[ 133.385362] __schedule+0x3f6/0x570
[ 133.386655] schedule_idle+0x2c/0x40
[ 133.388033] do_idle+0x15a/0x250
[ 133.389257] ? complete+0x3f/0x50
[ 133.390406] cpu_startup_entry+0x20/0x30
[ 133.391827] start_secondary+0xf1/0x100
[ 133.393143] secondary_startup_64_no_verify+0xc2/0xcb
[ 191.482302] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 255.155323] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:

Shouldn't see "scheduling while atomic", the stall detector also isn't listing 
tasks.

Cheers,

Richard