Jump to content

Kernel debug active in production


ekx

Recommended Posts

I get this error on https://fi.mirror.armbian.de/dl/orangepi5-plus/archive/Armbian_24.5.3_Orangepi5-plus_bookworm_vendor_6.1.43_minimal.img.xz

 

Jul 14 18:03:22 ek-arm kernel: **********************************************************
Jul 14 18:03:22 ek-arm kernel: **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
Jul 14 18:03:22 ek-arm kernel: **                                                      **
Jul 14 18:03:22 ek-arm kernel: ** trace_printk() being used. Allocating extra memory.  **
Jul 14 18:03:22 ek-arm kernel: **                                                      **
Jul 14 18:03:22 ek-arm kernel: ** This means that this is a DEBUG kernel and it is     **
Jul 14 18:03:22 ek-arm kernel: ** unsafe for production use.                           **
Jul 14 18:03:22 ek-arm kernel: **                                                      **
Jul 14 18:03:22 ek-arm kernel: ** If you see this message and you are not debugging    **
Jul 14 18:03:22 ek-arm kernel: ** the kernel, report this immediately to your vendor!  **
Jul 14 18:03:22 ek-arm kernel: **                                                      **
Jul 14 18:03:22 ek-arm kernel: **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
Jul 14 18:03:22 ek-arm kernel: **********************************************************

 

It is in the boot log. According to the message there is a problem to solve here.

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Same thing with 24.5.5, I found the Kernel hacking section to have this:

 

#
# Kernel hacking
#

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_PRINTK_TIME_FROM_ARM_ARCH_TIMER=y
# CONFIG_PRINTK_CALLER is not set
# CONFIG_STACKTRACE_BUILD_ID is not set
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_CONSOLE_LOGLEVEL_QUIET=4
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
# CONFIG_BOOT_PRINTK_DELAY is not set
CONFIG_DYNAMIC_DEBUG=y
CONFIG_DYNAMIC_DEBUG_CORE=y
CONFIG_SYMBOLIC_ERRNAME=y
CONFIG_DEBUG_BUGVERBOSE=y
# end of printk and dmesg options

CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_MISC=y

 

I think this is unintentional.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines