Page 1 of 1

Linux x64 VM unreachable after AHCI resets with VBox 6.0.6 on Linux x64 Host

Posted: 18. Apr 2019, 18:13
by mdecker77
I am using latest VirtualBox 6.0.6 on physical Linux x86-64 Oracle Linux 7 Update 6 Host. I have problems with one guest VM, running also Linux x86-64. The VM freezes almost every day. It is then unreachable via IP and hangs when connecting via Console "Show". In VBox.log, we see AHCI Resets.

How can I troubleshoot this issue in more detail? What "debugvm" could be of use in this case?

Regards,
Martin

Re: Linux x64 VM unreachable after AHCI resets with VBox 6.0.6 on Linux x64 Host

Posted: 18. Apr 2019, 18:21
by socratis
mdecker77 wrote:In VBox.log, we see AHCI Resets.
Yeah... we need to see that VBox.log too. Does it have to do anything with an older post of yours, "Guest VM Kernel Panic and"?

We need to see a complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image

Re: Linux x64 VM unreachable after AHCI resets with VBox 6.0.6 on Linux x64 Host

Posted: 21. Apr 2019, 20:38
by mdecker77
I have attached vbox.log as well as serial console from the VM.

Re: Linux x64 VM unreachable after AHCI resets with VBox 6.0.6 on Linux x64 Host

Posted: 22. Apr 2019, 20:43
by mdecker77
I have reduced number of LUNs from 5 to 2, enabled Host I/O Cache and set

VBoxManage setextradata "host" "VBoxInternal/Devices/ahci/0/LUN#0/Config/IgnoreFlush" 0
VBoxManage setextradata "host" "VBoxInternal/Devices/ahci/0/LUN#1/Config/IgnoreFlush" 0

VBoxManage setextradata host "VBoxInternal/Devices/ahci/0/LUN#0/Config/FlushInterval" 10000000
VBoxManage setextradata host "VBoxInternal/Devices/ahci/0/LUN#1/Config/FlushInterval" 10000000

Lets see whether this is sufficient.

Re: Linux x64 VM unreachable after AHCI resets with VBox 6.0.6 on Linux x64 Host

Posted: 25. Apr 2019, 09:24
by mdecker77
After the modifications, the VM guest now looks stable. No more crashes.