DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: Roland Hieber <rhi@pengutronix.de>
Cc: distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH 01/14] platforms: revert to default systemd loglevel
Date: Mon, 14 Aug 2023 17:39:35 +0200	[thread overview]
Message-ID: <ZNpKt24rCcnXrZhS@pengutronix.de> (raw)
In-Reply-To: <20230623124755.2292833-2-rhi@pengutronix.de>

Applied to next.

On Fri, Jun 23, 2023 at 02:47:42PM +0200, Roland Hieber wrote:
> By decreasing the systemd loglevel to "warning", the journal no longer
> contains useful lines like which units were started and stopped and
> when, which is quite sparse information for debugging. Remove the
> systemd.log_level from the kernel command line so systemd defaults to
> loglevel "info" (same level as loglevel=5 for the kernel).
> 
> Keep the systemd.show_status setting on "auto" so that systemd only
> produces actual console output when the boot takes a significant amount
> of time, or produces error messages; so this change only changes the
> verbosity of the journal, not the console, on normal boots.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  configs/platform-mips/run                                       | 2 +-
>  .../barebox-am335x-defaultenv/nv/linux.bootargs.loglevel        | 2 +-
>  .../barebox-mx6-defaultenv/nv/linux.bootargs.loglevel           | 2 +-
>  .../barebox-rpi2-defaultenv/nv/linux.bootargs.loglevel          | 2 +-
>  .../barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel       | 2 +-
>  .../barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel      | 2 +-
>  configs/platform-v7a/run                                        | 2 +-
>  configs/platform-v7a/run-nfs                                    | 2 +-
>  .../barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel      | 2 +-
>  configs/platform-v7a_noneon/run                                 | 2 +-
>  configs/platform-v7a_noneon/run-nfs                             | 2 +-
>  .../barebox-common-defaultenv/nv/linux.bootargs.loglevel        | 2 +-
>  .../barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel        | 2 +-
>  configs/platform-x86_64/run                                     | 2 +-
>  14 files changed, 14 insertions(+), 14 deletions(-)
> 
> diff --git a/configs/platform-mips/run b/configs/platform-mips/run
> index edfce51a96b5..cf8a535167e3 100755
> --- a/configs/platform-mips/run
> +++ b/configs/platform-mips/run
> @@ -65,7 +65,7 @@ if [ -z "${QEMU_NET}" ]; then
>  	QEMU_NET=(-netdev user,id=net1,hostfwd=tcp:127.0.0.1:${TELNET_EXTERNAL_PORT}-:${TELNET_INTERNAL_PORT},hostfwd=tcp:127.0.0.1:${SSH_EXTERNAL_PORT}-:${SSH_INTERNAL_PORT} )
>  fi
>  
> -BASE_CMDLINE="console=ttyS0,115200 loglevel=5 systemd.log_level=warning systemd.show_status=auto"
> +BASE_CMDLINE="console=ttyS0,115200 loglevel=5 systemd.show_status=auto"
>  
>  # Machine to emulate
>  QEMU_ARGS=( -M malta -m 256 -serial stdio -monitor null -device qemu-xhci,id=xhci)
> diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v7a/barebox-am335x-defaultenv/nv/linux.bootargs.loglevel
> index 705752ca416d..d45c34464422 100644
> --- a/configs/platform-v7a/barebox-am335x-defaultenv/nv/linux.bootargs.loglevel
> +++ b/configs/platform-v7a/barebox-am335x-defaultenv/nv/linux.bootargs.loglevel
> @@ -1 +1 @@
> -loglevel=5 systemd.log_level=warning systemd.show_status=auto
> +loglevel=5 systemd.show_status=auto
> diff --git a/configs/platform-v7a/barebox-mx6-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v7a/barebox-mx6-defaultenv/nv/linux.bootargs.loglevel
> index 705752ca416d..d45c34464422 100644
> --- a/configs/platform-v7a/barebox-mx6-defaultenv/nv/linux.bootargs.loglevel
> +++ b/configs/platform-v7a/barebox-mx6-defaultenv/nv/linux.bootargs.loglevel
> @@ -1 +1 @@
> -loglevel=5 systemd.log_level=warning systemd.show_status=auto
> +loglevel=5 systemd.show_status=auto
> diff --git a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v7a/barebox-rpi2-defaultenv/nv/linux.bootargs.loglevel
> index 705752ca416d..d45c34464422 100644
> --- a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/linux.bootargs.loglevel
> +++ b/configs/platform-v7a/barebox-rpi2-defaultenv/nv/linux.bootargs.loglevel
> @@ -1 +1 @@
> -loglevel=5 systemd.log_level=warning systemd.show_status=auto
> +loglevel=5 systemd.show_status=auto
> diff --git a/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel
> index 705752ca416d..d45c34464422 100644
> --- a/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel
> +++ b/configs/platform-v7a/barebox-stm32mp-defaultenv/nv/linux.bootargs.loglevel
> @@ -1 +1 @@
> -loglevel=5 systemd.log_level=warning systemd.show_status=auto
> +loglevel=5 systemd.show_status=auto
> diff --git a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel
> index 705752ca416d..d45c34464422 100644
> --- a/configs/platform-v7a/barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel
> +++ b/configs/platform-v7a/barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel
> @@ -1 +1 @@
> -loglevel=5 systemd.log_level=warning systemd.show_status=auto
> +loglevel=5 systemd.show_status=auto
> diff --git a/configs/platform-v7a/run b/configs/platform-v7a/run
> index 3f62b237ac12..004706ddaf59 100755
> --- a/configs/platform-v7a/run
> +++ b/configs/platform-v7a/run
> @@ -62,7 +62,7 @@ if [ -z "${QEMU_NET}" ]; then
>  	echo "Forwarding SSH port 127.0.0.1:${SSH_EXTERNAL_PORT} -> qemu:${SSH_INTERNAL_PORT}"
>  fi
>  
> -BASE_CMDLINE="console=ttyAMA0,115200 loglevel=5 systemd.log_level=warning systemd.show_status=auto"
> +BASE_CMDLINE="console=ttyAMA0,115200 loglevel=5 systemd.show_status=auto"
>  
>  if [ -d "${PTXDIST_PLATFORMDIR}/root/.virtfs_metadata" ]; then
>  	security_model="mapped-file"
> diff --git a/configs/platform-v7a/run-nfs b/configs/platform-v7a/run-nfs
> index d1675fb47bfd..c78e36ca1ea0 100755
> --- a/configs/platform-v7a/run-nfs
> +++ b/configs/platform-v7a/run-nfs
> @@ -16,5 +16,5 @@ ${QEMU_EXEC} ${QEMU_NOGRAPHIC} \
>  	-kernel ${PTXDIST_PLATFORMDIR}/images/linuximage \
>  	-dtb ${PTXDIST_PLATFORMDIR}/images/vexpress-v2p-ca9.dtb \
>  	-smp 1 \
> -	-append "console=ttyAMA0 root=/dev/nfs nfsroot=10.0.2.2:/root,v3,tcp,port=2049,mountport=2049 rw mem=1024M rootwait loglevel=5 systemd.log_level=warning systemd.show_status=auto ip=dhcp"
> +	-append "console=ttyAMA0 root=/dev/nfs nfsroot=10.0.2.2:/root,v3,tcp,port=2049,mountport=2049 rw mem=1024M rootwait loglevel=5 systemd.show_status=auto ip=dhcp"
>  
> diff --git a/configs/platform-v7a_noneon/barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v7a_noneon/barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel
> index 705752ca416d..d45c34464422 100644
> --- a/configs/platform-v7a_noneon/barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel
> +++ b/configs/platform-v7a_noneon/barebox-vexpress-defaultenv/nv/linux.bootargs.loglevel
> @@ -1 +1 @@
> -loglevel=5 systemd.log_level=warning systemd.show_status=auto
> +loglevel=5 systemd.show_status=auto
> diff --git a/configs/platform-v7a_noneon/run b/configs/platform-v7a_noneon/run
> index 8af190f11eb4..0bb06bc60868 100755
> --- a/configs/platform-v7a_noneon/run
> +++ b/configs/platform-v7a_noneon/run
> @@ -62,7 +62,7 @@ if [ -z "${QEMU_NET}" ]; then
>  	echo "Forwarding SSH port 127.0.0.1:${SSH_EXTERNAL_PORT} -> qemu:${SSH_INTERNAL_PORT}"
>  fi
>  
> -BASE_CMDLINE="console=ttyAMA0,115200 loglevel=5 systemd.log_level=warning systemd.show_status=auto"
> +BASE_CMDLINE="console=ttyAMA0,115200 loglevel=5 systemd.show_status=auto"
>  
>  if [ -d "${PTXDIST_PLATFORMDIR}/root/.virtfs_metadata" ]; then
>  	security_model="mapped-file"
> diff --git a/configs/platform-v7a_noneon/run-nfs b/configs/platform-v7a_noneon/run-nfs
> index d1675fb47bfd..c78e36ca1ea0 100755
> --- a/configs/platform-v7a_noneon/run-nfs
> +++ b/configs/platform-v7a_noneon/run-nfs
> @@ -16,5 +16,5 @@ ${QEMU_EXEC} ${QEMU_NOGRAPHIC} \
>  	-kernel ${PTXDIST_PLATFORMDIR}/images/linuximage \
>  	-dtb ${PTXDIST_PLATFORMDIR}/images/vexpress-v2p-ca9.dtb \
>  	-smp 1 \
> -	-append "console=ttyAMA0 root=/dev/nfs nfsroot=10.0.2.2:/root,v3,tcp,port=2049,mountport=2049 rw mem=1024M rootwait loglevel=5 systemd.log_level=warning systemd.show_status=auto ip=dhcp"
> +	-append "console=ttyAMA0 root=/dev/nfs nfsroot=10.0.2.2:/root,v3,tcp,port=2049,mountport=2049 rw mem=1024M rootwait loglevel=5 systemd.show_status=auto ip=dhcp"
>  
> diff --git a/configs/platform-v8a/barebox-common-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v8a/barebox-common-defaultenv/nv/linux.bootargs.loglevel
> index 705752ca416d..d45c34464422 100644
> --- a/configs/platform-v8a/barebox-common-defaultenv/nv/linux.bootargs.loglevel
> +++ b/configs/platform-v8a/barebox-common-defaultenv/nv/linux.bootargs.loglevel
> @@ -1 +1 @@
> -loglevel=5 systemd.log_level=warning systemd.show_status=auto
> +loglevel=5 systemd.show_status=auto
> diff --git a/configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel
> index 705752ca416d..d45c34464422 100644
> --- a/configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel
> +++ b/configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel
> @@ -1 +1 @@
> -loglevel=5 systemd.log_level=warning systemd.show_status=auto
> +loglevel=5 systemd.show_status=auto
> diff --git a/configs/platform-x86_64/run b/configs/platform-x86_64/run
> index 963222928964..ddc510070418 100755
> --- a/configs/platform-x86_64/run
> +++ b/configs/platform-x86_64/run
> @@ -65,7 +65,7 @@ if [ -z "${QEMU_NET}" ]; then
>  	QEMU_NET=(-netdev user,id=net1,hostfwd=tcp:127.0.0.1:${TELNET_EXTERNAL_PORT}-:${TELNET_INTERNAL_PORT},hostfwd=tcp:127.0.0.1:${SSH_EXTERNAL_PORT}-:${SSH_INTERNAL_PORT} )
>  fi
>  
> -BASE_CMDLINE="console=ttyS0,115200 loglevel=5 systemd.log_level=warning systemd.show_status=auto"
> +BASE_CMDLINE="console=ttyS0,115200 loglevel=5 systemd.show_status=auto"
>  
>  if [ -d "${PTXDIST_PLATFORMDIR}/root/.virtfs_metadata" ]; then
>  	security_model="mapped-file"
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



  reply	other threads:[~2023-08-14 15:39 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-23 12:47 [DistroKit] [PATCH 00/14] v7a: add redundant update support via RAUC Roland Hieber
2023-06-23 12:47 ` [DistroKit] [PATCH 01/14] platforms: revert to default systemd loglevel Roland Hieber
2023-08-14 15:39   ` Robert Schwebel [this message]
2023-06-23 12:47 ` [DistroKit] [PATCH 02/14] ptxconfig: enable more tools for debugging Roland Hieber
2023-08-14 16:03   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 03/14] rauc-udev: add a compatibility layer for mapping partitions Roland Hieber
2023-08-14 16:36   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 04/14] v7a: barebox: include generic bootstate node in device tree Roland Hieber
2023-08-14 16:36   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 05/14] v7a: add RAUC support for qemu-vexpress Roland Hieber
2023-08-14 16:36   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 06/14] v7a: add RAUC support for beaglebone black Roland Hieber
2023-08-14 16:36   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 07/14] v7a: add RAUC support for rpi3 Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 08/14] v7a: add RAUC support for riotboard Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 09/14] v7a: kernel: enable features necessary for RAUC Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-08-15  8:47     ` Robert Schwebel
2023-08-25 11:06       ` Roland Hieber
2023-06-23 12:47 ` [DistroKit] [PATCH 10/14] rauc: add initial support Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 11/14] v7a: enable RAUC bundle creation Roland Hieber
2023-08-14 16:37   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 12/14] image-rauc: fork config from PTXdist 2023.04.0 Roland Hieber
2023-08-14 16:38   ` Robert Schwebel
2023-06-23 12:47 ` [DistroKit] [PATCH 13/14] image-rauc: use ext4 rootfs instead of tar.gz Roland Hieber
2023-08-14 16:38   ` Robert Schwebel
2023-08-15  8:14     ` Robert Schwebel
2023-08-15  8:18       ` Robert Schwebel
2023-08-25 11:04         ` Roland Hieber
2023-06-23 12:47 ` [DistroKit] [PATCH 14/14] v7a: run: start with barebox by default Roland Hieber
2023-08-14 16:38   ` Robert Schwebel
2023-06-23 12:49 ` [DistroKit] [PATCH v4 00/14] v7a: add redundant update support via RAUC Roland Hieber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZNpKt24rCcnXrZhS@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=rhi@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox