Page 1 of 1

When encountering this issue while compiling the kernel, should I choose 1, 2, or 3?

Posted: Thu Jul 20, 2023 9:39 am
by debianfan

* Restart config...
*
*
* Memory initialization
*
Initialize kernel stack variables at function entry
> 1. no automatic stack variable initialization (weakest) (INIT_STACK_NONE)
2. pattern-init everything (strongest) (INIT_STACK_ALL_PATTERN) (NEW)
3. zero-init everything (strongest and safest) (INIT_STACK_ALL_ZERO) (NEW)


Re: When encountering this issue while compiling the kernel, should you choose 1, 2, or 3?

Posted: Thu Jul 20, 2023 2:53 pm
by rockedge

It depends on what this kernel will be for. I would go with #3 and make a note that it was chosen so if the kernel fails that choice is in account when tracking down a reason.

Sometimes there can be a cascading effect when certain options are combined that could prevent the kernel from compiling. Though this is all part of the process of compiling a useful kernel.


Re: When encountering this issue while compiling the kernel, should you choose 1, 2, or 3?

Posted: Thu Jul 20, 2023 4:06 pm
by debianfan

I just want to know which compatibility is used by default.
I used to compile directly without popping up this prompt. But now it pops up and I want to know the difference between these three options. You must select a number to continue.
Thank you for your reply!


Re: When encountering this issue while compiling the kernel, should I choose 1, 2, or 3?

Posted: Sat Jul 22, 2023 10:26 am
by jamesbond

The default in previous kernels is (1).