(Fixed) Unable to run yoyo OGR tasks (dnetc on Linux ARM)

Fehler und Wünsche zum Projekt yoyo@home
Bugs and wishes for the project yoyo@home
Nachricht
Autor
renw
Fingerzähler
Fingerzähler
Beiträge: 1
Registriert: 31.01.2022 19:45

(Fixed) Unable to run yoyo OGR tasks (dnetc on Linux ARM)

#1 Ungelesener Beitrag von renw » 31.01.2022 19:57

OGR did not run on my Linux ARM computers; it appears the dnetc binary may be outdated, or my Debian installation is incomplete... or some other wonderful combination of dependencies that went wrong, somewhere. :roll:

Here's what I did to diagnose and fix it. Hope this helps.

Symptom: boinc-client loops trying (and failing) to run OGR task:

Code: Alles auswählen

/var/log/daemon.log

Jan 30 17:23:13 bb34 boinc[380]: [yoyo@home] Started upload of ogr_220130115547_51_1_1
Jan 30 17:23:15 bb34 boinc[380]: [yoyo@home] Error reported by file upload server: nbytes missing or negative
Jan 30 17:23:15 bb34 boinc[380]: [yoyo@home] Giving up on upload of ogr_220130115547_51_1_1: permanent upload error
Jan 30 17:24:25 bb34 boinc[380]: [yoyo@home] Sending scheduler request: To fetch work.
Jan 30 17:24:25 bb34 boinc[380]: [yoyo@home] Reporting 1 completed tasks
Jan 30 17:24:25 bb34 boinc[380]: [yoyo@home] Requesting new tasks for CPU
Jan 30 17:24:28 bb34 boinc[380]: [yoyo@home] Scheduler request completed: got 1 new tasks
Jan 30 17:24:31 bb34 boinc[380]: [yoyo@home] Started download of ogr_220130135543_73-in.og2
Jan 30 17:24:33 bb34 boinc[380]: [yoyo@home] Finished download of ogr_220130135543_73-in.og2
Jan 30 17:24:33 bb34 boinc[380]: [yoyo@home] Starting task ogr_220130135543_73_0
Jan 30 17:24:36 bb34 boinc[380]: mv: cannot stat 'slots/0/out.og2': No such file or directory
Jan 30 17:24:36 bb34 boinc[380]: [yoyo@home] Computation for task ogr_220130135543_73_0 finished
Jan 30 17:24:36 bb34 boinc[380]: [yoyo@home] Output file ogr_220130135543_73_0_0 for task ogr_220130135543_73_0 absent
Jan 30 17:24:38 bb34 boinc[380]: [yoyo@home] Started upload of ogr_220130135543_73_0_1
Jan 30 17:24:40 bb34 boinc[380]: [yoyo@home] Error reported by file upload server: nbytes missing or negative
Jan 30 17:24:40 bb34 boinc[380]: [yoyo@home] Giving up on upload of ogr_220130135543_73_0_1: permanent upload error
Jan 30 17:26:00 bb34 boinc[380]: [yoyo@home] Sending scheduler request: To fetch work.
Jan 30 17:26:00 bb34 boinc[380]: [yoyo@home] Reporting 1 completed tasks
Jan 30 17:26:00 bb34 boinc[380]: [yoyo@home] Requesting new tasks for CPU
Digging in:

Code: Alles auswählen

% sudo -u boinc ~boinc/projects/www.rechenkraft.net_yoyo/dnetc519-linux-arm-eabi
sudo: unable to execute /var/lib/boinc-client/projects/www.rechenkraft.net_yoyo/dnetc519-linux-arm-eabi: No such file or directory

% file ~boinc/projects/www.rechenkraft.net_yoyo/dnetc519-linux-arm-eabi
/var/lib/boinc-client/projects/www.rechenkraft.net_yoyo/dnetc519-linux-arm-eabi: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.6.18, BuildID[sha1]=4fb776e47b5ee88bd2a2a5eb0c5a42d96ef779c1, stripped

% ldd ~boinc/projects/www.rechenkraft.net_yoyo/dnetc519-linux-arm-eabi
	not a dynamic executable

% file /lib/ld-linux.so.3
/lib/ld-linux.so.3: cannot open `/lib/ld-linux.so.3' (No such file or directory)

% locate ld-linux.so.3
/lib/arm-linux-gnueabihf/ld-linux.so.3

% /lib/arm-linux-gnueabihf/ld-linux.so.3  ~boinc/projects/www.rechenkraft.net_yoyo/dnetc519-linux-arm-eabi
/var/lib/boinc-client/projects/www.rechenkraft.net_yoyo/dnetc519-linux-arm-eabi: error while loading shared libraries: /var/lib/boinc-client/projects/www.rechenkraft.net_yoyo/dnetc519-linux-arm-eabi: cannot open shared object file: No such file or directory

% sudo ln -s /lib/arm-linux-gnueabihf/ld-linux.so.3 /lib
# ^^^^^^^ THIS IS THE FIX

% sudo -u boinc ~boinc/projects/www.rechenkraft.net_yoyo/dnetc519-linux-arm-eabi
# runs configurator, alles gut
And from that point on, OGR tasks run successfully. Yay!

Code: Alles auswählen

% uname -a
Linux bb34 4.19.94-ti-r59 #1buster SMP PREEMPT Mon Feb 8 19:17:16 UTC 2021 armv7l GNU/Linux

% cat /etc/debian_version
10.10

Benutzeravatar
gemini8
Vereinsvorstand
Vereinsvorstand
Beiträge: 5898
Registriert: 31.05.2011 10:30
Wohnort: Hannover

Re: (Fixed) Unable to run yoyo OGR tasks (dnetc on Linux ARM)

#2 Ungelesener Beitrag von gemini8 » 01.02.2022 07:30

Nice!
Thanks for sharing!
Gruß, Jens
- - - - - -
Lowend-User und Teilzeit-Cruncher

Bild Bild Bild
Bild

Antworten

Zurück zu „Fehler, Wünsche / Bugs, Wishes“