Bug 14184 - udev ram3 timeout and RCU preempt stall
Summary: udev ram3 timeout and RCU preempt stall
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 3.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 3.4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: AB-INT
: 14028 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-11 12:53 UTC by Ross Burton
Modified: 2021-06-28 09:38 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2021-01-11 12:53:29 UTC
[  635.761945] udevd[150]: timeout '/etc/udev/scripts/mount.sh'
[  635.763858] udevd[150]: slow: '/etc/udev/scripts/mount.sh' [199]
[  635.765039] udevd[146]: worker [150] /devices/virtual/block/ram3 timeout; kill it
[  635.765584] udevd[146]: seq 697 '/devices/virtual/block/ram3' killed
[  635.765917] udevd[146]: worker [232] /devices/virtual/net/lo is taking a long time
[  635.766254] udevd[146]: worker [231] /devices/virtual/net/sit0 is taking a long time
[  635.778466] udevd[146]: worker [150] terminated by signal 9 (Killed)
[  635.778744] udevd[146]: worker [150] failed while handling '/devices/virtual/block/ram3'
[  668.196961] uart-pl011 9000000.pl011: no DMA platform data
[  727.578951] rcu: INFO: rcu_preempt self-detected stall on CPU
[  727.580394] rcu: 	0-...!: (1 ticks this GP) idle=d1a/1/0x40000002 softirq=4274/4274 fqs=0 
[  727.580882] 	(t=3400 jiffies g=8181 q=111)
[  727.581148] rcu: rcu_preempt kthread starved for 3400 jiffies! g8181 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
[  727.581643] rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
[  727.582055] rcu: RCU grace-period kthread stack dump:
[  727.582301] task:rcu_preempt     state:I stack:    0 pid:   10 ppid:     2 flags:0x00000000
[  727.582836] [<c0a75b84>] (__schedule) from [<c0a75de4>] (schedule+0xc8/0x118)
[  727.583221] [<c0a75de4>] (schedule) from [<c0a781d4>] (schedule_timeout+0xc8/0xf4)

https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/2921/steps/12/logs/stdio
Comment 1 Bruce Ashfield 2021-03-15 19:15:53 UTC
Will keep this in M4 to monitor and see if it is repeatible
Comment 2 Randy MacLeod 2021-05-13 15:10:27 UTC
*** Bug 14028 has been marked as a duplicate of this bug. ***
Comment 3 Richard Purdie 2021-06-28 09:38:53 UTC
Stalls should no longer cause a hang

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1f802cdf857475eefb9f3ae5032a6f1ce3e01d97