Document how to create a TrueNAS distribution with custom patched FreeBSD kernel

Description

Currently there is no real documentation on https://github.com/truenas/core-build on how to create a TrueNAS release with a patched FreeBSD kernel. This is typically required when testing a proposed upstream FreeBSD patch to see if there are any regressions, in this case see https://github.com/freebsd/freebsd-src/pull/523 and https://www.truenas.com/community/threads/idle-reboot-bug-aacraid0-command-0xfffffe00007bdfa0-timeout-after-3857-seconds-shutting-down-controller-done.86761/

If possible it would also be ideal to add this patched kernel as an additional boot entry when TrueNAS is being booted so that if there is an issue its easy to switch to the official kernel when doing a restart

Activity

Kris Moore 
July 18, 2024 at 5:57 PM

Thank you for submitting this feature request! To better accommodate and gauge community interest for future versions of TrueNAS we have moved the submission process to our TrueNAS Community Forums. If this feature is still important and relevant for consideration, please refer to the links below on how to submit it for community voting and TrueNAS roadmap review.

Feature Requests Forum:
https://forums.truenas.com/c/features/12

Feature Requests FAQ:
https://forums.truenas.com/t/about-the-feature-requests-category-readme-first/8802

Matthew de Detrich 
September 8, 2021 at 7:05 AM

Also additionally and if its possible,  document how to build a patched FreeBSD kernel on an already running TrueNAS system along with modifying/adding the new kernel as a boot entry.

This is more convenient for users since you don't need to reinstall the entire TrueNAS boot partition and restore a configuraiton.

Unresolved

Details

Priority

Assignee

Reporter

More fields

Katalon Platform

Created September 8, 2021 at 5:20 AM
Updated July 18, 2024 at 6:03 PM