FOS: network-failure debug output + drop unused NBD driver#112
Open
mastacontrola wants to merge 2 commits into
Open
FOS: network-failure debug output + drop unused NBD driver#112mastacontrola wants to merge 2 commits into
mastacontrola wants to merge 2 commits into
Conversation
The NBD (network block device) kernel driver has been enabled since the early days but nothing uses it: the rootfs builds no nbd-client/nbd-server and no FOS script references /dev/nbd. Disable CONFIG_BLK_DEV_NBD on all three architectures. Fixes #71 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
When S40network exhausts every interface without reaching the FOG server, print the kernel version, init version, lspci -nn network devices (the [vendor:device] IDs identify which driver is missing) and lshw network output (covers USB NICs and unclaimed hardware). Also show the kernel version in the boot banner. This makes "missing NIC driver" reports self-diagnosing instead of requiring a debug-mode round trip with the reporter. Fixes #42, supersedes #77 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small cleanups:
Network-failure debug output (fixes #42, supersedes #77)
When
S40networkruns out of interfaces without reaching the FOG server, it now prints:lspci -nnnetwork devices — the[vendor:device]IDs are exactly what we need to identify a missing driverlshw -c network -businfo— also catches USB NICs and unclaimed hardwareThe boot banner now shows the kernel version as well. This makes "no NIC driver" reports like #110 self-diagnosing instead of needing a debug-mode round trip with the reporter. Credit to @rluzuriaga for the original idea in #77 — that PR predates the recent funcs.sh refactoring, so this re-implements it on current master.
Sample output on failure:
Both
lspci(pciutils) andlshware already built into the rootfs on all three arches.Remove NBD from the kernel configs (fixes #71)
CONFIG_BLK_DEV_NBD=yhas been set since the early days but nothing uses it — the rootfs builds no nbd userspace tools and no FOS script references it. Disabled on x64/arm64/x86 as discussed in #71.Verified:
bash -non both scripts, the debug block exercised live, andtests/golden/run.sh checkpasses byte-identical.🤖 Generated with Claude Code