mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 06:28:39 +00:00
- Updated tools/post_reboot.sh to check kernel oops taint bit and stuck driver tasks instead of <86400s uptime - Level 7 hardware regression passed on 0000:b3:00.0 (module 37e6fa430835eee2b426019db3ad70eeb7a9e9070c09c84bd9b973cf56cbe529, 107 inventory words, 0 static mismatches, CUDA baseline verified before and after) - Updated .gitignore to exclude build archives (*.a, *.rlib), __pycache__, and raw trace dumps
151 lines
9.3 KiB
Plaintext
151 lines
9.3 KiB
Plaintext
Original NVIDIA580.178.04 live initialization — REA investigation
|
|
|
|
Result
|
|
Two original-driver CUDA workloads completed under hardware execution-breakpoint
|
|
capture. Each verified64 native GPU output words and destroyed its context.
|
|
Each captured2056 attempted immediate engine-method dispatches: eight GPU object
|
|
groups,257 dispatches per group. The normalized method/object-stage order repeats
|
|
across both captures and all eight groups. This is original-driver evidence;
|
|
it does not establish Rust driver initialization or CUDA execution.
|
|
|
|
Per GPU software EngState object group:
|
|
InitUnlocked:23 optional callbacks, each before its matching InitLocked
|
|
InitLocked:78 callbacks /78 distinct engine objects
|
|
PreLoad:78 callbacks, in a separately selected order
|
|
Load:78 callbacks, same object order as PreLoad
|
|
All PreLoad callbacks precede the first Load callback. Both load phases used
|
|
flags0. Init and load order differ. These are software objects, not a claim of
|
|
78 physical hardware engines. The source-named class count is68;10 remain
|
|
ambiguous or lack a verified class-variant link. No label is guessed for them.
|
|
|
|
The observed ordering includes (zero-based positions, first GPU object):
|
|
Object/class InitLocked position Load position
|
|
16 MemorySystem 16 16
|
|
18 MemoryManager 18 18
|
|
22 OBJGMMU 22 22
|
|
23 KernelGmmu 23 23
|
|
24 OBJBUS 24 24
|
|
25 KernelBus 25 25
|
|
29 GraphicsManager 29 36
|
|
33 Graphics 33 40
|
|
35 OBJLSFM 35 26
|
|
36 OBJACR 36 27
|
|
68 KernelFifo 68 68
|
|
69 OBJFIFO 69 69
|
|
Full257-call first-GPU sequence: original-live-init-bp-4/first-gpu-dispatch-sequence.csv
|
|
All78 objects with named callbacks/order: original-live-init-bp-4/named-engine-sequence.csv
|
|
All2056 timestamped samples and register owners: original-live-init-bp-4/timestamped-dispatch.json
|
|
Original metadata/class-source label proof: gpu-live-engine-labels.json
|
|
|
|
Firmware-body execution observed in the separate IntelPT capture
|
|
The selected-source callsite observations occur in this order:
|
|
MC domain4 reset043609
|
|
GR StateInit033663 -> normal netlist decode033300 -> netlist consumers033231
|
|
LSFM client placement/WPR request043236 -> headers043182
|
|
FECS LS image construction027605 -> GPCCS LS image construction029864
|
|
ACR HS selection/package/WPR gather/SEC2 parent016741
|
|
WPR metadata/shadow-copy selection016753
|
|
Early OBJFIFO load028309 ->028308
|
|
SEC2 HS reset/VM/DMEM/IMEM/start/wait parent028470
|
|
GR StateLoad033665
|
|
FECS mailbox poll055403
|
|
These are body-execution markers and selected observed direct edges. They are
|
|
not a lossless nested call stack or per-function success/return trace. Original
|
|
function semantics come from retained REA binary analysis; PT proves execution.
|
|
|
|
A consequential dependency
|
|
FIFO initialization occurs inside the ACR bootstrap before the ordinary top-level
|
|
FIFO Load callback. A focused PT window identifies016753 ->019032 ->043991 ->
|
|
006444 ->019130 ->028064, then the indirect FIFO load028309 ->028308. This is
|
|
an internal/lite CE utility FIFO path. Matching580 public source documents the
|
|
FIFO_LITE flag and interface but marks that CE utility path unsupported; the
|
|
closed artifact supplies its implementation. Recreating only the top-level
|
|
engine dispatcher or following a public-source stub would miss this dependency.
|
|
The selected trace also reaches transfer entry044027. The branch requires a
|
|
shadow region, GPU4de4 clear, and ACR385 nonzero; it is not unconditional CE
|
|
initialization. This proves the selected software CE route/transfer attempt,
|
|
not copied bytes, transfer return status, or an explicit registryDWORD value.
|
|
The original CPU-copy branch skips these CE utility calls. A Rust CPU route
|
|
therefore needs its genuine policy selection, rather than mandatory CE setup
|
|
for every configuration. Full parity still requires the exercised CE route.
|
|
See native-fifo-live-bootstrap-reconciliation.json/.txt.
|
|
|
|
Capture and provenance
|
|
REA process Evidence:
|
|
ev_b1b9a9279aa151b6f51c93b6bee10b9949d4c6e0f4afcc14d61579d213210443
|
|
ev_1b2d3b2a0781ff192ac6f67dc3e065dafe95bcb8960d5a122583f4e3cbff8e46
|
|
REA IntelPT recorder Evidence:
|
|
ev_d9f5b3999e69f43b9cccb62d8a723c6c7feafe021dd09245f1ebb935c18ab963
|
|
REA Frida API/IOCTL observation:
|
|
ev_3da4610d81c357d1dceba557c2f5649ab75f8d82198e32f6d890046917d3763f
|
|
Bundles and exact commands are retained beside perf.data. Original module,
|
|
libcuda, test executable and cubin hashes are in the capture artifact-sha256.txt.
|
|
Site proofs/actual relocated bytes: gpu-engine-dispatch-sites.json.
|
|
Platform: Linux5.15.0-202-generic, perf5.15.222, original580 driver, eight V100s.
|
|
|
|
Precision and coverage
|
|
The compact timestamped run has2056 parsed samples, no rejected samples, no
|
|
reported PERF_RECORD_LOST or throttle records, and ordered timestamps. Both
|
|
finite captures exited0 with verified native CUDA output. A third attempted
|
|
Frida+breakpoint run failed cuInit304 and is explicitly excluded. Its recorder
|
|
was stopped, Frida detached, and the subsequent uninstrumented baseline passed.
|
|
REA bundles retain the failure and cleanup diagnostics. No active recorder,
|
|
paused target, GPU rebind/reset, or persistence/service change was left behind.
|
|
|
|
The broad PT capture reached its256MiB limit during initialization. Its corrected
|
|
bounded decode contains6790 selected callsite observations and376 overflow
|
|
barriers, with no instruction-mismatch errors. It cannot prove absent later
|
|
calls or continuous nesting across a gap. Earlier decode attempts using the
|
|
unrelocated on-disk module are INVALID and excluded. Correct decoding requires
|
|
the post-capture relocated code snapshot in original-live-init-pt-3/runtime-code:
|
|
kallsyms must retain that exact basename beside kcore/modules. It is a code-only
|
|
perf snapshot; the original module mapping remained unchanged. A local prefix
|
|
redecode with this retained snapshot passes216 observations with zero errors.
|
|
|
|
Perf default clock timestamps and Frida CLOCK_MONOTONIC timestamps are kept as
|
|
separate clock domains. No direct time join is asserted without clock validation.
|
|
The compact samples prove attempted immediate methods selected in RAX, GPU owner
|
|
in RDI, engine owner in RSI and load flags in EDX. They do not prove method return
|
|
status, final downstream HAL execution, authenticated firmware or Rust readiness.
|
|
Object groups are not independently mapped to BDFs. This observes per-open
|
|
initialization on an already PCI-bound driver, not module boot/PCI probe or every
|
|
reset/resume/error path. Eight V100s do not establish other architecture support.
|
|
|
|
Reproduction / decoding
|
|
Use the exact original image, unchanged loaded module base and verified sites.
|
|
Hardware execution breakpoints must be recomputed after module reload/ASLR.
|
|
REA's successful process capture commands are stored in final-rea-evidence-bundle.json.
|
|
Decode register data with perf script, then tools/summarize_original_dispatch.py.
|
|
For PT use tools/decode_original_pt_bounded.py with the retained runtime-code/kallsyms;
|
|
keep overflow and output-limit barriers. tools/summarize_original_live_init.py
|
|
preserves API observations separately from the PT markers. validation.json records
|
|
cross-run/object ordering checks. These tools and the successful finite decodes
|
|
were checked; no replacement-driver hardware result is claimed.
|
|
|
|
Re-run the finite-capture consistency checks with:
|
|
python3 tools/check_original_live_init.py reports/original-live-init-bp-4 \
|
|
--labels reports/gpu-live-engine-labels.json
|
|
The label-input hash, all257 first-group callback/object associations, both
|
|
actualCUDA successes, repeated ordering and lost/throttle diagnostics pass.
|
|
|
|
Additional focused live timer/default capture
|
|
REA Evidence ev_d9276d2cd228cda4e2b4f11dfd61ed74a18617defb1bf4ef93f936202d06ee2c
|
|
records28 function-entry samples while the original CUDA test verifies64 words
|
|
and destroys its context. Each of eight GPU owners follows059507 default init,
|
|
059487 thread configuration with4,000,000us/flags8, then059665 Timer StateLoad
|
|
withflags0. One owner later receives30,000,000us, then4,000,000us. This agrees
|
|
with the separately instruction-proven compute-reference transition; its live
|
|
computeRefCount field was not sampled. Data/GPU argument pointers differ1e08,
|
|
matching the retained static layout. Object pointers are not mapped to BDFs.
|
|
No059564 OS-relative scheduling entry was sampled in these workload threads;
|
|
that does not prove absent events or paths, especially on deferred workers.
|
|
All28 samples parse with ordered nanosecond perf timestamps and no reported
|
|
lost/throttle records. Input hashes, runtime entry addresses and all eight stock
|
|
GPU bindings are unchanged. REA's privileged process-tree sampling was partial;
|
|
its complete limitations are retained. Captured process exit is0, and the one
|
|
unverified sampled process no longer existed on immediate follow-up. Entries
|
|
do not prove return values, atomic image binding or Rust readiness.
|
|
Validation/evidence: original-live-timer-init/validation.json and
|
|
original-live-timer-init/rea-evidence-bundle.json. Recheck with:
|
|
python3 tools/check_original_live_timer_init.py reports/original-live-timer-init
|