Home
last modified time | relevance | path

Searched +full:no +full:- +full:dump +full:- +full:oops (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v6.6/Documentation/devicetree/bindings/reserved-memory/
Dramoops.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/ramoops.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ramoops oops/panic logger
10 ramoops provides persistent RAM storage for oops and panics, so they can be
11 recovered after a reboot. This is a child-node of "/reserved-memory", and
16 as kernel log messages, or for optional ECC error-correction data. The total
19 Any remaining space will be used for a circular buffer of oops and panic
23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size"
[all …]
/Linux-v6.6/fs/pstore/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
42 messages, even if no oops or panic happened.
51 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
69 tristate "Log panic/oops to a RAM buffer"
76 This enables panic and oops messages to be logged to a circular
82 For more information, see Documentation/admin-guide/ramoops.rst.
92 tristate "Log panic/oops to a block device"
98 This enables panic and oops message to be logged to a block dev
101 For more information, see Documentation/admin-guide/pstore-blk.rst
114 with no leading 0x, for example b302.
[all …]
Dram.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * RAM Oops/Panic logger
34 "size of each dump done on oops/panic");
51 "start of reserved RAM used to store oops/panic logs");
56 "size of reserved RAM used to store oops/panic logs");
61 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached");
63 static int ramoops_max_reason = -1;
66 "maximum reason for kmsg dump (default 2: Oops and Panic) ");
71 "if non-zero, the option enables ECC support and specifies "
75 static int ramoops_dump_oops = -1;
[all …]
Dblk.c1 // SPDX-License-Identifier: GPL-2.0
3 * Implements pstore backend driver that write to block (or non-block) storage
24 MODULE_PARM_DESC(kmsg_size, "kmsg dump record size in kbytes");
29 "maximum reason for kmsg dump (default 2: Oops and Panic)");
34 static long pmsg_size = -1;
42 static long console_size = -1;
50 static long ftrace_size = -1;
60 * blkdev - the block device to use for pstore storage
61 * See Documentation/admin-guide/pstore-blk.rst for details.
78 if (_##name_ & ((alignsize) - 1)) { \
[all …]
Dzone.c1 // SPDX-License-Identifier: GPL-2.0
26 * struct psz_buffer - header of zone to flush to storage
28 * @sig: signature to indicate header (PSZ_SIG xor PSZONE-type value)
42 * struct psz_kmsg_header - kmsg dump-specific header to flush to storage
44 * @magic: magic num for kmsg dump header
45 * @time: kmsg dump trigger time
47 * @counter: kmsg dump counter
48 * @reason: the kmsg dump reason (e.g. oops, panic, etc)
51 * This is a sub-header for a kmsg dump, trailing after &psz_buffer.
64 * struct pstore_zone - single stored buffer
[all …]
Dplatform.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Persistent Storage - platform driver interface parts.
5 * Copyright (C) 2007-2008 Google, Inc.
32 * We defer making "oops" entries appear in pstore - see
36 static int pstore_update_ms = -1;
39 "(default is -1, which means runtime updates are disabled; "
50 "powerpc-ofw",
51 "powerpc-common",
53 "powerpc-opal",
77 * pstore no longer implements compression via the crypto API, and only
[all …]
/Linux-v6.6/Documentation/admin-guide/
Dpstore-blk.rst1 .. SPDX-License-Identifier: GPL-2.0
3 pstore block oops/panic logger
7 ------------
9 pstore block (pstore/blk) is an oops/panic logger that writes its logs to a
10 block device and non-block device before the system crashes. You can get
13 mount -t pstore pstore /sys/fs/pstore
17 ---------------------
27 Configurations for driver are all about block device and non-block device,
31 -----------------------
51 #. /dev/<disk_name><decimal> represents the device number of partition - device
[all …]
Dbug-hunting.rst4 Kernel bug reports often come with a stack dump like the one below::
6 ------------[ cut here ]------------
8 …Modules linked in: dvb_usb_gp8psk(-) dvb_usb dvb_core nvidia_drm(PO) nvidia_modeset(PO) snd_hda_co…
9 CPU: 1 PID: 28102 Comm: rmmod Tainted: P WC O 4.8.4-build.1 #1
10 Hardware name: MSI MS-7309/MS-7309, BIOS V1.12 02/23/2009
38 ---[ end trace 6ebc60ef3981792f ]---
42 the issue, it may also contain the word **Oops**, as on this one::
47 Oops: 0002 [#1] PREEMPT SMP
50 Despite being an **Oops** or some other sort of stack trace, the offended
52 we'll refer to "Oops" for all kinds of stack traces that need to be analyzed.
[all …]
/Linux-v6.6/kernel/
Dpanic.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * This function is used through-out the kernel (including mm and fs)
46 * Should we dump all CPUs backtraces in an oops event?
142 * Stop ourself in panic -- architecture code may override this
162 * crash dump, it should save registers of each stopped CPU and disable
163 * per-CPU features such as virtualization extensions.
191 * as saving register state for crash dump.
246 * and then performs the secondary CPUs shutdown - we cannot have
257 * situation. If we want to do crash dump after notifier calls in panic_other_cpus_shutdown()
269 * panic - halt the system
[all …]
/Linux-v6.6/drivers/mtd/
Dmtdoops.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * MTD Oops/Panic logger
31 "record size for MTD OOPS pages in bytes (default 4096)");
41 "set to 1 to dump oopses, 0 to only dump panics (default 1)");
53 struct kmsg_dumper dump; member
70 set_bit(page, cxt->oops_page_used); in mark_page_used()
75 clear_bit(page, cxt->oops_page_used); in mark_page_unused()
80 return test_bit(page, cxt->oops_page_used); in page_is_used()
85 struct mtd_info *mtd = cxt->mtd; in mtdoops_erase_block()
86 u32 start_page_offset = mtd_div_by_eb(offset, mtd) * mtd->erasesize; in mtdoops_erase_block()
[all …]
/Linux-v6.6/arch/arm/kernel/
Dtraps.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1995-2009 Russell King
79 frame = ((unsigned long *)frame)[-2] - 4; in dump_backtrace_entry()
103 for (reg = 10, x = 0, p = str; reg >= 0; reg--) { in dump_backtrace_stm()
105 p += sprintf(p, " r%d:%08x", reg, *stack--); in dump_backtrace_stm()
120 * physical memory. If it is not there, then we can't dump
128 return -EFAULT; in verify_stack()
135 * Dump out the contents of some memory nicely...
150 str[sizeof(str) - 1] = '\0'; in dump_mem()
174 * Note that we now dump the code first, just in case the backtrace in dump_instr()
[all …]
/Linux-v6.6/tools/testing/selftests/rcutorture/bin/
Dconsole-badness.sh2 # SPDX-License-Identifier: GPL-2.0+
7 # Usage: console-badness.sh
13-E 'Badness|WARNING:|Warn|BUG|===========|BUG: KCSAN:|Call Trace:|Oops:|detected stalls on CPUs/ta…
14 grep -v 'ODEBUG: ' |
15 grep -v 'This means that this is a DEBUG kernel and it is' |
16 grep -v 'Warning: unable to open an initial console' |
17 grep -v 'Warning: Failed to add ttynull console. No stdin, stdout, and stderr.*the init process!' |
18 grep -v 'NOHZ tick-stop error: Non-RCU local softirq work is pending, handler'
Dparse-console.sh2 # SPDX-License-Identifier: GPL-2.0+
6 # a text string for error-message purposes.
8 # Usage: parse-console.sh file title
14 T=${TMPDIR-/tmp}/parse-console.sh.$$
18 trap 'rm -f $T.seq $T.diags' 0
23 if test -f "$file" -a -r "$file"
30 if grep -Pq '\x00' < $file
41 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file
43 nerrs=`grep --binary-files=text '!!!' $file |
44 tail -1 |
[all …]
/Linux-v6.6/sound/soc/sof/amd/
Dacp-common.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
11 /* ACP-specific Common code */
13 #include "../sof-priv.h"
14 #include "../sof-audio.h"
16 #include "../sof-audio.h"
18 #include "acp-dsp-offset.h"
22 * amd_sof_ipc_dump() - This function is called when IPC tx times out.
27 const struct sof_amd_acp_desc *desc = get_chip_info(sdev->pdata); in amd_sof_ipc_dump()
28 u32 base = desc->dsp_intr_base; in amd_sof_ipc_dump()
29 u32 dsp_msg_write = sdev->debug_box.offset + in amd_sof_ipc_dump()
[all …]
/Linux-v6.6/Documentation/admin-guide/sysctl/
Dkernel.rst5 .. See scripts/check-sysctl-docs to keep this up to date
13 Documentation/admin-guide/sysctl/index.rst.
15 ------------------------------------------------------------------------------
39 If BSD-style process accounting is enabled these values control
71 The machine hardware name, the same output as ``uname -m``
77 This variable has no effect and may be removed in future kernel
129 Ctrl-Alt-Delete). Writing a value to this file which doesn't
130 correspond to a running process will result in ``-ESRCH``.
132 See also `ctrl-alt-del`_.
170 %d dump mode, matches ``PR_SET_DUMPABLE`` and
[all …]
/Linux-v6.6/include/linux/
Dpstore.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Persistent Storage - pstore.h
35 /* PPC64-specific partition types */
51 * struct pstore_record - details of a pstore record entry
54 * @id: per-type unique identifier for record
61 * kfree()d by the pstore core if non-NULL
66 * @count: Oops count since boot
89 * struct pstore_info - backend pstore driver structure
95 * @buf: preallocated crash dump buffer
96 * @bufsize: size of @buf available for crash dump bytes (must match
[all …]
/Linux-v6.6/arch/powerpc/kernel/
Dnvram_64.c1 // SPDX-License-Identifier: GPL-2.0-or-later
51 .name = "ibm,rtas-log",
54 .index = -1,
60 .name = "lnx,oops-log",
63 .index = -1,
69 "ibm,rtas-log",
71 "lnx,oops-log",
79 .dump = oops_to_nvram
83 * For capturing and compressing an oops or panic report...
87 * oops_buf[] holds the compressed text, preceded by a oops header.
[all …]
/Linux-v6.6/tools/testing/selftests/lkdtm/
Drun.sh2 # SPDX-License-Identifier: GPL-2.0
9 set -e
10 TRIGGER=/sys/kernel/debug/provoke-crash/DIRECT
15 if [ ! -r $TRIGGER ] ; then
16 /sbin/modprobe -q lkdtm || true
17 if [ ! -r $TRIGGER ] ; then
29 line=$(grep -E '^#?'"$test"'\b' tests.txt)
30 if [ -z "$line" ]; then
35 if ! grep -E -q '^'"$test"'$' "$TRIGGER" ; then
41 test=$(echo "$line" | cut -d" " -f1)
[all …]
/Linux-v6.6/arch/x86/
DKconfig.debug1 # SPDX-License-Identifier: GPL-2.0
50 a full-blown printk console driver + klogd.
60 bool "Dump the EFI pagetable"
64 Enable this if you want to dump the EFI page table before
70 bool "Set upper limit of TLB entries to flush one-by-one"
73 X86-only for now.
76 kernel flushes one-by-one instead of doing a full TLB flush. In
79 to -1, the code flushes the whole TLB unconditionally. Otherwise,
100 options. See Documentation/arch/x86/x86_64/boot-options.rst for more
128 bool "port 0x80 based port-IO delay [recommended]"
[all …]
/Linux-v6.6/arch/arm/mm/
Dfault.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Modifications for ARM processor (c) 1995-2004 Russell King
15 #include <linux/page-flags.h>
31 * This is useful to dump out the page tables associated with
129 pr_alert("8<--- cut here ---\n"); in die_kernel_fault()
135 die("Oops", regs, fsr); in die_kernel_fault()
141 * Oops. The kernel tried to access some page that wasn't present.
155 * No handler, we'll have to terminate things with extreme prejudice. in __do_kernel_fault()
186 pr_err("8<--- cut here ---\n"); in __do_user_fault()
188 tsk->comm, sig, addr, fsr); in __do_user_fault()
[all …]
/Linux-v6.6/Documentation/arch/s390/
Ds390dbf.rst6 - arch/s390/kernel/debug.c
7 - arch/s390/include/asm/debug.h
10 ------------
24 -------
31 which are written by event- and exception-calls.
33 An event-call writes the specified debug entry to the active debug
39 An exception-call writes the specified debug entry to the log and
48 There are four versions for the event- and exception-calls: One for
50 and one for sprintf-like formatted strings.
54 - Timestamp
[all …]
/Linux-v6.6/arch/x86/kernel/
Ddumpstack.c41 info->type = STACK_TYPE_TASK; in in_task_stack()
42 info->begin = begin; in in_task_stack()
43 info->end = end; in in_task_stack()
44 info->next_sp = NULL; in in_task_stack()
49 /* Called from get_stack_info_noinstr - so must be noinstr too */
60 info->type = STACK_TYPE_ENTRY; in in_entry_stack()
61 info->begin = begin; in in_entry_stack()
62 info->end = end; in in_entry_stack()
63 info->next_sp = NULL; in in_entry_stack()
83 return -EPERM; in copy_code()
[all …]
/Linux-v6.6/arch/x86/mm/
Dfault.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2008-2009, Red Hat Inc., Ingo Molnar
50 return -1; in kmmio_fault()
57 * 32-bit mode:
62 * 64-bit mode:
89 * In 64-bit mode 0x40..0x4F are valid REX prefixes in check_prefetch_opcode()
117 c->x86_vendor == X86_VENDOR_AMD && in is_amd_k8_pre_npt()
118 c->x86 == 0xf && c->x86_model < 0x40); in is_amd_k8_pre_npt()
128 /* Erratum #91 affects AMD K8, pre-NPT CPUs */ in is_prefetch()
144 * not-present page (e.g. due to a race). No one has ever in is_prefetch()
[all …]
/Linux-v6.6/arch/sh/mm/
Dfault.c5 * Copyright (C) 2003 - 2012 Paul Mundt
34 * This is useful to dump out the page tables associated with
42 pgd = mm->pgd; in show_pte()
184 return -1; in vmalloc_fault()
187 * Synchronize this task's top level page-table in vmalloc_fault()
196 return -1; in vmalloc_fault()
200 return -1; in vmalloc_fault()
216 printk_address(regs->pc, 1); in show_fault_oops()
233 * Oops. The kernel tried to access some bad page. We'll have to in no_context()
240 die("Oops", regs, error_code); in no_context()
[all …]
/Linux-v6.6/drivers/hv/
Dhv_common.c1 // SPDX-License-Identifier: GPL-2.0
5 * Hyper-V. This file is specifically for code that must be
6 * built-in to the kernel image when CONFIG_HYPERV is set
26 #include <linux/dma-map-ops.h>
28 #include <asm/hyperv-tlfs.h>
33 * Hyper-V specific globals so they are shared across all architectures and are
66 * Hyper-V specific initialization and shutdown code that is
92 * the guest page size may not be the same as the Hyper-V page
93 * size. We depend upon kmalloc() aligning power-of-two size
95 * allocated memory appears to Hyper-V as a page of the size
[all …]

123