Comments (31)
Try2 result
./mipsel-test
Hello world!
./ps3netsrv /media/Main 38008
ps3netsrv build 20161211 (mod by aldostools)
off_t too small!
from webman-mod.
@masterzorag yes! This version works. Thanks a lot!
from webman-mod.
@Xa6ep, check #40, testing is required
from webman-mod.
Did initial test without GDB:
root@OpenWrt:~# /mnt/usb/ps3netsrv_mipseb_debug /mnt/usb/playstation3 38008
ps3netsrv build 20170106 (mod by aldostools)
off_t too small! (4)
Path: /mnt/usb/playstation3
Waiting for client...
Connection from 192.168.1.144
client_thread(), client @0x7719f644
command received: 2A12
Unknown command received: 2A12
finalize_client()
I'll update when I compile GDB
from webman-mod.
Sorry for the delay. Yes it lives :D
Thank You
from webman-mod.
you can run it on linux, with glibc
it's not a static executable, so it must found needed shared libraries
ps3netsrv: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 2.6.18, BuildID[sha1]=69f1249462d2d2002b638e52179c06a252cbb578, not stripped
Dynamic section at offset 0x1c0 contains 23 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libc.so.6]
Version References:
required from libc.so.6:
0x0d696912 0x00 05 GLIBC_2.2
0x0d696917 0x00 04 GLIBC_2.7
0x0d696910 0x00 03 GLIBC_2.0
required from libpthread.so.0:
0x0d696912 0x00 06 GLIBC_2.2
0x0d696910 0x00 02 GLIBC_2.0
also, on your NAS I can assume is running an uClibc implementation, not a full glibc
can you check and spot some more info of your TARGET (mips) system?
from webman-mod.
Yes, you are absolutely right! It use uClibc instead glibc. I searched on the web, and found one solution for install Glibc libraries on my NAS. It recommended to change Entware-NG to Entware-NG-3X. I'll write about results later.
Some more info about my system:
Linux version 3.4.113
ldconfig -v | grep -E "libc.so|libpthread.so"
libc.so.0 => libuClibc-1.0.16.so
libpthread.so.0 => libpthread-1.0.16.so
ld-uClibc.so.1 => ld-uClibc-1.0.16.so
from webman-mod.
I changed Entware, but nothing changes. Working ps3netsrv from dirkvdb and don't working aldostools.
#file ps3netsrv
ps3netsrv: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, interpreter /opt/lib/ld.so.1, for GNU/Linux 2.6.32, stripped
#file ps3netsrv_mips_aldostools
ps3netsrv_mips_aldostools: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 2.6.18,
BuildID[sha1]=69f1249462d2d2002b638e52179c06a252cbb578, not stripped
from webman-mod.
Toolchain from Entware/Entware-ng@80b982e, built on ppc64 HOST
- GNU C++ (OpenWrt GCC 5.4.0 unknown) version 5.4.0 (mipsel-openwrt-linux-uclibc)
compiled by GNU C version 6.2.1 20160916 (Red Hat 6.2.1-2), GMP version 6.1.1, MPFR version 3.1.5, MPC version 1.0.3 - GNU assembler version 2.26.1 (mipsel-openwrt-linux-uclibc) using BFD version (GNU Binutils) 2.26.1
- GNU ld (GNU Binutils) 2.26.1
Supported emulations:
elf32ltsmip
elf32btsmip
elf32ltsmipn32
elf64ltsmip
elf32btsmipn32
elf64btsmip
from webman-mod.
This one runs, but still doesn't work.
ps3netsrv_MIPS32_r2_static
ps3netsrv build 20161211 (mod by aldostools)
ps3netsrv_MIPS32_r2_static /media/Main/
ps3netsrv build 20161211 (mod by aldostools)
ps3netsrv_MIPS32_r2_static --help
ps3netsrv build 20161211 (mod by aldostools)
from webman-mod.
./ps3netsrv_MIPS32_r2_static /path 38008
from webman-mod.
Same result...
./ps3netsrv_MIPS32_r2_static /media/Main 38008
ps3netsrv build 20161211 (mod by aldostools)
from webman-mod.
this one is built with buildroot toolchain:
- GNU C++14 (Buildroot 2016.11) version 6.2.0 (mipsel-buildroot-linux-uclibc)
compiled by GNU C version 6.2.1 20160916 (Red Hat 6.2.1-2), GMP version 6.1.1, MPFR version 3.1.5, MPC version 1.0.3, isl version none - GNU assembler version 2.26.1 (mipsel-buildroot-linux-uclibc) using BFD version (GNU Binutils) 2.26.1
- GNU ld (GNU Binutils) 2.26.1
sadly, my router is BE and can't do native test
qemu-mipsel at least runs included mipsel-test
from webman-mod.
just to do some test on my hardware router, ps3netsrv exits...
from webman-mod.
here we exit(-1) fine, we have to patch some code to go on...
mips 32bits uses 32bits (4byte) data, all is fine
from webman-mod.
from webman-mod.
webMAN-MOD/ps3netsrv/bins/mips32/ps3netsrv_mipsel is works.
I can't test ps3netsrv_mipseb.
from webman-mod.
Thanks for testing and feedback,
I'll keep updating mips32 builds when required...
from webman-mod.
Hi, I have a openwrt on a TL-Wr1043ND v2 router which is a mips32 according to https://wiki.openwrt.org/toh/tp-link/tl-wr1043nd#info but when I try every ps3netsrv from MIPS32 folder i get:
root@OpenWrt:/mnt/usb# ls mipsel-test ps3netsrv_MIPS32_r2_static ps3netsrv root@OpenWrt:/mnt/usb# /mnt/usb/ps3netsrv /mnt/usb/ps3netsrv: line 1: syntax error: unexpected "(" root@OpenWrt:/mnt/usb# /mnt/usb/mipsel-test /mnt/usb/mipsel-test: line 1: syntax error: unexpected "(" root@OpenWrt:/mnt/usb# /mnt/usb/ps3netsrv_MIPS32_r2_static /mnt/usb/ps3netsrv_MIPS32_r2_static: line 1: syntax error: unexpected "("
from webman-mod.
@Kamillux I was getting that kind of error due endianess, on your link we can have 2 different chips for the product:
24Kc or 74Kc makes difference, also, you are trying an old ps3netsrv build, last one is at PR #40:
for little or big endian, try them and report back.
To get sure, take an executable out from your router and pass it to file program under linux: MSB or LSB executable tells you the endianess.
from webman-mod.
After testing i can tell that i have big endian. ps3netsrv_mipseb works kind of.
'root@OpenWrt:~# /mnt/usb/ps3netsrv_mipseb /mnt/usb/playstation3 38008
ps3netsrv build 20170106 (mod by aldostools)
Path: /mnt/usb/playstation3
Waiting for client...
Connection from 192.168.1.144`
It connects but doesn't show games on playstation3 webMAN-MOD. I tried ps3netsrv64 1.43.28 on my linux machine and that also did not work (same result as in OpenWrt) but version 1.43.27 works great on desktop linux.
`Waiting for client...
Connection from 192.168.1.144
Connection from 192.168.1.144
Connection from 192.168.1.144
open /PS3ISO/Blur [BLUS30295].iso`
from webman-mod.
To get games shown on webman coloumn you have to refresh xml file (once) or do something asking for connection...
I'm used load/unmount/test by using the Web(MAN) interface from pc, refreshing ps3netsrv connection by using NET button in GAMES panel
Did NET games appears in web interface?
from webman-mod.
What I did:
load ps3netsrv_mipseb on my router:
`root@OpenWrt:~# /mnt/usb/ps3netsrv_mipseb /mnt/usb/playstation3 38008
ps3netsrv build 20170106 (mod by aldostools)
Path: /mnt/usb/playstation3
Waiting for client...`
and the on webman interface i click "refresh xml", then i see on router:
`root@OpenWrt:~# /mnt/usb/ps3netsrv_mipseb /mnt/usb/playstation3 38008
ps3netsrv build 20170106 (mod by aldostools)
Path: /mnt/usb/playstation3
Waiting for client...
Connection from 192.168.1.144` <-- my playstation 3
It seems there is a connection but there are no NET games in web interface, list is empty but should be one game.
The same behaviour I get when I try ps3netsrv64 version 1.43.28 on my linux desktop but ps3netsrv64 version 1.43.27 works, there is 1 game in NET folder on WebMan. Maybe some difference between versions
from webman-mod.
@Kamillux at least we have same endianess, we can test on 2 different hardware.
I'll take in account, I'll build a debug one for our tests, stay tuned
Diff between versions are small, we can track down the issue just adding some debugging messages...
from webman-mod.
@masterzorag ok, I love debugging :)
from webman-mod.
@Kamillux mipseb_debug_static: check commit f6af958
It's upx compressed, but not stripped, it includes GDB debugging informations!
Since you love debugging and you running OpenWRT, maybe you can install the GNU Debugger and use it directly on the target...
from webman-mod.
I'm assuming endianess problems, seems that we have to reverse multibyte types just on LE targets...
from webman-mod.
from webman-mod.
Still no-go:
root@OpenWrt:~# /mnt/usb/ps3netsrv_mipseb_debug /mnt/usb/playstation3 38008
ps3netsrv build 20170106 (mod by aldostools)
off_t too small! (4)
Path: /mnt/usb/playstation3
Waiting for client...
Connection from 192.168.1.144
client_thread(), client @0x77530644
command received: 2A12
Unknown command received: 2A12
finalize_client()
from webman-mod.
@Kamillux not tested yet? Any good news?
I have updated the binary, check that commit!
from webman-mod.
@Xa6ep can you close this one?
No more reason...
from webman-mod.
Related Issues (20)
- Admin display is displayed incorrectly! HOT 3
- Doesn't read my ISO files HOT 3
- black screen ps3 iso hd external
- APP_HOME not showing in xmb while using hen latest version HOT 2
- XMB freeze & External ntfs iso black screen HOT 2
- 3d Blu-ray iso alignment HOT 1
- [Bug?] Duplicated Games HOT 11
- [BUG] Games slider
- FTP on ps3hen 4.91 hfw issues HOT 10
- New webman kills licenses? HOT 7
- WebMAN game keep prompting me to update HOT 35
- [Question] Select Multiple Folders HOT 3
- Enabling "Disable grouping of content in webMAN Games" hides netserver games from the xmb list HOT 13
- FPS combo blackscreen! HOT 1
- [Question] Unmapping files HOT 10
- Question? HOT 1
- Makes Hen freeze if run with other plugins HOT 14
- Duplicate names but different Covers HOT 17
- [Quetion] Script HOT 4
- [Bug?] Write Command HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webman-mod.