Wind River Support Network

HomeDefectsLINCD-6218
Fixed

LINCD-6218 : BUG: sleeping function called from invalid context at kernel/locking/mutex.c:948

Created: Jul 26, 2021    Updated: Aug 20, 2021
Resolved Date: Aug 1, 2021
Found In Version: 10.21.33.0
Fix Version: 10.21.33.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: BSP

Description

BUG: sleeping function called from invalid context at kernel/locking/mutex.c:948
in_atomic(): 1, irqs_disabled(): 128, non_block: 0, pid: 3983, name: sugov:0
INFO: lockdep is turned off.
irq event stamp: 0
hardirqs last enabled at (0): [<0000000000000000>] 0x0
hardirqs last disabled at (0): [<ffff800010044d4c>] copy_process+0x44c/0x1850
softirqs last enabled at (0): [<ffff800010044d4c>] copy_process+0x44c/0x1850
softirqs last disabled at (0): [<0000000000000000>] 0x0
Preemption disabled at:
[<ffff800010c32e1c>] msg_submit+0x2c/0x104
CPU: 4 PID: 3983 Comm: sugov:0 Tainted: G W O 5.10.53-yocto-standard #1
Hardware name: Marvell OcteonTX CN96XX board (DT)
Call trace:
dump_backtrace+0x0/0x1b0
show_stack+0x24/0x30
dump_stack+0xec/0x154
___might_sleep+0x19c/0x244
__might_sleep+0x5c/0x9c
__mutex_lock+0x58/0x520
mutex_lock_nested+0x4c/0x60
mvl_mhu_send_data+0x30/0x60
msg_submit+0xac/0x104
mbox_send_message+0x88/0x130
mailbox_send_message+0x24/0x40
scmi_do_xfer+0xc0/0x510
scmi_perf_level_set+0xd8/0x110
scmi_dvfs_freq_set+0x34/0x40
scmi_cpufreq_set_target+0x54/0x60
__cpufreq_driver_target+0x1a0/0x5c0
sugov_work+0x64/0x80
kthread_worker_fn+0x134/0x210
e kthread+0x15c/0x170
ret_from_fork+0x10/0x30

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines marvell-cn96xx --templates feature/docker --distros wrlinux --dl-layers --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build_Kernel_marvell-cn96xx_standard_std_wrlinux_default
echo KERNEL_FEATURES_append = \" features/usb/serial-all.scc\" >> conf/local.conf
echo KERNEL_VERSION_SANITY_SKIP=\"1\" >> conf/local.conf
echo IMAGE_FSTYPES += \" tar.bz2\" >> conf/local.conf
echo BB_NUMBER_THREADS ?= \"24\" >> conf/local.conf
echo PARALLEL_MAKE ?= \"-j 24\" >> conf/local.conf
echo BB_DANGLINGAPPENDS_WARNONLY = \"1\" >> conf/local.conf
bitbake-layers add-layer /net/pek-lpgtest7408/buildarea1/wgao/wrlinux_master/wr-testing/kts-dev
echo require templates/feature/wr-kts/template.conf >> conf/local.conf
bitbake wrlinux-image-std

http://pek-lpgtest3.wrs.com/lpg-build/cdc/publiclog/WRLinuxCDStandard/S210720/2021WW30/GIT_20210726/Kernel/marvell-cn96xx_standard_glibc-std/Marvel_CN96xx_CRB_OE_systemd/kprobes_kprobe/target_28646.platform_B0E1R0_20210726_084956.log
Live chat
Online