Page MenuHomeFreeBSD

Add SPLIT_KERNEL_DEBUG knob
ClosedPublic

Authored by emaste on Jun 8 2022, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 27 2024, 9:58 AM
Unknown Object (File)
Sep 24 2024, 5:16 PM
Unknown Object (File)
Sep 22 2024, 6:17 PM
Unknown Object (File)
Sep 22 2024, 2:44 AM
Unknown Object (File)
Sep 18 2024, 10:59 AM
Unknown Object (File)
Sep 17 2024, 5:06 PM
Unknown Object (File)
Sep 17 2024, 5:06 PM
Unknown Object (File)
Sep 17 2024, 5:03 PM
Subscribers

Details

Summary

PR: 264433

This may not be fully complete (I have not investigated the kernel itself, only modules) but am posting for review of the knob/concept.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste requested review of this revision.Jun 8 2022, 5:25 PM
emaste updated this revision to Diff 106769.
emaste created this revision.

Full diff not just src.conf.5

I have not investigated the kernel itself

kernel build never changed, so does not need to be touched here.

CC @bdrewery as he added the setting of MK_KERNEL_SYMBOLS=no in ports 5968fb2d2ff5e. If this D35437 change is going to go in we'll want to set MK_SPLIT_KERNEL_DEBUG=no also.

share/man/man5/src.conf.5
654–655 ↗(On Diff #106769)

This is due to conflicting FDT defaults and can be ignored
(this hunk will be manually reverted prior to pushing to main)

Rather, ports 064127e4d8e2e was the original introduction of the functionality.

Include WITHOUT_SPLIT_KERNEL_DEBUG description file in diff

I've applied the change to stable/13 manually fixing some rejection and tested it. Works like a charm, thank you. Please commit.

This revision is now accepted and ready to land.Jun 8 2022, 6:47 PM

To clarify: I ran make buildkernel && make installkernel having *no* MODULES_WITH_WORLD= in /etc/src.conf
and no DEBUG=

Works as expected matching 12.3 behaviour.

Thanks for synthesizing this into something simple Ed.

This revision was automatically updated to reflect the committed changes.