public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] installer: suppress kernel warning/info/debug messages
@ 2025-12-19 14:36 'Badrikesh Prusty' via isar-users
  2025-12-22 22:50 ` 'Florian Bezdeka' via isar-users
  0 siblings, 1 reply; 4+ messages in thread
From: 'Badrikesh Prusty' via isar-users @ 2025-12-19 14:36 UTC (permalink / raw)
  To: isar-users; +Cc: Badrikesh Prusty

Lower the kernel log level to 3 to suppress warning, notice, info,
and debug messages on the console.
This prevents audit and driver messages from cluttering the screen
while keeping critical errors and systemd service status output
visible, resulting in a cleaner installer UI.

Signed-off-by: Badrikesh Prusty <badrikesh.prusty@siemens.com>
---
 meta-isar/recipes-core/images/isar-image-installer.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-isar/recipes-core/images/isar-image-installer.bb b/meta-isar/recipes-core/images/isar-image-installer.bb
index 3511f3f6..fde81a19 100644
--- a/meta-isar/recipes-core/images/isar-image-installer.bb
+++ b/meta-isar/recipes-core/images/isar-image-installer.bb
@@ -11,7 +11,8 @@ DESCRIPTION = "Example of a ISAR based Installer Image"
 INSTALLER_WKS_FILE ??= "installer-efi.wks.in"
 WKS_FILE = "${INSTALLER_WKS_FILE}"
 
-ADDITIONAL_KERNEL_CMDLINE ??= ""
+# Hide kernel warning/info/debug messages
+ADDITIONAL_KERNEL_CMDLINE ??= "loglevel=3"
 
 OVERRIDES .= "${@':unattended-installer' if bb.utils.to_boolean(d.getVar('INSTALLER_UNATTENDED')) else ''}"
 ADDITIONAL_KERNEL_CMDLINE:append:unattended-installer = " \
-- 
2.47.3

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20251219143600.2585542-1-badrikesh.prusty%40siemens.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] installer: suppress kernel warning/info/debug messages
  2025-12-19 14:36 [PATCH] installer: suppress kernel warning/info/debug messages 'Badrikesh Prusty' via isar-users
@ 2025-12-22 22:50 ` 'Florian Bezdeka' via isar-users
  2025-12-23  2:12   ` 'Badrikesh Prusty' via isar-users
  0 siblings, 1 reply; 4+ messages in thread
From: 'Florian Bezdeka' via isar-users @ 2025-12-22 22:50 UTC (permalink / raw)
  To: Badrikesh Prusty, isar-users

On Fri, 2025-12-19 at 09:36 -0500, 'Badrikesh Prusty' via isar-users
wrote:
> Lower the kernel log level to 3 to suppress warning, notice, info,
> and debug messages on the console.
> This prevents audit and driver messages from cluttering the screen
> while keeping critical errors and systemd service status output
> visible, resulting in a cleaner installer UI.

Hiding warnings is not a good idea. If something is wrong on the target
the user should know. It will not be the first time that a problem is
hidden (and comes back in "urgent mode") just because someone decided to
suppress warnings.

> 
> Signed-off-by: Badrikesh Prusty <badrikesh.prusty@siemens.com>
> ---
>  meta-isar/recipes-core/images/isar-image-installer.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-isar/recipes-core/images/isar-image-installer.bb b/meta-isar/recipes-core/images/isar-image-installer.bb
> index 3511f3f6..fde81a19 100644
> --- a/meta-isar/recipes-core/images/isar-image-installer.bb
> +++ b/meta-isar/recipes-core/images/isar-image-installer.bb
> @@ -11,7 +11,8 @@ DESCRIPTION = "Example of a ISAR based Installer Image"
>  INSTALLER_WKS_FILE ??= "installer-efi.wks.in"
>  WKS_FILE = "${INSTALLER_WKS_FILE}"
>  
> -ADDITIONAL_KERNEL_CMDLINE ??= ""
> +# Hide kernel warning/info/debug messages
> +ADDITIONAL_KERNEL_CMDLINE ??= "loglevel=3"
>  
>  OVERRIDES .= "${@':unattended-installer' if bb.utils.to_boolean(d.getVar('INSTALLER_UNATTENDED')) else ''}"
>  ADDITIONAL_KERNEL_CMDLINE:append:unattended-installer = " \
> -- 
> 2.47.3
> 
> -- 
> You received this message because you are subscribed to the Google Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/isar-users/20251219143600.2585542-1-badrikesh.prusty%40siemens.com.

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20caeb59e8fcb69ea1524ef7f48fefd1133a0570.camel%40siemens.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] installer: suppress kernel warning/info/debug messages
  2025-12-22 22:50 ` 'Florian Bezdeka' via isar-users
@ 2025-12-23  2:12   ` 'Badrikesh Prusty' via isar-users
  2025-12-23  2:17     ` 'Badrikesh Prusty' via isar-users
  0 siblings, 1 reply; 4+ messages in thread
From: 'Badrikesh Prusty' via isar-users @ 2025-12-23  2:12 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 2652 bytes --]

Hi,

Agreed, hiding warning is a bad idea. I will increase loglevel to 4 to show 
the warning messages as well and send patch v2.

Thanks,
Badrikesh

On Tuesday, December 23, 2025 at 4:20:44 AM UTC+5:30 Florian Bezdeka wrote:

> On Fri, 2025-12-19 at 09:36 -0500, 'Badrikesh Prusty' via isar-users
> wrote:
> > Lower the kernel log level to 3 to suppress warning, notice, info,
> > and debug messages on the console.
> > This prevents audit and driver messages from cluttering the screen
> > while keeping critical errors and systemd service status output
> > visible, resulting in a cleaner installer UI.
>
> Hiding warnings is not a good idea. If something is wrong on the target
> the user should know. It will not be the first time that a problem is
> hidden (and comes back in "urgent mode") just because someone decided to
> suppress warnings.
>
> > 
> > Signed-off-by: Badrikesh Prusty <badrikes...@siemens.com>
> > ---
> > meta-isar/recipes-core/images/isar-image-installer.bb | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/meta-isar/recipes-core/images/isar-image-installer.bb 
> b/meta-isar/recipes-core/images/isar-image-installer.bb
> > index 3511f3f6..fde81a19 100644
> > --- a/meta-isar/recipes-core/images/isar-image-installer.bb
> > +++ b/meta-isar/recipes-core/images/isar-image-installer.bb
> > @@ -11,7 +11,8 @@ DESCRIPTION = "Example of a ISAR based Installer Image"
> > INSTALLER_WKS_FILE ??= "installer-efi.wks.in"
> > WKS_FILE = "${INSTALLER_WKS_FILE}"
> > 
> > -ADDITIONAL_KERNEL_CMDLINE ??= ""
> > +# Hide kernel warning/info/debug messages
> > +ADDITIONAL_KERNEL_CMDLINE ??= "loglevel=3"
> > 
> > OVERRIDES .= "${@':unattended-installer' if 
> bb.utils.to_boolean(d.getVar('INSTALLER_UNATTENDED')) else ''}"
> > ADDITIONAL_KERNEL_CMDLINE:append:unattended-installer = " \
> > -- 
> > 2.47.3
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "isar-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to isar-users+...@googlegroups.com.
> > To view this discussion visit 
> https://groups.google.com/d/msgid/isar-users/20251219143600.2585542-1-badrikesh.prusty%40siemens.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/b9944695-827f-46f1-866b-b59b9b3622a2n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 5427 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] installer: suppress kernel warning/info/debug messages
  2025-12-23  2:12   ` 'Badrikesh Prusty' via isar-users
@ 2025-12-23  2:17     ` 'Badrikesh Prusty' via isar-users
  0 siblings, 0 replies; 4+ messages in thread
From: 'Badrikesh Prusty' via isar-users @ 2025-12-23  2:17 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 2971 bytes --]

Updated patch link:  [PATCH] installer: suppress kernel info/debug messages 
<https://groups.google.com/g/isar-users/c/NVmi7G1coOE>

On Tuesday, December 23, 2025 at 7:42:16 AM UTC+5:30 Badrikesh Prusty wrote:

> Hi,
>
> Agreed, hiding warning is a bad idea. I will increase loglevel to 4 to 
> show the warning messages as well and send patch v2.
>
> Thanks,
> Badrikesh
>
> On Tuesday, December 23, 2025 at 4:20:44 AM UTC+5:30 Florian Bezdeka wrote:
>
>> On Fri, 2025-12-19 at 09:36 -0500, 'Badrikesh Prusty' via isar-users 
>> wrote: 
>> > Lower the kernel log level to 3 to suppress warning, notice, info, 
>> > and debug messages on the console. 
>> > This prevents audit and driver messages from cluttering the screen 
>> > while keeping critical errors and systemd service status output 
>> > visible, resulting in a cleaner installer UI. 
>>
>> Hiding warnings is not a good idea. If something is wrong on the target 
>> the user should know. It will not be the first time that a problem is 
>> hidden (and comes back in "urgent mode") just because someone decided to 
>> suppress warnings. 
>>
>> > 
>> > Signed-off-by: Badrikesh Prusty <badrikes...@siemens.com> 
>> > --- 
>> > meta-isar/recipes-core/images/isar-image-installer.bb | 3 ++- 
>> > 1 file changed, 2 insertions(+), 1 deletion(-) 
>> > 
>> > diff --git a/meta-isar/recipes-core/images/isar-image-installer.bb 
>> b/meta-isar/recipes-core/images/isar-image-installer.bb 
>> > index 3511f3f6..fde81a19 100644 
>> > --- a/meta-isar/recipes-core/images/isar-image-installer.bb 
>> > +++ b/meta-isar/recipes-core/images/isar-image-installer.bb 
>> > @@ -11,7 +11,8 @@ DESCRIPTION = "Example of a ISAR based Installer 
>> Image" 
>> > INSTALLER_WKS_FILE ??= "installer-efi.wks.in" 
>> > WKS_FILE = "${INSTALLER_WKS_FILE}" 
>> > 
>> > -ADDITIONAL_KERNEL_CMDLINE ??= "" 
>> > +# Hide kernel warning/info/debug messages 
>> > +ADDITIONAL_KERNEL_CMDLINE ??= "loglevel=3" 
>> > 
>> > OVERRIDES .= "${@':unattended-installer' if 
>> bb.utils.to_boolean(d.getVar('INSTALLER_UNATTENDED')) else ''}" 
>> > ADDITIONAL_KERNEL_CMDLINE:append:unattended-installer = " \ 
>> > -- 
>> > 2.47.3 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "isar-users" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to isar-users+...@googlegroups.com. 
>> > To view this discussion visit 
>> https://groups.google.com/d/msgid/isar-users/20251219143600.2585542-1-badrikesh.prusty%40siemens.com. 
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/5f424fa3-b272-4bdd-89f3-3c043bda1412n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 5813 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-23  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-19 14:36 [PATCH] installer: suppress kernel warning/info/debug messages 'Badrikesh Prusty' via isar-users
2025-12-22 22:50 ` 'Florian Bezdeka' via isar-users
2025-12-23  2:12   ` 'Badrikesh Prusty' via isar-users
2025-12-23  2:17     ` 'Badrikesh Prusty' via isar-users

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox