nanopi neo air - kernel panic

Mortaza Asaadi
Attachment: log.txt (42.34 KB)
every time I try to shutdown nanopi neo air i get the following kernel
panic.
I can confirm everything except shutting down
works(wifi,bluetooth,gpio,...).
also attached a complete sessions log.
here... is the important part:

root@FriendlyARM:~# shutdown -h now
[  135.256708] ------------[ cut here ]------------
[  135.263700] kernel BUG at drivers/mmc/core/mmc_ops.c:441!
[  135.263700] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[  135.263700] Modules linked in: bcmdhd(O) cfg80211(O) compat(O)
[  135.263700] CPU: 0    Tainted: G           O  (3.4.39-h3 #3)
[  135.263700] PC is at mmc_send_status+0x38/0x98
[  135.263700] LR is at mmc_send_status+0x30/0x98
[  135.263700] pc : [<c048de40>]    lr : [<c048de38>]    psr: 60000013
[  135.263700] sp : d5835dc0  ip : 00000000  fp : d5835e04
[  135.263700] r10: 00000000  r9 : d5834000  r8 : c000e328
[  135.263700] r7 : 066ba800  r6 : c0a00fe8  r5 : d5835e0c  r4 : 00000000
[  135.263700] r3 : 00000000  r2 : fffffff0  r1 : 00000000  r0 : d5835df0
[  135.263700] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment
user
[  135.263700] Control: 10c5387d  Table: 54c6c06a  DAC: 00000015
[  135.263700] 
[  135.263700] PC: 0xc048ddc0:
[  135.263700] ddc0  e24b0044 e3a01000 ebf7f0e4 e3a0303b e1a00004 e50b3044
e24b1044 e3a03080
[  135.263700] dde0  e3a02000 e50b302c e50b5040 ebffebee e3500000 05d43200
07c03015 05c43200
[  135.263700] de00  e24bd014 e89da830 e1a0c00d e92dd830 e24cb004 e24dd030
e92d4000 e8bd4000
[  135.263700] de20  e3a02030 e1a04000 e1a05001 e24b0044 e3a01000 ebf7f0c9
e3540000 1a000000
[  135.263700] de40  e7f001f2 e5940000 e3500000 1a000000 e7f001f2 e3a0300d
e24b1044 e50b3044
[  135.263700] de60  e3a02003 e59031b8 e3130010 05943188 01a03803 050b3040
e3003195 e50b302c
[  135.263700] de80  ebffebc9 e3500000 1a000002 e3550000 151b303c 15853000
e24bd014 e89da830
[  135.263700] dea0  e1a0c00d e92dd8f0 e24cb004 e24dd038 e92d4000 e8bd4000
e1a04000 e1a06001
[  135.263700] 
[  135.263700] LR: 0xc048ddb8:
[  135.263700] ddb8  e1a04000 e1a05001 e24b0044 e3a01000 ebf7f0e4 e3a0303b
e1a00004 e50b3044
[  135.263700] ddd8  e24b1044 e3a03080 e3a02000 e50b302c e50b5040 ebffebee
e3500000 05d43200
[  135.263700] ddf8  07c03015 05c43200 e24bd014 e89da830 e1a0c00d e92dd830
e24cb004 e24dd030
[  135.263700] de18  e92d4000 e8bd4000 e3a02030 e1a04000 e1a05001 e24b0044
e3a01000 ebf7f0c9
[  135.263700] de38  e3540000 1a000000 e7f001f2 e5940000 e3500000 1a000000
e7f001f2 e3a0300d
[  135.263700] de58  e24b1044 e50b3044 e3a02003 e59031b8 e3130010 05943188
01a03803 050b3040
[  135.263700] de78  e3003195 e50b302c ebffebc9 e3500000 1a000002 e3550000
151b303c 15853000
[  135.263700] de98  e24bd014 e89da830 e1a0c00d e92dd8f0 e24cb004 e24dd038
e92d4000 e8bd4000
[  135.263700] 
[  135.263700] SP: 0xd5835d40:
[  135.263700] 5d40  d5835ddc d5835d50 c0028e5c c002866c e836781b 00000010
c048de44 60000013
[  135.263700] 5d60  c000dfd4 00000000 d5835e04 d5835d78 c000dd2c c000820c
d5835df0 00000000
[  135.263700] 5d80  fffffff0 00000000 00000000 d5835e0c c0a00fe8 066ba800
c000e328 d5834000
[  135.263700] 5da0  00000000 d5835e04 00000000 d5835dc0 c048de38 c048de40
60000013 ffffffff
[  135.263700] 5dc0  00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[  135.263700] 5de0  00000000 00000000 00000000 00000000 d4e65000 00000000
d5835e2c d5835e08
[  135.263700] 5e00  c0499e90 c048de14 00000000 00000000 d5835e3c c0a00ffc
c0a00ff0 c0acdfb0
[  135.263700] 5e20  d5835e3c d5835e30 c0354fcc c0499df8 d5835e5c d5835e40
c0351c40 c0354fb4
[  135.263700] 
[  135.263700] FP: 0xd5835d84:
[  135.263700] 5d84  00000000 00000000 d5835e0c c0a00fe8 066ba800 c000e328
d5834000 00000000
[  135.263700] 5da4  d5835e04 00000000 d5835dc0 c048de38 c048de40 60000013
ffffffff 00000000
[  135.263700] 5dc4  00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[  135.263700] 5de4  00000000 00000000 00000000 d4e65000 00000000 d5835e2c
d5835e08 c0499e90
[  135.263700] 5e04  c048de14 00000000 00000000 d5835e3c c0a00ffc c0a00ff0
c0acdfb0 d5835e3c
[  135.263700] 5e24  d5835e30 c0354fcc c0499df8 d5835e5c d5835e40 c0351c40
c0354fb4 00000000
[  135.263700] 5e44  00000003 4321fedc c0994590 d5835e74 d5835e60 c003ceec
c0351ba8 4321fedc
[  135.263700] 5e64  00000000 d5835e84 d5835e78 c003cf14 c003ceb4 d5835fa4
d5835e88 c003d798
[  135.263700] 
[  135.263700] R0: 0xd5835d70:
[  135.263700] 5d70  c000dd2c c000820c d5835df0 00000000 fffffff0 00000000
00000000 d5835e0c
[  135.263700] 5d90  c0a00fe8 066ba800 c000e328 d5834000 00000000 d5835e04
00000000 d5835dc0
[  135.263700] 5db0  c048de38 c048de40 60000013 ffffffff 00000000 00000000
00000000 00000000
[  135.263700] 5dd0  00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[  135.263700] 5df0  d4e65000 00000000 d5835e2c d5835e08 c0499e90 c048de14
00000000 00000000
[  135.263700] 5e10  d5835e3c c0a00ffc c0a00ff0 c0acdfb0 d5835e3c d5835e30
c0354fcc c0499df8
[  135.263700] 5e30  d5835e5c d5835e40 c0351c40 c0354fb4 00000000 00000003
4321fedc c0994590
[  135.263700] 5e50  d5835e74 d5835e60 c003ceec c0351ba8 4321fedc 00000000
d5835e84 d5835e78
[  135.263700] 
[  135.263700] R5: 0xd5835d8c:
[  135.263700] 5d8c  d5835e0c c0a00fe8 066ba800 c000e328 d5834000 00000000
d5835e04 00000000
[  135.263700] 5dac  d5835dc0 c048de38 c048de40 60000013 ffffffff 00000000
00000000 00000000
[  135.263700] 5dcc  00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[  135.263700] 5dec  00000000 d4e65000 00000000 d5835e2c d5835e08 c0499e90
c048de14 00000000
[  135.263700] 5e0c  00000000 d5835e3c c0a00ffc c0a00ff0 c0acdfb0 d5835e3c
d5835e30 c0354fcc
[  135.263700] 5e2c  c0499df8 d5835e5c d5835e40 c0351c40 c0354fb4 00000000
00000003 4321fedc
[  135.263700] 5e4c  c0994590 d5835e74 d5835e60 c003ceec c0351ba8 4321fedc
00000000 d5835e84
[  135.263700] 5e6c  d5835e78 c003cf14 c003ceb4 d5835fa4 d5835e88 c003d798
c003cf04 00000000
[  135.263700] 
[  135.263700] R6: 0xc0a00f68:
[  135.263700] 0f68  00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[  135.263700] 0f88  00000000 c0a00f8c c0a00f8c 00000000 00000000 00000000
00000000 00000000
[  135.263700] 0fa8  00000000 00000000 00000000 c0a00fb4 c0a00fb4 00000000
00000000 00000000
[  135.263700] 0fc8  00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[  135.263700] 0fe8  c0836478 00000002 c09b3420 d4e5f1c0 d4e5d3c0 c0a00ffc
c0a00ffc c09b3428
[  135.263700] 1008  d58cac00 c09b3278 d4e6cbc8 00000006 00000007 00000000
00000000 00000001
[  135.263700] 1028  00000000 00000000 c0a01030 c0a01030 00000000 c09b33e0
c0a01194 c0a00b28
[  135.263700] 1048  00000000 00000002 00000000 00000000 d4e65870 c0a00ec0
7fffffff 00000000
[  135.263700] 
[  135.263700] R8: 0xc000e2a8:
[  135.263700] e2a8  e3570f5f e24fef7d 3798f107 e28d1008 e3a08000 e357080f
e2270000 2a0012be
[  135.263700] e2c8  ea00ee14 e24ee004 e58de03c eaffff79 e1a02007 e28d1008
e3a00000 eb000ab4
[  135.263700] e2e8  e28fe014 e1a07000 e28d1008 e3570f5f 3891000f 3798f107
eaffffec e5ad0008
[  135.263700] e308  e1a02007 e1a0100d e3a00001 eb000aa8 eaffff80 e320f000
c09912c4 c000e9dc
[  135.263700] e328  c003b894 c002c4b4 c000e940 c011969c c0119714 c01188c8
c0117574 c0049b20
[  135.263700] e348  c0118918 c0127d9c c0127b88 c000e950 c0118228 c0049b20
c0127a14 c0118498
[  135.263700] e368  c007ae14 c0049b20 c0049b20 c011900c c0037844 c0136b00
c0049b20 c007aefc
[  135.263700] e388  c007b39c c0049b20 c0033bb8 c0049b20 c0049b20 c003cbe0
c0049b20 c0049b20
[  135.263700] 
[  135.263700] R9: 0xd5833f80:
[  135.263700] 3f80  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff
[  135.263700] 3fa0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff
[  135.263700] 3fc0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff
[  135.263700] 3fe0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff
[  135.263700] 4000  00000000 00000002 00000000 d5831ac0 c0992940 00000000
00000015 d5831ac0
[  135.263700] 4020  d5834000 c0fcc700 00000000 d4de7900 00000000 d5982040
d5835c0c d5835b70
[  135.263700] 4040  c06636c8 00000000 00000000 00000000 00000000 00000000
01010000 00000000
[  135.263700] 4060  b6fa14c0 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[  135.263700] Process systemd-shutdow (pid: 1, stack limit = 0xd58342f8)
[  135.263700] Stack: (0xd5835dc0 to 0xd5836000)
[  135.263700] 5dc0: 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[  135.263700] 5de0: 00000000 00000000 00000000 00000000 d4e65000 00000000
d5835e2c d5835e08
[  135.263700] 5e00: c0499e90 c048de14 00000000 00000000 d5835e3c c0a00ffc
c0a00ff0 c0acdfb0
[  135.263700] 5e20: d5835e3c d5835e30 c0354fcc c0499df8 d5835e5c d5835e40
c0351c40 c0354fb4
[  135.263700] 5e40: 00000000 00000003 4321fedc c0994590 d5835e74 d5835e60
c003ceec c0351ba8
[  135.263700] 5e60: 4321fedc 00000000 d5835e84 d5835e78 c003cf14 c003ceb4
d5835fa4 d5835e88
[  135.263700] 5e80: c003d798 c003cf04 00000000 00000000 00000028 00000000
00000000 00000000
[  135.263700] 5ea0: 00000008 d50cfb48 00000027 d5963cb0 00000000 00000002
00000000 d5835f70
[  135.263700] 5ec0: d5835f4c d5835ed0 c0119cd4 c0151fe4 00000000 00000000
00000001 0000080f
[  135.263700] 5ee0: c0991f58 be858160 00000004 be858ecd 00000010 be858174
00000005 be858224
[  135.263700] 5f00: 0000000d b6fc4c14 00000001 d48a4440 d5835f2c d5835f20
c0664b04 c029106c
[  135.263700] 5f20: d5835f4c d5835ee4 00000005 be8581a4 00000005 00000092
00000000 00000000
[  135.263700] 5f40: d5835f6c d5835f50 c0119d50 c0119b2c d5835f70 be8581a4
d50cfb40 be8581a4
[  135.263700] 5f60: d5835fa4 d5835f70 c0119ea4 c0119cec 00000000 00000000
d5835fa4 00000000
[  135.263700] 5f80: c0142d94 00000000 b6fc2368 b6fc315c b6fca3a0
00000058...stripped-down

Mortaza Asaadi
[  135.263700] 5fa0: c000e0c0 c003d674 b6fc2368 b6fc315c fee1dead 28121969
4321fedc 066ba800
[  135.263700] 5fc0: b6fc2368 b6fc315c b6fca3a0 00000058 b6fca318 fffff000
be858b10 4321fedc
[  135.263700] 5fe0: 00000058 be858a74 b6ea25a5 b6e2aaf6 600f0030 fee1dead
ffffffff ffffffff
[  135.263700] [<c048de40>] (mmc_send_status+0x38/0x98) from [<c0499e90>]
(shutdown_mmc+0xa4/0x1d8)
[  135.263700] [<c0499e90>] (shutdown_mmc+0xa4/0x1d8) from [<c0354fcc>]
(platform_drv_shutdown+0x24/0x28)
[  135.263700] [<c0354fcc>] (platform_drv_shutdown+0x24/0x28) from
[<c0351c40>] (device_shutdown+0xa4/0xdc)
[  135.263700] [<c0351c40>] (device_shutdown+0xa4/0xdc) from [<c003ceec>]
(kernel_shutdown_prepare+0x44/0x50)
[  135.263700] [<c003ceec>] (kernel_shutdown_prepare+0x44/0x50) from
[<c003cf14>] (kernel_power_off+0x1c/0x58)
[  135.263700] [<c003cf14>] (kernel_power_off+0x1c/0x58) from [<c003d798>]
(sys_reboot+0x130/0x1e8)
[  135.263700] [<c003d798>] (sys_reboot+0x130/0x1e8) from [<c000e0c0>]
(ret_fast_syscall+0x0/0x30)
[  135.263700] Code: e3a01000 ebf7f0c9 e3540000 1a000000 (e7f001f2) 
[  136.908241] ---[ end trace dc441480838cc7b3 ]---
[  136.920426] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x0000000b
[  136.920434]