Posts by floyd

21) Message boards : Questions and problems : Adjust time between project contacts? (Message 93454)
Posted 31 Oct 2019 by floyd
Post:
Anybody got something other than 2 GPUs running MW in 1 host that can tell me what their limit is?
See this thread at the Milkyway forum. The limits are mentioned there (600 is the absolute maximum) and the discussion actually is about the effect you describe here, so it is known there. People guessed that you don't get tasks if you make a request too early, while a delay is still active, and the delay then gets reset creating a loop. That was also my first guess. I didn't read beyond the first page - the thread is five pages long - but you might want to do that. Interestingly Keith participated there, maybe he can remember something.
22) Message boards : Questions and problems : Adjust time between project contacts? (Message 93444)
Posted 31 Oct 2019 by floyd
Post:
I'm not sure if I understand. Are you saying the server refuses to send new tasks because you do return results? And that's intentional? I can't believe it.
23) Message boards : Questions and problems : Adjust time between project contacts? (Message 93411)
Posted 30 Oct 2019 by floyd
Post:
Just two things that haven't been addressed yet as far as I can see:
A) Peter's host doesn't connect to report tasks but to fetch tasks. The log shows that. Tasks are only reported as a side effect.
B) If you want to keep the frequency of connections low, the cache setting of 1+0 is a bad idea. It makes the client request very little amounts of work very often. I'd change the 0 to 0.01 or 0.02 at least, then see if BOINC's increasing delays take care of the rest. If that doesn't help, reduce the 1 day cache to a size that can actually be filled.
24) Message boards : Questions and problems : LHC@Home, GPU, and BOINC ProjectList (Message 93182)
Posted 13 Oct 2019 by floyd
Post:
The word native contains the letters ATI, and that's what triggers the false positive GPU report.
Assuming that most search patterns are letters only, would it be reasonable to require matches to be surrounded by non-letter characters?
25) Message boards : Questions and problems : Compute error - SIGSEGV: segmentation violation (Message 92902)
Posted 22 Sep 2019 by floyd
Post:
A prior post suggested there may be no way to check if the option was activated. When I run:
cat /usr/src/linux-headers-$(uname -r)/.config | grep
I get:
cat: /usr/src/linux-headers-4.19.0-6-amd64/.config: No such file or directory
even though I should have activated it in grub with:
GRUB_CMDLINE_LINUX_DEFAULT="vsyscall=emulate"
and:
sudo update-grub
Most likely you don't have the kernel headers installed. You don't need them. If you wish you can do
grep VSYSCALL /boot/config-$(uname -r)
instead but both will only show you the default values compiled into the kernel, not the current state as you seem to think.

This is likely a moot point as some pretty knowledgeable people have told me the issue I am trying to resolve is likely not with the vsyscall at all.
They may be right. Another reason to verify my theory soon.

I am just trying all options in order of complexity
And this one - besides the expected effects matching what you see - is easily tested. One changed configuration line, one update command, all you need to do now is run BOINC as usual and see if something has changed. Before all your SETI tasks segfaulted immediately. If now you see one run for some minutes you most likely have identified the issue. Also I see you have another computer running Debian 10 at SETI. Activate that, if the problem is caused by vsyscall it must show the same errors.
26) Message boards : Questions and problems : Compute error - SIGSEGV: segmentation violation (Message 92889)
Posted 21 Sep 2019 by floyd
Post:
What does
cat /usr/src/linux-headers-$(uname -r)/.config | grep VSYSCALL
tell me? I have seen this suggested in a number of posts where they received a reply of
cat /usr/src/linux-headers-$(uname -r)/.config | grep VSYSCALL 
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_X86_VSYSCALL_EMULATION=y
CONFIG_LEGACY_VSYSCALL_EMULATE=y
# CONFIG_LEGACY_VSYSCALL_NONE is not set
If you installed the kernel headers for your currently running kernel - $(uname -r) is the version string - this shows you how the kernel is configured regarding VSYSCALL. This is purely informational. In this example the vsyscall emulation is built in and enabled by default (VSYSCALL_EMULATE=y). For your kernel, it is built in and disabled by default (VSYSCALL_NONE=y). I suspect that's what the Seti application can't cope with, so you override it with the vsyscall=emulate boot parameter and then it's time for a test to see if we're on the right path.
27) Message boards : Questions and problems : Compute error - SIGSEGV: segmentation violation (Message 92885)
Posted 21 Sep 2019 by floyd
Post:
I added to grub: GRUB_CMDLINE_LINUX_DEFAULT="VSYSCALL=EMULATE"
Better make that "vsyscall=emulate". I wouldn't be surprised to see that the upper case version doesn't work.

The grub update seemed to go ok.
So it seems. Of course you rebooted after that?

For some reason I don’t get the confirmation of the emulation mode.
I'm not aware of a way to query the current mode. You could look at /proc/cmdline. And of course the best confirmation would be if your application didn't segfault any longer.

Be aware that vsyscall is just a run time parameter, it overrides the kernel default but doesn't change it permanently.
28) Message boards : Questions and problems : Compute error - SIGSEGV: segmentation violation (Message 92878)
Posted 21 Sep 2019 by floyd
Post:
What I am asking is since this is a known issue, how does one diagnose the cause of the error, memory, OS, BOINC? How did others resolve the issue? I can find dozens of references to the issue, all with a BOINC project, but only two resolutions, where vsyscall was put into emulate mode.
So you have identified a possible (and IMO very likely) cause, and you know a workaround. But you don't mention that you have tried it, or an outcome. What about that?
29) Message boards : Questions and problems : no gpu detected on boinc 7.14.2+dfsg-3 ( Debian 10 buster ) (Message 92265)
Posted 22 Jul 2019 by floyd
Post:
Just add boinc to the render group.
I've already tried that with no result.
Well I had tested that before I suggested it to you. It works for me. A simple
apt-get install mesa-opencl-icd
adduser boinc render
systemctl restart boinc-client.service
on a plain Buster system (but without Bonaire GPU or Intel GPU) and there I go.

Mesa OpenCL on a Bonaire GPU can work for Collatz in Debian 9 with files from official reps.
Yes, mine did work at Einstein before the upgrade from Stretch to Buster, but no longer. Now you say yours works when running Sid. I suspect there's something wrong with mesa or llvm-toolchain in Buster. Both have been upgraded for Buster and again for Sid.

No usable GPUs found
If kill it, and start it the wrong way, via console
$boinc, then
(...)

an AMD card is detected (but no Intel) and boinc-manager can't connect to boinc.
There's two obvious differences. BOINC runs on a different user account (siu vs. boinc), likely with more rights. And it uses a different data directory (/home/siu vs. /var/lib/boinc-client), possibly resulting in a different configuration. You may want to check the differences in detail on your system.
30) Message boards : Questions and problems : no gpu detected on boinc 7.14.2+dfsg-3 ( Debian 10 buster ) (Message 92238)
Posted 20 Jul 2019 by floyd
Post:
You didn't give details on your GPU setup. A search shows that you're probably trying to run Mesa OpenCL on a Bonaire GPU. That makes a difference or two.

And If I'm fine with all security risks from boinc side, what may be done to run the GPU's?
Just add boinc to the render group. But then you may run into the next problem. I have a host where, since Buster, the OpenCL scan blocks if there is a Bonaire GPU installed. Please tell if you have better luck.
31) Message boards : BOINC Manager : Opinions requested from home Linux users (Message 91845)
Posted 15 Jun 2019 by floyd
Post:
Specter7,

that is not the topic of this thread. If your problem persists you should start a new one.

I use BOINC Manager 7.6.33 on Debian + Xfce and I can't confirm any of your observations except the Preferences window not being resizeable. But then the initial size is just right to show all contents. I think you should first delete or rename ".BOINC Manager", just in case anything is messed up in there. Then check your window manager's settings for anything that affects window size or placement. If nothing helps I think you should be able to get something later than BOINC 7.9 for Ubuntu. Search these forums for "Locutus" for more information.

You should also be able to use keyboard shortcuts. Alt-O for OK and Esc for Cancel work for me, Alt-C doesn't. This may also be subject to window manager settings.
32) Message boards : Questions and problems : resource "share' not working as expected when set to zero (Message 91636)
Posted 26 May 2019 by floyd
Post:
For a long time, there were reports that specific projects wouldn't allow the special 0 value to be entered via their websites.
Rosetta changed 0 to 100 until a few months ago.

What happens if a user specifies 0 via an AM, for a project which can't handle it?
I don't know enough about AMs to be sure but I'd expect something like above to happen. It would be up to the AM or the BOINC client to cope with that. But in this case the suspect is Milkyway, their server code understands 0.

BOINC global preferences - including RS - are supposed to be propagated from project to project during client contacts: would a non-updated project substitute unwanted values during that process?
RS is not a global preference, it is project specific by its nature and as far as I know it's not transmitted to other projects. But forgive me a slightly related question, where do projects get the lists of other projects users participate in?

I'll have a look through the client code to see if I can find that "reset if all zero" bug that floyd described
I hope you find something. I sure looked after the incident I described and I looked again today, still don't see how it is possible but it happened. Unfortunately I can't remember details but they must be important.

we can lose that now that zero has been ascribed an active meaning
Yes when it is only about changing a meaningless value. But on a second thought, maybe parts of the code rely on the sum of shares being non-zero, for example when calculating fractions.

But for the time being (until I find the smoking gun in the code), I'm keeping an open mind
No gun, sadly not even smoke. But I heard a bang and someone fell over. Hate to look like a fool.
33) Message boards : Questions and problems : resource "share' not working as expected when set to zero (Message 91633)
Posted 26 May 2019 by floyd
Post:
I have an idea what happened there and if I'm right it's a bug in the client. You could verify it if you still have the logs.

An (undocumented?) feature of the BOINC client is that it will reset the resource shares to 100 if all projects are set to zero. Besides being useless at best - some thoughts on that later - it looks like there also is an error in the implementation. Sometimes the client detects all zeroes when it's not correct, sometimes it doesn't reset the shares when it says it does. In one case I observed that a resource share was incorrectly set from 0 to 100 at client start. The client then immediately fetched a sh*tload of unwanted work and in the process picked up the zero RS from the project again. I would never have known what happened if I hadn't been looking just that moment.

I guess that feature dates from the time when zero was not special - it is now as you noticed. Back then zero meant zero and I'm not even sure it was a valid setting. With all RS being zero the client wouldn't have fetched any tasks and it could have been reasonable to automatically reset the RS to a positive value. Now that zero is a valid and usually intentional setting, the client must not mess with it. If something needs adjustment, just tell me - preferably with a reason - and I may do it. I vote for the auto-adjustment feature to be removed, any changes it makes are against my explicitly stated wish and are volatile anyway as seen above.
34) Message boards : BOINC Manager : Opinions requested from home Linux users (Message 91094)
Posted 15 Apr 2019 by floyd
Post:
They can also suspend all projects indefinitely, without limit of time - which might be almost as bad as stopping the service.
Isn't that just what people try to achieve when they stop the service? Or do they also want to remove the applications from memory? Could't that be done without actually stopping the client? In that case it wouldn't be a problem to simply resume.

The 'snooze' action is distinctively different, because it sets a 60 minute timer: BOINC restarts even if the user has left the building. And it's relevant here, because the same Debian developer has also proposed "Disable BOINC Manager system tray icon on Linux platforms". And 'snooze' can only be invoked from the system tray icon.
I'm using Debian and the icon always seemed useless. It appears when the manager is started (and it usually isn't) and it disappears when the manager is stopped. I always thought it was just a shortcut to the running manager and it never occurred to me that it could do something that I couldn't do directly from the manager. But no, I don't need that snooze function. And to be useful the icon would have to always be there, without the running manager, and also allow suspend and resume. Some independent Manager Light somehow. But as I said, I don't need it and I wouldn't mind if it was removed.

Now that I've for the first time tried to use the icon I notice confusing interactions between the icon and the manager GUI. Is there any documentation on what the icon is supposed to do in detail?
35) Message boards : BOINC Manager : Opinions requested from home Linux users (Message 91093)
Posted 15 Apr 2019 by floyd
Post:
Stepping carefully into this heated discussion
Gary and I have repeatedly tried to explain our views which are so fundamentally different that they're only partly understood by the other side. From my side there's no need to continue this and I was just about to say that more opinions are very welcome. I'm not likely to change mine though. ;-)
36) Message boards : BOINC Manager : Opinions requested from home Linux users (Message 91088)
Posted 14 Apr 2019 by floyd
Post:
I think you're conflating multi-user with multi-tasking.
I don't think so, it's just that we mean different things when we say "user". To you it means the physical persons using a computer, to me it means (to make it short) something different. But back to the original statement. You said that, after your definition, most current Linux systems are single-user. We already agreed on that, let's not fight over words.

I can't imagine a significant need to take that action from within boincmgr (or boinccmd). Anybody and anything can suspend boinc without any privileges and if it really needs to be stopped or (re-)started, the "responsible" people already have other ways. I would strongly advise against making changes in this sensitive area just to add some rarely used shortcut.
I really don't understand your point here. I thought the purpose of this whole thread was to garner user feedback about a proposal to remove some existing functionality from the manager that allowed a user to stop a boinc client under circumstances where they wouldn't be able to restart it without the ability/knowledge to re-launch the service mechanism that started boinc in the first place
Yes, either that or to add the counterpart, the ability to start the boinc client from the Manager in any operation mode.

Please correct me if I'm not understanding the purpose of this thread.
We were asked for our opinions. You told yours, I told mine, they were different and it seems they remain different. There's nothing wrong here.

If an ordinary 'buntu (or derivative) user needed to restart a client killed through the current manager functionality, all they would need to do is run the command
sudo systemctl restart boinc-client
or something like that.
That wouldn't work for me on Debian because sudo isn't installed by default. But of course I have a way to do something like that. Everybody who could possibly use such function of BM can already do it without and they should know best how to do it on their system. There is no need to add such functionality to BM just because something like that has always been there.

I'll skip over the rest of your post where you again describe the possibilities of your farm. I'm sure it's evolved over years, you've put a lot of work in it, carefully configured it to you needs and you know what you're doing. Please stop taking that as an example of what is possible, you can't expect anything like that on the systems we're talking about. Most of what you describe won't be available at all, or in an unknown state, and you can't hope for any help from the administrator.
37) Message boards : BOINC client : trouble with parameter BOINC_DIR moving away from /var/lib/boinc-client (Message 91086)
Posted 14 Apr 2019 by floyd
Post:
# This file is /etc/default/boinc-client, it is a configuration file
# for the /etc/init.d/boinc-client init script.

Note that
1) command: "...# journalctl -xe" and
2) command: "...# systemctl status boinc-client"
both show that boinc is stuck in "/var/lib/boinc-client" directory.

You're starting boinc through systemd so the above file is irrelevant. /lib/systemd/system/boinc-client.service seems to be the place to look. Don't edit that file in place but find out how to properly override the settings.
38) Message boards : BOINC Manager : Opinions requested from home Linux users (Message 91081)
Posted 13 Apr 2019 by floyd
Post:
Richard,

sorry just saw your post now. Please see my reply to Gary. I had a look at your SETI thread but haven't found anything to comment on here, other than the people there seem to see the user vs service installation question open. That sounded different from the other thread. As I'm not a SETI user I won't follow the discussion there.
39) Message boards : BOINC Manager : Opinions requested from home Linux users (Message 91080)
Posted 13 Apr 2019 by floyd
Post:
Richard, you and ChristianB seem to continue a discussion that started somewhere else. I and probably most people here don't know its history ...
The discussion seems to be here.
Thank you for the link. So, as I understand it, there's a consensus that user mode boinc on Linux is effectively unsupported. Now there's two opinions. The first is that the ability to start and stop the client in service mode is not needed and should be removed. The other is, while manually starting in service mode is currently not possible, there should be a way to circumvent that restriction. Obviously I'm with the first faction.

Linux has evolved from Unix, so is brilliant as a multi-user system, but it's a bit of hyperbole to suggest that it's fighting against its basic design when used as an extremely capable single user system :-).
That depends on how you define it. To me a Linux system is always a multi user system, even if there's only one person involved. There's always root, and system users like boinc for example, and the next "real" user equal to you is just one useradd away. That "single" user is in no way special just because there is currently no other.

For the question of starting the client in a "service" install I second ChristianB, you shouldn't be able to stop what you haven't started.
Except ... you can easily have the best of both worlds by having a simple popup appear that asks for the root password if the user wants to take that action. To my mind this covers both situations - the multi-user environment where only 'responsible' people have that password and the true 'single user is administrator' environment.
I can't imagine a significant need to take that action from within boincmgr (or boinccmd). Anybody and anything can suspend boinc without any privileges and if it really needs to be stopped or (re-)started, the "responsible" people already have other ways. I would strongly advise against making changes in this sensitive area just to add some rarely used shortcut.

I would think that most Linux systems that contribute to BOINC projects fall into the latter category
No doubt.

so I think single user systems need to be catered for
There's no necessity for a special treatment here, it just makes things more complex without much gain.

not overly penalised by complete removal of existing functionality
Existing non-functionality, partially. As it seems, boinc will already commit suicide on anyone's demand. I never thought this was possible and the feature should really be restricted or better removed. Starting boinc in service mode is not possible as it is and adding the feature IMO is not worth the effort.

How are you going to restart a remote client that was your (the local user's) only connection to the remote system, and you just killed it?
I'm not sure if I properly understand what you mean but if on my machines, I were to shut down a remote client from a local BOINC Manager, I could easily login over ssh and restart that client immediately.
See yourself as multiple personalities and you'll probably understand my thoughts. What does gary@localhost do if he killed the boinc service at remotehost (which IMO he shouldn't have been able to)? As he has no control over remotehost, except for the stupid boinc that is dead now, there's nothing he can do but ask root@remotehost (or equivalent) to take care of the situation. Fortunately that's not too much effort because they happen to be the same person, but that doesn't matter here. What does gary@localhost do if he killed the local boinc service? He'll have to contact root@localhost for the same reasons. Now some people assume they're the same person anyway and want to give gary the opportunity to prove it and have BM take care of the issue instead of root (who is assumed to be gary). My problems with that are

  • Is it worth the effort to implement that, with possible security implications, when there already is a working solution?
  • Can that work remotely? If it can, do we want to give some unknown (there) gary any control over the remote system? If it can't, do we want BM to behave different when controlling remote systems?

The scripts use boinccmd to do all sorts of stuff. I'd be concerned if boinccmd functionality was being removed :-).
Do you use boinccmd to stop clients? In that case now you'd need some other way to start them again, and you could also use that way to stop. The question is, should boinccmd (and boincmgr) do both or nothing.
40) Message boards : BOINC Manager : Opinions requested from home Linux users (Message 91076)
Posted 13 Apr 2019 by floyd
Post:
Therefore the ability to stop the Client should be removed. There are clear alternatives to just removing the option and I now wonder why they where never mentioned in the github PR or issue.
Here, here. That's why I got involved, and why we're having this discussion.

My feeling is that the advocates of the current issue / PR had a particular (and narrow) view of 'the typical Linux user' - probably guided by the Linux users in their personal workspace - and proposed solutions that seemed natural for that particular stereotypical user.

Richard, you and ChristianB seem to continue a discussion that started somewhere else. I and probably most people here don't know its history and therefore I fail to understand your vague references. Not knowing how you see a "typical" Linux system, I guess it's like a "typical" Windows system: A single computer used by a single person who is both the only user and the administrator, with no clear distinction between the roles. I see a tendency to try and turn Linux into something like that and I feel very uneasy about it. Linux is not a free Windows, nor should it be. Windows is a single user system for the Personal Computer. Linux, being inspired by Unix, is by design a multi user system and should be run like that, even if used by a single person. Don't try to make it look, feel and act like Windows, you'll continually fight against its basic design.

For the question of starting the client in a "service" install I second ChristianB, you shouldn't be able to stop what you haven't started. You don't start it in the first place, you can't stop it, you don't need to force a way to re-start it. Simple as that. And remember that BOINC Manager is perfectly capable of managing remote clients just like local clients. How are you going to restart a remote client that was your (the local user's) only connection to the remote system, and you just killed it?


Previous 20 · 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.