PI4, Error while computing

Questions and Answers : Unix/Linux : PI4, Error while computing
Message board moderation

To post messages, you must log in.

AuthorMessage
sinnis

Send message
Joined: 26 Dec 20
Posts: 3
Credit: 147,072
RAC: 0
Message 1009 - Posted: 31 Dec 2020, 16:57:11 UTC

I've seen this error on several tasks returned yet others run and are completed and validated. Any ideas for fixing it on my end?

Running on a PI4 Ubuntu 20.04 server

<core_client_version>7.16.6</core_client_version>
<![CDATA[
<message>
process exited with code 2 (0x2, -254)</message>
<stderr_txt>
Process creation (../../projects/www.mlcathome.org_mlcathome/mlds_9.61_arm-unknown-linux-gnueabihf) failed: Error -1, errno=2
execv: No such file or directory

</stderr_txt>
]]>
ID: 1009 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
pianoman [MLC@Home Admin]
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Jun 20
Posts: 462
Credit: 21,406,548
RAC: 0
Message 1010 - Posted: 31 Dec 2020, 19:23:34 UTC - in response to Message 1009.  

Are these errors on the same machine as others that pass? That error indicates that either the client (the boinc client, not our app) couldn't find the executable to run.. which barring a hardware error wouldn't make any sense.
ID: 1010 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
sinnis

Send message
Joined: 26 Dec 20
Posts: 3
Credit: 147,072
RAC: 0
Message 1012 - Posted: 31 Dec 2020, 21:00:03 UTC - in response to Message 1010.  

Yes the errors are on the same machine with others that pass. Examples: on 12/29 4 worked and 3 failed, on 12/28 2 failed, on 12/27 2 worked.

It is weird how some work but others don't. If it fails it seems to be right at the start so no run time loss. Is there a log file that might show what's going on?
ID: 1012 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Dirk Broer
Avatar

Send message
Joined: 1 Jul 20
Posts: 22
Credit: 4,873,126
RAC: 84
Message 1149 - Posted: 16 Apr 2021, 10:05:52 UTC - in response to Message 1012.  
Last modified: 16 Apr 2021, 10:06:43 UTC

Could it be that all 64-bit WUs run without problem, but that all 32-bit WUs fail?

do you have this in the cc_config.xml:
<cc_config>
<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
<alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
</options>
</cc_config>


did you do this:
sudo dpkg --add-architecture armhf
sudo apt update --fix-missing
sudo apt dist-upgrade
sudo apt install libc6:armhf libstdc++6:armhf zlib1g:armhf libfuse2:armhf
ID: 1149 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Dirk Broer
Avatar

Send message
Joined: 1 Jul 20
Posts: 22
Credit: 4,873,126
RAC: 84
Message 1206 - Posted: 30 May 2021, 13:55:33 UTC

Doing all the things I suggested does not even help you with the 32-bit Linux/ARM app on a 64-bit platform, as the 32-bit app seeks for GLIBC 2.28, while 64-bit Linux is at 2.27
ID: 1206 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Dirk Broer
Avatar

Send message
Joined: 1 Jul 20
Posts: 22
Credit: 4,873,126
RAC: 84
Message 1207 - Posted: 30 May 2021, 16:25:30 UTC - in response to Message 1206.  

Doing all the things I suggested does not even help you with the 32-bit Linux/ARM app on a 64-bit platform, as the 32-bit app seeks for GLIBC 2.28, while 64-bit Linux is at 2.27


-at least in the case of my Jetson Nano's.

My 64-bit Raspberry Pi 4 reports "error while loading shared libraries: libz.so.1"
ID: 1207 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
sinnis

Send message
Joined: 26 Dec 20
Posts: 3
Credit: 147,072
RAC: 0
Message 1272 - Posted: 18 Jul 2021, 14:31:55 UTC - in response to Message 1149.  

Dirk, thanks for the suggestions.

My config file did not have
<alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
added that line.

The first 3 sudo lines did nothing but the last sudo line did install several packages.

These changes appear to fix the issue! I no longer see the error and all finished tasks(16) so far have ended "Completed and validated".
ID: 1272 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : PI4, Error while computing

©2022 MLC@Home Team
A project of the Cognition, Robotics, and Learning (CORAL) Lab at the University of Maryland, Baltimore County (UMBC)