General NAS-Central Forums

Welcome to the NAS community
It is currently Tue Jan 16, 2018 9:29 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sun Jan 07, 2018 8:17 pm 
Offline

Joined: Sun Jan 07, 2018 7:56 pm
Posts: 2
Hi,

I just wanted to post a quick note to thank whoever is responsible for the 3rd party metarepository. I have long wanted to install the COPS server on a NAS but have always found the instructions and procedures beyond my limited technical abilities. By packaging COPS in a repository and providing simple and an easy to follow guide you've finally helped me to move my e-book library beyond the confines of my PC. This has really made my day. Thank you.

While I'm here, and on the subject of books, has anyone considered packaging the BookSonic server:http://booksonic.org/? Booksonic is a reworking of SubSonic with dedicated support for audiobooks. I don't know how much appeal this would have for others, but I would definitely love to have a NAS which could provide an alternative to Audible's cloud.

Thanks once again.

Thomas


Top
 Profile  
 
PostPosted: Mon Jan 08, 2018 6:43 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6123
You are welcome.

What kind of NAS do you have? At first sight that BookSonic server is written in Java. I can be mistaken, but I think all Java providers dropped support for Armv5. Which means that there is no recent Java VM available for the NSA300 series, but it might work for a NAS326 or a NAS5xx.


Top
 Profile  
 
PostPosted: Mon Jan 08, 2018 9:44 pm 
Offline

Joined: Sun Jan 07, 2018 7:56 pm
Posts: 2
I have a 310s. A quick search seems to confirm your suspicion about the lack of support for older versions of ARM and the 300 series. Though it still might be worth considering Booksonic for newer Zyxel models and other NAS, but I suppose I'm out of luck. Anyway, thanks for considering the suggestion.

There was one other thing I'd like to mention before I go: I have replaced the loud and annoying stock Zyxel fan with much quieter fan from Noctua:https://noctua.at/en/products/fan. While I needed to rewire and then fettle the fan before the install, it has been spinning quietly, efficiently and without issue for years. It might be that replacing the stock fan is common practice. However, if there's anyone in the NAS-Central community who is still burdened by the stock irritant I thought it best to mention that there's a viable and reasonably affordable solution.


Top
 Profile  
 
PostPosted: Tue Jan 09, 2018 6:55 am 
Online

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2329
Mijzelf wrote:
I can be mistaken, but I think all Java providers dropped support for Armv5. Which means that there is no recent Java VM available for the NSA300 series, but it might work for a NAS326 or a NAS5xx.

Interesting, what makes you think so? As far as I can see, Oracle just dropped all their jdk 9 32-bit builds and that affects NSA326 and NAS 5xx as well. Quoting Oracle Java Platform Group Chief Architect:
Quote:
Sorry, but we have no plans to ship 32-bit builds of JDK 9. We’re trying to focus more on the future than the past.
Quote:
For embedded systems it should be still possible to build a 32bit version of OpenJDK, or?
Yes, you can build your own 32-bit JDK 9 binaries.
Source: https://twitter.com/mreinhold/status/912311207935090689

Besides, what is the problem with using ejdk_8u151, which was released less than three months ago.


Top
 Profile  
 
PostPosted: Tue Jan 09, 2018 1:00 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6123
barmalej2 wrote:
Mijzelf wrote:
I can be mistaken, but I think all Java providers dropped support for Armv5. Which means that there is no recent Java VM available for the NSA300 series, but it might work for a NAS326 or a NAS5xx.

Interesting, what makes you think so? As far as I can see, Oracle just dropped all their jdk 9 32-bit builds and that affects NSA326 and NAS 5xx as well.

Simple. If you search for Java downloads, you only find Armv6/v7/v8. But apparently I'm not deep enough in the stuff. When googling for ejdk_8u151 I found that website for embedded Java from Oracle, where Uli already pointed to.
And I found your script for installing Oracle Java on FFP0.7. Nice work. I took me some time to read it, to see if I can adapt it to a zypkg. So far no luck. My download always stalls in the Oracle login. Is that the wrong version of wget? I can hardly imagine.
Of course I could use the same trick I used for Plex, a down- and upload button.

Actually I'd rather not use anything from Oracle, but Zulu. But that's not available for Armv5 (or do you know another downloadlink for that as well?)


Top
 Profile  
 
PostPosted: Wed Jan 10, 2018 7:19 am 
Online

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2329
Mijzelf wrote:
Is that the wrong version of wget?
Nope. It is unrelated. Both firmware wget and old ffp wget had problems dealing with some https sites including oracle, so I pushed updating of wget as mandatory for correct script functioning. Oracle has no stable politics of placing his Java SE embedded versions tarballs with each release. It changes almost everytime. Sometimes it is possible to download it, in case of placing in otn-pub dir, where all other java versions resides, sometimes not (). As for current java embedded version ejdk-8u151-linux-arm-sflt.tar.gz release it is not possible to download directly to NAS without loging using Oracle's account. Anyway my script has option for installing java in half-auto way. Put downloaded with PC java embedded tarball in to shared NAS dir and you can use script to install java:
Code:
oraclejava install /path/to/dir/ejdk-8u*-linux-arm-sflt.tar.gz
or
oraclejava upgrade /path/to/dir/ejdk-8u*-linux-arm-sflt.tar.gz

Mijzelf wrote:
Actually I'd rather not use anything from Oracle, but Zulu. But that's not available for Armv5 (or do you know another downloadlink for that as well?)

Never heard about Zulu VM.
Regarding openjdk. Oracle’s Java Embedded ejdk-8u151 is the last official Oracle's release, while Oracle's jdk 9 has no separate embedded arm version, which is merged with openjdk 9 arm implementation now.
https://www.voxxed.com/2016/10/oracle-open-sourcing-jdk-9-arm-ports/
https://blogs.oracle.com/java-platform-group/convergence-of-oracle-java-se-embedded-with-oracle-jdk
http://openjdk.java.net/jeps/297
As far as I have read, openjdk has no plans to support armv5 CPU's, only armv6 and above. So, yes, NSA 3xx owners are out of luck with future java updates. Though there is Zero-Assembler Project of openjdk (http://openjdk.java.net/projects/zero/), which supports armv5, but it's VM is double slower than Oracle's ones, according to mine earlier tests. Oracle's java implementation was more optimized for arm and faster than openjdk one's imho.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: barmalej2, fiolet, Google [Bot], MimoKar, MrRusty, philippetev and 65 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group