| View previous topic :: View next topic |
| Author |
Message |
radad
Joined: 19 May 2004 Posts: 246 Location: Melbourne, Australia
|
Posted: Sat Jun 16, 2007 6:48 pm Post subject: iomanx/filexio |
|
|
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? |
|
| Back to top |
|
 |
ubergeek42
Joined: 13 Jul 2005 Posts: 83
|
Posted: Sun Jun 17, 2007 4:21 am Post subject: |
|
|
| 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.) |
|
| Back to top |
|
 |
radad
Joined: 19 May 2004 Posts: 246 Location: Melbourne, Australia
|
Posted: Sun Jun 17, 2007 12:40 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
radad
Joined: 19 May 2004 Posts: 246 Location: Melbourne, Australia
|
Posted: Sun Jun 17, 2007 2:44 pm Post subject: |
|
|
I have got it to compile ok now - just commented out the SHELL line in the makefile. But now it is running, not even getting the welcome message.
Can anyone else build and run ps2link out of the box? |
|
| Back to top |
|
 |
Lukasz

Joined: 19 Jan 2004 Posts: 248 Location: Denmark
|
Posted: Sun Jun 17, 2007 6:09 pm Post subject: |
|
|
Remember to set HIGHLOAD=1 in the makefile, if you are running PS2Link over PS2Link or else you will overwrite the running one, which will cause unpredictable results :-) _________________ Lukasz.dk |
|
| Back to top |
|
 |
radad
Joined: 19 May 2004 Posts: 246 Location: Melbourne, Australia
|
Posted: Mon Jun 18, 2007 4:58 pm Post subject: |
|
|
I wasnt running PS2Link over PS2Link.
Has it worked for you? |
|
| Back to top |
|
 |
Lukasz

Joined: 19 Jan 2004 Posts: 248 Location: Denmark
|
Posted: Mon Jun 18, 2007 8:38 pm Post subject: |
|
|
Yeah, it has worked for me and everyone else who has worked on PS2Link :-) _________________ Lukasz.dk |
|
| Back to top |
|
 |
radad
Joined: 19 May 2004 Posts: 246 Location: Melbourne, Australia
|
Posted: Tue Jun 19, 2007 9:47 pm Post subject: |
|
|
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? |
|
| Back to top |
|
 |
radad
Joined: 19 May 2004 Posts: 246 Location: Melbourne, Australia
|
Posted: Tue Jun 19, 2007 10:59 pm Post subject: |
|
|
I worked it out - ps2smap depends on ps2dev9 also. This has a more complex dependence so my original idea wasnt going to work. Instead I removed the ps2dev9 dependence on iomanx. It now seems to be working.
Still not sure why only the highload version works though. |
|
| Back to top |
|
 |
|