Open-PS2-Loader icon indicating copy to clipboard operation
Open-PS2-Loader copied to clipboard

[ISSUE]: Without USB stick, SMB and HDD can crash

Open rickgaiser opened this issue 3 years ago • 7 comments

Checks

Describe the issue

When OPL starts a game, it always tries to 'stop' usb devices: https://github.com/ps2homebrew/Open-PS2-Loader/blob/4e6c85ea0223f7b12643c8dc7b5ac06eb5e9e6ce/src/bdmsupport.c#L478-L489

With the old fat32/vfat driver this was no issue, but with the new exFat/FatFs driver this causes a crash (or random behaviour).

Console model

All

OPL version / revision

Starting from exFat version.

In which device(s) have you experienced this issue?

SMB, HDD

Context and extra information

No response

rickgaiser avatar Jun 24 '22 09:06 rickgaiser

Without or with USB plugged in? I thought problem exists when USB is plugged in. ;)

Haker120 avatar Jun 24 '22 10:06 Haker120

'Without USB stick, SMB and HDD can crash' is correct.

Without USB -> crash With USB -> no crash

You fixed your issue (#690) by putting a USB stick into the PS2 as I suggested, right?

rickgaiser avatar Jun 24 '22 10:06 rickgaiser

Erm, no, I turned off pad emulation and no matter if USB is plugged in or not Black works and Crash Twinsanity doesn't freeze. ;)

Haker120 avatar Jun 24 '22 11:06 Haker120

@Haker120 try setting HDD start mode to manual and deleting hdd0:+OPL/games.bin. aslo, keep a usb storage device attached to ps2 when you run OPL.

carl0sjt avatar Jun 24 '22 14:06 carl0sjt

But I'm testing that on 90004 so I'm unable to delete anything from hdd0. :D

Haker120 avatar Jun 24 '22 16:06 Haker120

Can someone try OPL 1912? I do not have this problem anymore. Although I do not know if this problem was fixed in PS2SDK, or in some kind of a "silent update"...

J013k avatar Aug 08 '22 10:08 J013k

I think this commit/PR in ps2sdk fixed (worked around) the issue: https://github.com/ps2dev/ps2sdk/pull/296/commits/ae8706c54f165a1bd441491bbc0be524adeded6c

rickgaiser avatar Aug 08 '22 10:08 rickgaiser