007 First Light (PPSA11386): traps 6 s into boot since #9137 (sceNetCtlRegisterCallback answers NOT_INITIALIZED), then sceSystemServiceParamGetInt throws on parameter 100 #9458

Closed
opened 2026-10-21 22:37:39 +00:00 by hugodearaujo · 3 comments
hugodearaujo commented 2026-10-21 22:37:39 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by hugodearaujo on 2026-10-21T22:37:39Z.


Title: 007 First Light (PPSA11386 01.018.000), retail.
Where it stops: on main a6dcea9279 (#9137 merged), 6 s into boot, before the first frame. main 0c6a5bd593, the merge just before it, gets past this point: same relinked layout and save, 45 s run, logos on screen.
Setup: Linux 7.2.11 (Arch), RX 9070 XT, RADV Mesa 26.2.5, Release. One run per build.

First stop: sceNetCtlRegisterCallback answers NOT_INITIALIZED

The process dies with SIGSEGV (si_code SI_KERNEL) at app.elf+0x60295. That address holds int 0x42, the title's own trap:

app+0x6027d: lea  0x4c(%rsp),%rdx
app+0x60282: xor  %esi,%esi
app+0x60284: movl $0xffffffff,0x4c(%rsp)
app+0x6028c: call <import UJ+Z7Q+4ck0, sceNetCtlRegisterCallback>
app+0x60291: test %eax,%eax
app+0x60293: je   app+0x60297
app+0x60295: int  $0x42
  • Since ea086b2374 (fix(netctl): restore initialization and callback validation), the NetCtl calls answer SCE_NET_CTL_ERROR_NOT_INITIALIZED until sceNetCtlInit runs.

  • This title never imports sceNetCtlInit, and it isn't the only one. I checked the main executable and the bundled modules of the titles I have. Five of them call sceNetCtlRegisterCallback and sceNetCtlCheckCallback without importing sceNetCtlInit:

    • PPSA11386 (007 First Light)
    • PPSA20049 (EA SPORTS FC 25)
    • PPSA02530 (PRAGMATA)
    • PPSA14632 (LEGO Horizon Adventures)
    • PPSA15878 (Propagation VR)

    Two others do import it.

  • libSceNetCtl is the internal sysmodule 0x80000009, so presumably the system has started it before the title runs.

  • A PR follows that starts the library initialized. With it, 007 gets past this point.

Second stop, one second later: sceSystemServiceParamGetInt with parameter 100

  • With the NetCtl change, the title throws 7 s in: sceSystemServiceParamGetInt: registry-backed parameter not implemented.
  • A local print before the throw shows paramId=100.
  • Before #9137, the default case wrote 0 and returned OK, and the title went on. #9137 makes 100–111, 200–213 and 300 throw; the debt entry says their settings are not modeled.
  • I don't know what parameter 100 is or what a console answers for it, so I haven't touched it. A known default for it would let 007 boot on main again.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5969657456 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/9458). Originally posted by [hugodearaujo](https://github.com/hugodearaujo) on 2026-10-21T22:37:39Z. --- **Title:** 007 First Light (PPSA11386 01.018.000), retail. **Where it stops:** on `main` a6dcea9279 (#9137 merged), 6 s into boot, before the first frame. `main` 0c6a5bd593, the merge just before it, gets past this point: same relinked layout and save, 45 s run, logos on screen. **Setup:** Linux 7.2.11 (Arch), RX 9070 XT, RADV Mesa 26.2.5, Release. One run per build. ### First stop: `sceNetCtlRegisterCallback` answers NOT_INITIALIZED The process dies with SIGSEGV (`si_code` SI_KERNEL) at `app.elf+0x60295`. That address holds `int 0x42`, the title's own trap: ``` app+0x6027d: lea 0x4c(%rsp),%rdx app+0x60282: xor %esi,%esi app+0x60284: movl $0xffffffff,0x4c(%rsp) app+0x6028c: call <import UJ+Z7Q+4ck0, sceNetCtlRegisterCallback> app+0x60291: test %eax,%eax app+0x60293: je app+0x60297 app+0x60295: int $0x42 ``` - Since ea086b2374 (`fix(netctl): restore initialization and callback validation`), the NetCtl calls answer `SCE_NET_CTL_ERROR_NOT_INITIALIZED` until `sceNetCtlInit` runs. - This title never imports `sceNetCtlInit`, and it isn't the only one. I checked the main executable and the bundled modules of the titles I have. Five of them call `sceNetCtlRegisterCallback` and `sceNetCtlCheckCallback` without importing `sceNetCtlInit`: - PPSA11386 (007 First Light) - PPSA20049 (EA SPORTS FC 25) - PPSA02530 (PRAGMATA) - PPSA14632 (LEGO Horizon Adventures) - PPSA15878 (Propagation VR) Two others do import it. - libSceNetCtl is the internal sysmodule `0x80000009`, so presumably the system has started it before the title runs. - A PR follows that starts the library initialized. With it, 007 gets past this point. ### Second stop, one second later: `sceSystemServiceParamGetInt` with parameter 100 - With the NetCtl change, the title throws 7 s in: `sceSystemServiceParamGetInt: registry-backed parameter not implemented`. - A local print before the throw shows `paramId=100`. - Before #9137, the default case wrote 0 and returned OK, and the title went on. #9137 makes 100–111, 200–213 and 300 throw; the debt entry says their settings are not modeled. - I don't know what parameter 100 is or what a console answers for it, so I haven't touched it. A known default for it would let 007 boot on `main` again.
MarcZX10 commented 2026-10-21 22:44:13 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T22:44:13Z.


I reviewed and approved #9459 for the first NetCtl stop; its hosted eligibility, intake, conventions and relinker checks are green, and the focused GuestNetCtl test passed locally on Linux. That change does not address parameter 100. I found no repository or console evidence for a safe default value, so I agree that this should remain a separate investigation rather than restoring the old zero-success fallback.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6328202221 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/9458#issuecomment-6328202221). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-21T22:44:13Z. --- I reviewed and approved #9459 for the first NetCtl stop; its hosted eligibility, intake, conventions and relinker checks are green, and the focused `GuestNetCtl` test passed locally on Linux. That change does not address parameter 100. I found no repository or console evidence for a safe default value, so I agree that this should remain a separate investigation rather than restoring the old zero-success fallback.
Scramblrrrr commented 2026-10-22 07:11:18 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Scramblrrrr on 2026-10-22T07:11:18Z.


Resuming the Windows 007 cross-test after a pause. I found relevant console evidence in #7965: its description reports sceSystemServiceParamGetInt(100, ...) returning0 with value0 on PS5 firmware13.40, measured2026-10-19 inside a retail process. That supports a focused parameter100 case rather than restoring the former broad zero-success fallback. These are @frankea's measurements, not hardware measurements from my Windows run.

#9591 overlaps that SystemService case; please coordinate which lands first and retain the provenance/remaining registry-setting gap. I am reviewing a current-main Windows cross-test of the focused change. No new 007 boot success or playability claim yet. The NetCtl initialization fix #9459 is already on the main head under review, d6eafa54d.

AI-assisted: yes (Codex). Raw title data stays local.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6334983240 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/9458#issuecomment-6334983240). Originally posted by [Scramblrrrr](https://github.com/Scramblrrrr) on 2026-10-22T07:11:18Z. --- Resuming the Windows 007 cross-test after a pause. I found relevant console evidence in #7965: its description reports `sceSystemServiceParamGetInt(100, ...)` returning0 with value0 on PS5 firmware13.40, measured2026-10-19 inside a retail process. That supports a focused parameter100 case rather than restoring the former broad zero-success fallback. These are @frankea's measurements, not hardware measurements from my Windows run. #9591 overlaps that SystemService case; please coordinate which lands first and retain the provenance/remaining registry-setting gap. I am reviewing a current-main Windows cross-test of the focused change. No new 007 boot success or playability claim yet. The NetCtl initialization fix #9459 is already on the main head under review, d6eafa54d. AI-assisted: yes (Codex). Raw title data stays local.
hugodearaujo commented 2026-10-22 12:01:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by hugodearaujo on 2026-10-22T12:01:33Z.


Thanks @Scramblrrrr for finding #7965's measurement. With it, 007 First Light boots to its title screen again on Linux. On main a6dcea9279 with #9459 (merged since) and #7965 (41d551eb60), "Press ✕ to play" is up by about 9 minutes in a 690 s run, with no stop. A local change with only the parameter 100 case, as #9591 has it (100 answers 0, the throw narrowed to 101–111), did the same on top of #9459 in a 720 s run. Linux 7.2.11, RX 9070 XT, RADV Mesa 26.2.5, Release; one run each.

So the second stop here closes with whichever of #7965 and #9591 lands. I won't open another PR for it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6340230385 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/9458#issuecomment-6340230385). Originally posted by [hugodearaujo](https://github.com/hugodearaujo) on 2026-10-22T12:01:33Z. --- Thanks @Scramblrrrr for finding #7965's measurement. With it, 007 First Light boots to its title screen again on Linux. On `main` a6dcea9279 with #9459 (merged since) and #7965 (41d551eb60), "Press ✕ to play" is up by about 9 minutes in a 690 s run, with no stop. A local change with only the parameter 100 case, as #9591 has it (100 answers 0, the throw narrowed to 101–111), did the same on top of #9459 in a 720 s run. Linux 7.2.11, RX 9070 XT, RADV Mesa 26.2.5, Release; one run each. So the second stop here closes with whichever of #7965 and #9591 lands. I won't open another PR for it.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#9458
No description provided.