[bootlin/training-materials updates] master: labs: kernel-debugging: Add a sentence about rebuilding the crashing module (07aaa89d)

Paul Kocialkowski paul.kocialkowski at bootlin.com
Tue Dec 20 15:58:06 CET 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/07aaa89d0dcbd2e94f22971035fc3a8e178862bc

>---------------------------------------------------------------

commit 07aaa89d0dcbd2e94f22971035fc3a8e178862bc
Author: Paul Kocialkowski <paul.kocialkowski at bootlin.com>
Date:   Tue Dec 20 15:56:22 2022 +0100

    labs: kernel-debugging: Add a sentence about rebuilding the crashing module
    
    A rebuild is needed to enable the dynamic debug feature in the module.
    
    Signed-off-by: Paul Kocialkowski <paul.kocialkowski at bootlin.com>


>---------------------------------------------------------------

07aaa89d0dcbd2e94f22971035fc3a8e178862bc
 labs/kernel-debugging/kernel-debugging.tex | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/labs/kernel-debugging/kernel-debugging.tex b/labs/kernel-debugging/kernel-debugging.tex
index 7276557a..7a69959a 100644
--- a/labs/kernel-debugging/kernel-debugging.tex
+++ b/labs/kernel-debugging/kernel-debugging.tex
@@ -27,6 +27,9 @@ Now, recompile your kernel with the following options:
   it now will allow to avoid recompiling the whole kernel again.
 \end{itemize}
 
+Also recompile the kernel module to have it built against the updated kernel
+config in order to take in account the new enabled options.
+
 Once this is done, in U-Boot, add \code{loglevel=8} to the kernel
 command line to get the debugging messages directly in the console
 (otherwise you will only see them in \code{dmesg}).




More information about the training-materials-updates mailing list