I was just wondering if anyone has one of these and has gotten it working with OPL. I've had no luck so far. I've installed some custom kernels and firmware, but nothing so far. I'm going to try some more things, so hopefully I'll get it working.
Printable View
I was just wondering if anyone has one of these and has gotten it working with OPL. I've had no luck so far. I've installed some custom kernels and firmware, but nothing so far. I'm going to try some more things, so hopefully I'll get it working.
Well I figured out the problem. I'm using the LS1 and it has a crossover switch...which shouldn't be used with a crossover cable... I'm running OpenLink firmware and the updated 2.6 kernel and OPL is working. I'm not sure if it will work with the original firmware/kernel, but I got it working with this.
Well I got 1 game working, and I assumed the rest would work as well... Right now the share that holds the PS2 games doesn't like to show up among the other shares on the NAS. If it does show up, the games are messed up. It shows multiple duplicates of games as well as showing some as .isoiso. When looking at the drive from windows, everything appears normal. Are there some settings I should try changing to make it work in the samba config?
It sounds like you might be having the same problem as me with an old LinkStation NAS. For the full story see this thread: OPL 0.8 network game name corruption.
I'm not sure whether the bug is in OPL (it probably is an OPL bug) or the LinkStation, but as a workaround try renaming your ISO files so the name parts (between SLxS_XXX.XX. and .iso) are exactly 32 characters.
So, if you renameto readCode:"SLUS_123.45.Game Name Here.iso"
that should fix the problem of duplicated/corrupted menu entries. (You'll need to rename all files in the directory to be like that.)Code:"SLUS_123.45.Game Name Here .iso"
Thanks mark_k, that works! I have the exact same NAS as you do, so it would seem to be some problem with it or the way OPL reads it.
I've figured out the exact cause of the problem and fixed OPL to work properly. Send me a PM if you're interested in testing the fixed version with your LinkStation.
Congrats!
Please consider sharing here what you've done to solve this issue (by posting the source files, the excerpt of them, and/or the .diff file). It would be important to let us know what OPL rev the solution was made from.
I asking you this because your solution can be useful for others NAS too.
Tks in advance.
I've explained the problem and showed which file to patch here. The fix is actually to ps2sdk, not the OPL source files.
A diff-format patch looks like this:Code:$ diff -u iop/network/smbman/src/smb.c_orig iop/network/smbman/src/smb.c
--- iop/network/smbman/src/smb.c_orig 2011-08-06 11:10:06.000000000 +0100
+++ iop/network/smbman/src/smb.c 2012-11-07 15:48:15.690335252 +0000
@@ -1694,6 +1694,12 @@
for (i = 0, j =0; i < FFRspData->FileNameLen; i++, j+=CF)
info->FileName[i] = FFRspData->FileName[j];
+ // If FFRspData->FileNameLen did not include the terminating zero
+ // byte of the filename string, the preceding copy will not have
+ // copied the terminating zero.
+ if (info->FileName[FFRspData->FileNameLen - 1] != 0) // Was last byte copied non-zero?
+ info->FileName[FFRspData->FileNameLen] = 0;
+
return 0;
}