Problem with A@H on the Raspberry Pi


Message boards : Unix/Linux : Problem with A@H on the Raspberry Pi

Message board moderation

To post messages, you must log in.
AuthorMessage
TioDuke

Send message
Joined: 27 Apr 13
Posts: 2
Credit: 75,240
RAC: 0
Message 1180 - Posted: 28 Apr 2013, 18:26:45 UTC

Last modified: 28 Apr 2013, 18:27:34 UTC
Hello.

I am trying to put my Raspberry Pi to good use and so decided to run Asteroids@Home.

I wanted to go with a minimal install and have been trying slitaz, which is only 53 Mb. So far I have been able to build boic withouth the X dependencies. I am currently able to suscribe to the project and download the WUs. However I am unable to finish (or to even begin), this is the output I am getting:

[Asteroids@home] [error] Process creation (../../projects/
asteroidsathome.net_boinc/period_search_10000_arm-unknown-linux-gnueabihf) fail
ed: Error -1, errno=2

Do you have any ideas? I really did want to go with slitaz, but if the problem persists I will try running boinc on archlinux.
ID: 1180 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
MarkJ
Avatar

Send message
Joined: 27 Jun 12
Posts: 129
Credit: 62,716,857
RAC: 108
Message 1183 - Posted: 29 Apr 2013, 8:20:57 UTC - in response to Message 1180.  
Hello.

I am trying to put my Raspberry Pi to good use and so decided to run Asteroids@Home.

I wanted to go with a minimal install and have been trying slitaz, which is only 53 Mb. So far I have been able to build boic withouth the X dependencies. I am currently able to suscribe to the project and download the WUs. However I am unable to finish (or to even begin), this is the output I am getting:

[Asteroids@home] [error] Process creation (../../projects/
asteroidsathome.net_boinc/period_search_10000_arm-unknown-linux-gnueabihf) fail
ed: Error -1, errno=2

Do you have any ideas? I really did want to go with slitaz, but if the problem persists I will try running boinc on archlinux.


I can't comment on either but I am running 5 Pi's under Raspberian and nothing special required. Everything is from their repos, although I did remove some of the stuff they supply as standard (like the Python games, etc).
BOINC blog
ID: 1183 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Kyong
Project administrator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 9 Jun 12
Posts: 584
Credit: 52,667,664
RAC: 0
Message 1188 - Posted: 30 Apr 2013, 9:55:18 UTC
What distribution on your Raspberry are you running?
ID: 1188 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
TioDuke

Send message
Joined: 27 Apr 13
Posts: 2
Credit: 75,240
RAC: 0
Message 1190 - Posted: 30 Apr 2013, 10:16:24 UTC - in response to Message 1188.  
Hi,

I am on slitaz arm (http://arm.balinor.net/slitaz/armhf/).

BTW, here is the error I am getting (from client_state.xml):

<stderr_out>
<![CDATA[
<message>
process got signal 6
</message>
<stderr_txt>
../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_gl
obal_ro._dl_pagesize != 0' failed.

</stderr_txt>
]]>
</stderr_out>

I am pretty sure is glibc version installed by slitaz (2.13). I have already tried ld_preloading the application's, period_search_10000_arm-unknown-linux-gnueabihf, dependencies from raspbian and archlinux but that is segfaulting.

I was thinking about:
1) Compiling it myself
or
2) Using a statically linked application (if that is possible, that would be a better solution)
ID: 1190 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Kyong
Project administrator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 9 Jun 12
Posts: 584
Credit: 52,667,664
RAC: 0
Message 1192 - Posted: 30 Apr 2013, 12:24:28 UTC
I don't know slitaz. It seems that the application have to be recompiled for that OS.
ID: 1192 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Kyong
Project administrator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 9 Jun 12
Posts: 584
Credit: 52,667,664
RAC: 0
Message 1194 - Posted: 30 Apr 2013, 13:03:44 UTC
I can compile it for slitaz but I don't know when exactly.
ID: 1194 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
month88

Send message
Joined: 15 Nov 14
Posts: 2
Credit: 603,360
RAC: 0
Message 3889 - Posted: 16 Dec 2014, 12:15:51 UTC
I know it's kind of off-topic, but even on Raspbian I can not run A@H-WUs! If I try it, the RasPi "freezes" after a while. Currently, another project is running on my RasPi, but I would prefer to do Asteroids. Do you know the problem?
ID: 3889 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Tomas Brada

Send message
Joined: 18 Oct 15
Posts: 1
Credit: 458,400
RAC: 0
Message 4840 - Posted: 26 Mar 2016, 12:42:31 UTC - in response to Message 3889.  
If I try it, the RasPi "freezes" after a while. Currently, another project is running on my RasPi, but I would prefer to do Asteroids. Do you know the problem?

The cause of the freeze is Floating Point exception in Kernel mode. Until there is a patch to the Linux kernel, you cannot run asteroids and other projects on it.
My raspberry is going to be a server eventually, but now it is running Collatz, Enigma, Yoyo and Einstein for 38days since restart.
http://boincstats.com/en/stats/-1/host/detail/291263326/projectList
You should set automatic reboot when kernel crashes, add panic=10 to /boot/cmdline.txt. Also turn swap off and increase the dirty_* kernel options, especially dirty(_background)_ratio for longer SD-card live.[/url]
ID: 4840 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
MarkJ
Avatar

Send message
Joined: 27 Jun 12
Posts: 129
Credit: 62,716,857
RAC: 108
Message 5516 - Posted: 15 Oct 2017, 9:52:11 UTC - in response to Message 4840.  

Last modified: 15 Oct 2017, 10:02:46 UTC
The cause of the freeze is Floating Point exception in Kernel mode. Until there is a patch to the Linux kernel, you cannot run asteroids and other projects on it.

Since then (March 2016) there has been a patch added to the kernel that should fix it, along with many updates. If you update to the current version of Raspbian it should now work.
BOINC blog
ID: 5516 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
MarkJ
Avatar

Send message
Joined: 27 Jun 12
Posts: 129
Credit: 62,716,857
RAC: 108
Message 5517 - Posted: 15 Oct 2017, 10:00:50 UTC
On the vein of keeping things updated is there a chance we could get a neon-optimised app for the Pi2 and Pi3's? Updating to the latest fftw would also allow use of neon.

You'd still need to supply a standard armhf version for the Pi Zero and older Pi's that have the ARMv6 so it might entail a plan class or simply dropping support for anything less than a Pi2. I don't run a@h on my Pi3's because the work units take so long now but if the run-time was reasonable... Happy to help with testing.
BOINC blog
ID: 5517 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Kyong
Project administrator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 9 Jun 12
Posts: 584
Credit: 52,667,664
RAC: 0
Message 5524 - Posted: 17 Oct 2017, 10:32:20 UTC
I'll look into that to see what can be done. But there are still things with higher priority now so I don't know when I'll have time for it.
ID: 5524 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
MarkJ
Avatar

Send message
Joined: 27 Jun 12
Posts: 129
Credit: 62,716,857
RAC: 108
Message 5593 - Posted: 17 Dec 2017, 5:39:34 UTC
On the Applications page it shows for the Raspberry Pi plan class arm doing 16 GFlops and armv6l doing zero so I would suggest dropping support for arm v6 completely.
BOINC blog
ID: 5593 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Unix/Linux : Problem with A@H on the Raspberry Pi