Boinc demands VirtualBox

Questions and Answers : Windows : Boinc demands VirtualBox

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1467
Credit: 14,328,262
RAC: 16,666
Message 106529 - Posted: 13 Jul 2022, 6:43:49 UTC - in response to Message 106521.  

However VBox seems to want Python installed.
Yep.
Running Windows, HyperV must be disabled (in Add/Remove programmes) in order for VirtualBox to work.

And since you did get a Python Task that errored out because VirtualBox couldn't setup the Virtual Machine, you'll probably need to go to your computer in your account, click on Details, and down near the bottom should be an option relating to Python Tasks. If the button says Allow (or something similar), click on it.
Grant
Darwin NT
ID: 106529 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Richard James

Send message
Joined: 30 Mar 20
Posts: 12
Credit: 1,832,146
RAC: 2,628
Message 106533 - Posted: 13 Jul 2022, 16:03:51 UTC - in response to Message 106529.  

However VBox seems to want Python installed.


Dennis, thanks for the quick response.

>Yep.

> Running Windows, HyperV must be disabled (in Add/Remove programmes) in order for VirtualBox to work.

It is already off.

>And since you did get a Python Task that errored out because VirtualBox couldn't setup the Virtual Machine, you'll probably need to go to your computer in your account, click on Details, and down near the bottom should be an option relating to Python Tasks. If the button says Allow (or something similar), click on it.[/quote]

Yes. already done that and it has since d/l some python tasks.

However, I have done nothing (no instructions) to "install" Python or anything else in VB.

Does the Rosetta file contain everything needed to run?

Looks like you are on the other side of the "Big Pond" to me...

Richard,
From an Island in the Pacific, Victoria, BC.
ID: 106533 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1467
Credit: 14,328,262
RAC: 16,666
Message 106536 - Posted: 14 Jul 2022, 6:39:42 UTC - in response to Message 106533.  

Yes. already done that and it has since d/l some python tasks.
And many of them have timed out.
You need to reduce the size of your cache- if running more than one project then no cache is best. Even if running just one project, no cache (or next to no cache is still best.) Generally 0.25 days and 0.01 additional days is more than good enough.
Rosetta requires all work to be returned within 3 days.


However, I have done nothing (no instructions) to "install" Python or anything else in VB.

Does the Rosetta file contain everything needed to run?
As long as you aren't running under Anonymous platform, BOINC will get whatever files it needs in order to process work for any project you are attached too. If a project comes out with a new application to process existing work, BOINC will automatically download it once the Project makes it available.
If they release a new type of Task, depending on your settings for that Project (some allow you to select what types of work you do for that project if they have more than one type), BOINC will automatically download the required files to process the new type of Task.
Grant
Darwin NT
ID: 106536 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Richard James

Send message
Joined: 30 Mar 20
Posts: 12
Credit: 1,832,146
RAC: 2,628
Message 106537 - Posted: 14 Jul 2022, 15:19:56 UTC - in response to Message 106536.  

Grant,

> >Yes. already done that and it has since d/l some python tasks.

> And many of them have timed out.

> You need to reduce the size of your cache- if running more than one project then no cache is best. Even if running just one project, no cache (or next to no cache is still best.) Generally 0.25 days and 0.01 additional days is more than good enough. Rosetta requires all work to be returned within 3 days.

Changed to 0.25 days.

>> However, I have done nothing (no instructions) to "install" Python or anything else in VB.

>> Does the Rosetta file contain everything needed to run?[

> As long as you aren't running under Anonymous platform,

Whatever that is???

>BOINC will get whatever files it needs in order to process work for any project you are attached too.

Almost all the Python projects terminated within 30 sec with "Error while computing "

But what is the error????

My original question was how to set up VBox/Python to run this, ie explicit instructions and links to all necessary files so I can see what I am doing.

Thanks.
ID: 106537 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1467
Credit: 14,328,262
RAC: 16,666
Message 106538 - Posted: 15 Jul 2022, 5:34:50 UTC - in response to Message 106537.  

> As long as you aren't running under Anonymous platform,

Whatever that is???
A way of using custom applications to process work for a Project. Some Projects support it, some don't, but if you do use it then you need to do manually copy and install any files or programmes that are required if things change with the project- things that happen automatically if you don't use the Anonymous platform option.


My original question was how to set up VBox/Python to run this, ie explicit instructions and links to all necessary files so I can see what I am doing.
There aren't any.
You install BOINC with VirtualBox, and that installs VirtualBox.
Processing a Project's Task that requires Virtualbox, BOINC will download the necessary files, and it runs.

If it doesn't run, and HyperV is not enabled, (oh, and Virtualisation must be enabled in the BIOS) then it's up to the user & Google to search on the Stderr output from the Task(s) in question to see what it might be, or you might get lucky and someone that's fought this battle will notice this thread.
I personally consider Python Tasks not to be worth the effort- even once you do get them running, they have other issues all of their own.


The error output from one of your Tasks.
<core_client_version>7.16.20</core_client_version>
<![CDATA[
<message>
Unspecified error
 (0x80004005) - exit code 2147500037 (0x80004005)</message>
<stderr_txt>
2022-07-14 06:25:50 (66720): Detected: vboxwrapper 26202
2022-07-14 06:25:50 (66720): Detected: BOINC client v7.16.20
2022-07-14 06:25:50 (66720): Detected: VirtualBox VboxManage Interface (Version: 6.0.14)
2022-07-14 06:25:51 (66720): Feature: Checkpoint interval offset (390 seconds)
2022-07-14 06:25:51 (66720): Detected: Minimum checkpoint interval (600.000000 seconds)
2022-07-14 06:25:52 (66720): Create VM. (boinc_03a54511a4eaf322, slot#1)
2022-07-14 06:25:54 (66720): Setting Memory Size for VM. (6144MB)
2022-07-14 06:25:54 (66720): Setting CPU Count for VM. (1)
2022-07-14 06:25:54 (66720): Setting Chipset Options for VM.
2022-07-14 06:25:55 (66720): Setting Boot Options for VM.
2022-07-14 06:25:55 (66720): Setting Network Configuration for NAT.
2022-07-14 06:25:55 (66720): Disabling VM Network Access.
2022-07-14 06:25:56 (66720): Disabling USB Support for VM.
2022-07-14 06:25:56 (66720): Disabling COM Port Support for VM.
2022-07-14 06:25:56 (66720): Disabling LPT Port Support for VM.
2022-07-14 06:25:57 (66720): Disabling Audio Support for VM.
2022-07-14 06:25:57 (66720): Disabling Clipboard Support for VM.
2022-07-14 06:25:58 (66720): Disabling Drag and Drop Support for VM.
2022-07-14 06:25:58 (66720): Adding storage controller(s) to VM.
2022-07-14 06:25:59 (66720): Adding virtual disk drive to VM. (vm_image.vdi)
2022-07-14 06:25:59 (66720): Adding VirtualBox Guest Additions to VM.
2022-07-14 06:26:00 (66720): Adding network bandwidth throttle group to VM. (Defaulting to 1024GB)
2022-07-14 06:26:01 (66720): Enabling shared directory for VM.
2022-07-14 06:26:01 (66720): Starting VM using VBoxManage interface. (boinc_03a54511a4eaf322, slot#1)
2022-07-14 06:26:06 (66720): Error in start VM for VM: -2147467259
Command:
VBoxManage -q startvm "boinc_03a54511a4eaf322" --type headless
Output:
Waiting for VM "boinc_03a54511a4eaf322" to power on...
VBoxManage.exe: error: Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE).
VBoxManage.exe: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

2022-07-14 06:26:06 (66720): VM failed to start.
2022-07-14 06:26:06 (66720): Could not start 
2022-07-14 06:26:06 (66720): ERROR: VM failed to start
2022-07-14 06:26:06 (66720): Powering off VM.
2022-07-14 06:26:06 (66720): Deregistering VM. (boinc_03a54511a4eaf322, slot#1)
2022-07-14 06:26:06 (66720): Removing network bandwidth throttle group from VM.
2022-07-14 06:26:07 (66720): Removing VM from VirtualBox.

    Hypervisor System Log:

38:18:58.840689          ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={The object is not ready}, preserve=false aResultDetail=0
38:18:58.842420          ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={The object is not ready}, preserve=false aResultDetail=0
38:18:59.336287          ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={The object is not ready}, preserve=false aResultDetail=0
38:18:59.695656          ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={The object is not ready}, preserve=false aResultDetail=0
38:18:59.699333          Saving settings file "C:UsersRichard James.VirtualBoxVirtualBox.xml" with version "1.12-windows"
38:19:00.072015          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:00.084695          Saving settings file "C:UsersRichard James.VirtualBoxVirtualBox.xml" with version "1.12-windows"
38:19:00.102934          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={MachineWrap} aText={This machine does not have any snapshots}, preserve=false aResultDetail=0
38:19:00.103268          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={MachineWrap} aText={This machine does not have any snapshots}, preserve=false aResultDetail=0
38:19:00.809037          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:01.260211          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:01.598781          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:01.966933          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:02.322447          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:02.709046          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:03.034607          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:03.380127          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:03.729628          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:04.068598          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:04.602504          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:05.063363          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:05.631536          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:05.972394          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:06.368838          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={No storage device attached to device slot 0 on port 0 of controller 'Hard Disk Controller'}, preserve=false aResultDetail=0
38:19:06.369176          ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={The object is not ready}, preserve=false aResultDetail=0
38:19:06.373299          ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={The object is not ready}, preserve=false aResultDetail=0
38:19:06.377506          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={No storage device attached to device slot 0 on port 0 of controller 'Hard Disk Controller'}, preserve=false aResultDetail=0
38:19:06.377806          Saving settings file "C:UsersRichard James.VirtualBoxVirtualBox.xml" with version "1.12-windows"
38:19:06.383073          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:06.965456          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={No storage device attached to device slot 0 on port 1 of controller 'Hard Disk Controller'}, preserve=false aResultDetail=0
38:19:06.965845          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={No storage device attached to device slot 0 on port 1 of controller 'Hard Disk Controller'}, preserve=false aResultDetail=0
38:19:06.966548          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:08.056078          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:08.409021          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:08.769069          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={No storage device attached to device slot 1 on port 0 of controller 'Hard Disk Controller'}, preserve=false aResultDetail=0
38:19:08.769245          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={No storage device attached to device slot 1 on port 0 of controller 'Hard Disk Controller'}, preserve=false aResultDetail=0
38:19:08.770313          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={No storage device attached to device slot 1 on port 1 of controller 'Hard Disk Controller'}, preserve=false aResultDetail=0
38:19:08.770484          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={No storage device attached to device slot 1 on port 1 of controller 'Hard Disk Controller'}, preserve=false aResultDetail=0
38:19:08.779076          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={This machine does not have any snapshots}, preserve=false aResultDetail=0
38:19:13.173573          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:13.613368          ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={SessionMachine} aText={This machine does not have any snapshots}, preserve=false aResultDetail=0
38:19:14.044731          Saving settings file "E:BionicDataslots1boinc_03a54511a4eaf322boinc_03a54511a4eaf322.vbox" with version "1.16-windows"
38:19:14.531985          Saving settings file "C:UsersRichard James.VirtualBoxVirtualBox.xml" with version "1.12-windows"



Why VirtualBox thinks it didn't run.
VBoxManage.exe: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
Which could be because it's not enabled in the BIOS, or because HyperV is enabled, or because some 3rd party AV software blocks using Virtualisation, or a combination of all 3 (or possibly something else again).
Grant
Darwin NT
ID: 106538 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Richard James

Send message
Joined: 30 Mar 20
Posts: 12
Credit: 1,832,146
RAC: 2,628
Message 106553 - Posted: 17 Jul 2022, 3:24:17 UTC - in response to Message 106538.  

Grant, thanks for your assistance, its now running and successfully u/l results that are verified.

> You install BOINC with VirtualBox, and that installs VirtualBox.
> Processing a Project's Task that requires Virtualbox, BOINC will download the necessary files, and it runs.

OK, so the "VBox" that I created is redundant, will remove it. I see several rosetta boxes created.

> If it doesn't run, and HyperV is not enabled, (oh, and Virtualisation must be enabled in the BIOS)

OK, that was it. Turned Virtualization on and it runs.

> then it's up to the user & Google to search on the Stderr output from the Task(s) in question to see what it might be,

Unfortunately unless you know VBox, it is pretty unintelligible (see below).

> Why VirtualBox thinks it didn't run.

> VBoxManage.exe: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)[/quote]

> Which could be because it's not enabled in the BIOS, or because HyperV is enabled, or because some 3rd party AV software blocks using Virtualisation, or a combination of all 3 (or possibly something else again).[/quote]

That was it.

IMO, the problem is that unless you are familiar with VBox, the lack of app-specific guidance makes it almost impossible to figure out.

If projects want to use this method they really need concise and explicit documentation for users to encourage them to participate. I used SETI@home for a number of years. When it terminated, I chose Rosetta (and Folding@home).

I've been using computers since 1969 (not a typo) but as a user, not setting up systems or anything other than some minor programming (Fortran, Unvac 1108 assembler/JCL). I m aware of what VM's are but have never had the need to use one.

Thanks again for your help.

Richard
ID: 106553 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Previous · 1 · 2

Questions and Answers : Windows : Boinc demands VirtualBox



©2024 University of Washington
https://www.bakerlab.org