Systemd: trace_printk() being used. Allocating extra memory

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.0.1.48
HARDWARE (XA2, X10, X10 II, …): X10 Dual-Sim
UI LANGUAGE: en
REGRESSION: (compared to previous public release: Yes, No, ?): ?

DESCRIPTION:

systemd warns about kernel being a debug build

PRECONDITIONS:

none

STEPS TO REPRODUCE:

  1. boot freshly
  2. as privileged user issue journalctl -a
  3. observe top lines

EXPECTED RESULT:

Production build of kernel

ACTUAL RESULT:

-- Logs begin at Thu 2021-09-23 11:04:11 CEST, end at Thu 2021-09-23 11:09:33 CEST. --
Sep 23 11:04:11 PGXperia10 kernel: Did not receive the expected number of bytes from PRNG: 0
Sep 23 11:04:11 PGXperia10 kernel:
Sep 23 11:04:11 PGXperia10 kernel: **********************************************************
Sep 23 11:04:11 PGXperia10 kernel: **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
Sep 23 11:04:11 PGXperia10 kernel: **                                                      **
Sep 23 11:04:11 PGXperia10 kernel: ** trace_printk() being used. Allocating extra memory.  **
Sep 23 11:04:11 PGXperia10 kernel: **                                                      **
Sep 23 11:04:11 PGXperia10 kernel: ** This means that this is a DEBUG kernel and it is     **
Sep 23 11:04:11 PGXperia10 kernel: ** unsafe for production use.                           **
Sep 23 11:04:11 PGXperia10 kernel: **                                                      **
Sep 23 11:04:11 PGXperia10 kernel: ** If you see this message and you are not debugging    **
Sep 23 11:04:11 PGXperia10 kernel: ** the kernel, report this immediately to your vendor!  **
Sep 23 11:04:11 PGXperia10 kernel: **                                                      **
Sep 23 11:04:11 PGXperia10 kernel: **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
Sep 23 11:04:11 PGXperia10 kernel: **********************************************************

ADDITIONAL INFORMATION:

I do not care personally, but systemd wants me to notify Jolla. Notified thusly.

2 Likes

Added to internal bugzilla