Skip to content

Problem reports

Written 2026-10-17, when the plugin gained a problem reporter, and the day the XGS 3300 restarted twice with nothing in its logs to say why.

An appliance in somebody else's rack fails where nobody from the project can see it. The problem reporter writes down what went wrong, takes out of it everything that identifies the machine or its networks, and files it as a GitHub issue in the repository of the part it belongs to, so that it can be fixed. It works like OPNsense's own crash reporter (System: Firmware: Reporter), and beside it: that one sends OPNsense's crashes to OPNsense, this one sends the coprocessor's and the appliance plugins' problems to this project.

the page XGS: Problem Reports (/ui/xgs/reports)
the script src/opnsense/scripts/xgs/reporter.py
when it looks at boot (rc.syshook.d/start/65-xgs-report) and every five minutes (xgs_cron())
where it keeps its queue /var/db/os-xgs-npu/reports
where reports go the project's relay, https://reports.npuforge.org/v1/report (relay/README.md)
the tests tools/test-reporter.py, node relay/test.mjs - both run by the checks

The owner decides

Since 2026-10-23 nothing leaves an appliance unless its owner chooses - asked for on the OPNsense forum, and promised there for this release. Three modes, chosen on the page:

  • Automatic, the default Automatic: each report is sent as it is found - a new problem at once, the same problem again at most once a day.
  • Manual, the default since 2026-10-23: each report waits in the list until its Send is pressed. A waiting report is a notice in OPNsense's status, in the header.
  • Off: nothing is looked at and nothing is sent.

Automatic is the default by the project's decision, and it is never left for somebody to discover: until the owner has applied a choice on the page or closed it, a banner on every page of the GUI a notice in OPNsense's status, in the header, says that reports are sent and where to change it. XGS: Overview asks once, with the model's tested status beside the question - a model the project has never run is seen only through its reports: Send reports and count this appliance turns reports to automatic and the count on, Keep everything here leaves both as they are, and the page is where to choose each on its own. Until it is answered there, on this page or by closing it, a notice in OPNsense's status, in the header, says what is and is not sent and where to change it. The notice opens the page, and its X closes it for good; a banner could do neither (2026-10-19).

The question on XGS: Overview, on the second XGS 3300 as a new install shows it: problem reports waiting for their Send, the appliance not counted, the model's tested status, "Help it get better", and the two answers

Tried there on 2026-10-23: Keep everything here left reports manual and the count off and recorded the answer; Send reports and count this appliance, asked again, saved automatic and the count on through the page's own API, the contact address untouched.

An appliance updated from an earlier release is turned the same way (the settings model's migration 1.2.0): automatic becomes manual, the count is turned off, off stays off, and the question is asked again - its saved "automatic" was the old default far more often than an answer, and the saved settings cannot tell the two apart. View on any report shows exactly what is sent, and Report a problem writes one by hand, which goes the same way. A report written by hand is its own issue, whatever its title: the same title and text sent again from the same appliance is counted on the first, and nothing else is merged into it (#975 - until then two with one title were one).

Nobody needs a GitHub account. The relay files the issue as the project's GitHub App; an optional contact address goes to the relay with the report and is kept beside the issue's number, never written into the issue.

What is looked at

Only the parts that are installed, each one's reports going to its own repository:

part its programs in the logs its paths
os-xgs-npu octep, octep-follow, octep-stop, npuep, npuctl, xgs-assign, xgs-switch, and the kernel lines of octep*, npuep*, oxp*, npup*, mvmgmt* OPNsense/XGS, scripts/xgs, scripts/octep, scripts/npuctl
os-fanctl fanctl OPNsense/FanCtl, scripts/fanctl
os-frontpanel frontpanel, LCDd OPNsense/FrontPanel, scripts/frontpanel
os-linkhealth linkhealth OPNsense/LinkHealth, scripts/linkhealth
os-netreport netreport OPNsense/NetReport, scripts/netreport
os-watchdog os-watchdog OPNsense/Watchdog, scripts/watchdog
os-kernelfollow kernelfollow OPNsense/KernelFollow, scripts/kernelfollow
os-blocklists blocklists OPNsense/BlockLists, scripts/blocklists
os-portguard portguard OPNsense/PortGuard, scripts/portguard
os-fallbackcrypto fallbackcrypto OPNsense/FallbackCrypto, scripts/fallbackcrypto
os-trafficpriority none of its own: its rules hook logs as opnsense, OPNsense's own name, so its lines are not taken by program OPNsense/TrafficPriority, scripts/trafficpriority, plugins.inc.d/trafficpriority.inc
os-appcontrol appcontrol; not ndpiReader, of OPNsense's package ndpi, which its classifier runs over each window's capture and reads what it prints, nor suricata, OPNsense's own, which carries its Rules tab's rules among every other OPNsense/AppControl, scripts/appcontrol, plugins.inc.d/appcontrol.inc
os-useridentity useridentity; its firewall hook logs as opnsense, OPNsense's own name, so those lines are not taken by program OPNsense/UserIdentity, scripts/useridentity, plugins.inc.d/useridentity.inc
os-quota quota; its block rules hook logs as opnsense, OPNsense's own name, so those lines are not taken by program OPNsense/Quota, scripts/quota, plugins.inc.d/quota.inc
os-modsecurity none of its own: Apache's httpd, which it runs, writes its errors and ModSecurity's audit log to files of its own, not to the system log OPNsense/ModSecurity, scripts/modsecurity, plugins.inc.d/modsecurity.inc
os-configaudit cfgcheck; syslog-ng files config and audit by name in logs of their own OPNsense/ConfigAudit, scripts/configaudit
os-whoisonline whoisonline OPNsense/WhoIsOnline, scripts/whoisonline
os-filetypes filetypes; not suricata, OPNsense's own, which carries its rules among every other OPNsense/FileTypes, scripts/filetypes
os-hotspotpolicy hotspotpolicy, its scripts and its rules hook alike OPNsense/HotspotPolicy, scripts/hotspotpolicy, plugins.inc.d/hotspotpolicy.inc
os-pimd pimd, of OPNsense's package pimd, which it runs; its rules hook logs as opnsense, OPNsense's own name, so those lines are not taken by program OPNsense/Pimd, scripts/pimd, plugins.inc.d/pimd.inc
os-sflow sflow, its agent OPNsense/Sflow, scripts/sflow, plugins.inc.d/sflow.inc
os-clientless clientless, its bridge; not audit, OPNsense's own audit log's name, which its sign-ins are logged under OPNsense/Clientless, scripts/clientless, plugins.inc.d/clientless.inc
os-openwisp os-openwisp OPNsense/OpenWISP, scripts/openwisp
kind found in is a problem when
logged error the system log, /var/log/xgs, configd's log a line of severity error or worse from one of the parts' programs, or a configd action of one of them that failed; lines one program logs within three seconds of each other are one report, its first line the title and every line its evidence - since 2026-10-19, when the kernel follower's four-line account of one failed build became four issues (#509)
driver the same logs, kernel lines a line of one of the coprocessor's devices that says something failed, timed out, was refused or did not complete - device_printf carries no severity, so the words are what there is. Not a port whose link went down: "Port7 lost its link: N connection(s) leaving by it taken back to the host" is the driver doing what it is for when a cable is pulled or the other end restarts (since 2026-11-18, #1196; before, the word "lost" filed it). And since then octep's "link down: the far side stopped answering after N connection(s) ..." is one: the coprocessor did not answer while its connections were taken back
page error PHP's error log an error in one of the parts' pages or scripts
driver missing board.sh, sysctl; for the evidence the kernel's lines, /boot/modules, kldstat and /var/db/os-xgs-npu/install-build.log the board has a coprocessor and no driver is attached ten minutes after boot. Since 2026-10-21 the report also says whether the module is installed, which kernel it was built for and whether it is loaded, and carries the last twelve lines of the installer's build of it - the kernel's lines alone said nothing on an XGS 126 whose module was never built, and why was in the build log (#625, #657)
driver not ready dev.octep.0.ready attached, and the handshake not done ten minutes after boot
fast path stopped dev.octep.0.heartbeat.*, dev.npuep.0.heartbeat.*; for the evidence this boot's heartbeat: lines of the kernel the coprocessor's fast path went 30 seconds without answering its heartbeat at least once since boot - whether or not it answers again (the heartbeat). When XGS: Settings says to restart the appliance for it, the report is collected before the restart, so it goes with the evidence of the boot it happened in
front port receiving nothing ifconfig, netstat -i -b -n, and the driver's receive counters at every look: on the ARMADA family dev.npuep.0.giu.rx_port.* per front port and giu.rx_untagged, rx_dropped, rx_nobuf; on the OCTEON TX, which counts no frame by front port, dev.octep.0.dp.rx_done, dp.rx_untagged, dp.rx_untagged_other. Kept in ports.json of the queue's folder for the last hour of the boot, its first look, and the first and last look of the boot before - each port's link, whether it has an address (not the address), its counters - whether or not anything is reported a front port silent from the boot on, the shape of #1238 and #676: it has counted nothing in since the boot's first look (made within fifteen minutes of the boot), for ten minutes with its link and an address of its own while it sent, and it did receive in the boot before. A port that received this boot and then went quiet (a pfsync link, a LAN where only the router advertisements go out) is not reported, nor one that received nothing in the boot before either. Once a boot, until the port counts a frame in, with its counters at each look, the driver's and the boot before's: on the ARMADA family they tell whether its frames reached the host; on the OCTEON TX the report says they cannot
module and kernel /boot/modules/*.ko.kernel, kern.version the driver module was built for another kernel than the running one: the kernel follower did not rebuild it
update /var/db/os-xgs-npu/update/apply.json an update from XGS: Updates failed
fan incident /var/db/fanctl/incident.json fan control recorded an incident
kernel panic /var/crash/info.N, textdump.tar.N a crash dump was saved; the panic string, the backtrace and the end of the message buffer from the message buffer the trap - its fault address, instruction pointer and process - with the ten lines the kernel logged before it go into the report, up to 60 lines (2026-10-25: #755 carried only the backtrace's end twice over, and could not say what faulted). Two crashes are the same problem when the panic and the first frames after the debugger's, the panic's, the trap's and the lock code's are the same - the first three frames, which are the same for every page fault and filed two different crashes as one issue (#467, corrected 2026-10-18). info.last, savecore's link to the newest dump, is not a dump of its own. Nothing in /var/crash is removed: it is OPNsense's crash reporter's
restart without shutdown at boot the boot before this one ended without an orderly shutdown, and since 2026-11-06 each boot since the last look that went before it, and a shutdown that began in order and ended in a kernel panic - see below
untested model board.sh (its "rnd"), scripts/xgs/portcheck.py a model this project has not been run on: once a boot, ten minutes in, its driver's port table held against what its coprocessor reports. One that disagrees or cannot be read is sent as any problem; one that agrees confirms the model's table, and since 2026-11-07 is sent once from an appliance and per table: again only when what agrees is not what the last agreement sent from that appliance confirmed - another table after an update, or the agent's front tags beyond it (OCTEON TX) - never for the same table again, whatever was found between. The appliance is told by its own name, not by its disk, so a disk copied into another unit says it there too; and what marks it as sent is kept only once the report is in the queue. Until then it went from every boot, and two owners' XGS 126s had #812 noted seventeen times and reopened, all "they agree". On a model whose front ports are all behind the switch - the XGS 87, 107 and 116 and their w models - the coprocessor's agent has only its link to the switch to list, and the check none of the coprocessor's own ports to compare: since 2026-11-25 that answer is said once from an appliance in the same way, under a signature of its own, saying the coprocessor answered and that ports behind the switch are not compared; the relay takes it as it takes an agreement, noted once for each appliance and never reopening its issue, and the site's model page shows it as an answer. Until then it was filed as "unread", under the signature of a coprocessor that did not answer, from every boot of an XGS 107 and an XGS 107w (#880, #1177). One that did not answer is still sent as any problem

The logs are read from where the last look stopped; the first look after installing reads none of what was there before.

A restart without a shutdown

rc.reboot, rc.halt and rc.shutdown all run rc.syshook stop, and stop/90-xgs-report writes the time down there, and the boot it ends (below, A reboot in order whatever the clock did). At boot, a boot before this one that left no such line, and no shutdown record in the login accounting (reboot(8) at a shell bypasses the hook but not that), did not shut down. The report says what is known about why:

  • a crash dump written in the boot that ended - its own time, savecore's Dumptime in info.N, between that boot's start and this one's since 2026-11-25 told first by when savecore saved it, and only then by its own time, savecore's Dumptime in info.N, between that boot's start and this one's: no report of the restart at all, the dump's own report is its record, with the panic and its backtrace; a panic in the shutdown too. rc's savecore runs before the reporter's look and takes the dump off the device, so until 2026-11-18 (#1197) the check below found none and every such panic was reported twice, the restart's report saying "No crash dump was written" beside the dump's saying one was saved. A dump of a boot further back, saved by this one, does not stand for this restart, nor one whose time cannot be read. OPNsense's /etc/rc runs savecore before the early hooks, so each boot that got as far as early/05-xgs-report has taken what was on the dump device off it, and a dump saved at this boot was written in the boot that ended. The look at each boot keeps the dumps saved by then and whether savecore -C still found one on the device (boots.json): saved at this boot is a dump that look had not seen - or, with no such record or with a boot between that went before its look, one whose file is from this boot's start or after. Only where one may have been left on the device unsaved - that look found one there or kept no record, or a boot went between - does a dump's own time, from before the boot that ended began, make it a boot further back's. The dump's time is by the clock of the kernel that crashed, the boots' by their own: an XGS 126 whose clock moved by more than an hour within a boot had its panic of 2026-11-24 filed twice, as the dump's report and as a restart with "No crash dump was written" (#1217, #601). For the same reason the second way, the dump's own time, leaves out the dumps that look had seen: saved by then, they were written in a boot before the one that ended, and a clock that ran ahead would put one inside it and hide a restart that wrote no dump of its own;
  • a crash dump still on the dump device (savecore -C): the kernel panicked, and the dump is reported on its own once savecore has saved it;
  • no dump, and the message buffer kept the boot before with a panic in it (since 2026-10-26): the kernel panicked and restarted the machine itself, which the chipset records as a reboot - a report of its own, apart from the next case;
  • no dump, and the message buffer kept the boot before: a reset without a loss of power - a watchdog, a reset line or a button;
  • no dump, the message buffer cleared, and a dump device configured: memory was cleared - a loss of power or a reset by the hardware; a panic would have written a dump;

and the last twenty lines the system log had before the boot the last twenty lines the system log had before the boot from the kernel, the logger, devd, the address clients (dhclient, dhcp6c) and this plugin's own programs - other programs' lines carry the names an owner chose, a gateway's or a user's, and went into public issues with them (corrected 2026-11-06) - and, when the message buffer kept the boot before, what its kernel said last: the trap and panic lines if there are any, and its last ten.

Every boot since the last look, since 2026-11-06. The look at boot runs from a start hook, late in the boot, and until then it was the first thing to write a boot down: a boot that went before it - a panic in a driver's load, a hang a watchdog ended - was never one, the boot before it was judged instead and found to have shut down in order, and the crash went unreported. Now the early hook early/05-xgs-report writes each boot down as it begins, after OPNsense's 05-upgrade and before the coprocessor's reset and its driver's load, and the look takes the record away; one still there at the next look is a boot that never got that far, and is judged between its own start and the next boot's. The boot just before the look is reported as above. One before it, which ended before a boot that went early too, is reported with its last lines alone (unexpected reset unread): the message buffer, a dump and the chipset's record are of the later reset. At most the last twenty such boots are judged.

A shutdown that began in order is not one that ended in order, since 2026-11-06. The line stop/90-xgs-report writes, and reboot(8)'s record, are written as a shutdown begins: OPNsense's last hook, shutdown(8) and the kernel's own part - the disks' sync, every driver's shutdown method - come after both, and nothing of the system's own runs late enough to write a later line. A panic there is in the message buffer the restart kept, and is a report of its own: the appliance panicked while it shut down. Whether it panicked is read from the kernel's own records in that buffer (dmesg), since 0.1.0-alpha.15.1: dmesg -a holds what was written to the console and the syslog records too, and a program's own "panic: " line there was taken for the kernel's. The report's evidence still quotes dmesg -a, which says more of what led to it. A hang there that only the power ended leaves nothing a boot can read - the disks were synced with the line on them, and the buffer went with the memory - and still reads as an orderly shutdown. Both were found in a review of the code and are tested with stand-ins (tools/test-reporter.py, and the early hook in tools/test-hooks.py), not yet on an appliance.

A reboot in order whatever the clock did (#701). The line and the shutdown record are told from the boot's start by the clock, and a clock stepped back within the boot puts them before it: an XGS 126 started by a clock an hour ahead, the clock was put back, and its reboot was filed as a reset on 2026-11-14. Two things now say it without the clock. The look at each boot writes the boot's start, as it keeps it in boots.json, into the kernel's environment (xgs.report.boot), which every boot gets new from the loader and no step moves; stop/90-xgs-report writes it after the time, and a line that names a boot ended that boot and no other. Where the look did not run, or kenv refused the name, the line is the time alone and is told by the clock as before. And where the line does not settle it, the kernel's own sync of the disks ("Syncing disks", "All buffers synced") in the message buffer the restart kept, no panic there, and the chipset's record of a reboot (bit 19) without the reset pin or the watchdog after it (16, 25) say the kernel rebooted in order. That needs the buffer, which a restart does not always keep. On the second XGS 3300 on 2026-11-29 a boot started by a clock an hour ahead, was looked at, had the clock stepped back by ntpd, and was rebooted: no report, where the release's reporter, run on that boot's own records, filed unexpected reset warm bits 19; the buffer had kept the sync. The line that names its boot is tested with stand-ins (tools/test-reporter.py, the stop hook itself among them), and on the same appliance on 2026-11-30 the same way again, where it named the boot and nothing was filed. On the XGS 136 the same day an orderly reboot with the change in place filed nothing either (Tested, below).

What the host's chipset recorded goes in too, since 2026-10-18. The AMD FCH beside the host's processor keeps the cause of the last reset in FCH::PM::S5_RESET_STATUS - power-management register 0xC0, on family 17h and later - one bit each for the watchdog, a sync flood after an uncorrected error, a thermal trip, the reset pin, the power button, a software reset through port 0xCF9 and others. The start hook 06-xgs-reset-reason reads it early in every boot (scripts/xgs/reset_reason.py), logs it under xgs-reset-reason, keeps it in /var/db/os-xgs-npu/reset-reason.json and writes it back, which clears it for the next boot. Its named bits go into the report's fingerprint, so a watchdog reset and a sync flood are two problems, not one. The support bundle carries it as reset-reason.json. Which boot the record is of, the hook marks in the kernel's environment (xgs.reset_reason.read_at); the reporter and the Overview page's Last restart card take this boot's record by that mark, and only where there is none by its boot against kern.boottime within five seconds - which a clock step after start/65-xgs-report moved away from it, as ntpd's step back of an hour did on the second XGS 3300 on 2026-11-29, some three minutes after that hook.

Why it was needed: the XGS 3300 reset itself on 2026-10-17 under a minute after its last log line, with the watchdog armed at 128 s, no dump and no machine-check record, and nothing on the appliance could say what had reset it (#454). Read by hand the next day it held 0x00080800: bit 19, software wrote 0x6 to port 0xCF9 - an ordinary reboot had ended that way - and bit 11, which has no published meaning. Nothing of the reset before; several boots had passed. Written back, bit 19 cleared and bit 11 stayed: bit 11 is a state of this chipset, not a cause, and is left out of the fingerprint. On the XGS 136 it has not been read yet. Through the hook itself, at the boots after the update to v0.1.0-alpha.1.1 on 2026-10-18 (an ordinary reboot each), the first XGS 3300 and the XGS 136 both kept 0x00080800, and both had 0x00000800 left after clearing: the 136's host has the register, and bit 11 stays there too.

This is what was established by hand on 2026-10-17 on the XGS 3300, which restarted twice within ten minutes: no reboot was requested (the audit log has three that day, none then), there was no shutdown record, savecore -C /dev/ada0p3 found no dump on a configured dump device, and the message buffer held one boot. The machine lost power or was reset by its hardware; it did not panic.

What leaves the machine

The text View shows, and nothing else: built on the appliance, cleaned there, posted as it is.

Every report carries the appliance block: the model (smbios.system.*), the board's assembly number, vendor and family, the board revision on a line of its own (with SMBIOS's value beside it when the two disagree), the BIOS, the processor and memory, the host's network controllers and the coprocessor as PCI names them (device, ids, revision), the coprocessor's device and switch chip and the driver's description, the coprocessor's software - its vendor build and the build its fast path carries, as XGS: Overview last read them (since 2026-10-29; two appliances on one vendor version can run different fast paths), how the driver reads that software - the vendor version it takes it for, or none and what it then sends of the commands from 36 on, or that it has not placed its command numbering yet (since 2026-11-07: an owner's XGS 126 reported vendor build 20.0.0.222 on #812, a version the driver has no row for) - and a system copy built from another SDK than the U-Boot that boots it, when there is one, and since 2026-11-14 a U-Boot in its flash that is not from the running copy's SDK or not the one it last booted, and its memory's error counters (EDAC: corrected and uncorrected, or not read on a model that has none) - the expansion module in each bay with its revision and vendor, OPNsense's version, the kernel and its build, whether the driver module was built for that kernel, the installed commit of this plugin and of each appliance plugin, the plugin's files changed by hand since it was installed (by name, against the digests install.sh writes to share/os-xgs-npu/manifest.sha256) and, since 2026-12-02, the files in its folders, and the cron jobs, rc.syshook.d hooks and configd actions by its names, that the installer did not write (by name, twenty at most), and the uptime. The appliance itself is named by twelve hex digits of a hash of its board serial and UUID, which cannot be turned back into either.

The board's revision, its vendor and the management port's chip are there because they are what told two XGS 3300 apart when it mattered: the first is board revision 17 from vendor NEA with an I210 on its management port, the second revision 09 from LAA with an I211, and os-linkhealth, which knew the first by its revision, drew no faceplate for the second until it matched the model (smbios.system.version) as well. A report from a third board says at once which of these it shares. The vendor is the first three letters of the board's serial, or the coprocessor's own record of it; the rest of the serial is never read into a report.

Taken out of every report before it is even stored: IPv4 and IPv6 addresses (loopback, unspecified and link-local ones say nothing about anybody and stay loopback, unspecified and link-local ones stay, except an IPv6 link-local address made from a MAC address: it names the hardware as the MAC does, and goes as <ipv6 link-local> - corrected 2026-10-27, #844), MAC addresses, e-mail addresses, the SMBIOS serials and UUID, the coprocessor's serials, the host name and the domain, key blocks, key fingerprints, and any long run of hex digits. An address that ends a sentence, or follows a word and a colon, went out whole until 2026-11-06 - none of the reports published before was found with one - and a serial the kernel or a tool prints as "Serial Number" (a disk's) goes since the same day. The vendor's coprocessor build in the appliance table stays, though it reads as an address. Since 2026-12-02 the relay takes the IPv4, IPv6, MAC and e-mail addresses out once more before it files a report (relay/README.md): each appliance runs the cleaner of its own release, and one that kept an IPv6 address the sentence's colon followed put an owner's address in an issue's title (#1246).

At most five new reports and twenty repeats a day leave one appliance, and the relay holds each appliance to twenty and itself to five hundred; the owner's own Send is never refused. A report the relay refuses outright - a part it does not file for - spends nothing and is not sent again by itself: it stays on the page with the relay's reason, for the owner's Send. A condition that holds - the fast path stopped, the driver missing or not ready, the module for another kernel, a fan incident - is one occurrence until it clears or changes, not one at every look, and a dismissal holds as long as it does.

For a test

One line in /usr/local/etc/os-xgs-npu/report-relay sends the reports to another relay, https:// only. reporter.py collect, list, show <id>, send <id> and system work at a shell as on the page.

Tested

On 2026-10-17, on the XGS 3300:

  • reporter.py run from /tmp against the day's whole logs, sending nothing (XGS_REPORT_NO_SEND), with the boot before the last one given as the one to judge: it found the 08:52 restart as a restart without a shutdown, "lost power or was reset by its hardware", the appliance block complete (model, board AMDA0202-0004 rev 09, CN8365 and 88E6193X, bay A: AMDA0207-0001 rev 02, the module built for the running kernel, every plugin's commit) and every address and key fingerprint taken out. It also took octep's "NPU not ready yet", which it prints while it waits at every boot, for a failure - twelve times in eight days of logs - so "not ready" is no longer one of the words; after that, the day's logs gave nothing.
  • Installed by hand (the reporter's files only; the driver module untouched): the banner on every page, the page and its menu entry, the form saving the reporting section into config.xml, Apply taking the banner away, a report written by hand, its View with the address in it replaced, its Send failing plainly ("the relay could not be reached") while the relay does not exist yet, its Dismiss, the cron entry in the crontab, and configctl xgs report collect.

Not yet: the relay itself (it waits for the GitHub App and the Worker, relay/README.md), a boot with the start and stop hooks, and the ARMADA family. All three since: the relay files the reports as issues of this repository (relay/README.md); boots with the hooks in place, again and again - the restart of 2026-10-29 by the XGS 3300's reset button reported as unexpected two minutes into the boot after (#701); and the ARMADA family - owners' XGS 126 (#625, #657, #812) and an XGS 107w (#880).

A reboot in order whatever the clock did (#701), on the second XGS 3300 and, on 2026-11-30, on the XGS 136, both with OPNsense 26.7.9_1, installed over 0.2.0-alpha.1.3 with install/install.sh from the change's own tree. The reporting mode was manual throughout, so nothing could be sent; the 3300's queue held 17 reports before and after.

  • 2026-11-29 (UTC), the rule of the kernel's sync alone: the clock was set 3600 s ahead and the appliance restarted, so the next boot started an hour ahead and the look at boot kept that start. ntpd stepped the clock back by itself some 3.5 minutes after the look, and six minutes into the boot it was rebooted with shutdown -r now. The boot after it filed nothing; the chipset's record was 0x00080800 (bits 11 and 19) and the message buffer had kept the boot's "Syncing disks ... done" and "All buffers synced". The release's reporter, run on that boot's own records in a scratch state directory, filed unexpected reset warm bits 19 - #701's false report - and this one nothing. The same run showed the reset record lost to the step: reset_reason.py show kept the start from before it, which is why the readers now take it by its kernel-environment mark.
  • 2026-11-30 (UTC), the whole change: the install changed exactly four of the 197 installed files (reporter.py, status.py, reset_reason.py, stop/90-xgs-report). Again a boot an hour ahead: xgs.report.boot held the start kept in boots.json, before ntpd's step (some 3.3 minutes after the look) and after it. After the step the Overview's Last restart card's data (status.py) and the reporter both still found the reset record (bits 11 and 19), where the release's copies, run beside them, found none. A copy of stop/90-xgs-report writing into a scratch directory wrote the time and the boot it ended - by its time alone 3216 s before that boot's start. The orderly reboot that followed filed nothing. Replayed on that boot's records in a scratch state directory: the line that names the boot, with the message buffer taken as cleared, gave no report; the time alone with the buffer cleared gave one (unexpected reset cold bits 19); the time alone with the real buffer gave none; the release's reporter gave unexpected reset warm bits 19. Afterwards the release was put back with its own installer and scripts/npuctl/verify.sh gave 10 passed, 0 failed, 1 worth a look.
  • 2026-11-30 (UTC), the whole change on the XGS 136 (the ARMADA family, vendor version 21 on the coprocessor), with the clock left alone. The install took 25 s; the driver module was rebuilt to the same bytes and not reloaded. One orderly reboot (sync, then shutdown -r now): the appliance answered again 124 s after the command. No panic, fatal trap or watchdog in the message buffer and no new dump; the buffer had kept the boot before's "Syncing disks ... done" and "All buffers synced". The boot after it filed nothing: the queue, 21 reports, was byte for byte as before. xgs.report.boot held the last_boot kept in boots.json. The chipset's record was 0x00080800 (bits 11 and 19, a reboot), the same as at the boot before, and the Overview's Last restart card's data (status.py) gave it for the new boot, with xgs.reset_reason.read_at equal to the record's own read time. Afterwards the release was put back with its own installer (its 165 files as before) and scripts/npuctl/verify.sh gave 15 passed, 0 failed, 1 worth a look.
  • With stand-ins on a PC: tools/test-reporter.py 98 tests, tools/test-reset-reason.py 5.

Not tried on an appliance: the real stop hook's own line was not read at any of these boots, since the look at boot takes it a few seconds before a login can (shown instead by the copy above and by the outcome). A reset by the reset pin or by the watchdog after an orderly sync (bits 16 and 25) needs a power pull or the power button at the appliance, and is covered by the stand-ins only. On the XGS 136 the boot before the reboot had run the release's look, so its stop hook wrote the time alone: a line that names its boot was not ended by a reboot there, and that reboot did not have the clock stepped back.

Counting the appliance

The same page has one more setting, Count this appliance, on unless it is turned off off unless the owner turns it on, here or with XGS: Overview's question (since 2026-10-23). On, once a day (cron.d/xgs-count, at a random minute of the hour) scripts/xgs/count.py sends - and since 2026-10-20 once at the end of every install or update, so a new appliance is counted the same hour - scripts/xgs/count.py sends npuforge.org three things, which is how the site's home page knows how many appliances run the project:

  • a random identifier the appliance made for itself the first time - 32 hexadecimal digits in /var/db/os-xgs-npu/appliance-id, nothing read from the hardware;
  • its model, as SMBIOS names it (xgs3300r1, xgs136r1);
  • the release installed, or its commit when it is not a release.

count.py --show prints exactly what would be sent, and sends nothing. The site counts each identifier once, keeps no address, and forgets one not heard from for a year; its privacy page says the rest.

The support bundle

Since 2026-10-17 the Problem Reports page has Download a support bundle: one .tar.gz with what somebody helping with the appliance needs, made on the spot by scripts/xgs/bundle.py and handed straight to the browser - kept nowhere on the appliance and sent nowhere.

file what it holds
versions.txt OPNsense's version, the kernel, the plugin's installed record
system.json the same machine description every report carries (names and versions, no serials)
status.json, ports.json, transceivers.json, ipsec.json, updates.json, reports.json what the coprocessor's pages read, as they read it
README.txt when the bundle was made, and what the cleaner replaced
coprocessor.json the coprocessor as XGS: Overview last read it: its software, its boot firmware and when that was built, its chips and its flash - since 2026-10-27
coprocessor-health.json, coprocessor-ecc-alert.json the coprocessor's own Linux as the Overview last read it - its uptime, its load, its memory and its memory's error counters - and the last memory alert, or that none is recorded - since 2026-11-15
reset-reason.json what the host's chipset recorded of the last reset (above) - since 2026-10-18
feeder.json the feeder watcher's record: the coprocessor's uptime and its feeder's state as last asked, and each correction made - since 2026-10-28
watchdog.txt, kldstat.txt the hardware watchdog, the loaded modules
sysctl-driver.txt the running family's driver: its sysctl tree (dev.npuep or dev.octep), and its loader tunables (hw.npuep.* or hw.octep.*) as kenv has them - they are read at the driver's load and are no sysctl; until 2026-11-22 this asked sysctl for them and for the other family's tree, and had none of them
dmesg.txt, ifconfig.txt, log-plugin-lines.txt the boot messages, the interfaces, and the plugins' own lines from the system log
early-boot.txt what the early boot hooks decided this boot - 06-npuctl, 07-npuep, 08-octep, 30-xgs-assign, 31-xgs-mgmt-link - as they said it on the console, read from dmesg -a, with the last lines of /var/log/octep-bringup.log and /var/log/xgs-assign.log: they run before syslog-ng, so the system log has none of it - since 2026-11-21 (#1045)
subnets.json interfaces sharing a subnet: which one holds each shared subnet's route and which answers nothing from it (subnets-check-2026-10-31) - since 2026-10-31
netstat-interfaces.txt, switch-jumbo.txt each interface's packets, bytes, errors and drops both ways, and what the switch's frame limit was set to at this boot - since 2026-10-24
coprocessor-console.txt the last 256 KB of what the coprocessor printed on its console, kept by its logger (console-logger-2026-10-25) - since 2026-10-25
coprocessor-log.txt the last 256 KB of the coprocessor's own log as it reaches this host over the management link, today's file and the day before's - since 2026-10-28
sensors.txt on the XGS 3300, its sensor bank as xgs3300-sensors decodes it: the temperatures, the fans, the power supplies and the reset flags - since 2026-10-27

Every file goes through the same cleaner as a report before it is written: addresses, MACs, serial numbers, the host and domain names, e-mail addresses, keys and fingerprints are replaced. The modules' own serial numbers are taken out of transceivers.json first, because they look like nothing the cleaner knows. Nothing is read from /conf but the two names the cleaner removes.

Made on the XGS 3300 on 2026-10-17: 14 files, 45 KB; searched afterwards for the lab's addresses, any MAC address and the modules' serial numbers - none found.

Discussion

The discussion of this page is held in the project's GitHub Discussions. Showing it here loads giscus from giscus.app and GitHub, and writing in it needs a GitHub account - what that means.