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

Discussions about using Linux guests in VirtualBox.
Post Reply
mdecker77
Posts: 8
Joined: 30. May 2012, 10:26

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

Post 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
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mdecker77
Posts: 8
Joined: 30. May 2012, 10:26

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

Post by mdecker77 »

I have attached vbox.log as well as serial console from the VM.
Attachments
console.txt
(97.33 KiB) Downloaded 20 times
host-2019-04-20-17-35-31.log
(120.38 KiB) Downloaded 19 times
mdecker77
Posts: 8
Joined: 30. May 2012, 10:26

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

Post 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.
mdecker77
Posts: 8
Joined: 30. May 2012, 10:26

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

Post by mdecker77 »

After the modifications, the VM guest now looks stable. No more crashes.
Post Reply