Skip to content

Instantly share code, notes, and snippets.

@PabloPL
Created May 2, 2024 17:45
Show Gist options
  • Save PabloPL/e035bb9fb7077a063071f33178af2abd to your computer and use it in GitHub Desktop.
Save PabloPL/e035bb9fb7077a063071f33178af2abd to your computer and use it in GitHub Desktop.
Exynos3250 RCU errors
[ 3.638086] ------------[ cut here ]------------
[ 3.638151] WARNING: CPU: 1 PID: 0 at include/trace/events/lock.h:24 lock_acquire+0x1b0/0x388
[ 3.638246] RCU not watching for tracepoint
[ 3.638265] Modules linked in:
[ 3.638320] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.9.0-rc5-ga6cfc27b9461 #6
[ 3.638351] Hardware name: Samsung Exynos (Flattened Device Tree)
[ 3.638373] Call trace:
[ 3.638399] unwind_backtrace from show_stack+0x10/0x14
[ 3.638470] show_stack from dump_stack_lvl+0x68/0x88
[ 3.638524] dump_stack_lvl from __warn+0x7c/0x1c4
[ 3.638589] __warn from warn_slowpath_fmt+0xb8/0x1bc
[ 3.638644] warn_slowpath_fmt from lock_acquire+0x1b0/0x388
[ 3.638696] lock_acquire from _raw_spin_lock_irqsave+0x50/0x6c
[ 3.638745] _raw_spin_lock_irqsave from cpu_pm_enter+0xc/0x50
[ 3.638798] cpu_pm_enter from exynos_cpu1_powerdown+0x8/0x88
[ 3.638841] exynos_cpu1_powerdown from exynos_enter_coupled_lowpower+0x44/0x74
[ 3.638897] exynos_enter_coupled_lowpower from cpuidle_enter_state+0x180/0x778
[ 3.638947] cpuidle_enter_state from cpuidle_enter_state_coupled+0x364/0x3b4
[ 3.638995] cpuidle_enter_state_coupled from cpuidle_enter+0x3c/0x54
[ 3.639035] cpuidle_enter from do_idle+0x238/0x2c4
[ 3.639074] do_idle from cpu_startup_entry+0x28/0x2c
[ 3.639108] cpu_startup_entry from secondary_start_kernel+0x194/0x224
[ 3.639150] secondary_start_kernel from 0x401018e0
[ 3.639371] irq event stamp: 5351
[ 3.639390] hardirqs last enabled at (5351): [<c09189b4>] cpuidle_enter_state_coupled+0x364/0x3b4
[ 3.639430] hardirqs last disabled at (5350): [<c09187c0>] cpuidle_enter_state_coupled+0x170/0x3b4
[ 3.639465] softirqs last enabled at (5228): [<c0101644>] __do_softirq+0x320/0x500
[ 3.639503] softirqs last disabled at (5211): [<c012e8b4>] __irq_exit_rcu+0x130/0x184
[ 3.639545] ---[ end trace 0000000000000000 ]---
[ 3.639572] ------------[ cut here ]------------
[ 3.639683] WARNING: CPU: 1 PID: 0 at include/trace/events/notifier.h:59 notifier_call_chain+0x138/0x1d4
[ 3.639742] RCU not watching for tracepoint
[ 3.639754] Modules linked in:
[ 3.639786] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 6.9.0-rc5-ga6cfc27b9461 #6
[ 3.639815] Hardware name: Samsung Exynos (Flattened Device Tree)
[ 3.639831] Call trace:
[ 3.639847] unwind_backtrace from show_stack+0x10/0x14
[ 3.639893] show_stack from dump_stack_lvl+0x68/0x88
[ 3.639936] dump_stack_lvl from __warn+0x7c/0x1c4
[ 3.639989] __warn from warn_slowpath_fmt+0xb8/0x1bc
[ 3.640045] warn_slowpath_fmt from notifier_call_chain+0x138/0x1d4
[ 3.640099] notifier_call_chain from raw_notifier_call_chain_robust+0x40/0x98
[ 3.640151] raw_notifier_call_chain_robust from cpu_pm_enter+0x28/0x50
[ 3.640196] cpu_pm_enter from exynos_cpu1_powerdown+0x8/0x88
[ 3.640235] exynos_cpu1_powerdown from exynos_enter_coupled_lowpower+0x44/0x74
[ 3.640277] exynos_enter_coupled_lowpower from cpuidle_enter_state+0x180/0x778
[ 3.640326] cpuidle_enter_state from cpuidle_enter_state_coupled+0x364/0x3b4
[ 3.640376] cpuidle_enter_state_coupled from cpuidle_enter+0x3c/0x54
[ 3.640413] cpuidle_enter from do_idle+0x238/0x2c4
[ 3.640447] do_idle from cpu_startup_entry+0x28/0x2c
[ 3.640482] cpu_startup_entry from secondary_start_kernel+0x194/0x224
[ 3.640522] secondary_start_kernel from 0x401018e0
[ 3.640603] irq event stamp: 5351
[ 3.640620] hardirqs last enabled at (5351): [<c09189b4>] cpuidle_enter_state_coupled+0x364/0x3b4
[ 3.640657] hardirqs last disabled at (5350): [<c09187c0>] cpuidle_enter_state_coupled+0x170/0x3b4
[ 3.640692] softirqs last enabled at (5228): [<c0101644>] __do_softirq+0x320/0x500
[ 3.640725] softirqs last disabled at (5211): [<c012e8b4>] __irq_exit_rcu+0x130/0x184
[ 3.640762] ---[ end trace 0000000000000000 ]---
[ 3.640791] ------------[ cut here ]------------
[ 3.640805] WARNING: CPU: 1 PID: 0 at include/trace/events/lock.h:69 lock_release+0x25c/0x390
[ 3.640846] RCU not watching for tracepoint
[ 3.640857] Modules linked in:
[ 3.640883] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 6.9.0-rc5-ga6cfc27b9461 #6
[ 3.640910] Hardware name: Samsung Exynos (Flattened Device Tree)
[ 3.640926] Call trace:
[ 3.640941] unwind_backtrace from show_stack+0x10/0x14
[ 3.640987] show_stack from dump_stack_lvl+0x68/0x88
[ 3.641029] dump_stack_lvl from __warn+0x7c/0x1c4
[ 3.641082] __warn from warn_slowpath_fmt+0xb8/0x1bc
[ 3.641138] warn_slowpath_fmt from lock_release+0x25c/0x390
[ 3.641189] lock_release from _raw_spin_unlock_irqrestore+0x18/0x60
[ 3.641237] _raw_spin_unlock_irqrestore from cpu_pm_enter+0x38/0x50
[ 3.641277] cpu_pm_enter from exynos_cpu1_powerdown+0x8/0x88
[ 3.641316] exynos_cpu1_powerdown from exynos_enter_coupled_lowpower+0x44/0x74
[ 3.641358] exynos_enter_coupled_lowpower from cpuidle_enter_state+0x180/0x778
[ 3.641406] cpuidle_enter_state from cpuidle_enter_state_coupled+0x364/0x3b4
[ 3.641455] cpuidle_enter_state_coupled from cpuidle_enter+0x3c/0x54
[ 3.641492] cpuidle_enter from do_idle+0x238/0x2c4
[ 3.641525] do_idle from cpu_startup_entry+0x28/0x2c
[ 3.641560] cpu_startup_entry from secondary_start_kernel+0x194/0x224
[ 3.641600] secondary_start_kernel from 0x401018e0
[ 3.641637] irq event stamp: 5351
[ 3.641651] hardirqs last enabled at (5351): [<c09189b4>] cpuidle_enter_state_coupled+0x364/0x3b4
[ 3.641687] hardirqs last disabled at (5350): [<c09187c0>] cpuidle_enter_state_coupled+0x170/0x3b4
[ 3.641721] softirqs last enabled at (5228): [<c0101644>] __do_softirq+0x320/0x500
[ 3.641754] softirqs last disabled at (5211): [<c012e8b4>] __irq_exit_rcu+0x130/0x184
[ 3.641790] ---[ end trace 0000000000000000 ]---
[ 3.649066] =============================
[ 3.649084] WARNING: suspicious RCU usage
[ 3.649100] 6.9.0-rc5-ga6cfc27b9461 #6 Tainted: G W
[ 3.649123] -----------------------------
[ 3.649135] include/linux/rcupdate.h:782 rcu_read_lock() used illegally while idle!
[ 3.649160]
other info that might help us debug this:
[ 3.649174]
rcu_scheduler_active = 2, debug_locks = 1
[ 3.649194] 1 lock held by swapper/0/0:
[ 3.649213] #0: c137bde0 (rcu_read_lock){....}-{1:2}, at: cpu_pm_notify+0x0/0x13c
[ 3.649328]
stack backtrace:
[ 3.649343] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.9.0-rc5-ga6cfc27b9461 #6
[ 3.649370] Hardware name: Samsung Exynos (Flattened Device Tree)
[ 3.649388] Call trace:
[ 3.649412] unwind_backtrace from show_stack+0x10/0x14
[ 3.649467] show_stack from dump_stack_lvl+0x68/0x88
[ 3.649513] dump_stack_lvl from lockdep_rcu_suspicious+0x150/0x1c0
[ 3.649565] lockdep_rcu_suspicious from cpu_pm_notify+0xe0/0x13c
[ 3.649607] cpu_pm_notify from exynos_cpu0_enter_aftr+0x78/0x1f4
[ 3.649649] exynos_cpu0_enter_aftr from exynos_enter_coupled_lowpower+0x44/0x74
[ 3.649696] exynos_enter_coupled_lowpower from cpuidle_enter_state+0x180/0x778
[ 3.649745] cpuidle_enter_state from cpuidle_enter_state_coupled+0x364/0x3b4
[ 3.649793] cpuidle_enter_state_coupled from cpuidle_enter+0x3c/0x54
[ 3.649831] cpuidle_enter from do_idle+0x238/0x2c4
[ 3.649866] do_idle from cpu_startup_entry+0x28/0x2c
[ 3.649900] cpu_startup_entry from kernel_init+0x0/0x12c
[ 3.649967] =============================
[ 3.649980] WARNING: suspicious RCU usage
[ 3.649993] 6.9.0-rc5-ga6cfc27b9461 #6 Tainted: G W
[ 3.650010] -----------------------------
[ 3.650022] include/linux/rcupdate.h:810 rcu_read_unlock() used illegally while idle!
[ 3.650040]
other info that might help us debug this:
[ 3.650053]
rcu_scheduler_active = 2, debug_locks = 1
[ 3.650072] 1 lock held by swapper/0/0:
[ 3.650090] #0: c137bde0 (rcu_read_lock){....}-{1:2}, at: cpu_pm_notify+0x0/0x13c
[ 3.650182]
stack backtrace:
[ 3.650195] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.9.0-rc5-ga6cfc27b9461 #6
[ 3.650221] Hardware name: Samsung Exynos (Flattened Device Tree)
[ 3.650237] Call trace:
[ 3.650252] unwind_backtrace from show_stack+0x10/0x14
[ 3.650297] show_stack from dump_stack_lvl+0x68/0x88
[ 3.650339] dump_stack_lvl from lockdep_rcu_suspicious+0x150/0x1c0
[ 3.650387] lockdep_rcu_suspicious from cpu_pm_notify+0x130/0x13c
[ 3.650428] cpu_pm_notify from exynos_cpu0_enter_aftr+0x78/0x1f4
[ 3.650467] exynos_cpu0_enter_aftr from exynos_enter_coupled_lowpower+0x44/0x74
[ 3.650509] exynos_enter_coupled_lowpower from cpuidle_enter_state+0x180/0x778
[ 3.650558] cpuidle_enter_state from cpuidle_enter_state_coupled+0x364/0x3b4
[ 3.650605] cpuidle_enter_state_coupled from cpuidle_enter+0x3c/0x54
[ 3.650642] cpuidle_enter from do_idle+0x238/0x2c4
[ 3.650675] do_idle from cpu_startup_entry+0x28/0x2c
[ 3.650709] cpu_startup_entry from kernel_init+0x0/0x12c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment