mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Currently, 'sclp_setup(SCLP_INIT)' fails if no SCLP line-mode console is available. As a result 'menu_param()' is never called, even though it is required to retrieve the 'loadparm' value. However, reading the loadparm via SCLP remains useful even when a SCLP line-mode console is absent, because this value determines which boot entry should be selected. Therefore, the boot process should continue by retrieving the loadparm without requiring an SCLP line-mode console. It's safe to continue without a SCLP console as 'printf' and 'menu_param' tolerates the absence of a SCLP line-mode console. Fixes: https://github.com/ibm-s390-linux/s390-tools/issues/196 Reported-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>