2024-03-08 19:21:51

by Donald Carr

[permalink] [raw]
Subject: Setting negative PANIC_TIMEOUT values not respected

despite there being existing defconfigs which specify negative values,
this channel does not actually appear to work, and the kernel behaves
as if the sign is being discarded. A PANIC_TIMEOUT=-1 reboots after a
second, not immediately.

https://bugzilla.kernel.org/show_bug.cgi?id=218574#c0

Hardcoding the value in situ works, passing it via defconfig not so
much. I assume the negative value code path is intended for
consumption :D

Yours sincerely,
Donald

---
My apologies for the noise, I am trying to follow:

https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html

but:

└─[148] <git:(master 1874fe7ae927✱✈) > ./scripts/get_maintainer.pl
/kernel/panic.c
Andrew Morton <[email protected]> (commit_signer:3/6=50%)
"Peter Zijlstra (Intel)" <[email protected]> (commit_signer:2/6=33%)
Josh Poimboeuf <[email protected]>
(commit_signer:2/6=33%,authored:2/6=33%,added_lines:2/18=11%,removed_lines:2/14=14%)
Kefeng Wang <[email protected]>
(commit_signer:1/6=17%,authored:1/6=17%,added_lines:1/18=6%,removed_lines:1/14=7%)
Ingo Molnar <[email protected]> (commit_signer:1/6=17%)
Arnd Bergmann <[email protected]>
(authored:1/6=17%,added_lines:1/18=6%,removed_lines:2/14=14%)
Uros Bizjak <[email protected]>
(authored:1/6=17%,added_lines:13/18=72%,removed_lines:9/14=64%)
Lukas Wunner <[email protected]> (authored:1/6=17%,added_lines:1/18=6%)

has no "supporter", so patient zero gets the to: field.

--
-------------------------------
°v° Donald Carr
/(_)\ Chaos Reins
^ ^ http://chaos-reins.com/