Boinc on ArchLinuxARM 64bit

Message boards : Questions and problems : Boinc on ArchLinuxARM 64bit
Message board moderation

To post messages, you must log in.

AuthorMessage
N30dG

Send message
Joined: 19 Mar 16
Posts: 4
Germany
Message 68383 - Posted: 19 Mar 2016, 15:41:19 UTC

Hello, I have Problem's getting Boinc running on ArchLinuxARM(AArch64).

I have installed a fresh ArchLinuxARM on an ODROID-C2.
I installed BOINC-NOX using pacman. Started boinc.

Then adding the first Project. I'm getting an Error "Message from server: This project doesn't support computers of type aarch64-unknown-linux-gnu"
I'm fixed that by adding "<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>" to cc_config.xml. After that I'm getting WU's but every WU fails after 1-3sec with a "Computation Error". Tried several Project's(Einstein@home, Universe@home, Asteroids@home,..) all the same.

What have I done wrong? Or how I can find the Problem?



P.S. Sorry for my bad English, it's not my native ;)
ID: 68383 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 68385 - Posted: 19 Mar 2016, 16:37:27 UTC - in response to Message 68383.  

What's in the stderr of the failed tasks? You can find stderr by going to the task list of the host and clicking details of the failed tasks. Or just give a link to the host.

Are you sure the installation supports running 32-bit gnueabihf binaries?
ID: 68385 · Report as offensive
N30dG

Send message
Joined: 19 Mar 16
Posts: 4
Germany
Message 68386 - Posted: 19 Mar 2016, 16:53:29 UTC - in response to Message 68385.  
Last modified: 19 Mar 2016, 16:53:49 UTC

stderr:
<core_client_version>7.6.31</core_client_version>
<![CDATA[
<message>
process exited with code 2 (0x2, -254)
</message>
<stderr_txt>
Process creation (../../projects/asteroidsathome.net_boinc/period_search_10210_arm-unknown-linux-gnueabihf) failed: Error -1, errno=2
execv: No such file or directory

</stderr_txt>
]]>


Are you sure the installation supports running 32-bit gnueabihf binaries

No I'm not sure. Was a hint I read in the Universe@home-forum
ID: 68386 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 68390 - Posted: 19 Mar 2016, 18:18:37 UTC - in response to Message 68386.  
Last modified: 19 Mar 2016, 18:40:53 UTC

Process creation (../../projects/asteroidsathome.net_boinc/period_search_10210_arm-unknown-linux-gnueabihf) failed: Error -1, errno=2
execv: No such file or directory


That is so odd. What files are in project/asteroidsathome.net_boinc/ ? Does the other projects get similar error?

Could you post the log starting when you added any of the projects up to tasks erring for that project? If you have restarted BOINC since then you can find older log entries in stdoutdae.txt in BOINC's data directory or possibly in some file in /var/log .

edit: Oh! If the program is in the project directory try running it from command line. If you get the super confusing error message that the file can't be found then the installation didn't come with 32-bit loader. See Multilib for instructions on how to set up 32-bit support.
ID: 68390 · Report as offensive
N30dG

Send message
Joined: 19 Mar 16
Posts: 4
Germany
Message 68396 - Posted: 19 Mar 2016, 19:37:32 UTC - in response to Message 68390.  

What files are in project/asteroidsathome.net_boinc/ ?

Only one File at Moment:
-rwxr-xr-x 1 boinc boinc 1126882 Mar 19 15:09 period_search_10210_arm-unknown-linux-gnueabihf


Does the other projects get similar error?

Yes, the same Error on all Project's.
Same error using Debian Wheezy(only for test because it's Softkernel) on this device.


Oh! If the program is in the project directory try running it from command line. If you get the super confusing error message that the file can't be found then the installation didn't come with 32-bit loader.

Yes I'm getting the "file not found"-message, trying to start from the command-line. So I have no 32bit support :(


See Multilib for instructions on how to set up 32-bit support.

unfortunately that doesn't work, because it's for ArchLinux and not for ArchLinuxARM. There is no multilib-repository available for ARM by now -.-

But thank you very very much :). You helped a lot. Now I know where to look to get the right error-messages.
I have found some hints about multilip-support on ArchARM but I try tomorrow.
I let you know If I get a solution.

Greetings from Germany
Christian
ID: 68396 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 68401 - Posted: 19 Mar 2016, 20:40:05 UTC - in response to Message 68396.  

There is no multilib-repository available for ARM by now -.-


Well bummer.

I let you know If I get a solution.


Please do, I'm sure Raspberry Pi 3 owners would be interested too.
ID: 68401 · Report as offensive
N30dG

Send message
Joined: 19 Mar 16
Posts: 4
Germany
Message 68407 - Posted: 20 Mar 2016, 8:48:27 UTC - in response to Message 68401.  
Last modified: 20 Mar 2016, 9:02:30 UTC

Sorry, there is no solution out there by now :(.
The only way is to recompile Programms using AArch64-Instructionset, but that can only be done by the Project's.

I'm sure Raspberry Pi 3 owners would be interested too.

No the Raspberr Pi 3 should work well using this (or maybe it run's out of the box):
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>

because the Raspberry PI 3 only runs a 32bit-Kernel at the moment. There are no AARCH64-Images for RaspPI3 out there.

That's the reason why I'm choosing the ODROID-C to take full advantage from the 64bit (and getting more RAM).
The ARMv8-Architecture can run both AARCH32- & AARCH64-Instructions, but there is no Linux-Distribution that support's both by now. Maybe this will change over Time.


As a Workaround I will try to use Android and nativeBoinc, maybe this will work because it's common for android-devices to handle 32bit-App's on a 64bit-OS.
Not my prefered Solution because I wan't a Headless-system without wasting resources for an GUI that's never used. And a Cluster from Android-devices will be a nightmare to administrate ;)
ID: 68407 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 68418 - Posted: 20 Mar 2016, 21:16:43 UTC - in response to Message 68407.  

Sorry, there is no solution out there by now :(.
The only way is to recompile Programms using AArch64-Instructionset, but that can only be done by the Project's.


Some BOINC projects have open-source apps so you could compile the apps yourself. Of the ones with ARM sized tasks at least Seti and Einstein are open-source. Although for Seti most/all the critical functions are hand written assembly, getting the most out of your board would likely require rewriting the functions for AArch64.

because the Raspberry PI 3 only runs a 32bit-Kernel at the moment. There are no AARCH64-Images for RaspPI3 out there.


Yep, maybe some day there is Arch Linux AArch64 version for Pi 3. Raspberry folks said in the announcement or somewhere along the lines of "not going to make/support 64-bit Raspbian unless someone comes up with a really good reason".
ID: 68418 · Report as offensive

Message boards : Questions and problems : Boinc on ArchLinuxARM 64bit

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.