Re: [PATCH v2 2/2] docs: disable KASLR when debugging kernel

2017-07-13 Thread Jonathan Corbet
On Thu, 13 Jul 2017 08:53:59 +0200 Jan Kiszka wrote: > FWIW: Acked-by: Jan Kiszka > > Who's taking this? Jon? I can take them once the merge window closes. Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.or

Re: [PATCH v2 2/2] docs: disable KASLR when debugging kernel

2017-07-12 Thread Jan Kiszka
On 2017-07-07 10:51, Zhouyi Zhou wrote: > commit 6807c84652b0 ("x86: Enable KASLR by default") enables KASLR > by default on x86. While KASLR will confuse gdb which resolve kernel > symbol address from symbol table of vmlinux. We should turn off KASLR for > kernel debugging. > > Signed-off-by: Z

[PATCH v2 2/2] docs: disable KASLR when debugging kernel

2017-07-07 Thread Zhouyi Zhou
commit 6807c84652b0 ("x86: Enable KASLR by default") enables KASLR by default on x86. While KASLR will confuse gdb which resolve kernel symbol address from symbol table of vmlinux. We should turn off KASLR for kernel debugging. Signed-off-by: Zhouyi Zhou Reviewed-by: Kieran Bingham --- Docume