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)
Mon, Apr 22, 7:26 AM
Unknown Object (File)
Mar 23 2024, 4:26 AM
Unknown Object (File)
Mar 16 2024, 5:41 PM
Unknown Object (File)
Mar 16 2024, 5:41 PM
Unknown Object (File)
Mar 16 2024, 5:41 PM
Unknown Object (File)
Mar 16 2024, 5:41 PM
Unknown Object (File)
Mar 16 2024, 5:41 PM
Unknown Object (File)
Mar 14 2024, 1:47 AM
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

Lint
Lint Skipped
Unit
Tests Skipped

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–656

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.