Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client stuck thinking VM extensions are disabled #1460

Closed
marius311 opened this issue Jan 4, 2016 · 6 comments · Fixed by #3160
Closed

Client stuck thinking VM extensions are disabled #1460

marius311 opened this issue Jan 4, 2016 · 6 comments · Fixed by #3160

Comments

@marius311
Copy link
Member

In some cases, the client (tested on Win/7.6.22 and Linux/7.2.47) can get stuck thinking VM extensions are disabled. There may be more ways, but one way to reproduce is:

  • Ensure VM extensions are off in your BIOS
  • Attempt to request some jobs from a project which has VM jobs that need extensions (you'll rightly get none)
  • Go turn VM extensions on in your BIOS
  • Come back to BOINC and try to request jobs again, you'll still get none

This is actually pretty common. Since VM extensions are often off by default, people come in and try to run your jobs, they don't work, then they go and read the website and find out they need VM extensions, but they turn them on and it still doesn't work.

The workaround btw is the user has to edit the client_config.xml file and delete <p_vm_extensions_disabled> by hand.

@marius311
Copy link
Member Author

Since this was brought up again, let me clarify since I screwed up my explanation above. It actually goes like this,

  • Ensure VM extensions are off in your BIOS
  • Request jobs from a project which has VM jobs that need extensions
  • You'll get one, it'll start running, vboxwrapper will detect you don't have extensions and fail.
  • BOINC now permanently marks your client as not having VM extensions, so you will no longer get any such jobs.
  • You can now re-enable extensions, but since you won't get any more VM jobs there's no way for the client to know that VM extensions are now enabled.

Also a note about the workaround, its often been difficult for users to do this because in some cases that I haven't figured out exactly why, the BOINC client overwrites their changes to client_config.xml.

@JacobWKlein
Copy link

Does the <p_vm_extensions_disabled> setting get stored in client_config.xml, or does it get stored in client_state.xml ?

@marius311
Copy link
Member Author

Ah sorry, its client_state.xml yes.

@romw
Copy link
Member

romw commented Jun 20, 2016

This issue will be resolved once #1474 is implemented.

@ChristianBeer ChristianBeer added this to the Client/Manager 8.0 milestone Apr 11, 2017
@Ageless93 Ageless93 added this to Backlog in Client and Manager via automation Nov 11, 2017
@Ageless93
Copy link
Contributor

Seeing how this is a very active problem and we want our users (mostly novices in computer use) to have to manually edit files as little as possible (especially client_state.xml because of the dangers therein), may we have an option for this as soon as possible?

I'm not sure what would be the easiest for this, a GUI option for something like "Reactivate VM", or an external app/script that does this (and other potential things, like fully uninstall BOINC).

@Rytiss
Copy link
Contributor

Rytiss commented May 22, 2019

I was just personally bit by this issue and spent a while digging up info on how to fix it.

I believe BOINC should reset host_info.p_vm_extensions_disabled flag on each BOINC client startup: that is really the only time when a user could fix the setting as it needs rebooting into BIOS. Sure, that means we would do a single run testing VM extensions on a reboot even if the user did not fix the issue, but considering vbox apps have gigantic amounts of failures anyway, I don't think it has a significant negative impact - but is way more user-friendly.

Client and Manager automation moved this from Backlog to Done Jun 1, 2019
@AenBleidd AenBleidd added this to Backlog in Client Release 7.16 via automation Oct 29, 2019
@AenBleidd AenBleidd removed this from Done in BOINC Client/Manager Oct 29, 2019
@AenBleidd AenBleidd moved this from Backlog to Done in Client Release 7.16 Oct 29, 2019
@AenBleidd AenBleidd removed this from Done in Client and Manager Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

7 participants