Fixed
Created: Dec 25, 2018
Updated: Apr 2, 2019
Resolved Date: Mar 21, 2019
Found In Version: 10.18.44.2
Fix Version: 10.18.44.5
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Kernel
intel-skylake-avx512-64:Call Trace are found on glibc-std-sato and preempt-rt
First boot on target shows in telnet:
BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974
in_atomic(): 1, irqs_disabled(): 1, pid: 372, name: kmemleak
Preemption disabled at:
[<ffffffffa77f6271>] scan_block+0x31/0x120
CPU: 5 PID: 372 Comm: kmemleak Not tainted 4.18.20-rt8-yocto-preempt-rt #1
Hardware name: Intel Corporation PURLEY/PURLEY, BIOS BKVDCRB1.86B.0004.D03.1707260302 07/26/2017
Call Trace:
dump_stack+0x4f/0x6a
? scan_block+0x31/0x120
___might_sleep.cold.18+0xca/0xdb
rt_spin_lock+0x37/0x60
scan_block+0x9d/0x120
scan_large_block+0x35/0x60
kmemleak_scan+0xbe/0x460
kmemleak_scan_thread+0x9d/0xba
kthread+0x12c/0x150
? kmemleak_scan.cold.19+0x1b/0x1b
? kthread_flush_work_fn+0x20/0x20
ret_from_fork+0x35/0x40
BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974
in_atomic(): 1, irqs_disabled(): 1, pid: 372, name: kmemleak
Preemption disabled at:
[<ffffffffa77f6271>] scan_block+0x31/0x120
CPU: 5 PID: 372 Comm: kmemleak Tainted: G W 4.18.20-rt8-yocto-preempt-rt #1
Hardware name: Intel Corporation PURLEY/PURLEY, BIOS BKVDCRB1.86B.0004.D03.1707260302 07/26/2017
Call Trace:
dump_stack+0x4f/0x6a
? scan_block+0x31/0x120
___might_sleep.cold.18+0xca/0xdb
rt_spin_lock+0x37/0x60
scan_block+0x9d/0x120
scan_gray_list+0x108/0x170
kmemleak_scan+0x2f6/0x460
kmemleak_scan_thread+0x9d/0xba
kthread+0x12c/0x150
? kmemleak_scan.cold.19+0x1b/0x1b
? kthread_flush_work_fn+0x20/0x20
ret_from_fork+0x35/0x40
dmesg:
[ 31.449092] 8021q: adding VLAN 0 to HW filter on device eth4
[ 70.843830] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974
[ 70.843831] in_atomic(): 1, irqs_disabled(): 1, pid: 372, name: kmemleak
[ 70.843832] Preemption disabled at:
[ 70.843838] [<ffffffffa77f6271>] scan_block+0x31/0x120
[ 70.843841] CPU: 5 PID: 372 Comm: kmemleak Not tainted 4.18.20-rt8-yocto-preempt-rt #1
[ 70.843841] Hardware name: Intel Corporation PURLEY/PURLEY, BIOS BKVDCRB1.86B.0004.D03.1707260302 07/26/2017
[ 70.843842] Call Trace:
[ 70.843846] dump_stack+0x4f/0x6a
[ 70.843847] ? scan_block+0x31/0x120
[ 70.843850] ___might_sleep.cold.18+0xca/0xdb
[ 70.843853] rt_spin_lock+0x37/0x60
[ 70.843854] scan_block+0x9d/0x120
[ 70.843856] scan_large_block+0x35/0x60
[ 70.843857] kmemleak_scan+0xbe/0x460
[ 70.843859] kmemleak_scan_thread+0x9d/0xba
[ 70.843861] kthread+0x12c/0x150
[ 70.843862] ? kmemleak_scan.cold.19+0x1b/0x1b
[ 70.843864] ? kthread_flush_work_fn+0x20/0x20
[ 70.843865] ret_from_fork+0x35/0x40
[ 71.914289] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974
[ 71.914290] in_atomic(): 1, irqs_disabled(): 1, pid: 372, name: kmemleak
[ 71.914290] Preemption disabled at:
[ 71.914296] [<ffffffffa77f6271>] scan_block+0x31/0x120
[ 71.914299] CPU: 5 PID: 372 Comm: kmemleak Tainted: G W 4.18.20-rt8-yocto-preempt-rt #1
[ 71.914299] Hardware name: Intel Corporation PURLEY/PURLEY, BIOS BKVDCRB1.86B.0004.D03.1707260302 07/26/2017
[ 71.914300] Call Trace:
[ 71.914304] dump_stack+0x4f/0x6a
[ 71.914305] ? scan_block+0x31/0x120
[ 71.914308] ___might_sleep.cold.18+0xca/0xdb
[ 71.914310] rt_spin_lock+0x37/0x60
[ 71.914311] scan_block+0x9d/0x120
[ 71.914313] scan_gray_list+0x108/0x170
[ 71.914314] kmemleak_scan+0x2f6/0x460
[ 71.914316] kmemleak_scan_thread+0x9d/0xba
[ 71.914319] kthread+0x12c/0x150
[ 71.914320] ? kmemleak_scan.cold.19+0x1b/0x1b
[ 71.914321] ? kthread_flush_work_fn+0x20/0x20
[ 71.914323] ret_from_fork+0x35/0x40
[ 625.365988] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
/lpg-build/cdc/fast_prod/WRL10_18/WRL10_18_GIT/wrlinux-10/setup.sh --accept-eula yes --dl-layers --machines intel-skylake-avx512-64 --distro wrlinux-std-sato
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
bitbake-layers add-layer /buildarea1/kliang/wrlinux/wr-testing/bts-dev/
echo require templates/feature/bts/template.conf >> conf/local.conf
sed -i "/#PREFERRED_PROVIDER_virtual\/kernel = \".*\"$/s/^.*$/PREFERRED_PROVIDER_virtual\/kernel = \"linux-yocto-rt\"/g" conf/local.conf
bitbake wrlinux-image-glibc-std-sato