mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
readme: explain how to use dynamic debugging for boot messages
run: pass the console_msg_format=syslog boot parameter by default, to allow seeing what is the priority of messages on the terminal. Document printk better.
This commit is contained in:
3
run
3
run
@@ -10,12 +10,11 @@ debug=false
|
||||
kgdb=false
|
||||
kvm=false
|
||||
# norandmaps: Don't use address space randomization. Equivalent to echo 0 > /proc/sys/kernel/randomize_va_space.
|
||||
# printk.time=y: log in format: "[time ] msg" for all printk messages.
|
||||
# nokaslr:
|
||||
# - https://unix.stackexchange.com/questions/397939/turning-off-kaslr-to-debug-linux-kernel-using-qemu-and-gdb
|
||||
# - https://stackoverflow.com/questions/44612822/unable-to-debug-kernel-with-qemu-gdb/49840927#49840927
|
||||
# Turned on by default since v4.12
|
||||
extra_append='nokaslr norandmaps printk.devkmsg=on printk.time=y'
|
||||
extra_append='console_msg_format=syslog nokaslr norandmaps printk.devkmsg=on printk.time=y'
|
||||
extra_append_after_dash=
|
||||
extra_flags=
|
||||
extra_flags_qemu=
|
||||
|
||||
Reference in New Issue
Block a user