Comment 4 for bug 1547718

Revision history for this message
Ming Lei (tom-leiming) wrote : Re: [Bug 1547718] Re: 4.4.0-7.22 no longer boots on arm64

Looks it is enough to just revert
'e96e20134729121689a0089537c6ed(module: clean up RO/NX handling)'
for fixing the issue.

But the interesting thing is that there isn't the problem in upstream kernel
4.5-rc5, and the commit(module: clean up RO/NX handling) isn't reverted
in upstream yet.

So looks there is one real fix in upstream kernel.

Thanks,

On Mon, Feb 22, 2016 at 12:07 PM, Tim Gardner <email address hidden> wrote:
> ** Changed in: linux (Ubuntu Xenial)
> Assignee: (unassigned) => Chris J Arges (arges)
>
> --
> You received this bug notification because you are subscribed to linux
> in Ubuntu.
> https://bugs.launchpad.net/bugs/1547718
>
> Title:
> 4.4.0-7.22 no longer boots on arm64
>
> Status in linux package in Ubuntu:
> Confirmed
> Status in linux source package in Xenial:
> Confirmed
>
> Bug description:
> Observed on X-Gene and ThunderX.
>
> [ 2.059489] kernel BUG at /build/linux-RKt9qy/linux-4.4.0/mm/memory.c:1887!
> [ 2.066418] Internal error: Oops - BUG: 0 [#1] SMP
> [ 2.071185] Modules linked in:
> [ 2.074234] CPU: 1 PID: 156 Comm: systemd-udevd Not tainted 4.4.0-7-generic #22-Ubuntu
> [ 2.082109] Hardware name: APM X-Gene Mustang board (DT)
> [ 2.087393] task: ffff8001f679d780 ti: ffff8001df4a4000 task.ti: ffff8001df4a4000
> [ 2.094840] PC is at apply_to_page_range+0x330/0x378
> [ 2.099780] LR is at change_memory_common+0x94/0x148
> [ 2.104717] pc : [<ffff8000001f8f20>] lr : [<ffff80000009a964>] pstate: 60000145
> [ 2.112073] sp : ffff8001df4a7b30
> [ 2.115369] x29: ffff8001df4a7b30 x28: 0000000000000000
> [ 2.120671] x27: ffff7ffffc00f000 x26: ffff7ffffc009550
> [ 2.125974] x25: ffff80000009aa18 x24: ffff7ffffc009500
> [ 2.131276] x23: ffff8001df4a7c38 x22: ffff80000009a878
> [ 2.136579] x21: ffff800000d56000 x20: ffff7ffffc00f000
> [ 2.141881] x19: ffff7ffffc00f000 x18: ffff80000090f928
> [ 2.147183] x17: ffff8001df4a79e8 x16: b4cc9cbc209fc557
> [ 2.152485] x15: ffffffffffffffff x14: ffff000000000000
> [ 2.157788] x13: ffffffffffffffff x12: 0000000000000010
> [ 2.163091] x11: 0000000000000018 x10: 0101010101010101
> [ 2.168393] x9 : ffffffffffffffff x8 : 7f7f7f7f7f7f7f7f
> [ 2.173694] x7 : 636e712cff646b61 x6 : 000000802e726f64
> [ 2.178996] x5 : 646f722e00000000 x4 : ffff8001df4a7c38
> [ 2.184298] x3 : ffff80000009a878 x2 : 0000000000000000
> [ 2.189601] x1 : ffff7ffffc00f000 x0 : ffff80000009a964
> [ 2.194902]
> [ 2.196384] Process systemd-udevd (pid: 156, stack limit = 0xffff8001df4a4020)
> [ 2.203568] Stack: (0xffff8001df4a7b30 to 0xffff8001df4a8000)
> [ 2.209283] 7b20: ffff8001df4a7bf0 ffff80000009a964
> [ 2.217073] 7b40: ffff7ffffc00f000 ffff7ffffc00f000 ffff800000d56000 0008000000000000
> [ 2.224862] 7b60: 0000000000000080 ffff7ffffc009500 ffff80000009aa18 ffff7ffffc009550
> [ 2.232651] 7b80: ffff8001df4a7df0 0000000000000000 ffff800000f11800 ffff7ffffc00efff
> [ 2.240440] 7ba0: ffff7ffffc00f000 ffff7ffffc00f000 ffff7ffffc00f000 ffff800000000000
> [ 2.248227] 7bc0: ffff7ffffc00efff 0000000000000000 ffff800000d93af0 ffff800000d93af0
> [ 2.256016] 7be0: ffff8001df4a7c40 ffff800000d93af0 ffff8001df4a7c50 ffff80000009aac8
> [ 2.263805] 7c00: ffff7ffffc00f000 0000000000000000 ffff7ffffc009300 ffff800000d56000
> [ 2.271594] 7c20: ffff800000d80000 0000000000000080 0008000000000000 0000000000000080
> [ 2.279383] 7c40: 0008000000000000 cb88537fdc8ba602 ffff8001df4a7c70 ffff800000145400
> [ 2.287172] 7c60: ffff7ffffc009550 ffff80000009aa98 ffff8001df4a7c90 ffff800000147350
> [ 2.294961] 7c80: ffff7ffffc009300 ffff80000009aa98 ffff8001df4a7cb0 ffff8000001499cc
> [ 2.302750] 7ca0: ffff7ffffc009318 ffff8001df4a7e68 ffff8001df4a7e30 ffff800000149ec8
> [ 2.310539] 7cc0: ffff800000d56000 0000000000000000 0000000000000006 0000ffff94668108
> [ 2.318327] 7ce0: 0000000080000000 0000000000000015 000000000000011d 0000000000000111
> [ 2.326116] 7d00: ffff8000008d7000 ffff8001df4a4000 ffff000000adb000 ffff800000e35220
> [ 2.333905] 7d20: ffff800000e354a0 ffff7ffffc00f000 ffff000000aef878 ffff8000008e7f68
> [ 2.341693] 7d40: 0000000000000072 ffff800100000064 ffff80010000006e 0000003f00000000
> [ 2.349482] 7d60: ffff7ffffc00f000 0000000000000018 ffff8001df4a7e30 ffff800000149e8c
> [ 2.357271] 7d80: ffff800000d56000 0000000000000000 0000000000000006 0000ffff94668108
> [ 2.365060] 7da0: 0000000000000000 0000000000000000 0000000000000000 ffff800000000000
> [ 2.372849] 7dc0: 0000000000000000 ffff81a400000000 0000000000000000 0000000000000000
> [ 2.380638] 7de0: 0000000000000000 0000000000000000 00006c656e72656b 0000000000000000
> [ 2.388427] 7e00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> [ 2.396216] 7e20: 0000000000000000 cb88537fdc8ba602 0000ffffc2eeb2c0 ffff800000085c70
> [ 2.404005] 7e40: 0000000000000000 0000000000000000 ffffffffffffffff 0000ffff945a8b54
> [ 2.411794] 7e60: 000000000000011d ffff000000adb000 00000000000148f8 ffff000000aef078
> [ 2.419583] 7e80: ffff000000aeef28 ffff000000ae9860 000000000000a000 000000000000c130
> [ 2.427372] 7ea0: ffff7ffffc009220 0000000100000005 0000002100000020 0000001400000019
> [ 2.435161] 7ec0: 0000000000000013 cb88537fdc8ba602 0000000000000006 0000ffff94668108
> [ 2.442950] 7ee0: 0000000000000000 0000000000000006 0000000000000000 0000ffffc2eeb238
> [ 2.450739] 7f00: 644d39656dff7364 644d39656dff7364 0000000000000111 0000000000000002
> [ 2.458528] 7f20: 0101010101010101 000000000000000c 0000000000000010 6567782f6d70612f
> [ 2.466317] 7f40: 656e6567782f656e 0000ffff944e7694 0000ffff945a8b30 0000ffff9467a1d0
> [ 2.474105] 7f60: 0000000000000000 0000aaaad2a8a500 0000000000000000 0000ffff94668108
> [ 2.481894] 7f80: 0000aaaad2a99d90 0000000000020000 0000000000000000 0000aaaad2a8a380
> [ 2.489682] 7fa0: 0000000000000000 0000000000020000 0000ffffc2eeb450 0000ffffc2eeb2c0
> [ 2.497471] 7fc0: 0000ffff94661980 0000ffffc2eeb2c0 0000ffff945a8b54 0000000080000000
> [ 2.505260] 7fe0: 0000000000000006 0000000000000111 0000000000000000 0000000000000000
> [ 2.513047] Call trace:
> [ 2.515481] [<ffff8000001f8f20>] apply_to_page_range+0x330/0x378
> [ 2.521455] [<ffff80000009a964>] change_memory_common+0x94/0x148
> [ 2.527429] [<ffff80000009aac8>] set_memory_ro+0x30/0x40
> [ 2.532714] [<ffff800000145400>] frob_rodata+0x50/0x78
> [ 2.537824] [<ffff800000147350>] module_enable_ro+0x58/0x68
> [ 2.543366] [<ffff8000001499cc>] load_module+0x12a4/0x14c8
> [ 2.548822] [<ffff800000149ec8>] SyS_finit_module+0xf0/0x128
> [ 2.554451] [<ffff800000085c70>] el0_svc_naked+0x24/0x28
> [ 2.559735] Code: 97fff8a0 35fffbe0 f9400300 17ffffce (d4210000)
> [ 2.565807] ---[ end trace a9373e7fe017e4db ]---
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1547718/+subscriptions