[bootlin/training-materials updates] master: labs: debugging: fix crash build and IP for vmcore dump (ac2f3f12)

Clément Léger clement.leger at bootlin.com
Thu Jan 5 11:10:09 CET 2023


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

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

commit ac2f3f12d8d83f7523e32a94e2adbdc4f0587b1f
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Thu Jan 5 10:49:56 2023 +0100

    labs: debugging: fix crash build and IP for vmcore dump
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

ac2f3f12d8d83f7523e32a94e2adbdc4f0587b1f
 labs/debugging-kernel-debugging/debugging-kernel-debugging.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex b/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
index 62f75255..ec1d22da 100644
--- a/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
+++ b/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
@@ -355,7 +355,7 @@ boot so this commands needs to be run another time.}
 
 \begin{bashinput}
 $ cd /home/<user>/debugging-labs/
-$ scp root at 192.168.0.100:/proc/vmcore ./vmcore
+$ scp root at 192.168.0.101:/proc/vmcore ./vmcore
 \end{bashinput}
 
 Finally, we will be able to debug that kernel coredump using crash.
@@ -367,7 +367,7 @@ so we will need to recompile it for the ARM target. This can be done using the
 following commands:
 
 \begin{bashinput}
-$ sudo apt install gcc-multilib g++-multilib lib32z1-dev lib32ncurses5-dev texinfo
+$ sudo apt install gcc-multilib g++-multilib lib32z1-dev lib32ncurses5-dev texinfo bison
 $ cd /home/<user>/debugging-labs/
 $ git clone https://github.com/crash-utility/crash.git
 $ cd crash




More information about the training-materials-updates mailing list