Installing PMS on NAS (Synology DS-207+)

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Installing PMS on NAS (Synology DS-207+)

Postby atrem » Sun Feb 08, 2009 12:14 am

Hi,

I was wondering if anyone has succesfully installed PMS on this NAS with ARM processor (Synology DS-207+)?

This is what I did so far:

- Installed a Java VM called ‘jamvm’ (version 1.5.1-1) through ipkg package based install.
- Installed 'classpath' (version 0.97.2-2) also with ipkg install.
- Downloaded and unpacked PMS-linux-1.04
- Made the shell script executable (chmod ug+x PMS.sh)
- Changed the following code in PMS.sh:
Code: Select all
# Setup the JVM

if [ "x$JAVA" = "x" ]; then
            if [ "x$JAVA_HOME" != "x" ]; then
                        JAVA="$JAVA_HOME/bin/java"
            else
                        JAVA="jamvm"
            fi
fi


and also:

Code: Select all
# Execute the JVM

exec "$JAVA" $JAVA_OPTS -Xmx512M -Djava.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -jar "$PMS_JAR" "$@"

- Now when I execute ./PMS.sh I get:

Code: Select all
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:367)
   at jamvm.java.lang.JarLauncher.main(JarLauncher.java:50)
Caused by: java.lang.UnsatisfiedLinkError: Native library `gconfpeer' not found (as file `libgconfpeer.so') in gnu.classpath.boot.library.path and java.library.path
   at java.lang.Runtime.loadLibrary(Runtime.java:763)
   at java.lang.System.loadLibrary(System.java:662)
   at gnu.java.util.prefs.gconf.GConfNativePeer.<clinit>(GConfNativePeer.java:332)
   at gnu.java.util.prefs.GConfBasedPreferences.<clinit>(GConfBasedPreferences.java:83)
   at gnu.java.util.prefs.GConfBasedFactory.<clinit>(GConfBasedFactory.java:52)
   at java.lang.reflect.Constructor.constructNative(Native Method)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:328)
   at java.lang.Class.newInstance(Class.java:1154)
   at gnu.classpath.ServiceProviderLoadingAction.run(ServiceProviderLoadingAction.java:140)
   at java.security.AccessController.doPrivileged(AccessController.java:195)
   at gnu.classpath.ServiceFactory$ServiceIterator.loadNextServiceProvider(ServiceFactory.java:529)
   at gnu.classpath.ServiceFactory$ServiceIterator.<init>(ServiceFactory.java:435)
   at gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:305)
   at gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:229)
   at java.util.prefs.Preferences.getFactory(Preferences.java:214)
   at java.util.prefs.Preferences.userRoot(Preferences.java:156)
   at net.pms.io.WinUtils.start(WinUtils.java:182)
   at net.pms.io.WinUtils.<init>(WinUtils.java:178)
   at net.pms.PMS.init(PMS.java:261)
   at net.pms.PMS.get(PMS.java:895)
   at net.pms.PMS.main(PMS.java:957)
   at java.lang.reflect.Method.invokeNative(Native Method)
   ...2 more


- I tried to compile several other versions of classpath myself but no luck.

Anyone?
atrem
 
Posts: 11
Joined: Sat Feb 07, 2009 11:38 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby shagrath » Sun Feb 08, 2009 12:20 am

The error seems easy to fix: I need to add a platform check in the code if you want to do that
will do it for next version
shagrath
Project Lead
 
Posts: 2664
Joined: Wed Jan 14, 2009 1:39 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby the_stalli0n » Sun Feb 08, 2009 5:57 am

Hi, Atrem -- please keep us posted on your progress with the Synology NAS. I am very interested in running PMS off of something like that (and not my desktop PC), and would like to hear how it works out for you...

Thanks
the_stalli0n
 
Posts: 31
Joined: Thu Feb 05, 2009 8:35 am

Re: Installing PMS on NAS (Synology DS-207+)

Postby atrem » Sun Feb 08, 2009 1:38 pm

will do it for next version

Thanks shagrath, much appreciated :) .
I doubt however that the error is due to PMS, because classpath doesn't install 'libgconfpeer.so' at all. I did a search with 'find / -name libgconfpeer.so' without result.

I'll also start a topic about this in Synology's forum, and keep you informed here.
atrem
 
Posts: 11
Joined: Sat Feb 07, 2009 11:38 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby the_stalli0n » Mon Feb 09, 2009 12:18 am

Do you need to have GTK and/or gnome installed to run this? I'd read somewhere that PMS will run from the command line, right?/
the_stalli0n
 
Posts: 31
Joined: Thu Feb 05, 2009 8:35 am

Re: Installing PMS on NAS (Synology DS-207+)

Postby d_marlon » Fri Feb 13, 2009 8:55 pm

Is there any way you can make it work with the d-link DNS 323? It is a linux based box.
d_marlon
 
Posts: 1
Joined: Fri Feb 13, 2009 8:52 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby Brazen » Mon Feb 16, 2009 9:34 pm

d_marlon wrote:Is there any way you can make it work with the d-link DNS 323? It is a linux based box.



I second that request! For some odd reason, certain video files do not report their correct size to the PS3's XMB. (ie: an 8.5g file may only show as 1.5g) They will stream to the PS3 fine, until they hit that filesize.... then just stop abruptly mid-movie. My only recourse in this situation, was to copy the file to the PS3's HDD via PSM (which reports correct filesize!), and watch it from there.

I have twonky operating correctly from my DNS-323 over 1gbit wired, but it too has the "filesize quirk". The DNS-323's built in media server has this problem as well! I have yet to find a reliable solution to FINALLY break free from the "PC teet" to serve media over my home network! ;( PMS looks like a fantastic solution to this, if I could find someone with the ability to port this over to ARM. ;]
Brazen
 
Posts: 6
Joined: Fri Jan 23, 2009 11:22 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby Topguy » Wed Feb 18, 2009 9:25 pm

d_marlon wrote:Is there any way you can make it work with the d-link DNS 323? It is a linux based box.


Can you guys give us an place we can check out the hardware specifics for this device ?
CPU, frequency, RAM-size, storage-space for OS, which OS etc. etc.. it makes it much easier to say if its doable or not.

Having verified that someone else already has ported a Java JRE and maybe ffmpeg/mplayer/mencoder to this platform gives a lot more confidence.
Topguy
 
Posts: 219
Joined: Mon Jan 19, 2009 9:27 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby majito » Wed Feb 18, 2009 10:30 pm

atrem

I also tried to install PMS on my NAS Buffalo Linkstation Live, and had the same result.

The hardware spec for these devices:

Synology Disk Station DS-207+
CPU: ARM @ 500 MHz
RAM: 128MB SDRAM
http://www.synology-distribution.de/en/disk-station-ds207p-specification.html

Buffalo Linkstation Live
CPU: ARM926EJ-Sid @ 400Mhz
RAM: 128MB total: Two Nanya NT5TU32M16AG or Elpida EDE5116AF DDR2 SDRAM
http://buffalo.nas-central.org/wiki/Category:LSPro

D-Link DNS-323
CPU: ARM @ 500 Mhz Marvell 88F5181 proprietary Feroceon
RAM : 64MB total: Two 32 MB Nanya NT5DS16M16CS-6K
http://wiki.dns323.info/
majito
 
Posts: 1
Joined: Wed Feb 18, 2009 10:16 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby Brazen » Thu Feb 19, 2009 4:44 am

@ topguy : That's what I'm wondering..... the DNS-323 is only a 500mhz processor w/64mb system memory. I'm thinking it may be asking too much that this be able to transcode on the fly.... even for linux ;9



@ majito : Thanx for posting the spec links.... I meant to "subscribe" this topic but forgot. Just checked for updates and seen you guys' posts. <--(that sounded like a 3 yr old!) ;]


Brazen
Brazen
 
Posts: 6
Joined: Fri Jan 23, 2009 11:22 pm

Next

Return to Linux/Unix Support

Who is online

Users browsing this forum: Lionhead and 5 guests