Posts by mike8347569357

1) Message boards : GPUs : Fedora 25 GPUs sometimes there but reported missing (Message 76925)
Posted 27 Mar 2017 by mike8347569357
Post:
As a footnote to this thread, I just need to say I worked out what was going on.

It seems that Selinux was the problem.

To recap. Linux version 4.9.14-200.fc25.x86_64 (Fedora 25 distribution). Nvidia driver 375.39. BOINC client version 7.6.22 for x86_64-pc-linux-gnu, using the standard Fedora repositories, and the Nvidia driver being the only code not from the Fedora repositories.

From what I can remember, I cleared the problems with boinc-client first with ...

ausearch -c 'boinc_client' --raw | audit2allow -M my-boincclient
semodule -i my-boincclient.pp

I then had to set the Selinux permissions with "restorecon -v /dev/nvidia-uvm" and then restart boinc-client.

That gave me a whole new set of abuse from Selinux about nvidia-modprobe which I cleared in the standard way with...

ausearch -c 'nvidia-modprobe' --raw | audit2allow -M my-nvidiamodprobe
semodule -i my-nvidiamodprobe.pp

So that cleared up all the Selinux problems, but then I discovered I had to add an extra line to the boinc-client.service file to load the nvidia-uvm module, i.e.

ExecStartPre=/sbin/modprobe nvidia-uvm

Now the system boots and starts running my GPU stuff without any (more) fiddling.

Mon 27 Mar 2017 10:26:35 BST | | Starting BOINC client version 7.6.22 for x86_64-pc-linux-gnu
Mon 27 Mar 2017 10:26:35 BST | | log flags: file_xfer, sched_ops, task
Mon 27 Mar 2017 10:26:35 BST | | Libraries: libcurl/7.51.0 NSS/3.27 zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.11) libssh2/1.8.0 nghttp2/1.13.0
Mon 27 Mar 2017 10:26:35 BST | | Running as a daemon
Mon 27 Mar 2017 10:26:35 BST | | Data directory: /var/lib/boinc
Mon 27 Mar 2017 10:26:36 BST | | CUDA: NVIDIA GPU 0: GeForce GTX 660 (driver version 375.39, CUDA version 8.0, compute capability 3.0, 1996MB, 1970MB available, 1982 GFLOPS peak)
Mon 27 Mar 2017 10:26:36 BST | | OpenCL: NVIDIA GPU 0: GeForce GTX 660 (driver version 375.39, device version OpenCL 1.2 CUDA, 1996MB, 1970MB available, 1982 GFLOPS peak)
Mon 27 Mar 2017 10:26:36 BST | | Host name: modron
Mon 27 Mar 2017 10:26:36 BST | | Processor: 8 GenuineIntel Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz [Family 6 Model 158 Stepping 9]
Mon 27 Mar 2017 10:26:36 BST | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
Mon 27 Mar 2017 10:26:36 BST | | OS: Linux: 4.9.14-200.fc25.x86_64
Mon 27 Mar 2017 10:26:36 BST | | Memory: 15.63 GB physical, 14.90 GB virtual
Mon 27 Mar 2017 10:26:36 BST | | Disk: 205.02 GB total, 150.26 GB free


I hope this information is of use to someone.
2) Message boards : GPUs : Fedora 25 GPUs sometimes there but reported missing (Message 76471)
Posted 15 Mar 2017 by mike8347569357
Post:
Thanks for the replies

CUDA is not part of the standard Red Hat Fedora repositories. Looking back at some old PCs, it appears that CUDA was installed from rpmfusion,

I don't have much time to investigate more at the moment, so for now I'll simply restart the boinc-client service when I log on.
3) Message boards : GPUs : Fedora 25 GPUs sometimes there but reported missing (Message 76403)
Posted 14 Mar 2017 by mike8347569357
Post:
I am in the process of setting up a new PC running Fedora 25. When the system boots, it reports the Nvidia drivers there, but no usable GPUs. e.g.

    14-Mar-2017 11:50:23 [---] Starting BOINC client version 7.6.22 for x86_64-pc-linux-gnu
    14-Mar-2017 11:50:23 [---] log flags: file_xfer, sched_ops, task, coproc_debug
    14-Mar-2017 11:50:23 [---] Libraries: libcurl/7.51.0 NSS/3.27 zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.11) libssh2/1.8.0 nghttp2/1.13.0
    14-Mar-2017 11:50:23 [---] Running as a daemon
    14-Mar-2017 11:50:23 [---] Data directory: /var/lib/boinc
    14-Mar-2017 11:50:23 [---] [coproc] launching child process at /usr/bin/boinc_client
    14-Mar-2017 11:50:23 [---] [coproc] relative to directory /var/lib/boinc
    14-Mar-2017 11:50:23 [---] [coproc] with data directory /var/lib/boinc
    14-Mar-2017 11:50:23 [---] [coproc] NVIDIA drivers present but no GPUs found
    14-Mar-2017 11:50:23 [---] [coproc] ATI: libaticalrt.so: cannot open shared object file: No such file or directory
    14-Mar-2017 11:50:23 [---] [coproc] clGetPlatformIDs() failed to return any OpenCL platforms
    14-Mar-2017 11:50:23 [---] No usable GPUs found
    14-Mar-2017 11:50:23 [---] app version refers to missing GPU type NVIDIA
    14-Mar-2017 11:50:23 [Einstein@Home] Application uses missing NVIDIA GPU
    14-Mar-2017 11:50:23 [Einstein@Home] Missing coprocessor for task LATeah0017L_644.0_0_0.0_941250_1
    14-Mar-2017 11:50:23 [Einstein@Home] Missing coprocessor for task LATeah0017L_644.0_0_0.0_770570_1
    14-Mar-2017 11:50:23 [Einstein@Home] Missing coprocessor for task LATeah0017L_644.0_0_0.0_962585_0
    14-Mar-2017 11:50:23 [Einstein@Home] Missing coprocessor for task LATeah0017L_644.0_0_0.0_769315_1
    14-Mar-2017 11:50:23 [---] Host name: modron
    14-Mar-2017 11:50:23 [---] Processor: 8 GenuineIntel Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz [Family 6 Model 158 Stepping 9]
    14-Mar-2017 11:50:23 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
    14-Mar-2017 11:50:23 [---] OS: Linux: 4.9.13-201.fc25.x86_64
    14-Mar-2017 11:50:23 [---] Memory: 15.63 GB physical, 14.90 GB virtual
    14-Mar-2017 11:50:23 [---] Disk: 205.02 GB total, 151.14 GB free
    14-Mar-2017 11:50:23 [---] Local time is UTC +0 hours
    14-Mar-2017 11:50:23 [Einstein@Home] URL http://einstein.phys.uwm.edu/; Computer ID 12504473; resource share 100
    14-Mar-2017 11:50:23 [---] General prefs: from http://setiathome.berkeley.edu/ (last modified 07-Nov-2012 15:55:30)
    14-Mar-2017 11:50:23 [---] Host location: none
    14-Mar-2017 11:50:23 [---] General prefs: using your defaults
    14-Mar-2017 11:50:23 [---] Reading preferences override file
    14-Mar-2017 11:50:23 [---] Preferences:
    14-Mar-2017 11:50:23 [---] max memory usage when active: 8000.31MB
    14-Mar-2017 11:50:23 [---] max memory usage when idle: 14400.56MB
    14-Mar-2017 11:50:23 [---] max disk usage: 151.26GB
    14-Mar-2017 11:50:23 [---] max CPUs used: 2
    14-Mar-2017 11:50:23 [---] suspend work if non-BOINC CPU load exceeds 50%
    14-Mar-2017 11:50:23 [---] (to change preferences, visit a project web site or select Preferences in the Manager)



So then I do a systemctl restart boinc-client, and I get ...


    14-Mar-2017 11:52:24 [---] Received signal 15
    14-Mar-2017 11:52:24 [---] Exiting
    14-Mar-2017 11:52:30 [---] Starting BOINC client version 7.6.22 for x86_64-pc-linux-gnu
    14-Mar-2017 11:52:30 [---] log flags: file_xfer, sched_ops, task, coproc_debug
    14-Mar-2017 11:52:30 [---] Libraries: libcurl/7.51.0 NSS/3.27 zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.11) libssh2/1.8.0 nghttp2/1.13.0
    14-Mar-2017 11:52:30 [---] Running as a daemon
    14-Mar-2017 11:52:30 [---] Data directory: /var/lib/boinc
    14-Mar-2017 11:52:30 [---] [coproc] launching child process at /usr/bin/boinc_client
    14-Mar-2017 11:52:30 [---] [coproc] relative to directory /var/lib/boinc
    14-Mar-2017 11:52:30 [---] [coproc] with data directory /var/lib/boinc
    14-Mar-2017 11:52:30 [---] OpenCL: NVIDIA GPU 0: GeForce GTX 660 (driver version 378.13, device version OpenCL 1.2 CUDA, 1996MB, 1996MB available, 495 GFLOPS peak)
    14-Mar-2017 11:52:30 [---] [coproc] NVIDIA drivers present but no GPUs found
    14-Mar-2017 11:52:30 [---] [coproc] ATI: libaticalrt.so: cannot open shared object file: No such file or directory
    14-Mar-2017 11:52:30 [---] Host name: modron
    14-Mar-2017 11:52:30 [---] Processor: 8 GenuineIntel Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz [Family 6 Model 158 Stepping 9]
    14-Mar-2017 11:52:30 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
    14-Mar-2017 11:52:30 [---] OS: Linux: 4.9.13-201.fc25.x86_64
    14-Mar-2017 11:52:30 [---] Memory: 15.63 GB physical, 14.90 GB virtual
    14-Mar-2017 11:52:30 [---] Disk: 205.02 GB total, 151.14 GB free
    14-Mar-2017 11:52:30 [---] Local time is UTC +0 hours
    14-Mar-2017 11:52:30 [Einstein@Home] URL http://einstein.phys.uwm.edu/; Computer ID 12504473; resource share 100
    14-Mar-2017 11:52:30 [---] General prefs: from http://setiathome.berkeley.edu/ (last modified 07-Nov-2012 15:55:30)
    14-Mar-2017 11:52:30 [---] Host location: none
    14-Mar-2017 11:52:30 [---] General prefs: using your defaults
    14-Mar-2017 11:52:30 [---] Reading preferences override file
    14-Mar-2017 11:52:30 [---] Preferences:
    14-Mar-2017 11:52:30 [---] max memory usage when active: 8000.31MB
    14-Mar-2017 11:52:30 [---] max memory usage when idle: 14400.56MB
    14-Mar-2017 11:52:30 [---] max disk usage: 151.26GB
    14-Mar-2017 11:52:30 [---] max CPUs used: 2
    14-Mar-2017 11:52:30 [---] suspend work if non-BOINC CPU load exceeds 50%
    14-Mar-2017 11:52:30 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
    14-Mar-2017 11:52:30 [Einstein@Home] [coproc] Assigning NVIDIA instance 0 to LATeah0017L_644.0_0_0.0_962585_0
    [mike@modron ~]$



Note that it still says "14-Mar-2017 11:52:30 [---] [coproc] NVIDIA drivers present but no GPUs found", but the GPU is now crunching away.

Can someone explain this ?

4) Message boards : Questions and problems : Always end up on Google Home Page (Message 60864)
Posted 11 Mar 2015 by mike8347569357
Post:
Hmm. Still could not make it work.

Removed Mozilla Firefox v36, and downgraded to Firefox V25, and it's all working OK again.
5) Message boards : Questions and problems : Always end up on Google Home Page (Message 60858)
Posted 11 Mar 2015 by mike8347569357
Post:
Yes, OK. But if I click on ANY of the buttons grouped on the left hand side of the Manager grouped under "Project Web Pages" I just get the Google home page, and not the page telling me server status or my account details or whatever button I happen to click in the manager.
6) Message boards : Questions and problems : Always end up on Google Home Page (Message 60840)
Posted 11 Mar 2015 by mike8347569357
Post:
Running Linux Fedora 20, and I've just done a major software upgrade pulling in over 300 new packages, but now I have a problem in the boinc manager, even though boinc was not upgraded.

If I click on any of the buttons down the left hand side of the screen like "Project Home Page", or "Account Summary", or "Report Problems", a new copy of Mozilla Firefox starts up and takes me to the Google Home page.

What used to happen was a new tab would open up in an existing copy of Firefox and I would go the the right place.

Boinc Manager is version 7.2.42. Firefox is version 36.0.

Anyone got any ideas what is going on ?
7) Message boards : Questions and problems : ACTIVE_TASK::start(): can't create memory-mapped file: shmget() failed (Message 58122)
Posted 25 Nov 2014 by mike8347569357
Post:
OK. Solved.

Owner permissions were not set correctly on /var/lib/boinc.


    [root@pluto mylib]# ls -al /var/lib
    total 204
    drwxr-xr-x. 50 root root 4096 Nov 25 15:19 .
    drwxr-xr-x. 19 root root 4096 Nov 25 15:19 ..
    drwxrwxr-x. 5 unbound boinc 4096 Nov 25 16:23 boinc
    drwxrwxr-x. 3 boinc boinc 4096 Nov 22 16:26 boinc_orig


Did a 'chown -R boinc:boinc /var/lib/boinc' and it's all OK.

8) Message boards : Questions and problems : ACTIVE_TASK::start(): can't create memory-mapped file: shmget() failed (Message 58121)
Posted 25 Nov 2014 by mike8347569357
Post:
Thanks for the reply, but how do I find that out ? I've got this...


    [mike@pluto ~]$ cat /proc/sys/kernel/shmmax
    18446744073692774399
    [mike@pluto ~]$ cat /proc/sys/kernel/shmmni
    4096
    [mike@pluto ~]$ cat /proc/sys/kernel/shmall
    18446744073692774399
    [mike@pluto ~]$ ulimit -a
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    scheduling priority (-e) 0
    file size (blocks, -f) unlimited
    pending signals (-i) 15729
    max locked memory (kbytes, -l) 64
    max memory size (kbytes, -m) unlimited
    open files (-n) 1024
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    real-time priority (-r) 0
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 1024
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited
    [mike@pluto ~]$

9) Message boards : Questions and problems : ACTIVE_TASK::start(): can't create memory-mapped file: shmget() failed (Message 58119)
Posted 25 Nov 2014 by mike8347569357
Post:
When we start boinc-client, the tasks are failing with ...

ACTIVE_TASK::start(): can't create memory-mapped file: shmget() failed

We cannot seem to get boinc to talk to a project to get more tasks, and it doesn't want to run the tasks it's got.

The log looks like this ...


    25-Nov-2014 11:10:22 [---] Starting BOINC client version 7.2.42 for x86_64-pc-linux-gnu
    25-Nov-2014 11:10:22 [---] log flags: file_xfer, sched_ops, task, app_msg_receive, app_msg_send, checkpoint_debug
    25-Nov-2014 11:10:22 [---] log flags: task_debug
    25-Nov-2014 11:10:22 [---] Libraries: libcurl/7.32.0 NSS/3.17.2 Basic ECC zlib/1.2.8 libidn/1.28 libssh2/1.4.3
    25-Nov-2014 11:10:22 [---] Data directory: /var/lib/boinc
    25-Nov-2014 11:10:22 [---] CAL: ATI GPU 0: ATI Radeon HD 5700/6750/6770 series (Juniper) (CAL version 1.4.1848, 1024MB, 960MB available, 2016 GFLOPS peak)
    25-Nov-2014 11:10:22 [---] OpenCL: AMD/ATI GPU 0: ATI Radeon HD 5700/6750/6770 series (Juniper) (driver version 1573.4, device version OpenCL 1.2 AMD-APP (1573.4), 1024MB, 960MB available, 2016 GFLOPS peak)
    25-Nov-2014 11:10:22 [---] OpenCL CPU: AMD Athlon(tm) II X4 635 Processor (OpenCL driver vendor: Advanced Micro Devices, Inc., driver version 1573.4 (sse2), device version OpenCL 1.2 AMD-APP (1573.4))
    25-Nov-2014 11:10:22 [---] Host name: pluto
    25-Nov-2014 11:10:22 [---] Processor: 4 AuthenticAMD AMD Athlon(tm) II X4 635 Processor [Family 16 Model 5 Stepping 2]
    25-Nov-2014 11:10:22 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
    25-Nov-2014 11:10:22 [---] OS: Linux: 3.17.3-200.fc20.x86_64
    25-Nov-2014 11:10:22 [---] Memory: 3.86 GB physical, 9.77 GB virtual
    25-Nov-2014 11:10:22 [---] Disk: 448.23 GB total, 393.26 GB free
    25-Nov-2014 11:10:22 [---] Local time is UTC +0 hours
    25-Nov-2014 11:10:22 [SETI@home] URL http://setiathome.berkeley.edu/; Computer ID ****; resource share 100
    25-Nov-2014 11:10:22 [climateprediction.net] URL http://climateprediction.net/; Computer ID ****; resource share 100
    25-Nov-2014 11:10:22 [Einstein@Home] URL http://einstein.phys.uwm.edu/; Computer ID ****; resource share 100
    25-Nov-2014 11:10:22 [SETI@home] General prefs: from SETI@home (last modified 07-Nov-2012 15:55:30)
    25-Nov-2014 11:10:22 [SETI@home] Host location: none
    25-Nov-2014 11:10:22 [SETI@home] General prefs: using your defaults
    25-Nov-2014 11:10:22 [---] Reading preferences override file
    25-Nov-2014 11:10:22 [---] Preferences:
    25-Nov-2014 11:10:22 [---] max memory usage when active: 1976.33MB
    25-Nov-2014 11:10:22 [---] max memory usage when idle: 3557.40MB
    25-Nov-2014 11:10:22 [---] max disk usage: 394.83GB
    25-Nov-2014 11:10:22 [---] max CPUs used: 2
    25-Nov-2014 11:10:22 [---] don't use GPU while active
    25-Nov-2014 11:10:22 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
    25-Nov-2014 11:10:22 [---] Not using a proxy
    25-Nov-2014 11:10:23 Initialization completed
    25-Nov-2014 11:10:23 [Einstein@Home] ACTIVE_TASK::start(): can't create memory-mapped file: shmget() failed
    [mike@pluto ~]# sudo systemctl stop boinc-client



Some history. We had a HDD crash. I managed to rescue most data from backups, but the O/S stuff was never backed up - just user data. The idea was we'd simply re-install the software from the latest distribution.

So with a completely clean disk, we installed RedHat Fedora 20. On top of that we rolled in our backups of /home & /var/lib/boinc.

But as you can see the client isn't running properly.

df is showing 88k used from 4G for /dev/shm so there's plenty of room

It's not an selinux problem.

Anyone got any ideas ?

10) Message boards : BOINC client : No free space (Message 50499)
Posted 14 Sep 2013 by mike8347569357
Post:
OK
11) Message boards : BOINC client : No free space (Message 50497)
Posted 14 Sep 2013 by mike8347569357
Post:
I'm trying to run boinc-client on an Raspberry Pi (ARM).

This system has been completely built from the source code, including boinc. I have not used a distribution because they all want to run from SDHC, whereas my system runs completely from RAM disk. My system boots from an SDHC, but then the filesystem is part of the kernel (initramfs), and after the system has finished booting, everything is left running from RAM disk. The SDHC is not touched at all after reading the kernel image.

So far so good.

My problem is boinc-client doesn't think I have any free disk space. e.g.


    14-Sep-2013 18:45:38 [---] Starting BOINC client version 7.2.7 for arm-android-linux-gnu
    14-Sep-2013 18:45:38 [---] log flags: file_xfer, sched_ops, task
    14-Sep-2013 18:45:38 [---] Libraries: libcurl/7.28.1
    14-Sep-2013 18:45:38 [---] Running as a daemon
    14-Sep-2013 18:45:38 [---] Data directory: /var/lib/boinc
    14-Sep-2013 18:45:38 [---] Processor: 1 ARM ARMv6-compatible processor rev 7 (v6l)
    14-Sep-2013 18:45:38 [---] Processor features: swp half thumb fastmult vfp edsp java tls
    14-Sep-2013 18:45:38 [---] OS: Linux: 3.6.11
    14-Sep-2013 18:45:38 [---] Memory: 485.84 MB physical, 0 bytes virtual
    14-Sep-2013 18:45:38 [---] Disk: 0 bytes total, 0 bytes free
    14-Sep-2013 18:45:38 [---] Local time is UTC +1 hours



Looking at the code, lib/filesys.cpp calls

int retval = STATFS(path, &fs_info);

STATFS in this case is statvfs. The only variable containing data after this call is f_frsize=4096.

Reading up on statvfs I note the comment ...

It is unspecified whether all members of the returned struct have mean‐
ingful values on all file systems.


So I find myself wondering if my initramfs type thing isn't supported.

Some details of my file system (Note that the root fs doesn't appear under the df command - but it is mounted)

    # df
    Filesystem Size Used Avail Use% Mounted on
    devtmpfs 228M 0 228M 0% /dev
    tmpfs 243M 0 243M 0% /dev/shm
    tmpfs 243M 196K 243M 1% /tmp
    # cat /proc/mounts
    rootfs / rootfs rw,relatime 0 0
    devtmpfs /dev devtmpfs rw,relatime,size=232776k,nr_inodes=58194,mode=755 0 0
    proc /proc proc rw,relatime 0 0
    devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs rw,relatime,mode=777 0 0
    tmpfs /tmp tmpfs rw,relatime 0 0
    sysfs /sys sysfs rw,relatime 0 0



I admit I've only got limited space on this file system because of the memory constraints, but I should be able to download work 2Mb work units.


    # free
    total used free shared buffers
    Mem: 497504 76216 421288 0 0
    -/+ buffers: 76216 421288
    Swap: 0 0 0
    # dd if=/dev/zero of=file.tmp bs=1k count=200000
    200000+0 records in
    200000+0 records out
    204800000 bytes (205 MB) copied, 2.89176 s, 70.8 MB/s
    # free
    total used free shared buffers
    Mem: 497504 276352 221152 0 0
    -/+ buffers: 276352 221152
    Swap: 0 0 0



I acknowledge I could just plug some numbers into free_space and total_space in get_filesystem_info(), but is there a better way ?

Anyone got any experience of this sort of thing ?

12) Message boards : Questions and problems : Error -155 (Message 50489)
Posted 13 Sep 2013 by mike8347569357
Post:
Yeah, I had problems too.

I just have a client running and was trying to control it from boinccmd.

The secret it to cd to the boinc_client working directory before issuing a command

So if your boinc_client has its' working directory as /var/lib/boinc, then cd to that and then issue the boinccmd commands.

e.g.

# cd /
# boinccmd --run_benchmarks
Operation failed: authentication error
# cd /var/lib/boinc
# boinccmd --run_benchmarks
#

I've no idea why, so don't ask
13) Message boards : GPUs : No usable GPUs found. AMD Radeon HD6750 (Message 50367)
Posted 31 Aug 2013 by mike8347569357
Post:
OK. Got a bit further with this (again). In fact I've SOLVED it.

By enabling the <coproc_debug>1</coproc_debug> flag in cc_config.xml I got a few more messages in boinc.log.

31-Aug-2013 15:36:34 [---] Local time is UTC +1 hours
31-Aug-2013 15:36:34 [---] CAL: ATI GPU 0: ATI Radeon HD 5700 series (Juniper) (CAL version 1.4.1848, 1024MB, 955MB available, 50 GFLOPS peak)
31-Aug-2013 15:36:34 [---] No NVIDIA library found
31-Aug-2013 15:36:34 [---] No OpenCL library found
31-Aug-2013 15:36:34 [climateprediction.net] URL http://climateprediction.net/; Computer ID 1186128; resource share 100

So, by looking at the source code for boinc, the "No OpenCL library found" text only appears twice, and both occurrences are in ./client/gpu_opencl.cpp, once for Windows and once for everything else that isn't Apple - so that's me, and the code looks like ...

#else
//TODO: Is this correct?
    opencl_lib = dlopen("libOpenCL.so", RTLD_NOW);
#endif
    if (!opencl_lib) {
        warnings.push_back("No OpenCL library found");
        return;
    }


I built the source code I had for boinc from git, and added a call to dlerror() to get the particular error. I got this ...

Aug 31 18:46:12 ceri boinc[25731]: 31-Aug-2013 18:46:12 [---] libOpenCL.so: cannot open shared object file: No such file or directory. No OpenCL library found

To after a bit more debugging. I discovered that boinc DOES NOT LOOK in /var/lib/boinc for the ATI and OpenCL libraries. It really uses LD_LIBRARY_PATH.

Amend /usr/lib/systemd/system/boinc-client.service to include the line.

Environment="LD_LIBRARY_PATH=/usr/lib64:/lib64:/usr/lib:/lib:/usr/local/lib"
... or where ever your libraries are.

Then make sure you library is libOpenCL.so and not - as was my case libOpenCL.so.1. There's something odd with symlinks here - it appears as if symlinks are ignored by dlopen(). You need a real library without the version number

And it will burst into life.

31-Aug-2013 19:06:13 [---] CAL: ATI GPU 0: ATI Radeon HD 5700 series (Juniper) (CAL version 1.4.1848, 1024MB, 952MB available, 50 GFLOPS peak)
31-Aug-2013 19:06:13 [---] OpenCL: AMD/ATI GPU 0: ATI Radeon HD 5700 series (Juniper) (driver version 1272.2, device version OpenCL 1.2 AMD-APP (1272.2), 1024MB, 952MB available, 50 GFLOPS peak)
3


Yippee !
14) Message boards : GPUs : No usable GPUs found. AMD Radeon HD6750 (Message 50364)
Posted 30 Aug 2013 by mike8347569357
Post:
I did a search through the forums and found this post which you may try to follow. That's for Fedora 17, but I just assume Fedora 19 to work the same way.


Unfortunately not. Fedora 17 used the "normal" /etc/init.d stuff. Fedora 19 has gone to using systemd. That thread did lead me to the "xhost local:boinc" statement though, and for some reason it does not work with systemd. The command is there, but it fails "no protocol specified" - the error never comes out on a logfile anywhere - I only discovered it by putting in a lot of status and error checking code. To be fair it doesn't make much real sense to have a boot time service depending on using graphics drivers, when there may not be a graphics card at all in the system. That said, if after the system is up and running I manually do a "xhost local:boinc" command, and then restart the boinc-client service, boinc does see my GPU. It just doesn't see any of the OpenCL stuff.

My current thinking is to set up the LD_LIBRARY_PATH before the boinc starts and see if that makes a difference.


Apropos, you did install the videocard drivers from AMD? Although, of course, according to their release notes your OS isn't supported. ;-)

Now, do know you're not the only one with problems. In this thread, jay-e has a lot of head scratches. I'm not sure if he finally manages to get his GPU to be detected.


Err, yeah. I think a part of the problem is that Fedora is always cutting edge. It is now running kernel 3.10.9-200, and the stable ATI driver does not compile/install. I have to use the beta driver. There are known bugs in it with privileges on the /proc/ati device. Maybe there are other things I've not detected yet with this beta driver.

So, my current state is, the GPU is detected, but not the OpenCL

Mike
15) Message boards : GPUs : No usable GPUs found. AMD Radeon HD6750 (Message 50360)
Posted 30 Aug 2013 by mike8347569357
Post:
OK, I give in. I need help with this.

Boinc detects my GPU OK. But it doesn't realise it can do OpenCL. The relevant lines of the startup log are ...


    30-Aug-2013 15:26:57 [---] Starting BOINC client version 7.0.65 for x86_64-pc-linux-gnu
    30-Aug-2013 15:26:57 [---] log flags: file_xfer, sched_ops, task
    30-Aug-2013 15:26:57 [---] Libraries: libcurl/7.29.0 NSS/3.14.3.0 zlib/1.2.7 libidn/1.26 libssh2/1.4.3
    30-Aug-2013 15:26:57 [---] Data directory: /var/lib/boinc
    30-Aug-2013 15:26:57 [---] Processor: 4 AuthenticAMD AMD Athlon(tm) II X4 635 Processor [Family 16 Model 5 Stepping 2]
    30-Aug-2013 15:26:57 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
    30-Aug-2013 15:26:57 [---] OS: Linux: 3.10.7-200.fc19.x86_64
    30-Aug-2013 15:26:57 [---] Memory: 3.86 GB physical, 3.89 GB virtual
    30-Aug-2013 15:26:57 [---] Disk: 49.09 GB total, 13.80 GB free
    30-Aug-2013 15:26:57 [---] Local time is UTC +1 hours
    30-Aug-2013 15:26:57 [---] CAL: ATI GPU 0: ATI Radeon HD 5700 series (Juniper) (CAL version 1.4.1848, 1024MB, 936MB available, 50 GFLOPS peak)
    30-Aug-2013 15:26:57 [climateprediction.net] URL http://climateprediction.net/; Computer ID 1186128; resource share 100
    30-Aug-2013 15:26:57 [SETI@home] URL http://setiathome.berkeley.edu/; Computer ID 7061073; resource share 100
    30-Aug-2013 15:26:57 [Einstein@Home] URL http://einstein.phys.uwm.edu/; Computer ID 8311447; resource share 100



I have OpenCL 1.2 libraries. "clinfo" tells me that.


    [mike@ceri monitor]$ clinfo
    Number of platforms: 1
    Platform Profile: FULL_PROFILE
    Platform Version: OpenCL 1.2 AMD-APP (1272.2)
    Platform Name: AMD Accelerated Parallel Processing
    Platform Vendor: Advanced Micro Devices, Inc.
    Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices



I understand that boinc cannot look outside its' environment, so in /var/lib/boinc, I've set up some symbolic links.

[mike@ceri monitor]$ ls -al /var/lib/boinc/lib*
lrwxrwxrwx. 1 root root 19 Aug 30 15:25 /var/lib/boinc/libaticalrt.so -> /lib/libaticalrt.so
lrwxrwxrwx. 1 root root 19 Aug 30 15:26 /var/lib/boinc/libOpenCL.so -> /lib/libOpenCL.so.1
[mike@ceri monitor]$ 


I've also tried pointing to the 64-bit libraries of the same name.

boinc doesn't detect that my drivers can do OpenCL.

What else do I need to do ?

Thanks
16) Message boards : GPUs : No usable GPUs found. AMD Radeon HD6750 (Message 50330)
Posted 27 Aug 2013 by mike8347569357
Post:
OK. Thanks for clearing that up.

According to the AMD site, the driver can do OpenCL. I've got some Open CL libraries installed with the same date as when I installed the driver, so I guess all I have to do now is work out why boinc can't see/use them
17) Message boards : GPUs : No usable GPUs found. AMD Radeon HD6750 (Message 50328)
Posted 27 Aug 2013 by mike8347569357
Post:
Hmm, well something is still not right, because I'm not getting work units. Here's a log. Einstein thinks the driver doesn't support OpenCL ... or I've set things up incorrectly.

2013-08-27 11:03:56.9038 [PID=7385]   Request: [USER#xxxxx] [HOST#xxxxxxxx] [IP xxx.xxx.xxx.16] client 7.0.65
2013-08-27 11:03:56.9159 [PID=7385 ]    [send] effective_ncpus 4 max_jobs_on_host_cpu 999999 max_jobs_on_host 999999
2013-08-27 11:03:56.9159 [PID=7385 ]    [send] effective_ngpus 1 max_jobs_on_host_gpu 999999
2013-08-27 11:03:56.9160 [PID=7385 ]    [send] Not using matchmaker scheduling; Not using EDF sim
2013-08-27 11:03:56.9160 [PID=7385 ]    [send] CPU: req 0.00 sec, 0.00 instances; est delay 0.00
2013-08-27 11:03:56.9160 [PID=7385 ]    [send] ATI: req 108000.00 sec, 1.00 instances; est delay 0.00
2013-08-27 11:03:56.9160 [PID=7385 ]    [send] work_req_seconds: 0.00 secs
2013-08-27 11:03:56.9160 [PID=7385 ]    [send] available disk 5.79 GB, work_buf_min 64800
2013-08-27 11:03:56.9160 [PID=7385 ]    [send] active_frac 0.999767 on_frac 0.285188 DCF 1.199328
2013-08-27 11:03:56.9171 [PID=7385 ]    [send] [HOST#8311447] is reliable
2013-08-27 11:03:56.9171 [PID=7385 ]    [send] set_trust: random choice for error rate 0.027737: no
2013-08-27 11:03:56.9172 [PID=7385 ]    [mixed] sending locality work first (0.1220)
2013-08-27 11:03:57.2205 [PID=7385 ]    [version] Don't need CPU jobs, skipping version 105 for einstein_S6CasA ()
2013-08-27 11:03:57.2206 [PID=7385 ]    [version] Checking plan class 'X64'
2013-08-27 11:03:57.2214 [PID=7385 ]    [version] reading plan classes from file '/BOINC/projects/EinsteinAtHome/plan_class_spec.xml'
2013-08-27 11:03:57.2214 [PID=7385 ]    [version] plan class ok
2013-08-27 11:03:57.2214 [PID=7385 ]    [version] Don't need CPU jobs, skipping version 105 for einstein_S6CasA (X64)
2013-08-27 11:03:57.2215 [PID=7385 ]    [version] Checking plan class 'SSE2'
2013-08-27 11:03:57.2215 [PID=7385 ]    [version] plan class ok
2013-08-27 11:03:57.2215 [PID=7385 ]    [version] Don't need CPU jobs, skipping version 105 for einstein_S6CasA (SSE2)
2013-08-27 11:03:57.2215 [PID=7385 ]    [version] no app version available: APP#24 (einstein_S6CasA) PLATFORM#7 (x86_64-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2215 [PID=7385 ]    [version] no app version available: APP#24 (einstein_S6CasA) PLATFORM#1 (i686-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2220 [PID=7385 ]    [mixed] sending non-locality work second
2013-08-27 11:03:57.2367 [PID=7385 ]    [version] Checking plan class 'BRP5-cuda32-nv270'
2013-08-27 11:03:57.2368 [PID=7385 ]    [version] parsed project prefs setting 'gpu_util_brp': 0.000000
2013-08-27 11:03:57.2368 [PID=7385 ]    [version] No CUDA devices found
2013-08-27 11:03:57.2368 [PID=7385 ]    [version] Checking plan class 'BRP5-opencl-ati'
2013-08-27 11:03:57.2368 [PID=7385 ]    [version] parsed project prefs setting 'gpu_util_brp': 0.000000
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] ATI device (or driver) doesn't support OpenCL
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] Checking plan class 'BRP5-cuda32-nv270'
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] parsed project prefs setting 'gpu_util_brp': 0.000000
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] No CUDA devices found
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] Checking plan class 'BRP5-opencl-ati'
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] parsed project prefs setting 'gpu_util_brp': 0.000000
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] ATI device (or driver) doesn't support OpenCL
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] no app version available: APP#23 (einsteinbinary_BRP5) PLATFORM#7 (x86_64-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] no app version available: APP#23 (einsteinbinary_BRP5) PLATFORM#1 (i686-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2369 [PID=7385 ]    [version] Checking plan class 'BRP4G-cuda32-nv270'
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] parsed project prefs setting 'gpu_util_brp': 0.000000
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] No CUDA devices found
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] Checking plan class 'BRP4G-opencl-ati'
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] parsed project prefs setting 'gpu_util_brp': 0.000000
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] ATI device (or driver) doesn't support OpenCL
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] Checking plan class 'BRP4G-cuda32-nv270'
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] parsed project prefs setting 'gpu_util_brp': 0.000000
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] No CUDA devices found
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] Checking plan class 'BRP4G-opencl-ati'
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] parsed project prefs setting 'gpu_util_brp': 0.000000
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] ATI device (or driver) doesn't support OpenCL
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] no app version available: APP#25 (einsteinbinary_BRP4G) PLATFORM#7 (x86_64-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2370 [PID=7385 ]    [version] no app version available: APP#25 (einsteinbinary_BRP4G) PLATFORM#1 (i686-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2371 [PID=7385 ]    [version] Checking plan class 'BRP4X64'
2013-08-27 11:03:57.2371 [PID=7385 ]    [version] plan class ok
2013-08-27 11:03:57.2371 [PID=7385 ]    [version] Don't need CPU jobs, skipping version 133 for einsteinbinary_BRP4 (BRP4X64)
2013-08-27 11:03:57.2371 [PID=7385 ]    [version] Checking plan class 'BRP4SSE'
2013-08-27 11:03:57.2371 [PID=7385 ]    [version] plan class ok
2013-08-27 11:03:57.2371 [PID=7385 ]    [version] Don't need CPU jobs, skipping version 134 for einsteinbinary_BRP4 (BRP4SSE)
2013-08-27 11:03:57.2371 [PID=7385 ]    [version] no app version available: APP#19 (einsteinbinary_BRP4) PLATFORM#7 (x86_64-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2371 [PID=7385 ]    [version] no app version available: APP#19 (einsteinbinary_BRP4) PLATFORM#1 (i686-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2371 [PID=7385 ]    [version] Don't need CPU jobs, skipping version 110 for hsgamma_FGRP2 ()
2013-08-27 11:03:57.2372 [PID=7385 ]    [version] no app version available: APP#21 (hsgamma_FGRP2) PLATFORM#7 (x86_64-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2372 [PID=7385 ]    [version] no app version available: APP#21 (hsgamma_FGRP2) PLATFORM#1 (i686-pc-linux-gnu) min_version 0
2013-08-27 11:03:57.2430 [PID=7385 ] [debug]   [HOST#8311447] MSG(high) No work sent
2013-08-27 11:03:57.2430 [PID=7385 ] [debug]   [HOST#8311447] MSG(high) see scheduler log messages on http://einstein.phys.uwm.edu//host_sched_logs/8311/8311447
2013-08-27 11:03:57.2430 [PID=7385 ]    Sending reply to [HOST#8311447]: 0 results, delay req 60.00
2013-08-27 11:03:57.2433 [PID=7385 ]    Scheduler ran 0.346 seconds
[/code][/list]
18) Message boards : GPUs : No usable GPUs found. AMD Radeon HD6750 (Message 50317)
Posted 26 Aug 2013 by mike8347569357
Post:
OK. Got a bit further with this, the GPU is now recognised. What exactly makes the difference I don't know, so some of the following may not be necessary.

The set up is Fedora 19 with the AMD Catalyst Beta 13.8 driver.

I have NOT disabled Selinux. Some users advocate it - it isn't necessary.
I have NOT modified the firewall.

I added boinc to the video group.

There's a bug in the 13.8 beta driver which means access rights to the device are not set correctly and so for example the AMD Catalyst Control Centre program does not start unless you are root. We don't like being root, so you need to enable access to /proc/ati with a chmod -R 777 /proc/ati

To allow this to happen, and to make sure the video drivers are there before boinc starts I amended /usr/lib/systemd/system/boinc-client.service with the following lines...

ExecStartPre=/bin/sleep 20
ExecStartPre=/usr/bin/chmod -R 777 /proc/ati

i.e. changed the sleep from 1 to 20, and added the line to change permissions.

I also added the following line to allow the Xserver realise that boinc is allowed access to the GPUs

ExecStartPre=/usr/bin/xhost local:boinc

Boinc now starts up and says I have a GPU ...

Mon 26 Aug 2013 16:49:08 BST | | CAL: ATI GPU 0: ATI Radeon HD 5700 series (Juniper) (CAL version 1.4.1848, 1024MB, 964MB available, 50 GFLOPS peak)

So, there it is. Whether it's actually being used is another question.

Hmmm, I just noticed it says I have a HD 5700 series. But ...

[mike@ceri ~]$ lspci | grep VGA
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper PRO [Radeon HD 6750]
[mike@ceri ~]$

One of lifes' little mysteries I guess
19) Message boards : GPUs : No usable GPUs found. AMD Radeon HD6750 (Message 50221)
Posted 17 Aug 2013 by mike8347569357
Post:
OK. Tried all that, it doesn't work.

Fedora is not exactly the same as Debian/Ubuntu in the way it starts things - it's running systemd, and doesn't use /etc/init.d but I went through the same processes of starting/restarting the boinc-client after making changes, and it affected nothing. Still got ... No usable GPUs found
20) Message boards : GPUs : No usable GPUs found. AMD Radeon HD6750 (Message 50217)
Posted 17 Aug 2013 by mike8347569357
Post:
I have always had this message, but I recently upgraded my video card to a Radeon HD6750 and according to documentation on this site, this GPU is usable. So how do I make it happen ?

I'm running Linux Fedora 19 and installed Boinc from the repositories so boinc is happily running from /var/lib/boinc

I really don't want to use the Berkley BOINC installer because that created all sorts of problems for me in the past.

I have tried all of this ...http://boinc.berkeley.edu/dev/forum_thread.php?id=8129#47188 to no avail.

I tried putting symlinks in /var/lib/boinc to the various libraries - though I couldn't see why that would work - and it didn't.

Any further suggestions ?


Next 20

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.