mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 14:38:47 +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
318 lines
16 KiB
JSON
318 lines
16 KiB
JSON
{
|
|
"scope": "Original580.178.04 selected Linux timeout defaults/provider provenance; read-only. No production edits or physical GPU calls.",
|
|
"binary_sha256": "5269a23ffba19a17fe16f076463e7ad4151254659441d1711bee6c6221ff6f4b",
|
|
"timeout_data": {
|
|
"gpu_offset": "0x1e08",
|
|
"fields": {
|
|
"+0": "bDefaultOverridden:u8",
|
|
"+1": "bScaled:u8",
|
|
"+4": "defaultus:u32",
|
|
"+8": "defaultResetus:u32",
|
|
"+c": "defaultFlags:u32",
|
|
"+10": "scale:u32",
|
|
"+18": "actual retained OBJGPU pointer"
|
|
},
|
|
"initialization": "031028 clears computeModeRefCount atGPU1e30 then059507. 059507 stores OBJGPU pointer, calls Linux049687, sets defaults if not overridden, scales defaultus once, calls059487 then059492. Return statuses of these last calls are ignored after execution.",
|
|
"ordinary_silicon_non_vgx": {
|
|
"compute_refcount_zero": {
|
|
"default_us": 4000000,
|
|
"default_flags": 8,
|
|
"scale": 1
|
|
},
|
|
"compute_refcount_positive": {
|
|
"default_us": 30000000,
|
|
"default_flags": 8,
|
|
"scale": 1
|
|
}
|
|
},
|
|
"mode_updates": "030185 command10 increments; transition0to1 calls059507. command11 decrements/clampsnegative0; reaching0 calls059507. Runtime mode cannot be inferred from BOOT/PCI identity.",
|
|
"other_profiles": "049687 VGX default1800000us except extended GSP-client preinitialization4000000us; emulation90e or simulation4de2 sets scale60. These must come from actual selected runtime/OS providers.",
|
|
"registry": "059508 reads RmOverrideInternalTimeoutsMs: highbit31 forces low24-bit ms including0; else successful nonzero RmDefaultTimeout ms. Values>u32MAX/1000 saturate bothusfields; override marksData+0. RmDefaultTimeoutFlags key4 mapsOSTIMER8, key8 mapsOSDELAY16. Absent reads preserve values; unavailable provider cannot be fabricated as absent. Mode reinit049687 rewrites default_flags8 and honors overridden/default-scaled booleans."
|
|
},
|
|
"thread_database": {
|
|
"setup_global": "05fd21a0",
|
|
"non_compute_ms_global": "05fd21d8:u64",
|
|
"compute_ms_global": "05fd21e0:u64",
|
|
"compute_gpu_mask_global": "05fd21e8:u32",
|
|
"timeout_flags_global": "05fd21ec:u32",
|
|
"startup": "Linux049808 calls059486(0x87). 059486 zeros compute/noncompute intervals and mask, writes setup0x87; timeout_flags is not written by059486. Zero-initialized globals are not sufficient initialized timeout config.",
|
|
"setup_flags": "0x87=ENABLED1|TIMEOUT_ENABLED2|SLI_LOGIC4|DO_NOT_INCLUDE_SLEEP_TIME80. No ASSERT10/RESET40/PRINT80000000 default.",
|
|
"per_gpu_init": "059487 uses actual GPUc9c gpuInstance bit. Graphics clears bit and sets noncompute_ms=providedus/1000. Compute sets bit and preserves noncompute_ms. Always calls049687 again for compute_ms=(perOSus/1000)*GPU1e18 wrappingu32, zeroextendedu64; timeout_flags=providedflags.",
|
|
"initial_ordinary_gpu": "After actual first ordinary graphics initialization: noncompute_ms4000,compute_ms4000,timeout_flags8,thatinstancebitclear. After first compute reference: compute_ms30000,bitset; prior noncompute interval persists.",
|
|
"setup_override": "059485 successfully reads RmThreadStateSetupFlags then replaces global setup flags. No read success means no override; missing registry provider is not evidence of absence.",
|
|
"current_node": "Real _threadStateInitCommon zeroes node, captures actual threadSeq/cpu/flags, enablesfreecallbacks, calls016370 deadline initializer, marksTIMEOUT_INITED20 only on executedNV_OK, and insertsactualcurrentOSthread in map.016370 uses500ms for low4 flagbits, actualDatabase otherwise; nonzero override_ms wins, NODE_DEVICE_INIT80 applies minimum60000ms; enter time initialized once,nextyield now+2s. Missing current node must preserve actual lookupstatus, not synthesize zeroNode."
|
|
},
|
|
"gpu_state": {
|
|
"properties": {
|
|
"0x915": "IS_CONNECTED",
|
|
"0x917": "IN_FULLCHIP_RESET",
|
|
"0x918": "IN_SECONDARY_BUS_RESET",
|
|
"0x919": "IN_GC6_RESET",
|
|
"0x926": "SECONDARY_BUS_RESET_PENDING"
|
|
},
|
|
"constructor": "006647 zeroes actual6e70-byte GPU allocation before005722/005825.005825 setsIS_CONNECTED915=true unconditionally. Reset917/918/919/926 remain zero through this data initializer. This is construction-only state, not permission to freeze reset/loss fields forever.",
|
|
"connected_updates": "031166 lost-device path setsIS_LOST91d=true,IS_CONNECTED915=false.000802 crashdump temporarily saves915/91d, may set915true/91dfalse for capture, then restores both. Connection is not STATE_INITIALIZED90d/Load completion.",
|
|
"reset_updates": "039110 and039123 full-reset routes write917=true after successful reset method;039123 fallback and039121 secondary-reset route write918=true before its reset callback. These are observed methods, not a claim that every method is selected on GV100. All reset paths must update actual same-owner state; removal must force connection false and/or gate access. Global search alone cannot prove all packed/generic setter updates.",
|
|
"excluded_false_positive": "052491 writes many property-location bytes to1 enmasse in a second argument; that is not evidence that live GPU reset bits are initialized true. Do not use broad offset grep to infer object identity."
|
|
},
|
|
"wait_routes": {
|
|
"bar2_bind_039307": {
|
|
"requested_us": 0,
|
|
"flags": 0,
|
|
"with_initialized_linux_default": "0xa=OSTIMER|USE_THREAD_STATE",
|
|
"requires": "actual current-thread database/node, real yield service, journal on expiry, liveGPUstate. LocalOSclock is still initialized but threadstate governs expiry."
|
|
},
|
|
"tlb_040843": {
|
|
"requested_us": 0,
|
|
"flags": "0x105=DEFAULT|BYPASS_THREAD_STATE|BYPASS_CPU_YIELD",
|
|
"with_initialized_linux_default": "0x10d=OSTIMER|DEFAULT|BYPASS_THREAD_STATE|BYPASS_CPU_YIELD",
|
|
"requires": "monotonic clock+tick, ownedData/live resetstate, journal on expiry. Neither GPU timer reads nor currentthread/yield calls on this selected route. Callerflush/reset thread operations remain separate required services."
|
|
},
|
|
"fecs_055403": {
|
|
"requested_us": "scale*500000 silicon;scale*5000000 emulation/simulation",
|
|
"flags": "0 silicon/emulation;4 simulation",
|
|
"with_initialized_linux_default": "8 silicon (nonzero duration meansUSE_THREAD_STATE is not forced)",
|
|
"requires": "explicit059492 resetcurrentthread before wait, real yield;059505 still consults thread_timeout after localnonexpiry unlessbypass4; actualFECS submit/recoverydiagnosticservices remain mandatory."
|
|
}
|
|
},
|
|
"owner_requirements": [
|
|
"Data.gpu is nativeOBJGPU pointer identity. RustGpuId must resolve retained same-owner GPU state; BDF, BOOT identity or GPU-ID truncation is not a substitute.",
|
|
"Thread compute mask uses actual allocatedgpuInstance, not prepared registry key/devicegroup/PCIid.",
|
|
"Construct Data from actual ownedGPUsoftware/runtime+LinuxOSdefaultpolicy+real registry override, retain sameowner for whole wait. No caller-supplied ready/defaultflags.",
|
|
"Connected/reset/emulation fields must be read from actual lifecycle owner under serialization; hardware_ready=false is neither disconnected nor in reset.",
|
|
"OS_TIMER bypasses hardware PTIMER only. It does not permit unavailable thread/yield/journal providers to return success. TLB0x105 is the proven minimal localOS route; changing BAR2bind/FECS flags would change original behavior."
|
|
],
|
|
"validation": {
|
|
"evidence_assertions": 26,
|
|
"checks": [
|
|
{
|
|
"function": "_nv049808rm",
|
|
"instruction_contains": "MOV EDI, 0x87"
|
|
},
|
|
{
|
|
"function": "_nv049808rm",
|
|
"instruction_contains": "CALL 0x0617b310"
|
|
},
|
|
{
|
|
"function": "_nv039307rm",
|
|
"instruction_contains": "XOR ECX, ECX"
|
|
},
|
|
{
|
|
"function": "_nv039307rm",
|
|
"instruction_contains": "CALL 0x067547a0"
|
|
},
|
|
{
|
|
"function": "_nv040843rm",
|
|
"instruction_contains": "MOV ECX, 0x105"
|
|
},
|
|
{
|
|
"function": "_nv040843rm",
|
|
"instruction_contains": "CALL 0x067547a0"
|
|
},
|
|
{
|
|
"function": "_nv055403rm",
|
|
"instruction_contains": "0x7a120"
|
|
},
|
|
{
|
|
"function": "_nv055403rm",
|
|
"instruction_contains": "0x4c4b40"
|
|
},
|
|
{
|
|
"function": "_nv055403rm",
|
|
"instruction_contains": "CALL 0x067547a0"
|
|
},
|
|
{
|
|
"function": "_nv059486rm",
|
|
"instruction_contains": "[0x05fd21d8], 0x0"
|
|
},
|
|
{
|
|
"function": "_nv059486rm",
|
|
"instruction_contains": "[0x05fd21e0], 0x0"
|
|
},
|
|
{
|
|
"function": "_nv059486rm",
|
|
"instruction_contains": "[0x05fd21e8], 0x0"
|
|
},
|
|
{
|
|
"function": "_nv059486rm",
|
|
"instruction_contains": "[0x05fd21a0], EDI"
|
|
},
|
|
{
|
|
"function": "_nv059487rm",
|
|
"instruction_contains": "[RDI + 0xc9c]"
|
|
},
|
|
{
|
|
"function": "_nv059487rm",
|
|
"instruction_contains": "[RDI + 0x1e30]"
|
|
},
|
|
{
|
|
"function": "_nv059487rm",
|
|
"instruction_contains": "[0x05fd21ec], R12D"
|
|
},
|
|
{
|
|
"function": "_nv059487rm",
|
|
"instruction_contains": "[RBX + 0x1e18]"
|
|
},
|
|
{
|
|
"function": "_nv005825rm",
|
|
"instruction_contains": "[RDI + 0x915], 0x1"
|
|
},
|
|
{
|
|
"function": "_nv031166rm",
|
|
"instruction_contains": "[RDI + 0x91d], 0x1"
|
|
},
|
|
{
|
|
"function": "_nv031166rm",
|
|
"instruction_contains": "[RDI + 0x915], 0x0"
|
|
},
|
|
{
|
|
"function": "_nv039121rm",
|
|
"instruction_contains": "[RDI + 0x918], 0x1"
|
|
},
|
|
{
|
|
"property_offset": "0x915",
|
|
"name": "IS_CONNECTED"
|
|
},
|
|
{
|
|
"property_offset": "0x917",
|
|
"name": "IN_FULLCHIP_RESET"
|
|
},
|
|
{
|
|
"property_offset": "0x918",
|
|
"name": "IN_SECONDARY_BUS_RESET"
|
|
},
|
|
{
|
|
"property_offset": "0x919",
|
|
"name": "IN_GC6_RESET"
|
|
},
|
|
{
|
|
"property_offset": "0x926",
|
|
"name": "SECONDARY_BUS_RESET_PENDING"
|
|
}
|
|
],
|
|
"new_runtime_tests": 0,
|
|
"reason": "Read-only investigation; existing original timeout/thread differential suites remain unchanged."
|
|
},
|
|
"evidence": [
|
|
{
|
|
"function": "_nv005825rm",
|
|
"evidence_id": "ev_fb7d1292c3b2e9550cbd3646a8e65d79eb0823fc7b1898e0b352f7efa045ada2",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv005825rm.rea.json",
|
|
"sha256": "c6ed7f5d77420ae1cece3d18730b7a6781a58e2742ff6c6771a71e6f0c2d3fbe"
|
|
},
|
|
{
|
|
"function": "_nv006647rm",
|
|
"evidence_id": "ev_e96660b54247a4768318c568c2d56f68bfe6b0d0915e678dd3468733ba5d265d",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv006647rm.rea.json",
|
|
"sha256": "ff4726a8feee04049f751c7ed7270d37faf94ae1c9f7b4e6063a19188e51520c"
|
|
},
|
|
{
|
|
"function": "_nv030185rm",
|
|
"evidence_id": "ev_062ec84592d0473a557823bb8f1b9034596e8724cc9090207275722abfaa45d1",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv030185rm.rea.json",
|
|
"sha256": "a75a082f30feccafdb9efde7685f47ce95957b3139cdb80929c4b11cb6a3067e"
|
|
},
|
|
{
|
|
"function": "_nv031028rm",
|
|
"evidence_id": "ev_65ac4a38c95ec6539efa03a9acb07ccb9da98b0e735fdb027f5b9e47e2ff006c",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv031028rm.rea.json",
|
|
"sha256": "0b607e094a26f80d7dcc85773b9b9318a4333e607b170daed59abafe900e3912"
|
|
},
|
|
{
|
|
"function": "_nv031166rm",
|
|
"evidence_id": "ev_c2cb18a8b4080cf87e467fb9a01a0262f82547ecc3359400e95422dcae659c8d",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv031166rm.rea.json",
|
|
"sha256": "5a6f5d2e75b5de0b359ea7a84401f6984c92b26edccca6d932f36e130fc02f21"
|
|
},
|
|
{
|
|
"function": "_nv039110rm",
|
|
"evidence_id": "ev_755d7d6aa681b2d6fb06fdca5784f78ba2a3d861c4115c6c7f0fd87b27fa7316",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv039110rm.rea.json",
|
|
"sha256": "98a4837f825606496414bf5507052f407f730068c7fad0457df6846b0adcad57"
|
|
},
|
|
{
|
|
"function": "_nv039121rm",
|
|
"evidence_id": "ev_ced58928382f2569c03250e28dd1a28f402dca3ede34a6c0598bd84ff1b539db",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv039121rm.rea.json",
|
|
"sha256": "a91e3a86e11632ee55b85ddcdd6defcab7f0b938fdbe0586c1b4907febedaa49"
|
|
},
|
|
{
|
|
"function": "_nv039123rm",
|
|
"evidence_id": "ev_c916c54ead6dd74a9d1bf95d1d93946d016d3d8118ea1614264ad906433b455f",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv039123rm.rea.json",
|
|
"sha256": "20bc929379fc938a131fe2e6be7ccacb2fd8483804881d3a16eed4d563471782"
|
|
},
|
|
{
|
|
"function": "_nv039307rm",
|
|
"evidence_id": "ev_8d38c472db44e91872e5bfb3bdfc263120711b9bcaee18a48b1a63856b7634a3",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv039307rm.rea.json",
|
|
"sha256": "5bd336a847af83205e5aa95b36455c78904a1cdb36b8d0f328ded8eae04bcf8c"
|
|
},
|
|
{
|
|
"function": "_nv040843rm",
|
|
"evidence_id": "ev_0e100bed817d3b1bcc17e28d208fadc678cf15d2d7626da403ddd8c4a3fce030",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv040843rm.rea.json",
|
|
"sha256": "f4c7011c52f234853c6c4c8e8db6ad79ac3eba371fcbfcf958ea8e9fff80fc02"
|
|
},
|
|
{
|
|
"function": "_nv049687rm",
|
|
"evidence_id": "ev_0272a0038f8f66e3210b70308d40fb3bf55d2c2cd84de3b5e43ecc157b3cc967",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv049687rm.rea.json",
|
|
"sha256": "71bfd7c456d37975045a24ac982b27c072a2129f3165ee4b320e9c6ed493abcb"
|
|
},
|
|
{
|
|
"function": "_nv049808rm",
|
|
"evidence_id": "ev_ae4b69eebb2ae924bb20bcc6ea662e7a4c362f7eecf9518d208ece597e21f430",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv049808rm.rea.json",
|
|
"sha256": "f5b3f5d0eac63a0b6eda76908e8efe35e2bc883514fa713b9944f259eb39402d"
|
|
},
|
|
{
|
|
"function": "_nv052491rm",
|
|
"evidence_id": "ev_0b0fce2c449908d94bdf3fe9001693ecf3392c374264dbea48897b49a40e5014",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv052491rm.rea.json",
|
|
"sha256": "1b9d5f54e6e0a4ab2acc4b29190c38689bfbf4ba6628e771f1d445a84e3d36ca"
|
|
},
|
|
{
|
|
"function": "_nv055403rm",
|
|
"evidence_id": "ev_7bea42ae16d16dc7dbf2adc4a0f2893c61d9709bf2c4658ef734b90b563a6a4a",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv055403rm.rea.json",
|
|
"sha256": "300d6ba0b35993d5f0f37b2dabbf9e2eff53ea3ec27d8e3b3a8c8aa5d9208830"
|
|
},
|
|
{
|
|
"function": "_nv059485rm",
|
|
"evidence_id": "ev_ff31b69e5f7364f53de6c94a3a02522c1c4badf85cf2004c62964a75c8294bdb",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv059485rm.rea.json",
|
|
"sha256": "e9919a40c3da98bb49419e59fdb4ce265d4110efb3254373b0fc0c2969b194ac"
|
|
},
|
|
{
|
|
"function": "_nv059486rm",
|
|
"evidence_id": "ev_dd9dc0e713d001b554df49fae2ae42ab092a320a12403cf17c178ca8bcd21c69",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv059486rm.rea.json",
|
|
"sha256": "cdeb0dd43075aa3f61e52829883a74ef92c6c7d304bd3dd8f85b01352934849e"
|
|
},
|
|
{
|
|
"function": "_nv059487rm",
|
|
"evidence_id": "ev_25ad64b6f42888e86a5a28f822b40dfa2f7e2b3c4a06b1692ca1d5d3af8a7f5c",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv059487rm.rea.json",
|
|
"sha256": "8c37c54cb717d29459d451c186de9dd343c0d436eebb9348bf21cdd00e7cd0d9"
|
|
},
|
|
{
|
|
"function": "_nv059507rm",
|
|
"evidence_id": "ev_75a7693b65eefe8f1b38332c8b3ccfd58cfcc9baa36433f6cbf56f733dbd33a4",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv059507rm.rea.json",
|
|
"sha256": "701f15d4f78526708b768d6aa222e652c1e3b4ef07fca4c6e31c3c1bddc45f87"
|
|
},
|
|
{
|
|
"function": "_nv059508rm",
|
|
"evidence_id": "ev_66f9c8bc1bd278e5e93908738e5f25bbac76e5c97ad60f32eb55da2071af38e5",
|
|
"file": "reports/timer-timeout-provenance-rea/_nv059508rm.rea.json",
|
|
"sha256": "bb6f6ea751eb0abe919d04fdb81d34e98b82f9b273d0aa1525b65bab9e3e080c"
|
|
}
|
|
],
|
|
"guidance": [
|
|
"matching580 source gpu_timeout.c,unix/os.c:2005,unix/osinit.c:275,thread_state.c:228/519/1149,generated/g_gpu_nvoc.h properties and g_gpu_nvoc.c init_dataField",
|
|
"existing reports/gpu-pf-constructor.txt and gpu-pf-constructor-validation.json prove zeroed6e70 GPU canonical image and ordered381 constructor writes",
|
|
"matching580 kern_gmmu_gm107.c:165 corroborates TLB0x105; existing BAR2bind/TLB and FECS REA indices contain complete selectedcaller evidence"
|
|
]
|
|
}
|