Home
last modified time | relevance | path

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

12

/linux/Documentation/devicetree/bindings/reserved-memory/
H A 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/fs/pstore/
H A 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 …]
H A 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");
60 "size of reserved RAM used to store oops/panic logs");
65 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached");
67 static int ramoops_max_reason = -1;
70 "maximum reason for kmsg dump (default 2: Oops and Panic) ");
75 "if non-zero, the option enables ECC support and specifies "
79 static int ramoops_dump_oops = -1;
[all …]
H A 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 …]
H A 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 …]
H A 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/Documentation/admin-guide/
H A 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 …]
H A Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nocmcff -- Disable firmware first mode for corrected
28 nospcr -- disable console in ACPI SPCR table as
45 If set to vendor, prefer vendor-specific driver
[all …]
/linux/kernel/
H A Dpanic.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * This function is used through-out the kernel (including mm and fs)
48 * Should we dump all CPUs backtraces in an oops event?
100 return -EPERM; in proc_taint()
117 return -EINVAL; in proc_taint()
223 /* There is no risk of race in kernel boot phase */ in setup_panic_sys_info()
258 * Stop ourself in panic -- architecture code may override this
278 * crash dump, it should save registers of each stopped CPU and disable
279 * per-CPU features such as virtualization extensions.
360 * as saving register state for crash dump.
[all …]
/linux/tools/testing/selftests/rcutorture/bin/
H A Dconsole-badness.sh2 # SPDX-License-Identifier: GPL-2.0+
7 # Usage: console-badness.sh
13 grep -E 'Badness|WARNING:|Warn|BUG|===========|BUG: KCSAN:|Call Trace:|Call trace:|Oops:|detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for|!!!' |
14 grep -v 'ODEBUG: ' |
15 grep -
[all...]
H A 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="`mktemp -d ${TMPDIR-/tmp}/parse-console.sh.XXXXXX`"
18 trap 'rm -f $T.seq $T.diags' 0
23 if test -
[all...]
/linux/Documentation/admin-guide/sysctl/
H A 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/sound/soc/sof/amd/
H A 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"
17 #include "acp-dsp-offset.h"
21 * amd_sof_ipc_dump() - This function is called when IPC tx times out.
26 const struct sof_amd_acp_desc *desc = get_chip_info(sdev->pdata); in amd_sof_ipc_dump()
27 u32 base = desc->dsp_intr_base; in amd_sof_ipc_dump()
28 u32 dsp_msg_write = sdev->debug_box.offset + in amd_sof_ipc_dump()
30 u32 dsp_ack_write = sdev->debug_box.offset + in amd_sof_ipc_dump()
[all …]
/linux/include/linux/
H A 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/sound/soc/sof/imx/
H A Dimx-common.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 // Copyright 2020-2025 NXP
16 #include "imx-common.h"
19 * imx8_get_registers() - This function is called in case of DSP oops
[all...]
/linux/arch/powerpc/kernel/
H A 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/tools/testing/selftests/lkdtm/
H A 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/Documentation/arch/s390/
H A 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/arch/arm/mm/
H A 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>
34 return addr >= TASK_SIZE && ULONG_MAX - addr >= size; in copy_from_kernel_nofault_allowed()
38 * This is useful to dump out the page tables associated with
136 pr_alert("8<--- cut here ---\n"); in die_kernel_fault()
141 die("Oops", regs, fsr); in die_kernel_fault()
147 * Oops. The kernel tried to access some page that wasn't present.
161 * No handler, we'll have to terminate things with extreme prejudice. in __do_kernel_fault()
192 pr_err("8<--- cut here ---\n"); in __do_user_fault()
[all …]
/linux/arch/x86/mm/
H A Dfault.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2008-2009, Red Hat Inc., Ingo Molnar
51 return -1; in kmmio_fault()
58 * 32-bit mode:
63 * 64-bit mode:
90 * In 64-bit mode 0x40..0x4F are valid REX prefixes in check_prefetch_opcode()
118 c->x86_vendor == X86_VENDOR_AMD && in is_amd_k8_pre_npt()
119 c->x86 == 0xf && c->x86_model < 0x40); in is_amd_k8_pre_npt()
129 /* Erratum #91 affects AMD K8, pre-NPT CPUs */ in is_prefetch()
145 * not-present page (e.g. due to a race). No one has ever in is_prefetch()
[all …]
/linux/arch/sh/mm/
H A 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/drivers/hv/
H A 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
29 #include <linux/dma-map-ops.h>
42 * Hyper-V specific globals so they are shared across all architectures and are
72 * Per-cpu array holding the tail pointer for the SynIC event ring buffer
82 * Hyper-V specific initialization and shutdown code that is
111 * Boolean to control whether to report panic messages over Hyper-V.
119 * reported to Hyper-V on panic.
159 /* Don't notify Hyper-V unless we have a die oops event or panic. */ in hv_die_panic_notify_crash()
[all …]
/linux/lib/
H A DKconfig.debug1 # SPDX-License-Identifier: GPL-2.0-only
19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst
35 no option to enable/disable at the kernel command line parameter or
50 int "Default console loglevel (1-15)"
60 Note: This does not affect the log level of un-prefixed printk()
65 int "quiet console loglevel (1-15)"
76 int "Default message log level (1-7)"
80 Default log level for printk statements with no specified priority.
82 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks
118 enabled/disabled based on various levels of scope - per source file,
[all …]
/linux/kernel/printk/
H A Dprintk.c1 // SPDX-License-Identifier: GPL-2.0-only
86 * console_mutex protects console_list updates and console->flags updates.
93 * console_sem protects updates to console->seq
149 return -EINVAL; in __control_devkmsg()
169 return -EINVAL; in __control_devkmsg()
211 return -EINVAL; in devkmsg_sysctl_set_loglvl()
234 return -EINVAL; in devkmsg_sysctl_set_loglvl()
243 * console_list_lock - Lock the console list
245 * For console list or console->flags updates
255 * Detecting if this context is really in the read-side critical in console_list_lock()
[all …]
/linux/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * --------------------------
10 * net-3-driver for the NI5210 card (i82586 Ethernet chip)
16 * Copyrights (c) 1994,1995,1996 by M.Hipp (hippm@informatik.uni-tuebingen.de)
17 * --------------------------
27 static int debuglevel = 0; /* debug-printk 0: off 1: a few 2: more */
60 …n3_attn586() {*(volatile unsigned char *)(dev->base_addr) |= IEOB_ATTEN; *(volatile unsigned char…
61 …3_reset586() {*(volatile unsigned char *)(dev->base_addr) = 0; udelay(100); *(volatile unsigned ch…
62 #define sun3_disint() {*(volatile unsigned char *)(dev->base_addr) &= ~IEOB_IENAB;}
63 #define sun3_enaint() {*(volatile unsigned char *)(dev->base_addr) |= IEOB_IENAB;}
[all …]

12