[bootlin/training-materials updates] master: slides: debugging: move crash slides after KGDB (87ec76a0)

Clément Léger clement.leger at bootlin.com
Fri Feb 3 16:41:51 CET 2023


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

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

commit 87ec76a000f0c697297007cdeeeaa40f204fe075
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Fri Feb 3 16:41:51 2023 +0100

    slides: debugging: move crash slides after KGDB
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

87ec76a000f0c697297007cdeeeaa40f204fe075
 .../debugging-kernel-debugging.tex                 | 114 ++++++++++-----------
 1 file changed, 57 insertions(+), 57 deletions(-)

diff --git a/slides/debugging-kernel-debugging/debugging-kernel-debugging.tex b/slides/debugging-kernel-debugging/debugging-kernel-debugging.tex
index b73233b2..10cbd605 100644
--- a/slides/debugging-kernel-debugging/debugging-kernel-debugging.tex
+++ b/slides/debugging-kernel-debugging/debugging-kernel-debugging.tex
@@ -238,63 +238,6 @@
   \end{itemize}
 \end{frame}
 
-\begin{frame}
-  \frametitle{{\em crash}}
-  \begin{itemize}
-    \item {\em crash} is a CLI tool allowing to investigate kernel (dead or
-      alive !)
-    \begin{itemize}
-      \item Uses /dev/mem or /proc/kcore on live systems
-      \item Requires \kconfigval{CONFIG_STRICT_DEVMEM}{n}
-    \end{itemize}
-    \item Can use a coredump generated using kdump, kvmdump, etc.
-    \item Based on \code{gdb} and provides many specific commands to inspect the
-      kernel state.
-    \begin{itemize}
-      \item Stack traces, dmesg (\code{log}), memory maps of the processes,
-            irqs, virtual memory areas, etc.
-    \end{itemize}
-    \item Allows examining all the tasks that are running on the system.
-    \item Hosted at \url{https://github.com/crash-utility/crash}
-  \end{itemize}
-\end{frame}
-
-\begin{frame}[fragile]
-  \frametitle{{\em crash} example}
-  \begin{itemize}
-    \begin{block}{}
-      \begin{minted}[fontsize=\tiny]{console}
-$ crash vmlinux vmcore
-[...]
-    TASKS: 75
-NODENAME: buildroot
-  RELEASE: 5.13.0
-  VERSION: #1 SMP PREEMPT Tue Nov 15 14:42:25 CET 2022
-  MACHINE: armv7l  (unknown Mhz)
-  MEMORY: 512 MB
-    PANIC: "Unable to handle kernel NULL pointer dereference at virtual address 00000070"
-      PID: 127
-  COMMAND: "watchdog"
-    TASK: c3f163c0  [THREAD_INFO: c3f00000]
-      CPU: 1
-    STATE: TASK_RUNNING (PANIC)
-
-crash> mach
-    MACHINE TYPE: armv7l
-     MEMORY SIZE: 512 MB
-            CPUS: 1
- PROCESSOR SPEED: (unknown)
-              HZ: 100
-       PAGE SIZE: 4096
-KERNEL VIRTUAL BASE: c0000000
-KERNEL MODULES BASE: bf000000
-KERNEL VMALLOC BASE: e0000000
-KERNEL STACK SIZE: 8192
-      \end{minted}
-    \end{block}
-  \end{itemize}
-\end{frame}
-
 \begin{frame}
   \frametitle{Kernel memory issue debugging}
   \begin{itemize}
@@ -545,6 +488,63 @@ Use <ctrl>C to terminate program
   \end{center}
 \end{frame}
 
+\begin{frame}
+  \frametitle{{\em crash}}
+  \begin{itemize}
+    \item {\em crash} is a CLI tool allowing to investigate kernel (dead or
+      alive !)
+    \begin{itemize}
+      \item Uses /dev/mem or /proc/kcore on live systems
+      \item Requires \kconfigval{CONFIG_STRICT_DEVMEM}{n}
+    \end{itemize}
+    \item Can use a coredump generated using kdump, kvmdump, etc.
+    \item Based on \code{gdb} and provides many specific commands to inspect the
+      kernel state.
+    \begin{itemize}
+      \item Stack traces, dmesg (\code{log}), memory maps of the processes,
+            irqs, virtual memory areas, etc.
+    \end{itemize}
+    \item Allows examining all the tasks that are running on the system.
+    \item Hosted at \url{https://github.com/crash-utility/crash}
+  \end{itemize}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{{\em crash} example}
+  \begin{itemize}
+    \begin{block}{}
+      \begin{minted}[fontsize=\tiny]{console}
+$ crash vmlinux vmcore
+[...]
+    TASKS: 75
+NODENAME: buildroot
+  RELEASE: 5.13.0
+  VERSION: #1 SMP PREEMPT Tue Nov 15 14:42:25 CET 2022
+  MACHINE: armv7l  (unknown Mhz)
+  MEMORY: 512 MB
+    PANIC: "Unable to handle kernel NULL pointer dereference at virtual address 00000070"
+      PID: 127
+  COMMAND: "watchdog"
+    TASK: c3f163c0  [THREAD_INFO: c3f00000]
+      CPU: 1
+    STATE: TASK_RUNNING (PANIC)
+
+crash> mach
+    MACHINE TYPE: armv7l
+     MEMORY SIZE: 512 MB
+            CPUS: 1
+ PROCESSOR SPEED: (unknown)
+              HZ: 100
+       PAGE SIZE: 4096
+KERNEL VIRTUAL BASE: c0000000
+KERNEL MODULES BASE: bf000000
+KERNEL VMALLOC BASE: e0000000
+KERNEL STACK SIZE: 8192
+      \end{minted}
+    \end{block}
+  \end{itemize}
+\end{frame}
+
 \input{../common/prove-locking.tex}
 
 \begin{frame}[fragile]




More information about the training-materials-updates mailing list