docs: disable KASLR when debugging kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Using KASLR will confuse gdb which resolves kernel symbol address from
symbol table of vmlinux. We should turn off KASLR for kernel
debugging, even in the older kernels in which its presence is
optional.

If you think it is correct, please apply to the kernels:

- 4.9   [ LTS ]
- 4.13 [ stable ]

The following commit already on the Linus tree:

- e604f1cb85367d2e5fd4cf253296d190996da81a ("docs: disable KASLR when
debugging kernel")

(stats):
 Documentation/dev-tools/gdb-kernel-debugging.rst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Thank you
Natale



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]