Skip to content

Commit

Permalink
Update for crash-8.0.5
Browse files Browse the repository at this point in the history
Signed-off-by: Kazuhito Hagio <[email protected]>
  • Loading branch information
k-hagio committed Apr 23, 2024
1 parent bc134f8 commit 94409e2
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 13 deletions.
3 changes: 3 additions & 0 deletions crash.changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<body bgcolor="#FFFFFF" text="#000000" link="#000066" vlink="#333399" alink="#FF0000">
<pre>

<a name=8_0_5> </a>
8.0.5 <a href="changelog/ChangeLog-8.0.5.txt">ChangeLog-8.0.5</a> (04/24/2024)

<a name=8_0_4> </a>
8.0.4 <a href="changelog/ChangeLog-8.0.4.txt">ChangeLog-8.0.4</a> (11/16/2023)

Expand Down
2 changes: 1 addition & 1 deletion help.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<TR>
<TD COLSPAN=5>
<PRE><TT><B><FONT SIZE=+2>
crash version: 8.0.4 gdb version: 10.2
crash version: 8.0.5 gdb version: 10.2
For help on any command above, enter "help &lt;command&gt;".
For help on input options, enter "<A HREF="help_pages/input.html"><TT><B>help input</B></TT></A>".
For help on output options, enter "<A HREF="help_pages/output.html"><TT><B>help output</B></TT></A>".
Expand Down
8 changes: 4 additions & 4 deletions help_pages/bt.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ <h3>crash utility help page: <tt><b>&nbsp;bt</b></tt></a></h3>
fails or the -t option starts too high in the process stack).
-l show file and line number of each stack trace text location.
-e search the stack for possible kernel and user mode exception frames.
-E search the IRQ stacks (x86, x86_64, arm64, and ppc64), and the
exception stacks (x86_64) for possible exception frames; all other
arguments except for -c will be ignored since this is not a context-
sensitive operation.
-E search the IRQ stacks (x86, x86_64, arm64, riscv64 and ppc64), and
the exception stacks (x86_64) for possible exception frames; all
other arguments except for -c will be ignored since this is not a
context-sensitive operation.
-f display all stack data contained in a frame; this option can be
used to determine the arguments passed to each function; on ia64,
the argument register contents are dumped.
Expand Down
2 changes: 0 additions & 2 deletions help_pages/kmem.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ <h3>crash utility help page: <tt><b>&nbsp;kmem</b></tt></a></h3>
members of the associated page struct are displayed.
address when used with -c, the address must be a page pointer address;
the page_hash_table entry containing the page is displayed.
address when used with -l, the address must be a page pointer address;
the page address is displayed if it is contained with the list.
address when used with -v, the address can be a mapped kernel virtual
address or physical address; the mapped region containing the
address is displayed.
Expand Down
21 changes: 18 additions & 3 deletions help_pages/log.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h3>crash utility help page: <tt><b>&nbsp;log</b></tt></a></h3>
log - dump system message buffer

SYNOPSIS
log [-Ttdmas]
log [-Ttdmasc]

DESCRIPTION
This command dumps the kernel log_buf contents in chronological order. The
Expand All @@ -58,6 +58,10 @@ <h3>crash utility help page: <tt><b>&nbsp;log</b></tt></a></h3>
been copied out to the user-space audit daemon.
-s Dump the printk logs remaining in kernel safe per-CPU buffers that
have not been flushed out to log_buf.
-c Display the caller id field that identifies either the thread id or
the CPU id (if in CPU context) that called printk(), if available.
Generally available on Linux 5.1 to 5.9 kernels configured with
CONFIG_PRINTK_CALLER or Linux 5.10 and later kernels.


EXAMPLES
Expand Down Expand Up @@ -207,7 +211,7 @@ <h3>crash utility help page: <tt><b>&nbsp;log</b></tt></a></h3>
[Sat Apr 4 07:41:09 2020] kvm-clock: cpu 0, msr 6de01001, primary cpu clock
[Sat Apr 4 07:41:09 2020] kvm-clock: using sched offset of 11838753697 cycles
[Sat Apr 4 07:41:09 2020] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[Sat Apr 4 07:41:09 2020] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[Sat Apr 4 07:41:09 2020] e820: update [mem 0x00000000-0x00000fff] usable ==&gt; reserved
[Sat Apr 4 07:41:09 2020] e820: remove [mem 0x000a0000-0x000fffff] usable
[Sat Apr 4 07:41:09 2020] last_pfn = 0x120000 max_arch_pfn = 0x400000000
[Sat Apr 4 07:41:09 2020] MTRR default type: uncachable
Expand All @@ -225,7 +229,7 @@ <h3>crash utility help page: <tt><b>&nbsp;log</b></tt></a></h3>

Dump the printk safe buffers:

crash> log -s
crash&gt; log -s
PRINTK_SAFE_SEQ_BUF: nmi_print_seq
CPU: 0 ADDR: ffff8ca4fbc19ce0 LEN: 150 MESSAGE_LOST: 0
Uhhuh. NMI received for unknown reason 20 on CPU 0.
Expand All @@ -237,6 +241,17 @@ <h3>crash utility help page: <tt><b>&nbsp;log</b></tt></a></h3>
(empty)
...

Display the caller id that identifies the thread id of the task (begins
with 'T') or the processor id (begins with 'C' for in CPU context) that
called printk(), if available.

crash&gt; log -c
...
[ 0.014179] [ T1] Secure boot disabled
[ 0.014179] [ T29] RAMDISK: [mem 0x3cf4f000-0x437bbfff]
[ 0.198789] [ C0] DMAR: DRHD: handling fault status reg 3
...

</pre>
</td>
</tr>
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<table align=center>

<tr><td align=center>
<a href="https://github.com/crash-utility/crash/archive/refs/tags/8.0.4.tar.gz"><font size=+2><tt><b>crash-8.0.4.tar.gz</b></tt></font></a>
<a href="https://github.com/crash-utility/crash/archive/refs/tags/8.0.5.tar.gz"><font size=+2><tt><b>crash-8.0.5.tar.gz</b></tt></font></a>
/
<a href="https://github.com/crash-utility/crash/archive/refs/tags/8.0.4.zip"><font size=+2><tt><b>crash-8.0.4.zip</b></tt></font></a>
<a href="https://github.com/crash-utility/crash/archive/refs/tags/8.0.5.zip"><font size=+2><tt><b>crash-8.0.5.zip</b></tt></font></a>
<br>
(Nov 16, 2023)
(April 24, 2024)
</td></tr>

<tr><td align=center colspan=3>
Expand Down

0 comments on commit 94409e2

Please sign in to comment.