Re: BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:65

2019-02-14 Thread Pintu Agarwal
Hello Sai, Thanks so much for your help. On Thu, Feb 14, 2019 at 12:14 AM Sai Prakash Ranjan wrote: > > Hi, > > On 2/13/2019 8:10 PM, Pintu Agarwal wrote: > > OK thanks for your suggestions. sdm845-perf_defconfig did not work for > > me. The target did not boot. > > Perf defconfig works fine.

Re: BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:65

2019-02-13 Thread Sai Prakash Ranjan
Hi, On 2/13/2019 8:10 PM, Pintu Agarwal wrote: OK thanks for your suggestions. sdm845-perf_defconfig did not work for me. The target did not boot. Perf defconfig works fine. You need to enable serial console with below config added to perf defconfig. CONFIG_SERIAL_MSM_GENI_CONSOLE=y

Re: BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:65

2019-02-13 Thread Pintu Agarwal
> > [ 21.690441] devtmpfs: mounted > > [ 21.702517] Freeing unused kernel memory: 6528K > > [ 21.766665] BUG: sleeping function called from invalid context at > > kernel/locking/rwsem.c:65 > > [ 21.775108] in_atomic(): 0, irqs_disabled():

Re: BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:65

2019-02-13 Thread Sai Prakash Ranjan
function called from invalid context at kernel/locking/rwsem.c:65 [ 21.775108] in_atomic(): 0, irqs_disabled(): 128, pid: 1, name: init [ 21.781532] [ cut here ] [ 21.786209] kernel BUG at kernel/sched/core.c:8490! [ 21.791157] [ cut here

BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:65

2019-02-13 Thread Pintu Agarwal
Hi, I need some pointer in debugging the root cause of this issue. BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:65 [ 22.140224] [] ___might_sleep+0x140/0x188 [ 22.145862] [] __might_sleep+0x58/0x90 [ 22.151249] [] down_write_killable+0x2c/0x80 [ 22.157155