Message boards : Theory Application : All errors
Message board moderation
Author | Message |
---|---|
Send message Joined: 24 Oct 19 Posts: 174 Credit: 543,238 RAC: 0 ![]() ![]() |
All my theory wus errors after 20 seconds (on Win11 and VirtualBox 7.0.4) <core_client_version>7.20.2</core_client_version> It's a problem of VirtualBox? |
![]() Send message Joined: 28 Jul 16 Posts: 485 Credit: 394,839 RAC: 0 ![]() ![]() |
You need to manually clean the VirtualBox media registry. 1. Ensure no Theory task from -dev is running or paused 2. Stop BOINC 3. Open the VirtualBox GUI and start the Media Manager 4. Remove all child vdis connected to parent a9d19666-9f42-47d2-9b06-f58d52e3215c 5. Remove all files/folders from the slots where Theory -dev tasks had been. 6. Remove the parent vdi a9d19666-9f42-47d2-9b06-f58d52e3215c (but not it's file within the projects folder). 7. Restart BOINC Ensure not to start too many tasks concurrently that try to initialize the same vdi as multiattach parent as this may cause a race condition. This is caused by a workaraound vboxwrapper must use to correctly register a vdi in multiattach mode. |
Send message Joined: 24 Oct 19 Posts: 174 Credit: 543,238 RAC: 0 ![]() ![]() |
You need to manually clean the VirtualBox media registry. BEFORE your post i: 1 - I've resetted the project 2 - Stopped Boinc 3 - Removed all virtual machines from VirtualBox Gui 4 - Restarted boinc 5 - It re-downloaded virtualdisk+wrapper+wus Still errors.... :-( |
![]() Send message Joined: 28 Jul 16 Posts: 485 Credit: 394,839 RAC: 0 ![]() ![]() |
You may have removed the VM entries but you obviously forgot to remove the disk entries. Use the VirtualBox Media Manager to do this. |
Send message Joined: 24 Oct 19 Posts: 174 Credit: 543,238 RAC: 0 ![]() ![]() |
You may have removed the VM entries but you obviously forgot to remove the disk entries. Done. Still errors |
Send message Joined: 24 Oct 19 Posts: 174 Credit: 543,238 RAC: 0 ![]() ![]() |
This log can help? VBoxManage.exe: error: Cannot attach medium 'C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_2022_07_28.vdi': the media type 'MultiAttach' can only be attached to machines that were created with VirtualBox 4.0 or later I have 7.0.8 version.... |
![]() Send message Joined: 28 Jul 16 Posts: 485 Credit: 394,839 RAC: 0 ![]() ![]() |
Please post name and content of the file you are using: C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_*.xml |
Send message Joined: 24 Oct 19 Posts: 174 Credit: 543,238 RAC: 0 ![]() ![]() |
Please post name and content of the file you are using: Theory_2022_07_28.xml |
![]() Send message Joined: 28 Jul 16 Posts: 485 Credit: 394,839 RAC: 0 ![]() ![]() |
That file configures Theory on the -dev server to run VMs in multiattach mode. This may interfere with normal Theory tasks from the -prod server which do not use multiattach mode. Since there is currently no vbox development on the -dev server just disable Theory vbox there if you run Theory vbox from -prod on the same box. |
Send message Joined: 24 Oct 19 Posts: 174 Credit: 543,238 RAC: 0 ![]() ![]() |
Since there is currently no vbox development on the -dev server just disable Theory vbox there if you run Theory vbox from -prod on the same box. Thank you! |
![]() ![]() Send message Joined: 13 Apr 15 Posts: 138 Credit: 2,969,210 RAC: 0 ![]() |
The past few days (since version 5.95?), I have had all errors but have only now had the time to have a closer look. I reset the project to start afresh and saw nothing untoward in VBox, but I think I may have tracked down the cause. I hope it's this simple: The vbox_job has the line <multiattach_vdi_file>Theory_2023_12_12.vdi</multiattach_vdi_file> and the stderr has Adding virtual disk drive to VM. (Theory_2023_12_12.vdi) but it can't find that so throws an error but the .vdi is called Theory_2023_12_13.vdi Production runs fine so I have edited the vbox_job of -dev accordingly but after having so many errors, I can't fetch a job to test whether that will work. Boinc 7.24.1 Win64 VBox 7.0.12 |
Send message Joined: 13 Feb 15 Posts: 1188 Credit: 878,593 RAC: 97 ![]() ![]() |
Production runs fine so I have edited the vbox_job of -dev accordingly but after having so many errors, I can't fetch a job to test whether that will work.I have enough quota to test, but I did not change the xml file. I made just a copy from Theory_2023_12_13.vdi to Theory_2023_12_12.vdi. (I didn't used the 12_13.vdi before) 2023-12-16 09:35:55 (5216): Adding virtual disk drive to VM. (Theory_2023_12_12.vdi) . . . 2023-12-16 09:37:24 (5216): Guest Log: 09:37:22 CET +01:00 2023-12-16: cranky: [INFO] ===> [runRivet] Sat Dec 16 08:37:22 UTC 2023 [boinc pp mb-inelastic 200 - - pythia6 6.427 353 100000 1062] Laurence has to create a new Theory_2023_12_13.xml file with the right vdi version. |
Send message Joined: 13 Feb 15 Posts: 1188 Credit: 878,593 RAC: 97 ![]() ![]() |
There is another mismatch between the current running app (Theory Simulation v5.95 (vbox64_theory) windows_x86_64) and the displayed version on the application page ( https://lhcathomedev.cern.ch/lhcathome-dev/apps.php ) 5.96 (vbox64_theory) |
Send message Joined: 13 Feb 15 Posts: 1188 Credit: 878,593 RAC: 97 ![]() ![]() |
Both mistakes are fixed. Right app-version (Theory Simulation v5.96 (vbox64_theory) windows_x86_64) and a new Theory_2023_12_14.xml with the right VM-disk Theory_2023_12_13.vdi declared. |
![]() ![]() Send message Joined: 13 Apr 15 Posts: 138 Credit: 2,969,210 RAC: 0 ![]() |
I rest the project to pick up the new version and clear the debris. As I have Production running, too, both task I got failed due to VBoxManage.exe: error: Cannot register the hard disk 'C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_2023_12_13.vdi' {a9d19666-9f42-47d2-9b06-f58d52e3215c} because a hard disk 'C:\ProgramData\BOINC\projects\lhcathome.cern.ch_lhcathome\Theory_2023_12_13.vdi' with UUID {a9d19666-9f42-47d2-9b06-f58d52e3215c} already exists I'll let Production run dry while I'm out at work and try -dev on its own this evening. |
Send message Joined: 24 Oct 19 Posts: 174 Credit: 543,238 RAC: 0 ![]() ![]() |
Right app-version (Theory Simulation v5.96 (vbox64_theory) windows_x86_64) What's new with this version?? Bugfix? |
![]() Send message Joined: 28 Jul 16 Posts: 485 Credit: 394,839 RAC: 0 ![]() ![]() |
Looks like the vdi file on -prod is a simple copy of the vdi file on -dev without a fresh UUID. If -prod and -dev run under the same username (even if that user runs multiple BOINC clients) VirtualBox registers the vdi that comes first. Hence, if -dev comes first you get the error at -prod and vice versa. A fresh UUID must be set at CERN when the vdi/app moves from -dev to -prod. |
Send message Joined: 13 Feb 15 Posts: 1188 Credit: 878,593 RAC: 97 ![]() ![]() |
A fresh UUID must be set at CERN when the vdi/app moves from -dev to -prod.Until CERN is able to change the UUID during the holidays and you want to run Theory on -dev and -prod, one could change the UUID yourself for the time being on one of the 2 vdi-files. Examples: vboxmanage.exe internalcommands sethduuid "BoincDataPath\projects\lhcathome.cern.ch_lhcathome\Theory_2023_12_13.vdi" or vboxmanage.exe internalcommands sethduuid "BoincDataPath\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_2023_12_13.vdi" |
Send message Joined: 24 Oct 19 Posts: 174 Credit: 543,238 RAC: 0 ![]() ![]() |
Still all errors also with this new version VBoxManage -q showhdinfo "C:\ProgramData\BOINC/projects/lhcathomedev.cern.ch_lhcathome-dev/Theory_2023_12_13.vdi" |
Send message Joined: 13 Feb 15 Posts: 1188 Credit: 878,593 RAC: 97 ![]() ![]() |
Still all errors also with this new versionStill errors, but different reason. See previous posts. |
©2025 CERN