From cd8549453858d3865e1798566fb2e7f1d2f8ec5e Mon Sep 17 00:00:00 2001 From: "Jason M. Bills" Date: Mon, 11 Jan 2021 12:27:14 -0800 Subject: Update to internal 1.00-40 Signed-off-by: Jason M. Bills --- ...re-SIG_QUIT-signal-in-obmc-console-server.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta-openbmc-mods/meta-common/recipes-phosphor/console/obmc-console/0001-Ignore-SIG_QUIT-signal-in-obmc-console-server.patch (limited to 'meta-openbmc-mods/meta-common/recipes-phosphor/console/obmc-console/0001-Ignore-SIG_QUIT-signal-in-obmc-console-server.patch') diff --git a/meta-openbmc-mods/meta-common/recipes-phosphor/console/obmc-console/0001-Ignore-SIG_QUIT-signal-in-obmc-console-server.patch b/meta-openbmc-mods/meta-common/recipes-phosphor/console/obmc-console/0001-Ignore-SIG_QUIT-signal-in-obmc-console-server.patch new file mode 100644 index 000000000..b500fffc1 --- /dev/null +++ b/meta-openbmc-mods/meta-common/recipes-phosphor/console/obmc-console/0001-Ignore-SIG_QUIT-signal-in-obmc-console-server.patch @@ -0,0 +1,37 @@ +From 9560be9acd6baaf816c2f3cba37185a8c1d83131 Mon Sep 17 00:00:00 2001 +From: Kuiying Wang +Date: Wed, 28 Oct 2020 14:02:07 +0800 +Subject: [PATCH] Ignore SIG_QUIT signal in obmc-console-server. + +During long time AC cycle testing, there are 2 unexpected QUIT +signals in 1500 cycles. +Which cause obmc-console service restart as below: +"""""""" +intel-obmc systemd[1]:obmc-console@ttyS2.service: Main process exited, code=dumped, status=3/QUIT +intel-obmc systemd[1]:obmc-console@ttyS2.service: Failed with result 'core-dump'. +intel-obmc systemd[1]:obmc-console@ttyS2.service: Scheduled restart job, restart counter is at 1. +"""""""" + +Tested: +obmc-console service will not restart even send QUIT signal by kill command + +Signed-off-by: Kuiying Wang +--- + console-server.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/console-server.c b/console-server.c +index 11d017b..f6ac09a 100644 +--- a/console-server.c ++++ b/console-server.c +@@ -703,6 +703,7 @@ int run_console(struct console *console) + int rc, timeout; + + sighandler_save = signal(SIGINT, sighandler); ++ signal(SIGQUIT,SIG_IGN); + + rc = 0; + +-- +2.17.1 + -- cgit v1.2.3