I have been trying to trace the execution through filexio and iomanx.
I put a 'printf' in 'fileXioRpc_Open' from fileXio_iop.c and I am seeing that ouput ok.
But when I put a 'printf' in 'open' from iomanX.c I dont see the output.
Would anybody know why that is?
I can put a 'printf' in '_start' from iomanX.c and I can see that.
'fileXioRpc_Open' should call 'open' directly so why arent I seeing all of the output?
iomanx/filexio
-
- Posts: 83
- Joined: Wed Jul 13, 2005 12:25 am
I just did a little bit of testing with this. If you are running from ps2link, then iomanx is already loaded, and trying to load it again makes the call to RegisterLibraryEntries in _start fail, which makes it fail to initilize the module. I assume that this is the issue, and to get around it, I think you would have to recompile ps2link(either with your debugging iomanx module builtin, or with ps2link loading from external modules.)
I think youre right. I was coming to that conclusion myself also.
I might try building ps2link without iomanx. It seems to be only needed for ps2dev9 support. And ps2dev9 is only needed for the poweroff stuff.
My first attempts at building ps2link are failing though. I use windows and its failing trying to run bash - missing dll.
I might try building ps2link without iomanx. It seems to be only needed for ps2dev9 support. And ps2dev9 is only needed for the poweroff stuff.
My first attempts at building ps2link are failing though. I use windows and its failing trying to run bash - missing dll.
I built it with HIGHLOAD=1 and that works whether I run it from my original ps2link or not. Not sure why the HIGHLOAD=0 version is not working. Anyway, I can continue with that.
I made my changes to remove all references to iomanx, ps2dev9 and the poweroff irxs. Everything built ok. I ran this and I get the welcome message but ps2client cant connect to it.
I built both versions with DEBUG=1 to see what was going. The original code that works was reporting the iop reset and then reports the ttty mount again. But when I run my modified version the output on the screen reports all the irxs were loaded successfully but I am not getting the tty mount message. It looks like the ps2link irx is not starting correctly.
Does anybody have any ideas on how I can debug this?
I made my changes to remove all references to iomanx, ps2dev9 and the poweroff irxs. Everything built ok. I ran this and I get the welcome message but ps2client cant connect to it.
I built both versions with DEBUG=1 to see what was going. The original code that works was reporting the iop reset and then reports the ttty mount again. But when I run my modified version the output on the screen reports all the irxs were loaded successfully but I am not getting the tty mount message. It looks like the ps2link irx is not starting correctly.
Does anybody have any ideas on how I can debug this?