DEVS: Can you please compile HDSentinel for ARMv8 (Arm64)?

Any new ideas, possible impromevents for future versions.

DEVS: Can you please compile HDSentinel for ARMv8 (Arm64)?

Postby curiousdude » 2021.07.18. 10:24

The three ARM versions of HDsentinel you have on your Linux page don't support ARMv8 (Arm64/Aarch64).

hdsentinel-018-arm: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.0.0, stripped
hdsentinel-armv7: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.0.0, stripped
hdsentinelarm: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.0.0, stripped

Can you make a Linux version that uses the Aarch64 architecture? Called /lib/ld-linux-aarch64.so.1
I currently have a Synology NAS that uses this, and your Linux versions don't work on it. Could you please check if this is possible and let me know?
curiousdude
 
Posts: 6
Joined: 2021.07.16. 08:43

Re: DEVS: Can you please compile HDSentinel for ARMv8 (Arm64

Postby curiousdude » 2021.07.18. 16:32

Just additionally making a case, I think it's worth it if the devs put a bit of effort into this, because it makes HDsentinel available to SO many Synology devices. List here: https://github.com/SynoCommunity/spksrc/wiki/Architecture-per-Synology-model

x20 Series
DS220j - synology_rtd1296_ds220j
x19 Series
DS119j
RS819
x18 Series
DS418j - synology_rtd1293_ds418j
DS418 - synology_rtd1296_ds418
DS218 - synology_rtd1296_ds218
DS218play - synology_rtd1296_ds218play
DS118 - synology_rtd1296_ds118

Additionally, there are a whole bunch of QNAP servers, as well as other NAS devices, which use ARMv8 processors (based on Arm64), so this would really really help owners of those devices.
There is an easy way to do this on desktop versions of Linux (such as Debian) by simply installing the needed architecture, such a solution was posted here: https://www.hdsentinel.com/forum/viewtopic.php?f=15&t=13398 But this doesn't work on NAS boxes, I already tried. Can one of the devs let me know if they can work on this?
curiousdude
 
Posts: 6
Joined: 2021.07.16. 08:43

Re: DEVS: Can you please compile HDSentinel for ARMv8 (Arm64

Postby hdsentinel » 2021.07.19. 12:59

Thanks for your message and the suggestion.
As soon as I can get a such ARMv8 system to install the development environment and compile, a such ARMv8 version will be immediately released.
I'll look for the possibilities - and if you have the idea about how/where to get a such system for development/testing purposes, please let me know ;)
User avatar
hdsentinel
Site Admin
 
Posts: 2621
Joined: 2008.07.27. 17:00
Location: Hungary

Re: DEVS: Can you please compile HDSentinel for ARMv8 (Arm64

Postby curiousdude » 2021.07.19. 18:39

hdsentinel wrote:Thanks for your message and the suggestion.
As soon as I can get a such ARMv8 system to install the development environment and compile, a such ARMv8 version will be immediately released.
I'll look for the possibilities - and if you have the idea about how/where to get a such system for development/testing purposes, please let me know ;)


Thank you for your reply. I have a suggestion for a cheap ARMv8 device to test on: https://pine64.com/product/pine-a64-1gb-board/ It only costs $21, what do you think about it?
curiousdude
 
Posts: 6
Joined: 2021.07.16. 08:43

Re: DEVS: Can you please compile HDSentinel for ARMv8 (Arm64

Postby hdsentinel » 2021.07.20. 11:33

Thanks for the tip, this is exactly what I'm looking for ;)
I'll order it soon and compile when it will arrive.

Ps. previously somehow I thought this board may have similar CPU as the Raspberry PI 4. Now I see it's different. Thanks for the info!
User avatar
hdsentinel
Site Admin
 
Posts: 2621
Joined: 2008.07.27. 17:00
Location: Hungary

Re: DEVS: Can you please compile HDSentinel for ARMv8 (Arm64

Postby curiousdude » 2021.08.06. 23:31

Hi there! Sorry to bother you, I know you're busy, but was just wondering if there was any update on this? Just curious, and thanks again.
curiousdude
 
Posts: 6
Joined: 2021.07.16. 08:43

Re: DEVS: Can you please compile HDSentinel for ARMv8 (Arm64

Postby hdsentinel » 2021.09.11. 12:52

I sent a mail last week to you, maybe you did not receive it....

As the Pine64 out of stock and even I ordered Rock64, it still did not arrive yet. So I could not build specifically on that but installed 64 bit Linux to Raspberry PI 4 Model B and compiled Hard Disk Sentinel Linux under that. If I'm correct, that should work on your system as it has similar CPU, so if you have the opportunity, please check:

https://www.hdsentinel.com/hdslin/hdsentinel-armv8.bz2

and let me know the results. Maybe you can save a report with -r command line switch and send to info (at) hdsentinel (dot) com , just to confirm things (if it starts after decompression + setting the proper execute rights).
User avatar
hdsentinel
Site Admin
 
Posts: 2621
Joined: 2008.07.27. 17:00
Location: Hungary

Re: DEVS: Can you please compile HDSentinel for ARMv8 (Arm64

Postby curiousdude » 2021.09.13. 22:39

Thank you so much for compiling a version of HDSentinel for 64bit Linux. I downloaded and ran the file you posted on my Synology NAS, and can confirm that it's working for the most part. I have emailed you the -r report as you requested.

I only have one concern, some inputs in the report are replaced with "?", such as vendor information, temperature and health. Do you know why this is happening?
curiousdude
 
Posts: 6
Joined: 2021.07.16. 08:43

Re: DEVS: Can you please compile HDSentinel for ARMv8 (Arm64

Postby hdsentinel » 2021.09.14. 09:17

Thanks for the confirmation and the report!
Yes, it seems the software can start and identify the disk drive, but could not access the disk status information at all. This is sometimes related to the chipset of the device (the NAS in this case).

The best would be if you can launch again with -enabletest command line parameter too:

./hdsentinel -enabletest -txt -r report.txt

This will create a testmode.txt file too with the "raw" communication between the disk and the software. It can give some information/details about what happens in the background and may give ideas
about what can be done to improve further for your particular device.

Please send the created testmode.txt and report.txt files together.

Thanks for your help !
User avatar
hdsentinel
Site Admin
 
Posts: 2621
Joined: 2008.07.27. 17:00
Location: Hungary


Return to Feature Requests

Who is online

Users browsing this forum: No registered users