regressions.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [REGRESSION] next/master: (boot) sleeping function called from invalid context at kernel/locking/rw...
@ 2025-08-20 10:22 KernelCI bot
  2025-08-20 10:25 ` Gustavo Padovan
  0 siblings, 1 reply; 2+ messages in thread
From: KernelCI bot @ 2025-08-20 10:22 UTC (permalink / raw)
  To: kernelci-results; +Cc: regressions, linux-mediatek, linux-next






Hello,

New boot regression found on next/master:

---
 sleeping function called from invalid context at kernel/locking/rwsem.c:1589 [logspec:generic_linux_boot,linux.kernel.bug]
---

- dashboard: https://d.kernelci.org/i/maestro:4a7604ad2b208f9142109c871e17a6453ee9ff9c
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
- commit HEAD:  5303936d609e09665deda94eaedf26a0e5c3a087
- tags: next-20250820


Log excerpt:
=====================================================

=====================================================


# Hardware platforms affected:

## mt8186-corsola-steelix-sku131072
- dashboard: https://d.kernelci.org/test/maestro:68a572e9233e484a3fa2c0db
- compatibles: google,steelix-sku131072 | google,steelix
- 1 fails since 2025-08-20 07:25 UTC
- test path: boot
- last pass: https://d.kernelci.org/test/maestro:68a429e6233e484a3fa0aba6
    - on 2025-08-19 07:38 UTC
    - commit hash:  886e5e7b0432360842303d587bb4a65d10741ae8
    - test id:  maestro:68a429e6233e484a3fa0aba6

## mt8195-cherry-tomato-r2
- dashboard: https://d.kernelci.org/test/maestro:68a572ea233e484a3fa2c0e1
- compatibles: google,tomato-rev2 | google,tomato | mediatek,mt8195
- 1 fails since 2025-08-20 07:25 UTC
- test path: boot
- last pass: https://d.kernelci.org/test/maestro:68a2ce76233e484a3f9e5dcc
    - on 2025-08-18 06:55 UTC
    - commit hash:  3ac864c2d9bb8608ee236e89bf561811613abfce
    - test id:  maestro:68a2ce76233e484a3f9e5dcc


#kernelci issue maestro:4a7604ad2b208f9142109c871e17a6453ee9ff9c

Reported-by: kernelci.org bot <bot@kernelci.org>

--
This is an experimental report format. Please send feedback in!
Talk to us at kernelci@lists.linux.dev

Made with love by the KernelCI team - https://kernelci.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [REGRESSION] next/master: (boot) sleeping function called from invalid context at kernel/locking/rw...
  2025-08-20 10:22 [REGRESSION] next/master: (boot) sleeping function called from invalid context at kernel/locking/rw KernelCI bot
@ 2025-08-20 10:25 ` Gustavo Padovan
  0 siblings, 0 replies; 2+ messages in thread
From: Gustavo Padovan @ 2025-08-20 10:25 UTC (permalink / raw)
  To: kernelci, kernelci-results; +Cc: regressions, linux-mediatek, linux-next

On Wed, 2025-08-20 at 10:22 +0000, KernelCI bot wrote:
> 
> 
> 
> 
> 
> Hello,
> 
> New boot regression found on next/master:
> 
> ---
>  sleeping function called from invalid context at
> kernel/locking/rwsem.c:1589
> [logspec:generic_linux_boot,linux.kernel.bug]
> ---
> 
> - dashboard:
> https://d.kernelci.org/i/maestro:4a7604ad2b208f9142109c871e17a6453ee9ff9c
> - giturl:
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> - commit HEAD:  5303936d609e09665deda94eaedf26a0e5c3a087
> - tags: next-20250820
> 
> 
> Log excerpt:
> =====================================================

Our logspec tool failed to collect the relevant part of the crash.
Here it is: (We will fix this).


[    5.926489] =============================
[    5.930486] [ BUG: Invalid wait context ]
[    5.934484] 6.17.0-rc2-next-20250820 #1 Not tainted
[    5.939350] -----------------------------
[    5.943347] kworker/u32:0/12 is trying to lock:
[    5.947864] ffffbca6d49c19b8 (sysfs_symlink_target_lock){+.+.}-
{3:3}, at: sysfs_remove_dir+0x48/0xe8
[    5.956997] other info that might help us debug this:
[    5.962034] context-{5:5}
[    5.964642] 4 locks held by kworker/u32:0/12:
[    5.968986]  #0: ffff0000c0039148
((wq_completion)events_unbound){+.+.}-{0:0}, at:
process_one_work+0x674/0x1800
[    5.979153]  #1: ffff800080187ce0 (deferred_probe_work){+.+.}-{0:0},
at: process_one_work+0x698/0x1800
[    5.988450]  #2: ffff0000c24a10f8 (&dev->mutex){....}-{4:4}, at:
__device_attach+0x80/0x358
[    5.996794]  #3: ffffbca6d6571cd8 (devtree_lock){....}-{2:2}, at:
of_find_node_with_property+0x34/0x204
[    6.003882] usb 1-1: new high-speed USB device number 2 using xhci-
mtk
[    6.006180] stack backtrace:
[    6.006183] CPU: 7 UID: 0 PID: 12 Comm: kworker/u32:0 Not tainted
6.17.0-rc2-next-20250820 #1 PREEMPT
[    6.006187] Hardware name: Acer Tomato (rev2) board (DT)
[    6.006190] Workqueue: events_unbound deferred_probe_work_func
[    6.006195] Call trace:
[    6.006196]  show_stack+0x18/0x24 (C)
[    6.006201]  dump_stack_lvl+0x90/0xd0
[    6.006205]  dump_stack+0x1c/0x28
[    6.006208]  __lock_acquire+0x924/0xc2c
[    6.006213]  lock_acquire.part.0+0x164/0x25c
[    6.006216]  lock_acquire+0x88/0x1a0
[    6.006219]  _raw_spin_lock+0xa8/0xd8
[    6.006223]  sysfs_remove_dir+0x48/0xe8
[    6.006226]  __kobject_del+0xb0/0x27c
[    6.006228]  kobject_release+0xfc/0x134
[    6.006231]  kobject_put+0xb0/0x130
[    6.006234]  of_node_put+0x18/0x28
[    6.006237]  of_find_node_with_property+0xcc/0x204
[    6.006240]  scpsys_get_bus_protection_legacy+0x16c/0x428
[    6.006244]  scpsys_probe+0x3bc/0x584
[    6.006247]  platform_probe+0xc4/0x1c0
[    6.006250]  really_probe+0x188/0x5d0
[    6.006253]  __driver_probe_device+0x160/0x2e8
[    6.006256]  driver_probe_device+0x5c/0x298
[    6.006259]  __device_attach_driver+0x184/0x328
[    6.006262]  bus_for_each_drv+0x104/0x18c
[    6.006265]  __device_attach+0x168/0x358
[    6.006268]  device_initial_probe+0x14/0x20
[    6.006271]  bus_probe_device+0x128/0x160
[    6.006274]  deferred_probe_work_func+0x128/0x1d0
[    6.006277]  process_one_work+0x740/0x1800
[    6.006279]  worker_thread+0x738/0xb88
[    6.006282]  kthread+0x328/0x3d4
[    6.006285]  ret_from_fork+0x10/0x20
[    6.006291] BUG: sleeping function called from invalid context at
kernel/locking/rwsem.c:1589
[    6.017529] i2c_hid_of 4-0010: i2c_hid_get_input: IRQ triggered but
there's no data
[    6.024878] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid:
12, name: kworker/u32:0
[    6.024881] preempt_count: 1, expected: 0
[    6.024882] RCU nest depth: 0, expected: 0
[    6.024884] INFO: lockdep is turned off.
[    6.024886] irq event stamp: 537370
[    6.024887] hardirqs last  enabled at (537369): [<ffffbca6cf0a140c>]
_raw_spin_unlock_irqrestore+0x84/0x90
[    6.024891] hardirqs last disabled at (537370): [<ffffbca6cf0a033c>]
_raw_spin_lock_irqsave+0xe0/0xf4
[    6.024894] softirqs last  enabled at (365608): [<ffffbca6cb9bcfc4>]
handle_softirqs+0x8ec/0xd90
[    6.219570] softirqs last disabled at (365431): [<ffffbca6cb810ab8>]
__do_softirq+0x14/0x20
[    6.227908] CPU: 7 UID: 0 PID: 12 Comm: kworker/u32:0 Not tainted
6.17.0-rc2-next-20250820 #1 PREEMPT
[    6.227912] Hardware name: Acer Tomato (rev2) board (DT)
[    6.227914] Workqueue: events_unbound deferred_probe_work_func
[    6.227919] Call trace:
[    6.227920]  show_stack+0x18/0x24 (C)
[    6.227923]  dump_stack_lvl+0x90/0xd0
[    6.227927]  dump_stack+0x1c/0x28
[    6.227930]  __might_resched+0x360/0x578
[    6.227933]  __might_sleep+0xa4/0x16c
[    6.227937]  down_write+0x8c/0x21c
[    6.227940]  kernfs_remove+0x28/0x4c
[    6.227944]  sysfs_remove_dir+0xa8/0xe8
[    6.227947]  __kobject_del+0xb0/0x27c
[    6.227950]  kobject_release+0xfc/0x134
[    6.227952]  kobject_put+0xb0/0x130
[    6.227955]  of_node_put+0x18/0x28
[    6.227958]  of_find_node_with_property+0xcc/0x204
[    6.227961]  scpsys_get_bus_protection_legacy+0x16c/0x428
[    6.227965]  scpsys_probe+0x3bc/0x584
[    6.227967]  platform_probe+0xc4/0x1c0
[    6.227971]  really_probe+0x188/0x5d0
[    6.227974]  __driver_probe_device+0x160/0x2e8
[    6.227977]  driver_probe_device+0x5c/0x298
[    6.227980]  __device_attach_driver+0x184/0x328
[    6.227983]  bus_for_each_drv+0x104/0x18c
[    6.227985]  __device_attach+0x168/0x358
[    6.227988]  device_initial_probe+0x14/0x20
[    6.227991]  bus_probe_device+0x128/0x160
[    6.227993]  deferred_probe_work_func+0x128/0x1d0
[    6.227996]  process_one_work+0x740/0x1800
[    6.227999]  worker_thread+0x738/0xb88
[    6.228002]  kthread+0x328/0x3d4
[    6.228004]  ret_from_fork+0x10/0x20
[   31.875576] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[   32.017394] rcu: ?7-...0: (14 ticks this GP)
idle=3c14/1/0x4000000000000000 softirq=936/941 fqs=1298
[   32.026515] rcu: ?(detected by 5, t=6503 jiffies, g=-383, q=816
ncpus=8)
[   32.033203] Sending NMI from CPU 5 to CPUs 7:
[   44.067673] watchdog: CPU1: Watchdog detected hard LOCKUP on cpu 2
[   44.073902] Modules linked in:
[   44.073927] irq event stamp: 17405
[   44.073942] hardirqs last  enabled at (17405): [<ffffbca6ce8032c0>]
psci_cpu_suspend_enter+0x1b8/0x320
[   44.073994] hardirqs last disabled at (17404): [<ffffbca6cbaba4e8>]
do_idle+0xf8/0x1a0
[   44.074038] softirqs last  enabled at (17402): [<ffffbca6cb9bcfc4>]
handle_softirqs+0x8ec/0xd90
[   44.074079] softirqs last disabled at (17397): [<ffffbca6cb810ab8>]
__do_softirq+0x14/0x20
[   44.074118] Sending NMI from CPU 1 to CPUs 2:
[   44.103650] watchdog: CPU5: Watchdog detected hard LOCKUP on cpu 6
[   44.125270] Modules linked in:
[   44.125273] irq event stamp: 26161
[   44.125274] hardirqs last  enabled at (26161): [<ffffbca6ce8032c0>]
psci_cpu_suspend_enter+0x1b8/0x320
[   44.125281] hardirqs last disabled at (26160): [<ffffbca6cbaba4e8>]
do_idle+0xf8/0x1a0
[   44.125286] softirqs last  enabled at (26140): [<ffffbca6cb9bcfc4>]
handle_softirqs+0x8ec/0xd90
[   44.125289] softirqs last disabled at (26135): [<ffffbca6cb810ab8>]
__do_softirq+0x14/0x20
[   56.471758] sched: DL replenish lagged too much
[  109.911578] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[  109.917672] rcu: ?7-...0: (14 ticks this GP)
idle=3c14/1/0x4000000000000000 softirq=936/941 fqs=4192
[  109.926794] rcu: ?(detected by 4, t=26012 jiffies, g=-383, q=816
ncpus=8)
[  109.933570] Sending NMI from CPU 4 to CPUs 7:
[  187.931577] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[  187.937669] rcu: ?7-...0: (14 ticks this GP)
idle=3c14/1/0x4000000000000000 softirq=936/941 fqs=7593
[  187.946790] rcu: ?(detected by 4, t=45517 jiffies, g=-383, q=816
ncpus=8)
[  187.953565] Sending NMI from CPU 4 to CPUs 7:
[  265.951574] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[  265.957666] rcu: ?7-...0: (14 ticks this GP)
idle=3c14/1/0x4000000000000000 softirq=936/941 fqs=10993
[  265.966873] rcu: ?(detected by 5, t=65022 jiffies, g=-383, q=816
ncpus=8)

> 
> =====================================================
> 
> 
> # Hardware platforms affected:
> 
> ## mt8186-corsola-steelix-sku131072
> - dashboard:
> https://d.kernelci.org/test/maestro:68a572e9233e484a3fa2c0db
> - compatibles: google,steelix-sku131072 | google,steelix
> - 1 fails since 2025-08-20 07:25 UTC
> - test path: boot
> - last pass:
> https://d.kernelci.org/test/maestro:68a429e6233e484a3fa0aba6
>     - on 2025-08-19 07:38 UTC
>     - commit hash:  886e5e7b0432360842303d587bb4a65d10741ae8
>     - test id:  maestro:68a429e6233e484a3fa0aba6
> 
> ## mt8195-cherry-tomato-r2
> - dashboard:
> https://d.kernelci.org/test/maestro:68a572ea233e484a3fa2c0e1
> - compatibles: google,tomato-rev2 | google,tomato | mediatek,mt8195
> - 1 fails since 2025-08-20 07:25 UTC
> - test path: boot
> - last pass:
> https://d.kernelci.org/test/maestro:68a2ce76233e484a3f9e5dcc
>     - on 2025-08-18 06:55 UTC
>     - commit hash:  3ac864c2d9bb8608ee236e89bf561811613abfce
>     - test id:  maestro:68a2ce76233e484a3f9e5dcc
> 
> 
> #kernelci issue maestro:4a7604ad2b208f9142109c871e17a6453ee9ff9c
> 
> Reported-by: kernelci.org bot <bot@kernelci.org>
> 
> --
> This is an experimental report format. Please send feedback in!
> Talk to us at kernelci@lists.linux.dev
> 
> Made with love by the KernelCI team - https://kernelci.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-20 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20 10:22 [REGRESSION] next/master: (boot) sleeping function called from invalid context at kernel/locking/rw KernelCI bot
2025-08-20 10:25 ` Gustavo Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).