Forum: Official Open PS2 Loader Forum - Discussion and information on the Official Open PS2 Loader.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Open PS2 Loader 0.5 and Linux SMB (vs XP)
  

Results 1 to 7 of 7
  1. #1 Open PS2 Loader 0.5 and Linux SMB (vs XP) 
    endymion2k5 is offline Registered User
    Join Date
    Dec 2009
    Posts
    6
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    First of all, Thank you very much for this neat tool. Im sure it will get lots better along the way. The idea is great and from my perspective SMB loads a
    lot faster then USB ever will.

    I am attempting to run this over the SMB Networking share, but having bad luck.

    My PS2 is a Slim, SCPH-77006. Hooked up on the LAN, which connects to various devices.

    It seems i am having big issues getting this to work "nicely" on Linux. Windows is not an issue, it works flawlessly. The network setup itself is good, PS2 Loader detects the games. This is not the issue.

    I have Two computers subject for testing. One being XP and one being Debian Squeeze. Both had the right changes under the hood to make PS2 Loader work and "log into the share". The game that both shares present to the PS2 is Killzone (SCUS).

    With Windows XP (Laptop, not VMWare) i can keep the game running multiple hours in the menu/intro. It does not crash nor disconnect from the Share.
    With Debian Samba, i CANNOT keep the game running over 5 minutes, in the menu/intro. It crashes after the intro/menu where it starts loads a second video.

    The game has been dumped again to the share to ensure i was not dealing with broken data. The result is the same.

    I sniffed the traffic and made Samba log with level 3. It does not show anything weird, apart from that all Data stops, Samba says the Endpoint has been disconnected, Connection reset by peer. The PS2 freezes after this. It always seems to crash before an ACK however, and always at the same part of the movie (XP passes this part multiple times).

    I was thinking it could be related to the Linux networking stack. This is why i have installed VMware on the Linux Server. I have done two tests.

    Debian > VMware > Opensuse 64 bit > PS2 Loader crashes at same point. (Not Linux Distro related? Debian Samba 3.43 vs Suse Samba 3.42)
    Debian > VMWare > XP > PS2 Loader works as a charm, no crashes. (Not Debian network related?)

    Could anyone give me a nudge in the right direction?
    Reply With Quote  

  2. #2  
    TnA's Avatar
    TnA
    TnA is offline Member
    Join Date
    Apr 2005
    Location
    Germany
    Posts
    4,580
    Downloads
    0
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    12
    Likes Received
    30
    To me it seems the Samba-Server on PC-Side (on Linux) do auto-idle, if no new data was requested, within a specific time.

    This answer might be a really dumb one, but I thought I throw it in, to give you a hint at least...
    PS2 V7/DMS3 V2 (FW:2.4b7); Seagate Baracuda 200GB
    PS2 V7/CC1.0 (FW:34 hacked v2 BM:2.1.6); Maxtor DiamondMAX9 PLUS 160GB
    PS2 SCPH-30004R; NoMod+NoLaser

    3xSony BBA
    3xSony MC 8MB
    MAX/Datel 16MB with Boot-CD
    MAX/Datel 32MB&64MB

    Custom FMCB 1.8b+ Beta-Build, my AIO 0.5, Sony&xRhino-Linux
    Reply With Quote  

  3. #3  
    endymion2k5 is offline Registered User
    Join Date
    Dec 2009
    Posts
    6
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by TnA View Post
    To me it seems the Samba-Server on PC-Side (on Linux) do auto-idle, if no new data was requested, within a specific time.

    This answer might be a really dumb one, but I thought I throw it in, to give you a hint at least...
    That is what i thought from the start aswell. I have been fiddling with this for a few days now. There are a few things i have already tried with Samba (Debian)

    smb ports = 139 (change 445 to 139 on PS2 loader, havent noticed side effects but did not came further)
    socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY
    announce version = 5.0
    wins support = true
    oplocks = no
    locking = no
    level 2 oplocks = no

    At the point of the "crash" there is data being send. The video does load for a good 10 to 15 seconds, tcpdump detects troughput at this time. I do not think it has anything to do with it being idle. Even in the menu it tends to load a bit from the network.
    Reply With Quote  

  4. #4  
    E P
    E P is offline Member
    Join Date
    Sep 2004
    Posts
    985
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    0
    Likes Received
    15
    Yes, as TnA says you probably need the to add the following to your samba smb.conf file:

    Code:
    [global]
    keep alive = 0
    The "keep alive" or "keepalive" option needs to be added to your existing [global] settings section. At least, that's what fixed it in for me.
    Reply With Quote  

  5. #5  
    JNABK's Avatar
    JNABK is offline Member
    Join Date
    Sep 2004
    Location
    <<< I'm right over there!
    Posts
    4,920
    Downloads
    3
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    2
    Likes Received
    16
    ive made a guide for some of the commonly used OS and there is one for Linux that might help.

    http://home.comcast.net/~jnabk2/openps2/networking.html
    PS2 Consoles:
    SCPH-30001 [V4] - unmodded (2)
    SCPH-30001-R [V5] DMS4 Pro SE
    SCPH-50001-N [V9] CC 2.0 SLE
    SCPH-79001 [V16] Silver - unmodded

    Reply With Quote  

  6. #6  
    endymion2k5 is offline Registered User
    Join Date
    Dec 2009
    Posts
    6
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by E P View Post
    Yes, as TnA says you probably need the to add the following to your samba smb.conf file:

    Code:
    [global]
    keep alive = 0
    The "keep alive" or "keepalive" option needs to be added to your existing [global] settings section. At least, that's what fixed it in for me.
    Thank you very much, this indeed fixed the issue. Well, it passed the video one time. It never did before.

    Im gonna let it run for a bit longer but im pretty sure that it has been resolved.

    EDIT: Fixed indeed
    Last edited by endymion2k5; 12-09-2009 at 04:38 PM. Reason: Issue fixed
    Reply With Quote  

  7. #7  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    Hmm, keepalive parameter is for the server sending keepalive packets.

    Putting it to 0, stop the sending. If it solved the problem, that means the PS2 (client) doesn't respond to this special packet.

    Anyway that may be a normal behavior, as the PS2 only bother to read data from the share ...
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •