mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #21] GA106 (RTX 3060 LHR, 10de:2504): -110 with stock; after relaxing 2 checks FWSEC succeeds, then SEC2 unreachable (PRI 0xbadf5620) #17
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bobneumann on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/21
GA106 (RTX 3060 LHR,
10de:2504): stock module fails with -110; with 2 relaxed checks FWSEC succeeds, then SEC2 becomes unreachable (PRI0xbadf5620)Hardware / env: 2x RTX 3060 Lite Hash Rate (
10de:2504; ZOTAC and MSI boards), Ubuntu 24.04, kernel 6.8.0-147-generic, NVIDIA 595.99.02, Secure Boot off, built fromfc83321(viamake install-deb; had to drop the staledocs/STAGE1*install line, see #18). Cmdline:gpu_unlock.targets=0000:04:00.0 gpu_unlock.dyndbg=+p(single card, cold-ish boot after reboot; warm reboot recovers the card, nothing persists).I could not find any GA106 report in the tracker, so this may be the first. Each step below was found by iterating on one card (GPU1); GPU0 was left alone and kept working.
Stage 1 - stock:
-110atfalcon.c:229Engine reset itself is fine (assert/release OK,
hwcfg2=0x67f7scrub done,chip=0xb76000a1written), thengu_falcon_hs()pollsCPUCTLbit 4 (HALTED) to clear within 1000 us:Also: after this failure the module keeps BAR ownership/DMA buffers ("firmware did not stop; keeping its DMA buffers until power off"), so
nvidia.kothen failsrequest_mem_region(probe ... failed with error -1) andrmmod gpu_unlocksays "in use". Recovered by removing the cmdline flag and rebooting. Expected given the conservative design, just noting it.Waiting 200 ms instead of 1 ms makes no difference: the bit never clears on GA106 (
cpuctl=0x10after 200 ms). Tolerating it (log + continue) lets FWSEC launch.Stage 2 - FWSEC runs OK, WPR2 size check rejects it (
-EIO)lomatches the requested FRTS start (0x2ffe00000), but WPR2 ends at0x2ffee1000instead of the layout's0x2fff00000(about 900 KB instead of 1 MB). Relaxing only the final equality inunlock_transaction_fwsec(still requiring lo match, hi > lo, hi < wpr_end) lets it continue.Stage 3 - SEC2 unreachable after FWSEC (current blocker,
-ENODEV)At the pre-launch table check, SEC2 (
0x840000) reads back a PRI error and never recovers (retried for 500 ms):The SEC2
CPUCTLread at entry (before FWSEC) succeeds, so SEC2 is reachable pre-FWSEC on this card and is gone (or gated/locked) after FWSEC-FRTS ran. I have no idea whether this is GA106 vs GA102 SEC2/FRTS behaviour, or something specific to LHR boards. I stopped here since I can't reason about it blind.Entry state if useful:
plm=0xffffff8f ss0=0x7100000 ss1=0x0 wpr2_hi=0x0; FWSEC fuse raw=0x3 version=2; Booter fuse raw=0x1 version=1; FB 0x300000000 (12 GB); VGA base 0x2fff00000.Diff I used (3 small checks, plus the Makefile fix)
Attached below. Happy to run any debug build or extra register dumps (e.g. SEC2/PMC/PRI-ring state before and after FWSEC) on either card.
diff vs
fc83321@Zagitta commented on GitHub (Oct 23, 2026):
Likely an issue with latest push per #20, for the time being use
c274e74981d996e4b83266b43b9070804099ddae@bobneumann commented on GitHub (Oct 24, 2026):
Confirmed, thanks. Rebuilt at
c274e74on the same box (2x RTX 3060 LHR 10de:2504, Ubuntu 24.04, kernel 6.8.0-147, driver 595.99.02, power-capped to 145 W): both cards reportgpu_unlock: unlocked, nvidia binds normally, zero Xid. 8192^2 matmul: stock 27.5 -> 47.1 TFLOPS BF16 (+71%), 27.2 -> 44.8 FP16 (+65%). Both cards loaded concurrently for 90 s: 46.2/45.8 TFLOPS, 73/61 C, no errors. So the failure in this report was thefc83321regression (same three symptoms as #20), not GA106. Closing from my side.