The single M0 kernel batch for the rebuild (rebuild M0, kernel lane), now with CONFIG_SUSPEND off.
cgroup v2 controllers (memcg, pids, cpu with CFS bandwidth), namespaces, PSI, /proc/config.gz
raw table and the CT target (flare-edge#537), the owner match, the cgroup match, CONNMARK
the nftables set (N-40) and the Buildroot nftables patch so socket cgroupv2 matches on a 32-bit kernel (flare-edge#591)
build/required-symbols.txt as the single source of record, read by build-kernel.sh; WARDEN_CONFIG_ONLY=1 for a seconds-long symbol gate
the clk_core_mcu_rtc keep-alive flag, in the patch and in the documented source
QEMU kernel-contract check at boot and a staged-script entry (warden.run)
new in this round: # CONFIG_SUSPEND is not set (Noah, 2026-10-09). PM_SLEEP, SUSPEND_FREEZER, FREEZER, FW_CACHE, HOTPLUG_CPU, KEXEC and CRASH_DUMP follow. The AIC8800 modules build and carry vermagic 6.18.46.
Checks run
tests/required-symbols/run-required-symbols-tests.sh: all pass, including the new no-suspend checks (proven red when the defconfig loses the explicit unset)
config-only expansion with the packaging toolchain: 49 required and 2 probe assertions verified
full SDK kernel build with WARDEN_MODULES_COLLECT="drivers/net/wireless/aic8800 drivers/net/usb": zImage 8,970,752 B (the previous batch kernel was 9,069,056 B), six modules with vermagic 6.18.46
Base: rebuild (equal to flare-edge-next at d22c900). The flare-edge pin bump follows in its own PR.
## What
The single M0 kernel batch for the rebuild (rebuild M0, kernel lane), now with CONFIG_SUSPEND off.
- cgroup v2 controllers (memcg, pids, cpu with CFS bandwidth), namespaces, PSI, `/proc/config.gz`
- raw table and the CT target (flare-edge#537), the owner match, the cgroup match, CONNMARK
- the nftables set (N-40) and the Buildroot `nftables` patch so `socket cgroupv2` matches on a 32-bit kernel (flare-edge#591)
- `build/required-symbols.txt` as the single source of record, read by `build-kernel.sh`; `WARDEN_CONFIG_ONLY=1` for a seconds-long symbol gate
- the `clk_core_mcu_rtc` keep-alive flag, in the patch and in the documented source
- QEMU kernel-contract check at boot and a staged-script entry (`warden.run`)
- new in this round: `# CONFIG_SUSPEND is not set` (Noah, 2026-10-09). PM_SLEEP, SUSPEND_FREEZER, FREEZER, FW_CACHE, HOTPLUG_CPU, KEXEC and CRASH_DUMP follow. The AIC8800 modules build and carry vermagic 6.18.46.
## Checks run
- `tests/required-symbols/run-required-symbols-tests.sh`: all pass, including the new no-suspend checks (proven red when the defconfig loses the explicit unset)
- config-only expansion with the packaging toolchain: 49 required and 2 probe assertions verified
- full SDK kernel build with `WARDEN_MODULES_COLLECT="drivers/net/wireless/aic8800 drivers/net/usb"`: zImage 8,970,752 B (the previous batch kernel was 9,069,056 B), six modules with vermagic 6.18.46
Base: `rebuild` (equal to `flare-edge-next` at d22c900). The flare-edge pin bump follows in its own PR.
Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
One kernel flash for everything later work needs (rebuild M0, d09 M0-2):
- warden_defconfig: cgroup v2 controllers (MEMCG, CGROUP_PIDS, CGROUP_SCHED,
FAIR_GROUP_SCHED, CFS_BANDWIDTH), the byte-metering match symbols
(XT_MATCH_CGROUP, XT_CONNMARK, XT_MARK, IP6_NF_MANGLE), IKCONFIG and
IKCONFIG_PROC, XT_MATCH_OWNER, the raw tables and the CT target (the
NOTRACK for flare-edge#537), NAMESPACES with its five sub-options
(USER_NS stays closed at boot by a sysctl), PSI, and the nftables set
(NF_TABLES, ip and ip6 families, NFT_CT, NFT_MASQ, NFT_NAT, NFT_LIMIT,
NFT_SOCKET, NFT_REJECT). TIME_NS and RT_GROUP_SCHED are explicitly unset.
HW_RANDOM_ROCKCHIP is built in as a probe for the hardware RNG.
- build/required-symbols.txt and probe-symbols.txt are the source of record;
build-kernel.sh asserts both against the final .config instead of a
hand-written list (olddefconfig drops an unknown or unsatisfied symbol
without a word).
- WARDEN_CONFIG_ONLY=1 stops after that assertion (a seconds-long CI gate) and,
like a full build, writes the final .config and its sha256 (CONFIG_OUT),
the digest firmware images record as KCONFIG_SHA256.
- clk_core_mcu_rtc gets CLK_IGNORE_UNUSED like clk_core_mcu, in the patch and in
the enablement source it documents, so 6.18 keeps the HPMCU mtime clock up.
- CI: a kernel-symbols job expands the real configuration and asserts the lists
on every push; offline tests prove the assertion fires for every failure shape.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
init verifies build/required-symbols.txt against the guest's /proc/config.gz,
the cgroup v2 controllers and PSI and prints markers; boot-smoke.sh fails when a
marker is missing. mkinitramfs.sh stages the list and merges EXTRA_DIR; run.sh
--append passes warden.run=<path>, which init runs before powering off (used by the
flare-edge M0 limit tests). README notes the symbol lists.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
nftables 1.1.0 builds the id of "socket cgroupv2 level N <path>" from st_ino, which
is the 64-bit kernfs id only on 64-bit kernels. On armv7 the id is
(generation << 32) | ino and st_ino carries the low half, so the rule loaded and
never matched: byte metering per service counted nothing (found by the M0 counting
test in QEMU on the 6.18.46 kernel). The patch takes the id from the directory's file
handle, in both the parse and the listing path.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
The panel is wall powered and never sleeps the SoC. SUSPEND defaults to y, so the
defconfig carries an explicit unset, and required-symbols.txt asserts SUSPEND and
PM_SLEEP unset against the final .config. Kconfig then drops PM_SLEEP, PM_SLEEP_SMP,
SUSPEND_FREEZER, FREEZER, PM_GENERIC_DOMAINS_SLEEP, FW_CACHE and VT_CONSOLE_SLEEP; as
PM_SLEEP_SMP was the only thing selecting HOTPLUG_CPU on this one-core SoC, HOTPLUG_CPU,
KEXEC and CRASH_DUMP go with it. PM, PM_CLK and runtime PM stay.
Regression test: tests/required-symbols asserts both lines, refuses a config that turns
either back on, and fails when the defconfig loses the explicit unset (proven red).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
shellcheck 0.9 in the qemu-tools CI job reports SC2013 for
`for w in $(cat /proc/cmdline)` and exits non-zero, which kept CI red on the M0 kernel
branch since the warden.run entry was added. Read /proc/cmdline into a variable and loop
over its words.
Regression test: tests/qemu-init/run-init-shellcheck-tests.sh (run by the qemu-tools job)
shellchecks the rootfs scripts and proves the old form red on a doctored copy.
Fixes#18.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
DRM_MSM_VALIDATE_XML depended on `$(PYTHON3) -c "import lxml"`, so the expanded .config gained a
line on hosts where python3 could import lxml and the whole-file digest differed (the flashed image
ec276f77 against e8e9ef1c from a config-only run on the same tree). Drop the unused Qualcomm symbol
with a one-block Kconfig patch; the digest is now ec276f77 everywhere and equals the flashed one.
Regression test: tests/required-symbols/run-config-determinism-tests.sh runs the config-only
expansion with a python3 whose import lxml works and one where it fails and requires the same
digest; it is proven red on a copy of the tree without the patch. The kernel-symbols CI job runs it.
Fixes#19.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
Probe V3 (d09 T14, AT-M0-33) on the bench panel with the batch kernel: /dev/hwrng from the
rockchip-rng driver, a 2.6 MB read in 2.4 s (1058 KiB/s) without blocking, and 1 FIPS 140-2 failure
in 1000 blocks (limit 3). CONFIG_HW_RANDOM and CONFIG_HW_RANDOM_ROCKCHIP move from probe-symbols.txt
to required-symbols.txt; the probe list is now empty, which build-kernel.sh accepts (it skips an
empty probe list; the required list may never be empty). The config does not change: the defconfig
already built both in, and the digest stays ec276f77.
Regression tests (run-required-symbols-tests.sh): both symbols asserted and built in, a config
without either is refused by name, the probe list may be empty.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk
noah
merged commit 5507842878 into rebuild2026-10-09 20:08:37 -06:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What
The single M0 kernel batch for the rebuild (rebuild M0, kernel lane), now with CONFIG_SUSPEND off.
/proc/config.gznftablespatch sosocket cgroupv2matches on a 32-bit kernel (flare-edge#591)build/required-symbols.txtas the single source of record, read bybuild-kernel.sh;WARDEN_CONFIG_ONLY=1for a seconds-long symbol gateclk_core_mcu_rtckeep-alive flag, in the patch and in the documented sourcewarden.run)# CONFIG_SUSPEND is not set(Noah, 2026-10-09). PM_SLEEP, SUSPEND_FREEZER, FREEZER, FW_CACHE, HOTPLUG_CPU, KEXEC and CRASH_DUMP follow. The AIC8800 modules build and carry vermagic 6.18.46.Checks run
tests/required-symbols/run-required-symbols-tests.sh: all pass, including the new no-suspend checks (proven red when the defconfig loses the explicit unset)WARDEN_MODULES_COLLECT="drivers/net/wireless/aic8800 drivers/net/usb": zImage 8,970,752 B (the previous batch kernel was 9,069,056 B), six modules with vermagic 6.18.46Base:
rebuild(equal toflare-edge-nextatd22c900). The flare-edge pin bump follows in its own PR.Generated with Claude Code
https://claude.ai/code/session_01Cxh2piVufTWbzKTmUafTkk