JeZLee
Enthusiast
Enthusiast

Linux Host/Windows 10 Pro 64 Guest - Host Freezes Constantly?

Hi,

Running VMWare Player 15.0.2 on a Kubuntu 18.04 LTS 64Bit Linux host with a Windows 10 Pro 64Bit guest.

The Linux host is constantly freezing when the Windows 10 guest is running?

How do I solve the above issue?

Thanks!

Jesse

0 Kudos
6 Replies
JeZLee
Enthusiast
Enthusiast

Hi Again,

Did some research...

Typing below in terminal seems to fix the freezes:

echo never | sudo tee /sys/kernel/mm/transparent_hugepage/defrag

echo 0 | sudo tee /sys/kernel/mm/transparent_hugepage/khugepaged/defrag

(reboot)

Thanks!

Jesse

0 Kudos
JeZLee
Enthusiast
Enthusiast

Thought this was fixed, but it's not.

Still getting random freezes of the Linux host when Windows 10 virtual machine is running?

Any ideas?

0 Kudos
JeZLee
Enthusiast
Enthusiast

Perhaps the above does not survive a reboot?

I found something else:

In terminal type:

sudo nano /etc/default/grub

and add:

transparent_hugepage=never

in quote after "quiet splash"

then save and exit

then in terminal type:

sudo update-grub

(and then reboot)

Haven't tested thoroughly but am hoping it solves the issue...

0 Kudos
JeZLee
Enthusiast
Enthusiast

Seems to be ok now with modification to Grub.

Thanks!

0 Kudos
JeZLee
Enthusiast
Enthusiast

Nope, still having host freezes...
Going back to VirtualBox, thanks

0 Kudos
SystemeClermont
Contributor
Contributor

Hello,

Have you found a solution ? I have the exact same problem.

Running a Windows 10 VM on a Linux Mint 20 host gets me here as well.
It appends when I shutdown or restart the Virtual Machine most of the time. 

Read somewhere it's a problem with nvme hard drives. Got some "Kernel Bug  CPU 4 PID XXX : /fs/ext4/..."
When it "freezes" I can Ctrl + Alt +F1 to go to console mode and log as root but when I try to log as my local user (su - myuser) the console hangs (my home directory is on the same nvme drive as the vmdk files of the virtual machine).

My hardware :

MB : MSI X570 Gaming Plus
CPU : Ryzen 5 3600
GPU : MSI NVIDIA 2080 GTX
nvme1 : Force MP510 240Go (linux system)
nvme2 : Samsung SSD 970 EVO 1TB (home partition)

All firmwares up to date, VMWare Workstation Player 15 and 16 (same problem).

0 Kudos