Meet the bugs for linux-3.19-rc4 on aarch64 board

From: Ding Tianhong
Date: Wed Feb 04 2015 - 10:17:52 EST


Hi everyone:

I run the linux-3.16 for aarch64 on my board, and it work fine, but
when I try to update the kernel to linux-3.19-rc4, I met the problem just below:

============================================================

ad mode in Synchronous Abort handler detected, code 0x86000005
CPU: 1 PID: 381 Comm: kworker/1:1 Tainted: G O 3.19.0-rc4+ #6
Hardware name: Hisilicon Board ESL (DT)
Workqueue: events (null)
task: ffffffc01cdb5800 ti: ffffffc01db28000 task.ti: ffffffc01db28000
PC is at 0x0
LR is at process_one_work+0x144/0x33c
pc : [<0000000000000000>] lr : [<ffffffc0000c8588>] pstate: 60000145
sp : ffffffc01db2bd70
x29: ffffffc01db2bd70 x28: 0000000000000000
x27: ffffffc01ef9af80 x26: 0000000000000008
x25: ffffffc0006b3000 x24: 0000000000000007
x23: ffffffc01ef9af80 x22: ffffffc01ef9a6a0
x21: ffffffc01dbef0c0 x20: 0000000000000000
x19: ffffffc01ef9f300 x18: 000000000000000e
x17: 0000000000000001 x16: 0000000000000007
x15: 000000000000000e x14: 0000000000000013
x13: ffffffc000578554 x12: 0000000000000005
x11: ffffffc000578558 x10: 0000000000000020
x9 : ffffffc01db2bbd0 x8 : ffffffc01cdb5d20
x7 : 0000000000000002 x6 : ffffffc000578680
x5 : 0000000000000000 x4 : ffffffc01ef9af82
x3 : 0000000000000000 x2 : ffffffc01ef9af98
x1 : 0000000000000000 x0 : ffffffc01ef9a6a0

Internal error: Oops - bad mode: 0 [#1] SMP
Modules linked in: sre(O)
CPU: 1 PID: 381 Comm: kworker/1:1 Tainted: G O 3.19.0-rc4+ #6
Hardware name: Hisilicon Board ESL (DT)
Workqueue: events (null)
task: ffffffc01cdb5800 ti: ffffffc01db28000 task.ti: ffffffc01db28000
PC is at 0x0
LR is at process_one_work+0x144/0x33c
pc : [<0000000000000000>] lr : [<ffffffc0000c8588>] pstate: 60000145
sp : ffffffc01db2bd70
x29: ffffffc01db2bd70 x28: 0000000000000000
x27: ffffffc01ef9af80 x26: 0000000000000008
x25: ffffffc0006b3000 x24: 0000000000000007
x23: ffffffc01ef9af80 x22: ffffffc01ef9a6a0
x21: ffffffc01dbef0c0 x20: 0000000000000000
x19: ffffffc01ef9f300 x18: 000000000000000e
x17: 0000000000000001 x16: 0000000000000007
x15: 000000000000000e x14: 0000000000000013
x13: ffffffc000578554 x12: 0000000000000005
x11: ffffffc000578558 x10: 0000000000000020
x9 : ffffffc01db2bbd0 x8 : ffffffc01cdb5d20
x7 : 0000000000000002 x6 : ffffffc000578680
x5 : 0000000000000000 x4 : ffffffc01ef9af82
x3 : 0000000000000000 x2 : ffffffc01ef9af98
x1 : 0000000000000000 x0 : ffffffc01ef9a6a0

Process kworker/1:1 (pid: 381, stack limit = 0xffffffc01db28058)
Stack: (0xffffffc01db2bd70 to 0xffffffc01db2c000)
bd60: ffffffc0 1db2bdc0 ffffffc0 000c8fdc
bd80: ffffffc0 1dbef0c0 ffffffc0 1dbef0f0 ffffffc0 1ef9af98 ffffffc0 1ef9af80
bda0: ffffffc0 1db28000 ffffffc0 007e050c ffffffc0 006b3000 00000000 00000008
bdc0: ffffffc0 1db2be30 ffffffc0 000cd780 ffffffc0 1d8790c0 ffffffc0 007e8060
bde0: ffffffc0 006b2920 ffffffc0 1dbef0c0 ffffffc0 000c8e9c 00000000 00000000
be00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
be20: ffffffc0 006b2920 ffffffc0 006b3c98 00000000 00000000 ffffffc0 000854b0
be40: ffffffc0 000cd6a4 ffffffc0 1d8790c0 00000000 00000000 00000000 00000000
be60: 00000000 00000000 ffffffc0 000d460c ffffffc0 000cd6a4 00000000 00000000
be80: 00000000 00000000 ffffffc0 1dbef0c0 00000000 00000000 00000000 00000000
bea0: ffffffc0 1db2bea0 ffffffc0 1db2bea0 00000000 000cd6a4 00000000 1ccd3680
bec0: ffffffc0 1db2bec0 ffffffc0 1db2bec0 00000000 00000000 00000000 00000000
bee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000005
bfe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Call trace:
[< (null)>] (null)
[<ffffffc0000c8fd8>] worker_thread+0x13c/0x494
[<ffffffc0000cd77c>] kthread+0xd8/0xf0
Code: bad PC value
---[ end trace b09b6a0eafa1e798 ]---
Unable to handle kernel paging request at virtual address ffffffffffffffd8
pgd = ffffffc00b969000
[ffffffffffffffd8] *pgd=0000000000000000, *pud=0000000000000000
Internal error: Oops: 96000005 [#2] SMP
Modules linked in: sre(O)
CPU: 1 PID: 381 Comm: kworker/1:1 Tainted: G D O 3.19.0-rc4+ #6
Hardware name: Hisilicon Board ESL (DT)
task: ffffffc01cdb5800 ti: ffffffc01db28000 task.ti: ffffffc01db28000
PC is at kthread_data+0x4/0xc
LR is at wq_worker_sleeping+0x14/0xd8
pc : [<ffffffc0000cdd30>] lr : [<ffffffc0000c9404>] pstate: 800001c5
sp : ffffffc01db2b8a0
x29: ffffffc01db2b8a0 x28: ffffffc000779700
x27: ffffffc00078d000 x26: ffffffc000578000
x25: ffffffc00078d000 x24: ffffffc01cdb5c00
x23: ffffffc000779700 x22: ffffffc01db28000
x21: ffffffc01cdb5800 x20: ffffffc01ef9b700
x19: 0000000000000001 x18: 000000000000000e
x17: 0000000000000001 x16: 0000000000000007
x15: 000000000000000e x14: 0000000000000013
x13: 000000000000001a x12: ffffffc01db2b9f0
x11: 0000000000000020 x10: 0000000085ecbf2d
x9 : 0000000000000000 x8 : 000000000000000f
x7 : 0000000000000000 x6 : 000000000004d4f7
x5 : 0000000000000400 x4 : 0000000000000001
x3 : 0000000000000002 x2 : ffffffc0007e8820
x1 : 0000000000000001 x0 : 0000000000000000

Process kworker/1:1 (pid: 381, stack limit = 0xffffffc01db28058)
Stack: (0xffffffc01db2b8a0 to 0xffffffc01db2c000)
b8a0: ffffffc0 1db2b8d0 ffffffc0 00566fc8 00000000 00000001 00000000 00000001
b8c0: ffffffc0 1db2b8d0 00000000 00000001 ffffffc0 1db2ba80 ffffffc0 00567258
b8e0: ffffffc0 1cdb5800 ffffffc0 1db2b7d0 ffffffc0 1db2bb00 ffffffc0 1cdb5af8
b900: 00000000 00000001 ffffffc0 00787000 ffffffc0 006b3000 00000000 00000008
b920: ffffffc0 1d8b0000 00000000 00000000 ffffffc0 1db2b980 ffffffc0 006b44e0
b940: ffffffc0 007e0536 ffffffc0 1db2b8d0 ffffffc0 00567258 000d001f 00000001
b960: ffffffc0 1db2b980 ffffffc0 001f9fac ffffffc0 1db2b990 ffffffc0 000cb464
b980: ffffffc0 1db2b990 ffffffc0 000cb480 ffffffc0 1db2b9b0 ffffffc0 000f7ca4
b9a0: ffffffc0 1ef9c0c0 ffffffc0 1cd49980 ffffffc0 1db2ba00 ffffffc0 000f7f18
b9c0: ffffffc0 1cdb5800 ffffffc0 1cdb5800 00000000 00000000 ffffffc0 1cd49980
b9e0: 00000000 00000001 ffffffc0 00777a28 ffffffc0 1db2ba10 ffffffc0 000b3f58
ba00: ffffffc0 1db2ba10 ffffffc0 000b3fa4 ffffffc0 1db2ba90 ffffffc0 000b581c
ba20: ffffffc0 1cdb5800 ffffffc0 1db2b7d0 ffffffc0 1db2bb00 ffffffc0 1cdb5af8
ba40: 00000000 00000001 ffffffc0 00787000 ffffffc0 006b3000 00000000 00000008
ba60: ffffffc0 1d8b0000 00000000 00000000 00000000 00000000 00000000 00000000
ba80: ffffffc0 1db2ba90 ffffffc0 000b58e0 ffffffc0 1db2bb10 ffffffc0 00089404
baa0: ffffffc0 007e3100 00000000 00000000 ffffffc0 006af078 ffffffc0 1db2bc50
bac0: ffffffc0 1db28000 ffffffc0 1cdb5800 ffffffc0 006b3000 00000000 00000008
bae0: ffffffc0 1ef9af80 00000000 00000000 ffffffc0 007e3100 ffffffc0 007a17a0
bb00: ffffffc0 1db2bb00 ffffffc0 1db2bb00 ffffffc0 1db2bb50 ffffffc0 0008949c
bb20: 00000000 00000000 00000000 ffffffff ffffffc0 1db2bc50 ffffffc0 1ef999e8
bb40: ffffffc0 006af1d0 ffffffc0 1db2bbd0 ffffffc0 1db2bba0 ffffffc0 0008979c
bb60: ffffffc0 1db2bc50 00000000 00000000 00000000 86000005 00000000 00000000
bb80: 00000000 60000145 00000000 00000021 ffffffc0 006b3000 00000000 00000021
bba0: ffffffc0 1db2bd70 ffffffc0 000c8588 ffffffc0 1ef9f300 00000000 00000000
bbc0: ffffffc0 1db2bd70 ffffffc0 00566e40 00000004 00000000 00030001 1ef9b700
bbe0: 00000000 00000000 ffffffc0 1db28000 ffffffc0 00779700 ffffffc0 007a6b68
bc00: ffffffc0 1db2bdb0 ffffffc0 00567258 ffffffc0 1dbef0c0 ffffffc0 1ef9af80
bc20: ffffffc0 1ef9af98 ffffffc0 1ef9af80 ffffffc0 1db28000 ffffffc0 007e050c
bc40: ffffffc0 006b3000 00000000 00000008 ffffffc0 1ef9a6a0 00000000 00000000
bc60: ffffffc0 1ef9af98 00000000 00000000 ffffffc0 1ef9af82 00000000 00000000
bc80: ffffffc0 00578680 00000000 00000002 ffffffc0 1cdb5d20 ffffffc0 1db2bbd0
bca0: 00000000 00000020 ffffffc0 00578558 00000000 00000005 ffffffc0 00578554
bcc0: 00000000 00000013 00000000 0000000e 00000000 00000007 00000000 00000001
bce0: 00000000 0000000e ffffffc0 1ef9f300 00000000 00000000 ffffffc0 1dbef0c0
bd00: ffffffc0 1ef9a6a0 ffffffc0 1ef9af80 00000000 00000007 ffffffc0 006b3000
bd20: 00000000 00000008 ffffffc0 1ef9af80 00000000 00000000 ffffffc0 1db2bd70
bd40: ffffffc0 000c8588 ffffffc0 1db2bd70 00000000 00000000 00000000 60000145
bd60: ffffffc0 1dbef0c0 ffffffc0 000c85a4 ffffffc0 1db2bdc0 ffffffc0 000c8fdc
bd80: ffffffc0 1dbef0c0 ffffffc0 1dbef0f0 ffffffc0 1ef9af98 ffffffc0 1ef9af80
bda0: ffffffc0 1db28000 ffffffc0 007e050c ffffffc0 006b3000 00000000 00000008
bdc0: ffffffc0 1db2be30 ffffffc0 000cd780 ffffffc0 1d8790c0 ffffffc0 007e8060
bde0: ffffffc0 006b2920 ffffffc0 1dbef0c0 ffffffc0 000c8e9c 00000000 00000000
be00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
be20: ffffffc0 006b2920 ffffffc0 006b3c98 00000000 00000000 ffffffc0 000854b0
be40: ffffffc0 000cd6a4 ffffffc0 1d8790c0 00000000 00000000 00000000 00000000
be60: 00000000 00000000 ffffffc0 000d460c ffffffc0 000cd6a4 00000000 00000000
be80: 00000000 00000000 ffffffc0 1dbef0c0 00000000 00000000 00000000 00000000
bea0: ffffffc0 1db2bea0 ffffffc0 1db2bea0 00000001 000cd6a4 00010001 1ccd3680
bec0: ffffffc0 1db2bec0 ffffffc0 1db2bec0 00000000 00000000 00000000 00000000
bee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bf80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000005
bfe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Call trace:
[<ffffffc0000cdd30>] kthread_data+0x4/0xc
[<ffffffc000566fc4>] __schedule+0x364/0x5d0
[<ffffffc000567254>] schedule+0x24/0x74
[<ffffffc0000b58dc>] do_exit+0x6d4/0x9a8
[<ffffffc000089400>] die+0x1a4/0x1c0
[<ffffffc000089498>] arm64_notify_die+0x7c/0x154
[<ffffffc000089798>] bad_mode+0xb8/0xcc
[<ffffffc0000c8584>] process_one_work+0x140/0x33c
[<ffffffc0000c8fd8>] worker_thread+0x13c/0x494
[<ffffffc0000cd77c>] kthread+0xd8/0xf0
Code: 00805cf8 000842d3 c0035fd6 00d441f9 (00805df8)
---[ end trace b09b6a0eafa1e799 ]---
Fixing recursive fault but reboot is needed!

============================================================


I try to check the armv8 spec, but still not understand this problem, so
I will appreciate if somebody could give me some advise. thanks.

Ding

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/