diff --git a/docs/changelog.md b/docs/changelog.md index 9b9b210f..363b2b09 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -19,6 +19,31 @@ docstring gives: it is a record, not a claim about now. ## 2026-11-19 +- **The WAN's receive errors came back a third time, and the XB7's third + gigabit port cleared them.** `em0` counted no input errors for days, then + started at about 01:05 PST on 2026-11-18 with nobody at the rack, and + logged no link change. `WanReceiveErrors` fired at 01:06 PST and + `InternetDownloadSlow` at 02:04. Scheduled tests fell from about 940 + Mbit/s down to 2–40, with two outliers at 818 and 914, while upload held + at about 298. Pings to `1.1.1.1` and `8.8.8.8` from a Hicks desktop stayed + at about 11 ms with no loss, idle and under load, and WAN use was about + 5 Mbit/s. `dev.em.0.mac_stats` read 1,003,641 CRC and 1,346,161 length + errors with zero symbol and alignment errors, the 2026-11-07 shape. + `dev.em.0.eee_control` was already 1, so Energy-Efficient Ethernet is off + and was not the cause. + - **Fixed:** the factory cable moved from the XB7's second gigabit port to + its third at about 12:31 PST. The `ifInErrors` counter for `em0` held at + 2,009,194 over the three samples after it, through about 200 MB of test + download, and distant servers ran at 211 and 271 Mbit/s from the Hicks + desktop. That is minutes of evidence, not a day of it. + - **This corrects "The WAN's receive errors came back on the XB7's gigabit + port", filed under 2026-11-08,** which named the patch cable as the next + thing to replace if this recurred. The link is a factory cable, the same + one that ran clean on the second port from 2026-11-07 to 2026-11-18, and + each of three faults was cleared by a different XB7 port. The XB7 is the + suspect. `WanReceiveErrors`' description now sends you to another XB7 + port first. + - **`eden` reports its patch state again, and the lab's `PatchStateStopped` leaves it out while it is off.** Redeploying the lab after #1585 put the alert in pending for `eden`: it reported from 2026-11-08 until 23:04 UTC on diff --git a/docs/network.md b/docs/network.md index 597562df..b7a94f64 100644 --- a/docs/network.md +++ b/docs/network.md @@ -82,11 +82,14 @@ truth for what a box actually does. ### Notes - Cat6 from the ISP gateway[^modem] to the WAN interface of the ProDesk[^ProDesk] - (`em0`): a factory patch since 2026-11-01 - ([#923](https://github.com/Gerrrt/HomeLab/issues/923)), in one of the - gateway's **gigabit** ports since 2026-11-07. The striped 2.5G port - corrupted about one inbound frame in ten on the 1 Gbit `em0`. That shows up - as `errs` in `netstat -I em0 -w 5`, and as `WanReceiveErrors`. + (`em0`): a factory cable since 2026-11-01 + ([#923](https://github.com/Gerrrt/HomeLab/issues/923)), in the + gateway's third **gigabit** port since 2026-11-19. Three of the XB7's ports + have now gone bad under it: the striped 2.5G one (2026-11-01), and each of + the first two gigabit ports (2026-11-07, 2026-11-18). Each one sent `em0` + CRC and length errors with zero symbol errors, and moving ports cleared it + each time. That shows up as `errs` in `netstat -I em0 -w 5`, and as + `WanReceiveErrors`. The XB7 is the suspect, not the cable. - The gateway runs in bridge mode; its own Wi-Fi radio stays operational but is unused. All wireless is handled by eero units on tagged VLANs. - **One inbound pass, and one only** — the WireGuard endpoint decided by diff --git a/stacks/observability/prometheus/rules/internet.rules.yaml b/stacks/observability/prometheus/rules/internet.rules.yaml index 086ae637..4fc67139 100644 --- a/stacks/observability/prometheus/rules/internet.rules.yaml +++ b/stacks/observability/prometheus/rules/internet.rules.yaml @@ -183,10 +183,12 @@ groups: minutes; a healthy wired link counts none. ifInErrors is the generic counter, so name the cause before acting on it: `ssh admin@10.0.99.1 sysctl dev.em.0.mac_stats | grep -E - 'crc|align|symbol|jabber|fragment'`. If crc_errs is what is - climbing, it is the physical link: reseat the plug in the XB7 - (#914), then re-terminate or replace that cable, then try another - XB7 port, then suspect the I219's port. + 'crc|align|symbol|jabber|fragment'`. If crc_errs climbs with + symbol_errors at 0, the signal decodes cleanly and the frames + arrive bad: move the factory cable to another of the XB7's + gigabit ports, which cleared it on 2026-11-07 and 2026-11-19 + when an XB7 reboot did not. If symbol_errors climb too, suspect + the plug's seating or the I219's port. - alert: SpeedtestStale # No completed test for over 90 minutes, in either of two shapes: diff --git a/stacks/observability/prometheus/tests/internet.test.yaml b/stacks/observability/prometheus/tests/internet.test.yaml index 168fa0fa..2b3f3392 100644 --- a/stacks/observability/prometheus/tests/internet.test.yaml +++ b/stacks/observability/prometheus/tests/internet.test.yaml @@ -197,10 +197,12 @@ tests: minutes; a healthy wired link counts none. ifInErrors is the generic counter, so name the cause before acting on it: `ssh admin@10.0.99.1 sysctl dev.em.0.mac_stats | grep -E - 'crc|align|symbol|jabber|fragment'`. If crc_errs is what is - climbing, it is the physical link: reseat the plug in the XB7 - (#914), then re-terminate or replace that cable, then try another - XB7 port, then suspect the I219's port. + 'crc|align|symbol|jabber|fragment'`. If crc_errs climbs with + symbol_errors at 0, the signal decodes cleanly and the frames + arrive bad: move the factory cable to another of the XB7's + gigabit ports, which cleared it on 2026-11-07 and 2026-11-19 + when an XB7 reboot did not. If symbol_errors climb too, suspect + the plug's seating or the I219's port. # A stray error every two minutes, 7.5 in fifteen: under the line. - interval: 1m