Files
kdumpst/20-kdump-steamos.conf
Guilherme G. Piccoli 45dc648700 20-kdump-steamos.conf: don't panic on RCU stalls
I found a small RCU stall in v6.1-rc3 that is quite insignificant,
but panick'ed the system. I feel we're in a risk to have it
enabled by default, seems better to stay in the "safe" side
of the trade-off and eventually lose some report than to panic
in meaningless stall and affect user experience.

Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
2023-03-31 15:34:42 -03:00

36 lines
1.1 KiB
Plaintext

# SPDX-License-Identifier: LGPL-2.1+
#
# Copyright (c) 2022 Valve.
# Maintainer: Guilherme G. Piccoli <gpiccoli@igalia.com>
#
# This file sets the sysctl parameters that are used by the
# kdump-steamos package, in order to panic and reboot on
# severe events, like oops or soft/hard lockups.
# Also, we set panic_print in order to collect more info.
kernel.panic_on_oops = 1
kernel.softlockup_panic = 1
kernel.hardlockup_panic = 1
# reboot as soon as possible after a panic event.
kernel.panic = -1
# dump more information when facing a panic event:
# bit 0 - print all tasks info
# bit 1 - print system memory info
# bit 2 - print timer info
# bit 6 - print all CPUs backtrace (currently on linux-next)
kernel.panic_print = 71
# Currently disabled, since SteamOS might get stuck while
# doing installation on drive using calamares.
kernel.hung_task_panic = 0
# A bit risky to panic on that, might cause undesirable panics
# due to small stalls. A trade-off is if we indeed have a severe
# bug causing a (long) RCU stall, we'd not panic and have it
# reported. But seems the risk is bigger...
kernel.panic_on_rcu_stall = 0