Fixed
Created: Aug 20, 2014
Updated: Dec 3, 2018
Resolved Date: Aug 21, 2014
Found In Version: 6.0.0.11
Fix Version: 6.0.0.11
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async
Got the following call trace on std kernel.
[ 61.999156] BUG: sleeping function called from invalid context at /build/build-ti-am437x-test-std/bitbake_build/tmp/work/ti_am437x-wrs-linux-gnueabi/linux-windriver/3.10-r0/linux/drivers/base/power/runtime.c:954
[ 62.020927] in_atomic(): 0, irqs_disabled(): 0, pid: 829, name: rpcbind
[ 62.027533] 2 locks held by rpcbind/829:
[ 62.031532] #0: (rtnl_mutex){+.+.+.}, at: [<c05ff7e0>] netlink_dump+0x28/0x1ec
[ 62.045868] #1: (rcu_read_lock){.+.+..}, at: [<c05e4dd0>] rtnl_dump_ifinfo+0x0/0x310
[ 62.066857] CPU: 0 PID: 829 Comm: rpcbind Not tainted 3.10.38-ltsi-WR6.0.0.0_standard #1
[ 62.074374] [<c0016398>] (unwind_backtrace+0x0/0x100) from [<c0012adc>] (show_stack+0x20/0x24)
[ 62.084471] [<c0012adc>] (show_stack+0x20/0x24) from [<c0718c98>] (dump_stack+0x24/0x28)
[ 62.094509] [<c0718c98>] (dump_stack+0x24/0x28) from [<c007a704>] (__might_sleep+0x160/0x1f8)
[ 62.106944] [<c007a704>] (__might_sleep+0x160/0x1f8) from [<c0426344>] (__pm_runtime_resume+0x98/0x9c)
[ 62.115486] [<c0426344>] (__pm_runtime_resume+0x98/0x9c) from [<c046f86c>] (c_can_get_berr_counter+0x30/0x6c)
[ 62.126546] [<c046f86c>] (c_can_get_berr_counter+0x30/0x6c) from [<c046ec64>] (can_fill_info+0x108/0x16c)
[ 62.139460] [<c046ec64>] (can_fill_info+0x108/0x16c) from [<c05e40e8>] (rtnl_fill_ifinfo+0x5c4/0x7d0)
[ 62.151647] [<c05e40e8>] (rtnl_fill_ifinfo+0x5c4/0x7d0) from [<c05e4f18>] (rtnl_dump_ifinfo+0x148/0x310)
[ 62.162779] [<c05e4f18>] (rtnl_dump_ifinfo+0x148/0x310) from [<c05ff85c>] (netlink_dump+0xa4/0x1ec)
[ 62.172317] [<c05ff85c>] (netlink_dump+0xa4/0x1ec) from [<c05fff40>] (__netlink_dump_start+0x140/0x168)
[ 62.185262] [<c05fff40>] (__netlink_dump_start+0x140/0x168) from [<c05e5514>] (rtnetlink_rcv_msg+0x130/0x228)
[ 62.197524] [<c05e5514>] (rtnetlink_rcv_msg+0x130/0x228) from [<c0601d5c>] (netlink_rcv_skb+0xbc/0xd0)
[ 62.207884] [<c0601d5c>] (netlink_rcv_skb+0xbc/0xd0) from [<c05e53dc>] (rtnetlink_rcv+0x38/0x40)
[ 62.220072] [<c05e53dc>] (rtnetlink_rcv+0x38/0x40) from [<c060172c>] (netlink_unicast+0x148/0x1f0)
[ 62.232115] [<c060172c>] (netlink_unicast+0x148/0x1f0) from [<c0601b28>] (netlink_sendmsg+0x2a4/0x320)
[ 62.244524] [<c0601b28>] (netlink_sendmsg+0x2a4/0x320) from [<c05b94bc>] (sock_sendmsg+0x88/0xac)
[ 62.253805] [<c05b94bc>] (sock_sendmsg+0x88/0xac) from [<c05bb8f4>] (SyS_sendto+0xc4/0xe8)
[ 62.262415] [<c05bb8f4>] (SyS_sendto+0xc4/0xe8) from [<c000e3c0>] (ret_fast_syscall+0x0/0x48)