View Full Version : Mana crashes when a client connects

2015-02-19, 23:32
Hello all,
I am on Nethunter 1.1 on a Nexus 5 with Android 4.4.4 and I am having trouble with Mana. I am using an edimax wifi dongle and mana will start fine, but when a client connects, my phone crashes and reboots. Any idea what might be going on here, or where I can look for logs to glean some light on the issue? I have tried mana-simple and mana-full; both have the same behavior.

2015-02-20, 01:17
here is the last bit of last_kmsg; hopefully it will help get to the bottom of the problem:

[ 1189.791390] Kernel panic - not syncing: Fatal exception in interrupt
[ 1189.791469] CPU1: stopping
[ 1189.791611] [<c010fc68>] (unwind_backtrace+0x0/0x144) from [<c0db26bc>] (dump_stack+0x20/0x24)
[ 1189.791690] [<c0db26bc>] (dump_stack+0x20/0x24) from [<c010ddf8>] (handle_IPI+0x198/0x1cc)
[ 1189.791823] [<c010ddf8>] (handle_IPI+0x198/0x1cc) from [<c0100578>] (gic_handle_irq+0xb0/0xf4)
[ 1189.791951] [<c0100578>] (gic_handle_irq+0xb0/0xf4) from [<c0107780>] (__irq_svc+0x40/0x70)
[ 1189.792075] Exception stack(0xeb3cdcd0 to 0xeb3cdd18)
[ 1189.792145] dcc0: ebdc0e00 eb1a0e40 00000001 eb3cc020
[ 1189.792269] dce0: 00000000 eb36b100 c1540448 eb21d340 00000027 b814fb80 00000002 eb3cdd2c
[ 1189.792393] dd00: eb3cdd30 eb3cdd18 c04b047c c022ee4c 400f0013 ffffffff
[ 1189.792471] [<c0107780>] (__irq_svc+0x40/0x70) from [<c022ee4c>] (__rcu_read_unlock+0xc/0x64)
[ 1189.792605] [<c022ee4c>] (__rcu_read_unlock+0xc/0x64) from [<c04b047c>] (sock_has_perm+0x84/0x118)
[ 1189.792738] [<c04b047c>] (sock_has_perm+0x84/0x118) from [<c04b0644>] (selinux_socket_recvmsg+0x30/0x34)
[ 1189.792869] [<c04b0644>] (selinux_socket_recvmsg+0x30/0x34) from [<c04ab7d4>] (security_socket_recvmsg+0x28/0x2c)
[ 1189.792953] [<c04ab7d4>] (security_socket_recvmsg+0x28/0x2c) from [<c0b51e58>] (sock_recvmsg+0x80/0x100)
[ 1189.793084] [<c0b51e58>] (sock_recvmsg+0x80/0x100) from [<c0b53ec8>] (sys_recvfrom+0xb0/0x118)
[ 1189.793214] [<c0b53ec8>] (sys_recvfrom+0xb0/0x118) from [<c0107bc0>] (ret_fast_syscall+0x0/0x30)
[ 1190.793684] Rebooting in 5 seconds..
[ 1195.795322] Going down for restart now
[ 1195.796192] Calling SCM to disable SPMI PMIC arbiter

No errors detected
Boot info:
Last boot reason: kernel_panic

2015-02-20, 11:57
Just wondering if this is a power issue. Relating to the wifi adapter, do you have a y cable attached. If not do you have one so you can supply power to the adapter while its connected to the nexus?

2015-02-20, 16:15
Good thinking, but I did try both with and without power injection via a Y-Cable. The results were the same.

2015-04-13, 12:18
I've never seen a kernel panic while running mana, it could be the wifi driver. Try a different wifi card and see if you can narrow it down?