forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

iomanx/filexio

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
radad



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Sat Jun 16, 2007 6:48 pm    Post subject: iomanx/filexio Reply with quote

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
View user's profile Send private message
ubergeek42



Joined: 13 Jul 2005
Posts: 83

PostPosted: Sun Jun 17, 2007 4:21 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
radad



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Sun Jun 17, 2007 12:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
radad



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Sun Jun 17, 2007 2:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Sun Jun 17, 2007 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
radad



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Mon Jun 18, 2007 4:58 pm    Post subject: Reply with quote

I wasnt running PS2Link over PS2Link.

Has it worked for you?
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Mon Jun 18, 2007 8:38 pm    Post subject: Reply with quote

Yeah, it has worked for me and everyone else who has worked on PS2Link :-)
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
radad



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Tue Jun 19, 2007 9:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
radad



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Tue Jun 19, 2007 10:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group