Spectre Mitigation/lfence not serializing on VM Startup

18,976

Solution 1

I am having the same problem with this version on Ubuntu in VirtualBox. I'm running on a new computer and I have SVM enabled in the bios.

Edit: Ubuntu 18.04 lts freezes while in boot, in wndows Virtual box. Solution?

This answer led me to try turning on an additional core in Settings -> System -> Processor which then would show the "Spectre v2..." text but still boot.

Solution 2

I had the same issue on Windows 10 host inside VirtualBox when I installed Docker it automatically enabled Hyper-V and the Ubuntu Guest Os behaved exactly like you describe, nothing helped but disabling Hyper-V in Windows 10 host settings - Win+R ->OptionalFeatures.exe -> uncheck Hyper-V

Edit: had to also uninstall Docker, as it always after each restart re-enabled hyper-v, although it could be maybe possible to setup VirtualBox instead of Hyper-V as docker engine in docker settings, but rather VirtualBox docker utility = "Docker toolbox"

Share:
18,976

Related videos on Youtube

mxb1999
Author by

mxb1999

Updated on September 18, 2022

Comments

  • mxb1999
    mxb1999 over 1 year

    I just a download Ubuntu 18.04.1 disk image to run off of Virtual Box, and whenever I start the VM it gives me the message "spectre v2 mitigation: lfence not serializing. switching to generic retpoline". After this it runs a trace and then stops. I'm not sure what to do about this. The other blog posts I saw where people had this issue were due to older GPU hardware (I'm running an Nvidia GTX 1060, so I wouldn't consider that too old) or because they were using an older version of Ubuntu. As far as I know, 18.04.1 is the latest version. Anyone know why this is happening?