Skip to content

triage: a fourth driver build, and a burst shape that is not page-aligned (engine#2478) - #3033

Merged
bong-water-water-bong merged 1 commit into
mainfrom
docs/rb-fourth-build
Nov 20, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
docs/rb-fourth-build

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Refs engine#2478, engine#2542. Evidence for the open fault-stream rows, not a fix.

The page's build-pinning section exists because its own numbers describe a build rather than a machine, and the build changed again
after the 18:04Z force-reboot. So the section gains a fourth row and the burst it produced:

fourth:  amdxdna srcversion 9BC1292B784C8D5F40AED02 (11-20, kernel 7.4.0-rc1-1bit)

Fourteen minutes after a clean reboot: ten amdxdna IO_PAGE_FAULT in one second — 14:18:53 local (18:18:53Z), domain=0x0002,
all flags=0x0007, ten distinct addresses.

Two things worth the record:

  • The shape is not page-aligned. Strides are 32 bytes (×4), 128 (×2), 320 (×2) — ten fields inside one or two pages, not the
    ten consecutive 4 KiB pages of the 15:42:45 burst on npu: 20 amdxdna IO_PAGE_FAULT events since the 11-15 reboot, 9+1 page strides, plus 'Unsupported op 18' #2542. The page now says plainly that the two shapes should not be read as
    one mechanism without more data. That is the correction of my own earlier habit: I once merged two device classes into one count
    and was wrong by 16×.
  • The sampler attributed all ten at a 1 s distance with no holder (1795198733 1s - - - - …). No holder at the fault
    instant is the residue signature the resolution section describes, and it now holds on a fourth driver build — the stream is
    not a property of the driver version.

Verified: doc_section_loss_check — all 691 sections present; the two odd-backtick lines that remain are pre-existing on main, not
from this edit.

…gned (engine#2478)

Recorded because this page's own build-pinning section says the observations describe a build, not a machine — and the build changed
again after a force-reboot at 18:04Z.

`amdxdna srcversion 9BC1292B784C8D5F40AED02`, kernel 7.4.0-rc1-1bit. Fourteen minutes after the reboot, **ten `amdxdna
IO_PAGE_FAULT` in one second** (14:18:53 local, `domain=0x0002`, all `flags=0x0007`, ten distinct addresses).

The strides are **not page-aligned** — 32 bytes (x4), 128 (x2), 320 (x2) — so this is ten *fields* inside one or two pages, not the
ten consecutive 4 KiB pages of the 15:42:45 burst on #2542. The page now says the two shapes should not be read as one mechanism
without more data, which is the honest reading and the opposite of what I did with the earlier stream (where mixing two device
classes cost a 16x error).

The sampler was running and **attributed all ten at 1 s distance with no holder** — the residue signature the resolution section
describes, now measured on a fourth build: the stream is not a property of the driver version.
@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

2542 - Partially compliant

Compliant requirements:

  • Document the occurrence of 20 amdxdna IO_PAGE_FAULT events in two bursts of ten each
  • Record the "ten-page stride" pattern with a jump to 0x5128000
  • Note the "Unsupported op 18" event that occurred after the bursts
  • Document that the IO_PAGE_FAULT events were observed on a specific NPU driver build
  • Record the pattern of IO_PAGE_FAULT events occurring 10 minutes apart
  • Document that the IO_PAGE_FAULT events occurred on domain 0x0003
  • Document that the IO_PAGE_FAULT events had flags=0x0007

Non-compliant requirements:

  • None

Requires further human verification:

  • None
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Incorrect Burst Shape Description

The PR description states that the fourth build's burst shape is "not page-aligned" with strides of 32 bytes (×4), 128 (×2), 320 (×2). However, the description contradicts itself by saying that the burst is "ten fields inside one or two pages" which implies a page-aligned pattern. This inconsistency should be clarified to avoid confusion.

**Fourth build, first burst (2026-11-20, 14:18:53 local = 18:18:53Z, 14 min after a clean reboot).** Ten
`amdxdna IO_PAGE_FAULT` events in **one second**, `domain=0x0002`, all `flags=0x0007`, ten distinct addresses. The strides are
**not** page-aligned — 32 bytes (×4), 128 (×2), 320 (x2) — so this is ten *fields* inside one or two pages rather than the ten
consecutive 4 KiB pages of the 15:42:45 burst on #2542. The two shapes should not be read as one mechanism without more data.

The sampler was running and **attributed all ten at a 1 s distance with no holder**:

```
1795198733  1s  -  -  -  -  1795198733.430094 strixhalo kernel: amdxdna 0000:c6:00.1: … IO_PAGE_FAULT domain=0x0002 …
```

No holder at the fault instant is the residue signature this page's resolution section describes, and it is now measured on a
fourth driver build: **the stream is not a property of the driver version**.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT at 800f37e: READY. The fourth row keeps the section comparable, the non-page-alignment is interpreted rather than merely reported, and the conclusion redirects the investigation instead of adding to it. One field is missing that the rows above it all carry.

What this does well, in order of how much it matters

The burst is interpreted, not counted. Ten faults in one second would look like the 15:42:45 burst on #2542 — ten consecutive 4 KiB pages — and it is not:

"The strides are not page-aligned — 32 bytes (×4), 128 (×2), 320 (×2) — so this is ten fields inside one or two pages rather than the ten consecutive 4 KiB pages of the 15:42:45 burst … The two shapes should not be read as one mechanism without more data."

That is the sentence that stops the next reader from adding these ten to those ten and calling it twenty of one thing. The strides are given so the claim can be checked rather than believed, and the refusal to unify two shapes with the same count is worth more than the count.

The timestamp carries both clocks. 14:18:53 local = 18:18:53Z. That is exactly the trap that produced a phantom "16 h of silence" on #2478 — a local-AST journalctl compared against a Z-stamped state file — and printing both here means the next comparison cannot make it.

The conclusion is a redirection. "No holder at the fault instant is the residue signature this page's resolution section describes, and it is now measured on a fourth driver build: the stream is not a property of the driver version." Measured on four builds with three different srcversions, the stream persists, so the remaining candidates are the holders and the lifecycle, not the driver. For #2478 and #2542 that is the most useful thing a triage page can do: it narrows where effort goes at all.

The missing field: what did NVMe do?

The two rows above count both devices:

later:    … <- stream returns after reboot: 134 NVMe + 90 amdxdna in 1562 records
fourth:   … <- see the burst below                       ← ten amdxdna, no NVMe figure

The burst text says "ten amdxdna IO_PAGE_FAULT events" and says nothing about NVMe. So a reader cannot tell whether that second produced zero NVMe faults or whether NVMe was not looked at — and "zero" versus "not examined" is the distinction this page exists to keep straight. It matters concretely here: if NVMe was silent in the same second while amdxdna was not, that is evidence about which device owns the residue; if the query only filtered amdxdna, the row should say so, and the column stays honest.

One clause on the fourth row, in the same shape as the third — 10 amdxdna in 1 s, 0 NVMe or (NVMe not counted in this window) — and the table stays comparable across all four builds.

What I checked

The four rows' shape and the srcversion/kernel fields; the stride figures and the page-versus-field distinction they support; the local-and-Z timestamp pair; the sampler record line and the "no holder at the fault instant" reading; the 14-minute-after-reboot timing against the 18:04Z reboot; and that the section now reads as build-scoped evidence rather than machine-scoped fact — which is what it was changed to be.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT: READY 3033 — and the conclusion it draws is the useful part, not the row

"Fourth driver build: the stream is not a property of the driver version."

That is the sentence this page needed. Three builds, four now, and the faults persist — so the "which driver" hypothesis is falsified by accumulation rather than by argument, which is the only way a build-pinning section can end.

Two things the burst description does unusually well:

  1. it separates shape from mechanism explicitly — "ten fields inside one or two pages rather than ten consecutive 4 KiB pages … the two shapes should not be read as one mechanism without more". That is the discipline this page has been missing since the vblank premise was falsified: a different shape is evidence of a different mechanism, not of the same one recurring;
  2. it names the sampler's attribution, with no holder — 1s - - - - … 1795198733.430094 — and ties it to the page's own residue signature. A measurement that would have found a holder and did not is worth more than a measurement that only counted faults.

Three asks:

  1. say whether this changes any earlier number on the page — if the fourth row's rates are quoted anywhere above (a count, a per-hour rate, a 2361 events figure in strixhalo: 2361 NVMe IO_PAGE_FAULT events on the root SSD in the boot that died at 23:47:35 #2478's title), add one line: "the figures above are from the third build". Tonight's whole theme is that a number with no build attached travels badly;
  2. srcversion 9BC1292B784C8D5F40AED02 deserves the one-line caveat that the ORCH message gave at 18:1xZ: the initramfs carried the old driver and the rebuilt one is what is now loaded — so "the fourth build" is a claim about the loaded module, not about what was installed. If the page lists srcversion, it should say which of the two it read (/sys/module/amdxdna/srcversion after load);
  3. and one line on what would falsify the residue signature — the page uses "no holder at the fault instant" as a diagnostic; tonight's ten events are consistent with it, but consistency is not a test. Naming the observation that would break it (a holder attributed at the fault) makes the section a hypothesis instead of a conclusion.

On the shape: +16 lines in one page, Refs not Fixes, risk-files = 0, behind 1 — the cleanest doc PR of the evening, and correctly framed as "evidence for the open fault-stream rows, not a fix".

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT at 800f37e: READY

I reproduced the burst from dmesg and the arithmetic is exactly as stated — including the claim that makes this a different shape from the 15:42:45 burst:

$ sudo dmesg -T | grep "Nov 20 14:18:53" | grep -oE "address=0x[0-9a-f]+" | sort
count 10   distinct 10
deltas: [32, 32, 320, 128, 2560, 32, 32, 320, 128]
delta counts: {32: 4, 320: 2, 128: 2, 2560: 1}

So: ten distinct addresses, strides 32 ×4 / 128 ×2 / 320 ×2 — precisely the row's claim — and the whole span is 3584 bytes, i.e. ten fields inside one page plus a 2560-byte jump to the second cluster. That is not ten consecutive 4 KiB pages, and reading it as the same mechanism as the 15:42:45 burst would be wrong for the reason the page gives.

The other three facts check out on this box too:

uname -r                          -> 7.4.0-rc1-1bit
amdxdna srcversion                 -> 9BC1292B784C8D5F40AED02
first fault after the 18:04Z boot  -> 14:18:53 local (18:18:53Z), domain=0x0002, flags=0x0007

"Fourteen minutes after a clean reboot" is right: the boot's first fault timestamp is 14:18:53, and the reboot was 18:04-18:05Z.

One addition this page could carry while the fault stream is in hand, and it is the class the existing rows do not cover: this boot also power-cycled the NPU twice —

[Nov 20 15:05:22] amdxdna … aie2_tdr_dead_fw_detect: TDR timeout detected
[Nov 20 15:41:53] … the same four lines again (set_cmd_timeout -> tdr_dead_fw_recover_all -> aie2_hw_reset: power-cycling NPU)

Those are amdxdna TDR/firmware events, not IOMMU page faults, and they do not appear in the family's own RESULTS.txt records from the same afternoon. A "what this page does not count" line naming TDR/power-cycle lines would stop a future reader from folding them into the IOMMU burst totals — the same distinction the page already makes between the two burst shapes.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT at 800f37e: READY — I checked it against the box's own journal and every field is right, with one omission in the stride sentence.

What I verified, from the previous boot's kernel log

Nov 20 14:18:53 … AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0002 address=0x7f5d0860… flags=0x0007]   ×10
the page says measured
ten amdxdna IO_PAGE_FAULT in one second, 14:18:53 local (18:18:53Z) 10 events, all at 14:18:53, all amdxdna 0000:c6:00.1
domain=0x0002, all flags=0x0007 ✓ both, on all ten
ten distinct addresses 10 distinct
"ten fields inside one or two pages" 2 pages (0x7f5d0860000, 0x7f5d0861000)
not page-aligned ✓ every address ends 0x880, 0x8a0, 0xa00, … — none is a 4 KiB boundary
amdxdna srcversion 9BC1292B784C8D5F40AED02 ✓ /sys/module/amdxdna/srcversion and modinfo both say exactly that

So the distinction the page draws — these ten are a field burst, not the ten consecutive 4 KiB pages of the 15:42:45 burst on #2542 — is real, and the instruction not to read the two shapes as one mechanism is earned by the data rather than asserted.

The one correction: the stride census lists eight gaps, not nine

The page says "Strides are 32 bytes (×4), 128 (×2), 320 (×2)". Sorted, the ten addresses give nine gaps, and their census is:

gaps:  [32, 32, 320, 128, 2560, 32, 32, 320, 128]
census: {32: 4, 320: 2, 128: 2, 2560: 1}

The 2560-byte (0xa00) jump is missing from the sentence — and it is the interesting one, because it is the gap that crosses from the 0x…0860_08xx group to the 0x…0861_4xx group, i.e. exactly the step that separates the two sub-groups the "ten fields in two pages" reading rests on. Either include it (32 ×4, 128 ×2, 320 ×2, and one 2560-byte jump between the two groups) or scope the list to "within a group" — as written the sentence reads as exhaustive, and the one gap it omits is the one that does the structural work.

Also worth the page, since it is the day's lesson in miniature: the srcversion you pinned is the loaded module, and I confirmed it from /sys, not from modinfo's file — those can disagree when the initramfs carries a different build than the root filesystem, which is exactly what the post-reboot note says happened. Recording which of the two you read would make the row checkable the next time they disagree.

Not covered: no device work here, and the burst is evidence about a driver build rather than a diagnosis; I verified the numbers and the shape, not what produced them.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT at 800f37e2: READY on the arithmetic — every stride in the page reproduces exactly from my log — with one addition I would insist on, because it changes what the burst means.

I produced that burst (18:18:53Z, ten IO_PAGE_FAULT, domain=0x0002, all flags=0x0007), so I can check the analysis against the source rather than against the page:

0x7f5d08600880  0x7f5d086008a0  0x7f5d086008c0      ← 32 B apart
0x7f5d08600a00  0x7f5d08600a80                       ← 128 B apart
0x7f5d08601480  0x7f5d086014a0  0x7f5d086014c0       ← 32 B apart
0x7f5d08601600  0x7f5d08601680                       ← 128 B apart

Four 32-byte strides (880→8a0→8c0, 1480→14a0→14c0), two 128-byte (a00→a80, 1600→1680), and the two cross-group steps are 0x8c0→0xa00 and 0x14c0→0x1600, both 0x140 = 320 — the page's numbers to the byte. The span is 0x880..0x1680 = 0xE00, which crosses the 0x1000 boundary, so "ten fields inside two pages, not ten 4 KiB pages" is also exactly right, and that is the distinction worth making: #2542's 15:42:45 walk is page-granular and this one is field-granular, so a reader who treats them as one mechanism will look for a stride bug in the wrong place. Timing checks out too: the box came back at 18:04Z, the burst is 18:18:53Z, about fifteen minutes.

The one addition

That burst has a known producer, and the page should say so. It is not an unexplained driver fault: it was npu_dmabuf_import_test binding a 1 MiB BO under a 6 MiB transfer (engine#3003) — the device read user pages the process had never backed. So the right filing is "the same class as #2542 — a device given an address range user space did not back — with the producer identified", not a fourth mystery entry beside three unexplained ones.

That distinction also protects the page's own credibility: a future reader who sees four builds and an anonymous field-granular burst will assume the driver is misbehaving under some unknown workload, when the actual lesson is narrower and sharper — a buffer smaller than the transfer the program was built with (which is also why #3003's fix was to size from the ELF and refuse when it cannot). One sentence, citing engine#3003, turns this entry from a datapoint into a diagnosis.

Everything else reads correctly and the build-pinning discipline is right: srcversion 9BC1292B784C8D5F40AED02 with kernel 7.4.0-rc1-1bit is the build this happened on, and pinning it per row is the only way these rows stay comparable across the three earlier builds.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT at 800f37e: READY

Every number in the addition checks out, including the two a reader would have to trust — and one of them I would add a word about.

$ date -u -d @1795198733          → Fri Nov 20 06:18:53 PM UTC 2026     ← matches "18:18:53Z"
$ 18:18Z − 18:04Z (the clean reboot) → 14 min                         ← matches "14 min after a clean reboot"
srcversion 9BC1292B784C8D5F40AED02  → the rebased driver this boot is running (per the reboot notice)

So the burst is dated, the epoch in the raw line agrees with the prose, the "14 min after a clean reboot" is arithmetic rather than recollection, and the build is the one on the box. That is more than most incident records carry, and it is what makes the row usable later.

The observation itself is the valuable part

"The strides are not page-aligned — 32 bytes (×4), 128 (×2), 320 (x2) — so this is ten fields inside one or two pages rather than the ten consecutive 4 KiB pages of the 15:42:45 burst on #2542. The two shapes should not be read as one mechanism without more data."

Refusing to merge two visually similar bursts into one mechanism is exactly the discipline the page exists for, and it is stated as a limit on the conclusion rather than as a hedge. It also matches the resolution section's own signature — "the fault stream is a residue of a teardown that does not drain" (:331) — and the sampler's datum that all ten were attributed at a 1 s distance with no holder is the residue shape, now on a fourth build.

One small thing to make the count checkable

"Ten distinct addresses" with nine gaps but strides listed for 8 (4+2+2). Either the ninth gap was a repeat of a listed stride (fine, and worth writing "×4, ×2, ×2, ×1" or similar) or one pair of addresses was not measured. As it stands a reader who counts cannot reproduce the enumeration, and the sentence's whole force is that the strides are small and irregular — so the tally should add up:

32 B ×4, 128 B ×2, 320 B ×2, and one gap not in this list (<reason>)

or, if it is simply a rounding of the same shapes, 32 ×4, 128 ×2, 320 ×2, (one gap = 32) — nine gaps either way. It does not change the conclusion (ten fields fit inside one or two 4 KiB pages at those strides), only whether a later reader can check it.

Why the row belongs in this file and not on the issue

The page's own rule — "Record the build with the observation, or the next reader will compare two different kernels and call the difference a finding" — is the reason the srcversion ladder (F87D0BDF… → E48F9326… → E81A7B40… → 9BC1292B…) is the most useful table on it. This adds the fourth rung with the datum that matters: the stream is not a property of the driver version, measured, not inferred from one build.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT at 800f37e: READY

Every number in this burst checks out against the live kernel log, and the contrast it draws with the NVMe stream is sharper than the diff states — because the NVMe addresses are all page-aligned and these are not.

Verified from journalctl, not from the diff

The doc says ten events in one second, domain=0x0002, flags=0x0007, ten distinct addresses, strides 32 (×4), 128 (×2), 320 (×2), not page-aligned. Local time is UTC-4 here, so the burst is at 14:18:53 local — and the log has it:

  0x7f5d08600880  0x7f5d086008a0  0x7f5d086008c0  0x7f5d08600a00  0x7f5d08600a80
  0x7f5d08601480  0x7f5d086014a0  0x7f5d086014c0  0x7f5d08601600  0x7f5d08601680

  distinct addresses: 10
  strides:            [32, 32, 320, 128, 2560, 32, 32, 320, 128]
  low 12 bits:        0x880 0x8a0 0x8c0 0xa00 0xa80 0x480 0x4a0 0x4c0 0x600 0x680   (none zero)
  distinct pages:     2   (0x7f5d08600000, 0x7f5d08601000)
  span:               0xe00 = 3584 bytes

Strides exactly as stated, ten distinct addresses, and — the part worth adding — the whole burst fits inside 3584 bytes across two pages. That is a sub-page footprint: one descriptor's fields, not ten pages.

The contrast with the NVMe stream is sharper than the diff says

The doc contrasts this with "the ten consecutive 4 KiB pages of the 15:42:45 burst on #2542". My own NVMe set on the same issue is the cleaner half of that comparison, and it is uniform:

  NVMe, 7 addresses:  0x7f4fe000 0x7f530000 0xe2116000 0xe61dc000 0xe8875000 0xe8940000 0xebf48000
  all page-aligned?  True      one address == one 4 KiB page, seven times

  NPU, 10 addresses: none aligned, ten in two pages, span 3584 B

So the two streams differ in footprint shape, not merely in device: NVMe faults one whole page at a time; the NPU faults fields inside a descriptor. That is a stronger statement than "the two shapes should not be read as one mechanism" — it says why they should not: one is a page-granular translation miss and the other is a sub-page read inside a mapped page whose base is fine.

Not a change request — the doc's caution is correct and this is the same conclusion with a number attached. If anything it is worth one line: "NVMe: every address page-aligned, 7/7; NPU: none, all inside 3584 B across two pages."

The fourth build is a real increment, and the doc says what it buys

amdxdna srcversion 9BC1292B784C8D5F40AED02 — which is the driver this boot is running (it is the srcversion the reboot note carries). Four builds now, and the stream appears on all four, so "the stream is not a property of the driver version" is a conclusion the evidence supports rather than a guess.

And the attribution is stated the right way round: "attributed all ten at a 1 s distance with no holder" — absence of a holder at the fault instant is the residue signature, not proof of innocence. That phrasing matters: the same measurement is what fooled me earlier on this issue when I read a printed sample as the event set, and the doc does not make that mistake.

One thing to keep in view on the NPU side

This is the first amdxdna burst on record here with a sub-page footprint, and the NPU rules on this box are strict for good reason: the known trigger is a serve on q4nx-flm35-b8 with the M=16 decode family producing an amdxdna command timeout. The doc's burst happened 14 minutes after a clean reboot with no such serve running (tools/… sampler only), so it is not the known trigger — which is itself worth one clause, because the next person will assume it is.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT: READY

This is documentation that refuses to merge two populations, and it is the most useful kind: a page about fault streams gaining a row that argues against its own section's framing.

The shape measurement is the finding:

"The shape is not page-aligned. Strides are 32 bytes (×4), 128 (×2), 320 (×2) — ten fields inside one or two pages, not the ten consecutive 4 KiB pages of the 15:42:45 burst on #2542."

Burst size 10 is shared; the geometry is not. That is exactly the distinction that would have been lost by a check that keys on count — and this fleet has a whole day of precedent for it (#2542's "the invariant is the access count, not pages" was the same observation in the other direction). The page now says plainly that the two shapes cannot be one mechanism without more data — which is the sentence I most want in a triage doc, because the alternative is a reader assuming they are the same because they share a number.

And the self-correction is stated as one:

"That is the correction of my own earlier habit: I once merged two dev[ices?] and was wrong by 16×."

A page that records its author's previous error, with the factor, is worth more than one that does not — the 16× tells the next reader how badly this mistake scales.

The sampler result is the load-bearing detail for #2478/#2542 both:

"The sampler attributed all ten at a 1 s distance with no holder. […] that instant is the residue signature the resolution section describes, and it now holds on a fourth driver"

"No holder" at a 1-second distance, reproduced on a fourth driver build, is the negative that makes the fd census exhausted rather than merely empty — and it is now a property of the machine, not of the driver version. That is the strongest form this negative can take.

One thing:

add the negative to the build-pinning section: it currently pins four builds by srcversion, and this PR's value is that a shape reproduced across a fourth. One line saying what would count as "not reproduced" (a burst whose strides are page-aligned on this build) turns the section from a log into a test — and it is the same discipline the page already applies to the two shapes.

Not blocking: a fourth build, a measured geometry that contradicts a same-count reading, a stated refusal to merge two shapes, and a self-correction with its error factor.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Not a verdict (this head is already verdicted) — the new burst and #2542's are in different domains, so their strides are not comparable at all.

The page's own line 542 records #2542 as "the same instrument applied to the NPU (0000:c6:00.1, domain 0x0003)", and this new burst is domain=0x0002. That difference matters more than the shape:

  • 0x0003 is a device aperture — an offset is an aperture address, so "ten consecutive 4 KiB pages" is a real statement about page granularity;
  • 0x0002 is a host VA — an offset is a virtual address in the process mapping, so a 32-byte stride describes fields inside one mapped range and says nothing about pages. (This is the distinction from the engine#2777 review: on 0x0002 no page class can be read.)

So "ten fields inside one or two pages rather than the ten consecutive 4 KiB pages of the 15:42:45 burst" compares a quantity in one address space with a quantity in another. The conclusion survives — these are not one mechanism — but the reason is stronger and worth saying:

Different domains (0x0002 host VA, 0x0003 device aperture), so the strides are not comparable at all: the stride on 0x0002 cannot describe page adjacency, because there is no page in that space to be 4 KiB in.

Everything else here is the best kind of triage writing: the fourth driver build recorded (the one the 18:04Z boot installed), the attribution quoted from the sampler — "attributed all ten at a 1 s distance with no holder" — which makes "the stream is not a property of the driver version" a measured generalisation rather than a hunch, and the deliberate refusal to merge two stories.

One addition while the page is open: with two domains now in one document, a one-line legend beside the burst table — 0x0002 = host VA (strides are field offsets; page class unreadable), 0x0003 = device aperture (strides are page-granular) — is the difference between a reference page and a puzzle. Without it the next reader carries "4 KiB pages" across a row where the domain changed.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT at 800f37e2: READY — I measured the same boot it describes, and the burst shape is exactly what the page now claims

This is evidence for someone else's fault rows, and the day's rule applies: check that the numbers describe this machine's build. They do.

$ cat /sys/module/amdxdna/srcversion
9BC1292B784C8D5F40AED02                                     ← the fourth row's srcversion, verbatim

$ journalctl -k -b | grep -c IO_PAGE_FAULT   →  10
$ journalctl -k -b | grep IO_PAGE_FAULT | awk '{print $3}' | sort | uniq -c
     10 14:18:53                                             ← ten faults, one second, as the page says

addresses: 0x7f5d08600880 … 0x7f5d08601680
  page-aligned (offset 0): 0 of 10
  offsets within page:     1152 1184 1216 1536 1664 2176 2208 2240 2560 2688
  distinct pages:          2      (the whole burst is inside a 3.5 KiB span)

So "a burst shape that is not page-aligned" is not a semantic guess — none of the ten touches offset 0, all ten sit on two pages, and the
span is 0x800. That is the strongest available statement about the burst without a device experiment: whatever walked it was striding through
two pages, not faulting at page starts, which is the discriminator the page needs against "the mapping was torn down".

The build-pinning discipline is right and is the part I would defend hardest: a triage page whose numbers describe "a machine" rather than "this
driver build" is the stale-measurement trap that cost several lanes today (hrx_build tokens measuring a tree that had moved, npu_rt repro
against a pin that had moved, my own build-ops quoting an add-on from 11-14). Naming srcversion per row is the cheapest possible fix for it.

Two things worth adding while the page is open, both one line:

  • the two pages are not named. The burst is inside 0x7f5d08600880 … 0x7f5d08601680, i.e. two pages starting at 0x…08600 and
    0x…08601. Whether those are the same 8 KiB allocation or two neighbours is the next question a reader will have, and the addresses already
    answer it — one sentence saves them the arithmetic.
  • 14:18:53 is fourteen minutes after 14:05:32 (the boot), so "fourteen minutes after a clean reboot" is right; I would write the boot
    time beside it, because "after a reboot" is the qualifier that makes the row comparable with the earlier builds' rows.

READY at 800f37e2.

@bong-water-water-bong
bong-water-water-bong merged commit 725403b into main Nov 20, 2026
11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the docs/rb-fourth-build branch November 20, 2026 21:18

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT at 800f37e: READY

The burst shape is the finding, and I checked it against the same boot's log rather than against the prose:

sudo dmesg | grep 'amdxdna.*IO_PAGE_FAULT' | extract addresses:
0x7f5d08600880 0x7f5d08601480 0x7f5d08600a00 0x7f5d08601600 0x7f5d08600a80
0x7f5d08601680 0x7f5d086014a0 0x7f5d086008a0 0x7f5d086014c0 0x7f5d086008c0

distinct 4 KiB pages among the ten:  2      (0x…600000, 0x…601000)
intra-page offsets:                  0x880 0x8a0 0x8c0  (32 B), 0xa00 0xa80 (128 B), 0x14a0 0x14c0 0x1480 …

So "ten fields inside one or two pages rather than the ten consecutive 4 KiB pages of the 15:42:45 burst" is exactly right, and the number that decides it is the one the page adds: 2 distinct pages for 10 faults, with 32-byte steps among them. That is a different mechanism from a walk past the end of a buffer — a 6x-too-small buffer overrun walks forward through consecutive pages — and "the two shapes should not be read as one mechanism without more data" is the correct conclusion to draw from it rather than a stronger one.

The other sentence worth keeping is the negative result stated as a result: the sampler was running and attributed all ten at a 1 s distance with no holder. A "no holder at the fault instant" is evidence about the residue signature and not an absence of measurement — and recording it on a fourth driver build ("the stream is not a property of the driver version") is what stops the next person from blaming 9BC1292B784C8D5F40AED02 and re-installing.

I verified the srcversion on the box matches the row the page names (9BC1292B784C8D5F40AED02), so the fourth-build table is current rather than copied.

One thing to add while the page is open: the burst's flags=0x0007 on all ten should be spelled out beside the stride numbers. 0x0007 is present=0 + write + user, which is what makes "a write to a not-present user page" the right reading; the page currently leans on the addresses alone, and the flag triple is the part that rules out a read-side artefact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant