obhq / obliteration

Experimental free and open-source PlayStation 4 kernel
https://obliteration.net
Apache License 2.0
635 stars 18 forks source link

Getting this on the linux flatpak issue when running games. #430

Closed zqpvr closed 1 year ago

zqpvr commented 1 year ago

Initializing Discord rich presence.
Application Title  : pacman
Application TitleID: PCMN99999
++++++++++++++++++ W [00:00:00:00:006]:0x0000000000000022:kernel/src/discord_presence/mod.rs:48
Failed to connect to Discord client: Couldn't connect to the Discord IPC socket.
++++++++++++++++++ I [00:00:00:00:006]:0x0000000000000022:kernel/src/main.rs:99
Starting Obliteration Kernel.
System directory    : /home/deck/Documents/PS4
Game directory      : /home/deck/Documents/PS4-Games/PCMN99999
Debug dump directory: /home/deck/.var/app/io.github.obhq.Obliteration/data/OBHQ/Obliteration/kernel
++++++++++++++++++ I [00:00:00:00:006]:0x0000000000000022:kernel/src/main.rs:132
Page size             : 0x1000
Allocation granularity: 0x1000
Main stack            : 0x7effe3200000:0x7effe3400000
++++++++++++++++++ I [00:00:00:00:006]:0x0000000000000022:kernel/src/main.rs:199
Initializing runtime linker.
++++++++++++++++++ I [00:00:00:00:217]:0x0000000000000022:kernel/src/main.rs:211
Application   : /mnt/sandbox/PCMN99999_000/app0/eboot.bin
Image format  : SELF
Image type    : ET_SCE_DYNEXEC
Program 0     : 0x0000000000004000:0x00000000014ba2c4 => 0x0000000000000000:0x00000000014b62c4 PT_LOAD
Program 1     : 0x00000000014bc000:0x0000000001502e50 => 0x00000000014b8000:0x0000000001500000 PT_SCE_RELRO
Program 2     : 0x0000000001504000:0x0000000001522d88 => 0x0000000001500000:0x0000000001651d70 PT_LOAD
Program 3     : 0x0000000001504000:0x0000000001504050 => 0x0000000001500000:0x0000000001500050 PT_SCE_PROCPARAM
Program 4     : 0x00000000015fa7b0:0x00000000015fb310 => 0x0000000000000000:0x0000000000000b60 PT_DYNAMIC
Program 5     : 0x0000000000004000:0x0000000000004015 => 0x0000000000000000:0x0000000000000015 PT_INTERP
Program 6     : 0x0000000001504060:0x0000000001504060 => 0x0000000001500060:0x0000000001500080 PT_TLS
Program 7     : 0x0000000001473ad0:0x00000000014ba2c4 => 0x000000000146fad0:0x00000000014b62c4 PT_GNU_EH_FRAME
Program 8     : 0x0000000001522dc0:0x00000000015fb310 => 0x0000000000000000:0x0000000000000000 PT_SCE_DYNLIBDATA
Program 9     : 0x00000000015fb310:0x00000000015fb378 => 0x0000000000000000:0x0000000000000000 PT_SCE_COMMENT
Program 10    : 0x00000000015fb378:0x00000000015fbd8e => 0x0000000000000000:0x0000000000000000 PT_SCE_VERSION
Needed        : libSceNetCtl.prx
Needed        : libSceSysmodule.prx
Needed        : libSceNet.prx
Needed        : libSceGnmDriver.prx
Needed        : libSceUserService.prx
Needed        : libSceVideoOut.prx
Needed        : libSceAudioOut.prx
Needed        : libSceAudioIn.prx
Needed        : libScePad.prx
Needed        : libSceMove.prx
Needed        : libSceIme.prx
Needed        : libkernel.prx
Needed        : libSceRtc.prx
Needed        : libSceFios2.prx
Needed        : libSceSystemService.prx
Needed        : libSceHttp.prx
Needed        : libSceSsl.prx
Needed        : libSceSaveData.prx
Needed        : libSceCommonDialog.prx
Needed        : libSceAvPlayer.prx
Needed        : libSceAppContent.prx
Needed        : libSceWebBrowserDialog.prx
Needed        : libSceAudio3d.prx
Needed        : libSceAjm.prx
Needed        : libSceSocialScreen.prx
Needed        : libSceHmd.prx
Needed        : libSceVrTracker.prx
Needed        : libSceHmdSetupDialog.prx
Needed        : libSceCamera.prx
Needed        : libSceRemoteplay.prx
Needed        : libSceNpWebApi.prx
Needed        : libSceNpCommon.prx
Needed        : libSceNpManager.prx
Needed        : libSceMouse.prx
Needed        : mono-ps4.prx
Needed        : MonoAssembliesPS4.prx
Needed        : libc.prx
Symbol count  : 816
Module flags  : MAIN_PROG | TEXT_REL | UNK2
TLS index     : 1
Memory address: 0x00007effe15a4000:0x00007effe31f8000
Initialization: 0x00007effe19a4020
Entry address : 0x00007effe19a4080
Finalization  : 0x00007effe2b9a0c0
TLS init      : 0x00007effe2ea4060:0x00007effe2ea4060
TLS size      : 32
EH header     : 0x00007effe2e13ad0:0x00007effe2e5a2c4
EH frame      : 0x00007effe2d0e32c:0x00007effe2e13ad0
Process param : 0x00007effe2ea4000:0x00007effe2ea4050
SDK version   : 0x04508101
Program 0 is mapped to 0x00007effe19a4000:0x00007effe2e5c000 with EXECUTE | READ.
Program 1 is mapped to 0x00007effe2e5c000:0x00007effe2ea4000 with READ.
Program 2 is mapped to 0x00007effe2ea4000:0x00007effe2ff8000 with WRITE | READ.
++++++++++++++++++ I [00:00:00:00:217]:0x0000000000000022:kernel/src/main.rs:223
Loading /system/common/lib/libkernel.sprx.
++++++++++++++++++ E [00:00:00:00:217]:0x0000000000000022:kernel/src/main.rs:228
Load failed: cannot open (S)ELF -> invalid ELF magic.```
ultimaweapon commented 1 year ago

It seems like your firmware files are corrupted.

VocalFan commented 1 year ago

To be fair @ultimaweapon They had an issue FTPing on the Flatpak version with

`Failed to download system files from 192.168.1.30:2121 to /home/deck/Documents/PS4: cannot retrieve /system/sys/GnmCompositor.elf -> cannot open a data connection to 192.168.1.30:63922 -> Too many open files (os error 24)`

However, they said using WINE on the Windows version worked... Seems they probably used the same folder.

ultimaweapon commented 1 year ago

Strange. It should open at most 3 FDs per file.

ultimaweapon commented 1 year ago

The only cases I can think is Rust inline this function https://github.com/obhq/obliteration/blob/main/src/core/src/fwdl.rs#L105 and cause dst and src not dropped on each file.

Quackdoc commented 1 year ago

Too many open files (os error 24) is an OS issue, usually on distros like fedora where max file descriptors are set to a low number. this can cause all sorts of issues, some that go noticed, some that don't.

an example of such an issue is here https://discussion.fedoraproject.org/t/running-out-of-file-handles-in-pipewire/85544/10

zqpvr commented 1 year ago

Too many open files (os error 24) is an OS issue, usually on distros like fedora where max file descriptors are set to a low number. this can cause all sorts of issues, some that go noticed, some that don't.

an example of such an issue is here https://discussion.fedoraproject.org/t/running-out-of-file-handles-in-pipewire/85544/10

so how would I fix it?

Quackdoc commented 1 year ago

so how would I fix it?

the link I replied with has a potential fix

VocalFan commented 1 year ago

Not really a fix as it modifys the hard limit... But even then the USER has to do it.

ultimaweapon commented 1 year ago

So this is a limit per user that shared with multiple processes?

Quackdoc commented 1 year ago

Not really a fix as it modifys the hard limit... But even then the USER has to do it.

while I do agree, this is not something obliteration can solve, the fix the real fix is using a different distro :D

So this is a limit per user that shared with multiple processes?

it's a little complicated on how it works, but the TLDR is that you have both Global limits, and Per process limits. and then there are some hidden shared limits.

On some distros the hard limit is set to 4096 (ulimit -Hn should show the max hard limit) if this is the case then it's possible if obliteration is surpassing this, however most distros now should have a hard limit surpassing 9999 and a soft limit of around 1024 (a soft limit will not immediately cause the os to reject you.)

I wouldn't remove the possibility of flatpak imposing their own file limits too. It could be global limits, could be process limits or could be typical linux jank. but in the end, unless obliteration is doing something really weird, this is likely just either distro or flatpak shenanigans

zqpvr commented 1 year ago

If it helps I'm on Steam OS.

ultimaweapon commented 1 year ago

@zqpvr can you run ulimit -Hn to see what is the hard-limit on your machine?

zqpvr commented 1 year ago

@zqpvr can you run ulimit -Hn to see what is the hard-limit on your machine?

(deck@steamdeck ~)$ ulimit -Hn 524288

Quackdoc commented 1 year ago

While that is a but on the lower side, I don't think that would be low enough to cause issues however I have found multiple other users with similar issues so it seems like it's not an isolated case. I really don't think the hard limit should be an issue here though considering it's so high.

Im thinking this is likely a steamdeck specific issue after some digging, there was some issues with how flatpak and ostree interact with eachother in the past, and this is very reminicent of it

Past issues; https://github.com/flatpak/flatpak/issues/4928 https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1783 https://github.com/flatpak/flatpak/issues/5078

Other Users; https://gist.github.com/stefanocoding/ec7d54116559781455d67019439e4ae5

https://www.reddit.com/r/SteamDeckEmu/comments/17op8fd/having_issues_updating_38_files_on_my_steam_deck/ https://www.reddit.com/r/SteamDeck/comments/1623nw8/help_with_discover_updates_too_many_open_files/

ultimaweapon commented 1 year ago

@zqpvr can you test this? https://github.com/obhq/obliteration/pull/441

zqpvr commented 1 year ago

@ultimaweapon I will test when I get home tommorow, also I assume you got a flatpak build for this?

ultimaweapon commented 1 year ago

@ultimaweapon I will test when I get home tommorow, also I assume you got a flatpak build for this?

You can download Flatpack build from the CI of that PR.

zqpvr commented 1 year ago

Ok I got time to test it now.

zqpvr commented 1 year ago

When I go here https://github.com/obhq/obliteration/actions/runs/6893625865/job/18753631991?pr=441 I can't find the option to download the artifact.

ultimaweapon commented 1 year ago

You need to go to the Summary tab. Here is the link: https://github.com/obhq/obliteration/actions/runs/6893625865?pr=441

zqpvr commented 1 year ago

Alright, I am testing rn just got to jailbreak the ps4.

zqpvr commented 1 year ago

seems to be working so far

zqpvr commented 1 year ago

it worked, merge these changes

ultimaweapon commented 1 year ago

Thanks for testing!

zqpvr commented 1 year ago

@ultimaweapon I get an issue with running ps4 xplorer,


Starting Obliteration Kernel.
System directory    : /home/deck/Documents/PS4
Game directory      : /home/deck/Documents/PS4-Games/LAPY20006
Debug dump directory: /home/deck/.var/app/io.github.obhq.Obliteration/data/OBHQ/Obliteration/kernel
Application Title   : PS4 Temperature
Application ID      : LAPY20006
Operating System    : Linux 6.6 KDE Flatpak runtime 6.1.52-valve5-1-neptune-61
CPU Information     : AMD Custom APU 0405
Memory Available    : 8293/14814 MB
++++++++++++++++++ I [00:00:00:00:038]:0x0000000000000028:kernel/src/main.rs:180
Page size             : 0x1000
Allocation granularity: 0x1000
Main stack            : 0x7fe4a77fc000:0x7fe4a79fc000
++++++++++++++++++ I [00:00:00:00:038]:0x0000000000000028:kernel/src/main.rs:250
Initializing runtime linker.
++++++++++++++++++ I [00:00:00:00:269]:0x0000000000000028:kernel/src/main.rs:262
Application   : /mnt/sandbox/LAPY20006_000/app0/eboot.bin
Image format  : SELF
Image type    : ET_SCE_DYNEXEC
Program 0     : 0x0000000000004000:0x00000000014ba2c4 => 0x0000000000000000:0x00000000014b62c4 PT_LOAD
Program 1     : 0x00000000014bc000:0x0000000001502e50 => 0x00000000014b8000:0x0000000001500000 PT_SCE_RELRO
Program 2     : 0x0000000001504000:0x0000000001522d88 => 0x0000000001500000:0x0000000001651d70 PT_LOAD
Program 3     : 0x0000000001504000:0x0000000001504050 => 0x0000000001500000:0x0000000001500050 PT_SCE_PROCPARAM
Program 4     : 0x00000000015fa7b0:0x00000000015fb310 => 0x0000000000000000:0x0000000000000b60 PT_DYNAMIC
Program 5     : 0x0000000000004000:0x0000000000004015 => 0x0000000000000000:0x0000000000000015 PT_INTERP
Program 6     : 0x0000000001504060:0x0000000001504060 => 0x0000000001500060:0x0000000001500080 PT_TLS
Program 7     : 0x0000000001473ad0:0x00000000014ba2c4 => 0x000000000146fad0:0x00000000014b62c4 PT_GNU_EH_FRAME
Program 8     : 0x0000000001522dc0:0x00000000015fb310 => 0x0000000000000000:0x0000000000000000 PT_SCE_DYNLIBDATA
Program 9     : 0x00000000015fb310:0x00000000015fb378 => 0x0000000000000000:0x0000000000000000 PT_SCE_COMMENT
Program 10    : 0x00000000015fb378:0x00000000015fbd8e => 0x0000000000000000:0x0000000000000000 PT_SCE_VERSION
Needed        : libSceNetCtl.prx
Needed        : libSceSysmodule.prx
Needed        : libSceNet.prx
Needed        : libSceGnmDriver.prx
Needed        : libSceUserService.prx
Needed        : libSceVideoOut.prx
Needed        : libSceAudioOut.prx
Needed        : libSceAudioIn.prx
Needed        : libScePad.prx
Needed        : libSceMove.prx
Needed        : libSceIme.prx
Needed        : libkernel.prx
Needed        : libSceRtc.prx
Needed        : libSceFios2.prx
Needed        : libSceSystemService.prx
Needed        : libSceHttp.prx
Needed        : libSceSsl.prx
Needed        : libSceSaveData.prx
Needed        : libSceCommonDialog.prx
Needed        : libSceAvPlayer.prx
Needed        : libSceAppContent.prx
Needed        : libSceWebBrowserDialog.prx
Needed        : libSceAudio3d.prx
Needed        : libSceAjm.prx
Needed        : libSceSocialScreen.prx
Needed        : libSceHmd.prx
Needed        : libSceVrTracker.prx
Needed        : libSceHmdSetupDialog.prx
Needed        : libSceCamera.prx
Needed        : libSceRemoteplay.prx
Needed        : libSceNpWebApi.prx
Needed        : libSceNpCommon.prx
Needed        : libSceNpManager.prx
Needed        : libSceMouse.prx
Needed        : mono-ps4.prx
Needed        : MonoAssembliesPS4.prx
Needed        : libc.prx
Symbol count  : 816
Module flags  : MAIN_PROG | TEXT_REL | UNK2
TLS index     : 1
Memory address: 0x00007fe4a5ba0000:0x00007fe4a77f4000
Initialization: 0x00007fe4a5fa0020
Entry address : 0x00007fe4a5fa0080
Finalization  : 0x00007fe4a71960c0
TLS init      : 0x00007fe4a74a0060:0x00007fe4a74a0060
TLS size      : 32
EH header     : 0x00007fe4a740fad0:0x00007fe4a74562c4
EH frame      : 0x00007fe4a730a32c:0x00007fe4a740fad0
Process param : 0x00007fe4a74a0000:0x00007fe4a74a0050
SDK version   : 0x04508101
Program 0 is mapped to 0x00007fe4a5fa0000:0x00007fe4a7458000 with EXECUTE | READ.
Program 1 is mapped to 0x00007fe4a7458000:0x00007fe4a74a0000 with READ.
Program 2 is mapped to 0x00007fe4a74a0000:0x00007fe4a75f4000 with WRITE | READ.
++++++++++++++++++ I [00:00:00:00:269]:0x0000000000000028:kernel/src/main.rs:274
Loading /system/common/lib/libkernel.sprx.
++++++++++++++++++ I [00:00:00:00:297]:0x0000000000000028:kernel/src/main.rs:285
Image format  : ELF
Image type    : ET_SCE_DYNAMIC
Program 0     : 0x0000000000004000:0x0000000000054318 => 0x0000000000000000:0x0000000000050318 PT_LOAD
Program 1     : 0x0000000000058000:0x0000000000059010 => 0x0000000000054000:0x0000000000055010 PT_SCE_RELRO
Program 2     : 0x000000000005c000:0x000000000005c330 => 0x0000000000058000:0x000000000008f590 PT_LOAD
Program 3     : 0x000000000005c000:0x000000000005c020 => 0x0000000000058000:0x0000000000058020 PT_SCE_MODULEPARAM
Program 4     : 0x000000000006d488:0x000000000006d9a8 => 0x0000000000000000:0x0000000000000520 PT_DYNAMIC
Program 5     : 0x0000000000000000:0x0000000000000000 => 0x0000000000000000:0x0000000000000000 PT_TLS
Program 6     : 0x0000000000050e9c:0x0000000000054318 => 0x000000000004ce9c:0x0000000000050318 PT_GNU_EH_FRAME
Program 7     : 0x000000000005c330:0x000000000006d9a8 => 0x0000000000000000:0x0000000000000000 PT_SCE_DYNLIBDATA
Program 8     : 0x0000000000000000:0x0000000000000000 => 0x0000000000000000:0x0000000000000000 PT_SCE_VERSION
Needed        : libSceLibcInternal.prx
Needed        : libSceGnmDriver.prx
Symbol count  : 1402
Module flags  : UNK1
TLS index     : 0
Memory address: 0x00007fe4a590c000:0x00007fe4a5b9c000
Initialization: 0x00007fe4a590c000
Entry address : 0x00007fe4a59347e8
Finalization  : 0x00007fe4a59427a0
TLS init      : 0x00007fe4a590c000:0x00007fe4a590c000
TLS size      : 0
EH header     : 0x00007fe4a5958e9c:0x00007fe4a595c318
EH frame      : 0x00007fe4a5948270:0x00007fe4a5958e9c
Program 0 is mapped to 0x00007fe4a590c000:0x00007fe4a5960000 with EXECUTE | READ.
Program 1 is mapped to 0x00007fe4a5960000:0x00007fe4a5964000 with READ.
Program 2 is mapped to 0x00007fe4a5964000:0x00007fe4a599c000 with WRITE | READ.
++++++++++++++++++ I [00:00:00:00:297]:0x0000000000000028:kernel/src/main.rs:292
Loading /system/common/lib/libSceLibcInternal.sprx.
++++++++++++++++++ I [00:00:00:00:316]:0x0000000000000028:kernel/src/main.rs:303
Image format  : ELF
Image type    : ET_SCE_DYNAMIC
Program 0     : 0x0000000000004000:0x0000000000129c8c => 0x0000000000000000:0x0000000000125c8c PT_LOAD
Program 1     : 0x000000000012c000:0x0000000000130510 => 0x0000000000128000:0x000000000012c510 PT_SCE_RELRO
Program 2     : 0x0000000000134000:0x000000000013dbe8 => 0x0000000000130000:0x0000000000149110 PT_LOAD
Program 3     : 0x0000000000134000:0x000000000013a4d8 => 0x0000000000130000:0x00000000001364d8 PT_SCE_MODULEPARAM
Program 4     : 0x000000000016cc78:0x000000000016cf18 => 0x0000000000000000:0x00000000000002a0 PT_DYNAMIC
Program 5     : 0x000000000013a4e0:0x000000000013a660 => 0x00000000001364e0:0x0000000000136a40 PT_TLS
Program 6     : 0x0000000000122a88:0x0000000000129c8c => 0x000000000011ea88:0x0000000000125c8c PT_GNU_EH_FRAME
Program 7     : 0x000000000013dc00:0x000000000016cf18 => 0x0000000000000000:0x0000000000000000 PT_SCE_DYNLIBDATA
Program 8     : 0x0000000000000000:0x0000000000000000 => 0x0000000000000000:0x0000000000000000 PT_SCE_VERSION
Needed        : libkernel.prx
Needed        : libSceLibcInternal.prx
Symbol count  : 3167
Module flags  : UNK1
TLS index     : 2
Memory address: 0x00007fe4a55c0000:0x00007fe4a590c000
Initialization: 0x00007fe4a55c0000
Finalization  : 0x00007fe4a56953b0
TLS init      : 0x00007fe4a56f64e0:0x00007fe4a56f6660
TLS size      : 1376
EH header     : 0x00007fe4a56dea88:0x00007fe4a56e5c8c
EH frame      : 0x00007fe4a56b9664:0x00007fe4a56dea88
Program 0 is mapped to 0x00007fe4a55c0000:0x00007fe4a56e8000 with EXECUTE | READ.
Program 1 is mapped to 0x00007fe4a56e8000:0x00007fe4a56f0000 with READ.
Program 2 is mapped to 0x00007fe4a56f0000:0x00007fe4a570c000 with WRITE | READ.
++++++++++++++++++ I [00:00:00:00:316]:0x0000000000000028:kernel/src/main.rs:319
Starting application.
++++++++++++++++++ I [00:00:00:00:316]:0x0000000000000028:kernel/src/main.rs:347
Initializing Discord rich presence.
++++++++++++++++++ I [00:00:00:00:316]:0x0000000000000031:kernel/src/rtld/mod.rs:481
Relocating loaded modules.
++++++++++++++++++ I [00:00:00:00:325]:0x0000000000000031:kernel/src/rtld/mod.rs:429
Copied 3 module IDs for dynamic linking.
++++++++++++++++++ I [00:00:00:00:325]:0x0000000000000031:kernel/src/rtld/mod.rs:794
Retrieved info for module /mnt/sandbox/LAPY20006_000/app0/eboot.bin (ID = 0).
mapbase     : 0x7fe4a5fa0000
textsize    : 0x14b8000
database    : 0x7fe4a74a0000
datasize    : 0x154000
tlsindex    : 131073
tlsinit     : 0x7fe4a74a0060
tlsoffset   : 0x20
init        : 0x7fe4a5fa0020
fini        : 0x7fe4a71960c0
eh_frame_hdr: 0x7fe4a740fad0
++++++++++++++++++ I [00:00:00:00:325]:0x0000000000000031:kernel/src/rtld/mod.rs:794
Retrieved info for module /system/common/lib/libkernel.sprx (ID = 1).
mapbase     : 0x7fe4a590c000
textsize    : 0x54000
database    : 0x7fe4a5964000
datasize    : 0x38000
tlsindex    : 65536
tlsinit     : 0x7fe4a590c000
tlsoffset   : 0x0
init        : 0x7fe4a590c000
fini        : 0x7fe4a59427a0
eh_frame_hdr: 0x7fe4a5958e9c
++++++++++++++++++ I [00:00:00:00:325]:0x0000000000000031:kernel/src/rtld/mod.rs:794
Retrieved info for module /system/common/lib/libSceLibcInternal.sprx (ID = 2).
mapbase     : 0x7fe4a55c0000
textsize    : 0x128000
database    : 0x7fe4a56f0000
datasize    : 0x1c000
tlsindex    : 65538
tlsinit     : 0x7fe4a56f64e0
tlsoffset   : 0x580
init        : 0x7fe4a55c0000
fini        : 0x7fe4a56953b0
eh_frame_hdr: 0x7fe4a56dea88
++++++++++++++++++ I [00:00:00:00:325]:0x0000000000000031:kernel/src/budget/mod.rs:26
Getting budget process type for process -1.
++++++++++++++++++ W [00:00:00:00:325]:0x0000000000000031:kernel/src/syscalls/mod.rs:63
Syscall 610 failed: no such file or directory.
++++++++++++++++++ W [00:00:00:00:325]:0x0000000000000031:kernel/src/regmgr/mod.rs:83
regmgr_call(25) failed: entry SCE_REGMGR_ENT_KEY_DEVENV_TOOL_game_intmem_dbg not found.
++++++++++++++++++ I [00:00:00:00:325]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcIHeap00007FE4A56FB1D0' (ID = 2) was created with data = 0x7fe4a5999e30 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:325]:0x0000000000000031:kernel/src/memory/mod.rs:566
0x200000000:0x201003000 is mapped as CPU_READ | CPU_WRITE with MAP_ANON | MAP_GUARD.
++++++++++++++++++ I [00:00:00:00:325]:0x0000000000000031:kernel/src/memory/mod.rs:583
Setting name for 0x200000000:0x201000000 to 'SceKernelInternalMemory'.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/process/mod.rs:521
Returning is_in_sandbox as 0.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/process/mod.rs:224
Virtual process now set as group leader.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/fs/mod.rs:247
Revoking access to /dev/console.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/fs/mod.rs:161
Opening /dev/console with O_RDWR.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/fs/mod.rs:170
File descriptor 3 was allocated for /dev/console.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/process/mod.rs:204
Login name was changed to 'root'.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/fs/mod.rs:225
Executing ioctl(0x20007461) on /dev/console.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/memory/mod.rs:545
Guard page has been requested for main stack.
++++++++++++++++++ W [00:00:00:00:326]:0x0000000000000031:kernel/src/memory/mod.rs:554
mmap(0x200000000, 0x4000, CPU_READ | CPU_WRITE, MAP_ANON, -1, 0) was success with 0x7fe4b47e8000 instead of 0x200000000.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/memory/mod.rs:583
Setting name for 0x7fe4b47e8000:0x7fe4b47ec000 to 'SceKernelPrimaryTcbTls'.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/arch/mod.rs:47
FS segment has been changed to 0x7fe4b47e80a0.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/process/mod.rs:316
Setting SIGTHR handler to 0x7fe4a59180d0 with flags = SA_SIGINFO and mask = SIGHUP | SIGINT | SIGQUIT | SIGILL | SIGTRAP | SIGABRT | SIGEMT | SIGFPE | SIGKILL | SIGBUS | SIGSEGV | SIGSYS | SIGPIPE | SIGALRM | SIGTERM | SIGURG | SIGSTOP | SIGTSTP | SIGCONT | SIGCHLD | SIGTTIN | SIGTTOU | SIGIO | SIGXCPU | SIGXFSZ | SIGVTALRM | SIGPROF | SIGWINCH | SIGINFO | SIGUSR1 | SIGUSR2 | SIGTHR | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | SIGNONE.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/rtld/mod.rs:385
Getting symbol 'module_start' from /system/common/lib/libkernel.sprx.
++++++++++++++++++ W [00:00:00:00:326]:0x0000000000000031:kernel/src/syscalls/mod.rs:63
Syscall 591 failed: no such process.
++++++++++++++++++ I [00:00:00:00:326]:0x0000000000000031:kernel/src/rtld/mod.rs:385
Getting symbol 'module_start' from /system/common/lib/libSceLibcInternal.sprx.
++++++++++++++++++ W [00:00:00:00:326]:0x0000000000000031:kernel/src/syscalls/mod.rs:63
Syscall 591 failed: no such process.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_Atexit' (ID = 3) was created with data = 0x200000020 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/fs/mod.rs:161
Opening /dev/console with O_WRONLY.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/fs/mod.rs:170
File descriptor 4 was allocated for /dev/console.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_DebugOut' (ID = 4) was created with data = 0x2000000a0 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/budget/mod.rs:26
Getting budget process type for process 1.
++++++++++++++++++ W [00:00:00:00:327]:0x0000000000000031:kernel/src/syscalls/mod.rs:63
Syscall 610 failed: no such file or directory.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/budget/mod.rs:26
Getting budget process type for process 1.
++++++++++++++++++ W [00:00:00:00:327]:0x0000000000000031:kernel/src/syscalls/mod.rs:63
Syscall 610 failed: no such file or directory.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_Locale' (ID = 5) was created with data = 0x200000100 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_Malloc' (ID = 6) was created with data = 0x200000160 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_Stream' (ID = 7) was created with data = 0x2000001c0 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_Debug' (ID = 8) was created with data = 0x200000220 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_CallOnce' (ID = 9) was created with data = 0x200000280 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_CallOnceEx' (ID = 10) was created with data = 0x2000002e0 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_AtThreadExit' (ID = 11) was created with data = 0x200000340 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_Reserved' (ID = 12) was created with data = 0x2000003a0 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_FileStdin' (ID = 13) was created with data = 0x200000400 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_FileStdout' (ID = 14) was created with data = 0x200000460 and flags = 0x101.
++++++++++++++++++ I [00:00:00:00:327]:0x0000000000000031:kernel/src/process/mod.rs:511
Named object 'SceLibcI_FileStderr' (ID = 15) was created with data = 0x2000004c0 and flags = 0x101.
++++++++++++++++++ P [00:00:00:00:328]:0x0000000000000031:kernel/src/sysctl/mod.rs:198
not yet implemented: sysctl [1, 14, 41]```
ultimaweapon commented 1 year ago

@SuchAFuriousDeath are currently working on this. See #416 for the the corresponding issue.