[SRU] Host with kernel 4.13 freezes when starting a VM with VirtualBox

Bug #1736116 reported by Stephan Springer
470
This bug affects 88 people
Affects Status Importance Assigned to Milestone
kbuild (Ubuntu)
Fix Released
High
Gianfranco Costamagna
Xenial
Fix Released
High
Gianfranco Costamagna
virtualbox (Ubuntu)
Fix Released
High
Gianfranco Costamagna
Xenial
Fix Released
High
Gianfranco Costamagna
Artful
Fix Released
High
Gianfranco Costamagna
virtualbox-ext-pack (Ubuntu)
Fix Released
High
Gianfranco Costamagna
Xenial
Fix Released
High
Gianfranco Costamagna
Artful
Fix Released
High
Gianfranco Costamagna
virtualbox-guest-additions-iso (Ubuntu)
Fix Released
High
Gianfranco Costamagna
Xenial
Fix Released
High
Gianfranco Costamagna
Artful
Fix Released
High
Gianfranco Costamagna

Bug Description

[Impact]
* New kernel broke completely old and current vbox in xenial/artful, + security issues (meltdown,spectre)
* VM not able to start, 3d not working
[Test Case]
* Install 16.04 or 17.10 in a VM, Update or install the hwe stack, reboot, panic

[Regression Potential]
* This is the second round of minor updates, since cherry-picking is impossible, and less tested by upstream/debian/me.
No regressions when we moved 5.0.18 to 5.0.40

The jump 5.0.40 -> 5.1.32 is bigger, but since 5.0.x is EOL upstream, and with a lot of security issues, we should try to get the move in Xenial, to make vbox continue working.

5.2 can't build there, because of a lot of qtbase issues, so sticking with 5.1 is the only viable solution we found over the last 4 months

For this reason, we need a new kbuild too

[Other Info]
This is a spin-off of bug 1729568. With Kernel 4.13 (from linux-generic-hwe-16.04-edge), the host system freezes completely when starting a VM using VirtualBox. A black boot window pops up right before the freeze.

Revision history for this message
Stephan Springer (geryon) wrote :

LocutusOfBorg (costamagnagianfranco) wrote in https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1729568/comments/21 :

@geryon, can you please try what Vlad mentioned here?

"Boot issue solved by removing intel-microcode package - no idea why it was installed."

I think you just need to disable iommu, but removing that package might be even better, or trying the one from bionic might also help us
https://launchpad.net/ubuntu/+source/intel-microcode

Revision history for this message
Stephan Springer (geryon) wrote :

There is no intel-microcode package installed, only intel-gpu-tools and libdrm-intel1. But I'll try that iommu kernel command line.

Quote from https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1729568/comments/20 :
Disabling iommu might fix the issue
https://www.reddit.com/r/archlinux/comments/732hp4/arch_freezing_after_413_kernel_update/

Revision history for this message
Stephan Springer (geryon) wrote :

Nope, neither intel_iommu=igfx_off nor intel_iommu=off prevent the freeze.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

@Vlad, yes please try hwe-edge! thanks

Changed in virtualbox (Ubuntu):
importance: Undecided → High
Changed in virtualbox (Ubuntu):
status: New → Confirmed
Revision history for this message
Vlad Orlov (monsta) wrote :

In guest system, hwe-edge kernel works fine, I left a comment at bug 1729568.
Is this a problem with having 4.13 in host system as well? My host system has 4.10 and VirtualBox 5.1.30.

Revision history for this message
Stephan Springer (geryon) wrote :

I'm experiencing this freeze with Linux 4.13 on the host and Windows as the guest. But the freeze happens when the guest starts booting, so I don't think the guest system matters much.

Revision history for this message
Vlad Orlov (monsta) wrote :

Ok, so we were trying different things... I did all tests and experiments (including removing intel-microcode package), which I mentioned in bug 1708315 and bug 1729568, in Xenial VM. I didn't change anything on my host system.

Vlad Orlov (monsta)
summary: - Host freezes when starting a VM with VirtualBox
+ Host with kernel 4.13 freezes when starting a VM with VirtualBox
Changed in virtualbox (Ubuntu):
status: Confirmed → New
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Host with kernel 4.13 freezes when starting a VM with VirtualBox

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in virtualbox (Ubuntu):
status: New → Confirmed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Xenial VM with kernel 4.14

Revision history for this message
Michael Thayer (michael-thayer) wrote :

For those people having host freezes, please try to reproduce them using packages from virtualbox.org and open a bug report there if appropriate. It would be appreciated if you link to any appropriate Launchpad bugs, but still provide all information on the virtualbox.org bug, including a log file from the last virtual machine you started.

Revision history for this message
Tobias Karnat (tobiaskarnat) wrote :

I have the same issue with latest the candidate kernel required to fix Meltdown on Xenial.
linux-hwe-edge 4.13.0-25.29~16.04.1 from ppa:canonical-kernel-team/pti

Because "the Rolling HWE kernel for Ubuntu 16.04 will go to 4.13 early, instead of also fixing 4.10 HWE kernel" I cannot stay on 4.10 and this is urgent.

Revision history for this message
Tobias Karnat (tobiaskarnat) wrote :

Package from virtualbox.org cannot be used as the latest 5.0 build is 5.0.40 and even this needs to be patched as described in #1729568 to build the kernel modules.

Revision history for this message
Vlad Orlov (monsta) wrote :

So I'm now on kernel 4.13 after the update of -hwe kernel from 4.10, and my vbox 5.1.30 (from the official virtualbox.org repo) runs fine on this host. Apparently, only 5.0.40, which is in Xenial repos, has this problem.

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

Lubuntu 16.04 LTS 64 bit up-to-date

Freezes ---> linux-image-4.13.0-26-generic 4.13.0-26.29~16.04.2

Fine ------> linux-image-4.10.0-42-generic 4.10.0-42.46~16.04.1

virtualbox 5.0.40-dfsg-0ubuntu1.16.04.2
virtualbox-dkms 5.0.40-dfsg-0ubuntu1.16.04.2
virtualbox-ext-pack 5.0.40-0ubuntu1.16.04.1
virtualbox-guest-additions-iso 5.0.40-0ubuntu1.16.04.1
virtualbox-guest-dkms 5.0.40-dfsg-0ubuntu1.16.04.2
virtualbox-guest-utils 5.0.40-dfsg-0ubuntu1.16.04.2
virtualbox-qt 5.0.40-dfsg-0ubuntu1.16.04.2

My guest is WinXP.

Problem appeared after latest update of the kernel, from 4.10 to 4.13, like #13

Revision history for this message
Patrick Wigmore (patrick-wigmore) wrote :

I am seeing these symptoms exclusively for guests with VT-x/AMD-V option enabled. Guests without that option boot fine.
Identical virtualbox/kernel versions and kernel upgrade scenario as comment #14. Various guest OS. Host CPU Intel Core i5-6600T.

Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :

Given the recent accelerated upgrade to 4.13 in 16.04 HWE wouldn't a simple option be to also upgrade virtualbox in 16.04 to 5.1 to get around this issue? Before this was something that probably only affected a few people on HWE-edge but now with Spectre/Meltdown people will be hitting this much more often.

Revision history for this message
Fidelis Sigmaring (stfidelis-deactivatedaccount) wrote :

Freezes happen on Intel PCs only here, whilst AMD PCs don't.
Could more people test this, please?

Disabling the VT-x virtualization option (#15) often isn't an option since 64 Bit guests do need the host to have this option enabled.

I'm fully agreeing with Pedro Côrte-Real's (#16) suggestion that upgrading Ubuntu 16.04's package "virtualbox 5.0.40" to at least 5.1 would be very helpful since otherwise all standard Ubuntu 16.04 HWE (Intel) installations won't be able to run Virtualbox anymore because of the freezing with Kernel 4.13 .

Revision history for this message
Christian Pointner (equinox-i) wrote :

I have the same problem on my Lenovo t450s (Intel i7-5600U). Virtualbox worked with 4.10 and freezes the host on 4.13. Disabling VT-x/AMD-V didn't solve the problem. Also disabling the new kernel page table isolation (kernel command-line: nopti) doesn't solve the issue.

Revision history for this message
Larry Gay (jshg46) wrote :

Using kernel 4.13.0.26 will also completely freeze the host when you click start in Virtualbox.

Revision history for this message
Leonardo Garcia Tampelini (tampelini) wrote :

Virtualbox 5.0.40 is not working with the new kernel (4.13.0-26), but the new version of VBox (5.2) works fine.

Download it from VirtualBox page or add the source to your sources.list:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list'

Add Oracle public key:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :
Revision history for this message
lrite (klk745) wrote :

@LocutusOfBorg: Will 5.2.4 be rolled out in multiverse in the near future or do users experiencing that freeze need to stick with your PPA?

Revision history for this message
Yaroslav (friend.yara) wrote :

I solved same problem by installing virtualbox 5.2 from virtualbox.org:

$ sudo apt remove --purge virtualbox*
$ sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list'
$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ sudo apt install virtualbox-5.2

Then download VirtualBox 5.2.4 Oracle VM VirtualBox Extension Pack from:

http://download.virtualbox.org/virtualbox/5.2.4/Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack

and open it in VirtuialBox to install.

OS: Ubuntu 16.04.3 LTS, 4.13.0-26-generic

Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :

Just downgrading to non-HWE LTS seems to have fixed things for me so I'll probably stick with that instead.

Revision history for this message
Stephan Springer (geryon) wrote :

LocutusOfBorg, re #21: There are missing dependencies in your ppa (virtualbox-qt):

libqt5core5a (>= 5.6.0~beta), libqt5widgets5 (>= 5.6.0~beta), libqt5x11extras5 (>= 5.6.0)

Revision history for this message
Tobias Karnat (tobiaskarnat) wrote :

I can confirm Virtualbox 5.2 from virtualbox.org also works with linux-hwe 4.13.0-29.32~16.04.1 from ppa:canonical-kernel-team/pti which fixes Spectre with IBRS/IBPB.

And I hope Virtualbox implements IBRS/IBPB path through to also allow Spectre protection in vms.

Revision history for this message
Lope (lopeonline) wrote :

Virtualbox 5.0.40 also crashed for me on kernel 4.13.0-26.
After I click start, 4-5 lines get printed in dmesg, then the entire system freezes.

Revision history for this message
asgard2 (kamp000x) wrote :

@LocutusOfBorg
I can confirm the dependency problem with your ppa. #21

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

This is a screenshot of the host crash: https://snag.gy/HkOoeK.jpg

This happens only on 64bit 4.13 kernels, while 32bit installations with 4.13 work fine.
It happens with any guest, even if there's no guest OS installed yet.

It does not happen at all if the host has kernel=4.10.

It does not happen at all with the newest 5.2.6 upstream virtualbox.

==> Please backport VirtualBox 5.2.6 to Xenial.

Revision history for this message
Bao Nguyen (baona119) wrote :

Install VB 5.2.6 works fine. The previous version freezed entire system and require hard reboot.

Revision history for this message
xoristzatziki (simsonbike-bugs) wrote :

If 16.04 is still considered LTS supported up to 5 years (https://wiki.ubuntu.com/XenialXerus/ReleaseNotes) then we must backport it. Otherwise we should somehow change the "Support lifespan" there in order not to direct people to loose confidence for LTS versions and UBUNTU itself.
Many other problems are related to this bug (https://askubuntu.com/questions/994926/ubuntu-16-04-freezes-on-vagrant-up/997426#997426) not announced here. And freezing the whole system with the official supported installation is a serious drawback.

==> Please either backport VirtualBox 5.2.6 to 16.04 LTS OR change the official kernel in order not to freeze the system.

Revision history for this message
Oliver Schonrock (oliver-realtsp) wrote :

@ xoristzatziki (simsonbike-bugs) wrote 1 hour ago:

> Otherwise we should somehow change the "Support lifespan" there in order not to direct people to
> loose confidence for LTS versions and UBUNTU itself.

Slow down a little, and think about what you are saying:

$ apt-cache show virtualbox

Package: virtualbox
Architecture: amd64
Version: 5.0.40-dfsg-0ubuntu1.16.04.2
Priority: optional
Section: multiverse/misc

Multiverse = Unsupported, Closed-Source and Patent-Encumbered Software

That sort of tone in your post, will NOT make it more likely to get fixed, but just annoy people who might be able get it done.

It's not even clear who needs to fix it or what the problem is. It's third party software. If you absolutely needs it to work NOW. There are 3 perfectly acceptable solutions already outlined in this thread:

1. go to the core non-HWE 4.4.0-109 kernel by using advanced GRUB menu

2. got to the core non-HWE 4.4.0-109 kernal by permanently removing the HWE kernel from your machine

3. Boot from 4.10.0 using the "advanced menu" in GRUB (that's what I am currently doing)

4. install VB 5.2 from third party binary or ppa

This could be a long time getting fixed, because it's complicated, involves multiple vendors and the whole spectre mess caused it all, which is probably more important than VB. So you should choose your options from above and get on with it.

Personally I am currently using 3, and will choose 2 or 4 if situation persists for more than a few weeks.

Respect

Revision history for this message
xoristzatziki (simsonbike-bugs) wrote :

Sorry for my tone. You are right.
(Unfortunately I do not like to use any of the options mentioned.)

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hello, for people experiencing issues with qt and my ppa, please add this additional repo
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay
(note: this upgrades qt to a newer version, I don't know the side effects).

Unfortunately 5.2.6 *doesn't* build with xenial qt stack, too old, so I had to tweak with an additional repo to make it at least build.

upstream has a custom-built qt version just for Ubuntu xenial, there is no known ETA for a fix, and they are currently trying to craft a patch against older virtualbox 5.0 and 5.1 packages.

There is a lot of ongoing work there, for now solutions in #32 are your best chances.

Please try my ppa with the additional qt repo, and report back! thanks

Revision history for this message
Vlad Orlov (monsta) wrote :

https://www.virtualbox.org/wiki/Linux_Downloads

5.1.30 from their official repo runs fine with 4.13 and doesn't require any Qt modifications.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

The latest upstream VirtualBox 5.2.6-120293~Ubuntu~xenial, runs fine with 4.13, using the stock Xenial Qt version.

Why does the Ubuntu package need a new Qt when the upstream package doesn't?

Revision history for this message
Lonnie Lee Best (launchpad-startport) wrote :

Isn't 4.13 the first kernel to fix that Intel bug that was all over the news earlier this month?

I've been booting with 4.10 in order to use virtualbox; does that make me susceptible to that kernel-memory-leaking-intel-bug?

http://www.businessinsider.com/linus-torvalds-linux-inventor-is-furious-at-intel-2018-1

Revision history for this message
Lonnie Lee Best (launchpad-startport) wrote :

xoristzatziki's suggestion of backporting VirtualBox 5.2.6 to 16.04 LTS is what I think needs to happen here.

Following Alkis Georgopoulos's advice, I can confirm that 5.2.6 works great on the 4.13 kernel

To install it, I ran all of this as one command:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list' ; wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add ; sudo apt remove virtualbox ; sudo apt update ; sudo apt install virtualbox-5.2

Revision history for this message
Vlad Orlov (monsta) wrote :

Kernel 4.4 also has been patched for these Intel bugs, so you can use it instead of 4.13 if you don't need the latest hardware support.

Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :

I was seeing more screen tearing after going back to the 4.4 kernel and corresponding xserver so I decided I wanted to be able to use the HWE stack again. I almost moved to virtualbox 5.2 from the virtualbox.org repos but then I just decided to backport virtualbox 5.1.30 from artful and that worked fine. The process is roughly:

```sh
$ sudo apt build-dep virtualbox
# Set your /etc/apt/sources.list deb-src entries to point to artful. You want to replace xenial with artful in the lines:
# deb-src http://pt.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://pt.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
$ apt source virtualbox
$ cd virtualbox-5.1.30-dfsg
$ sudo dpkg-buildpackage -us -uc -nc
# This will fail but tell you some missing dependencies that you need to install
# You can install everything but kbuild but we will just ignore it next (the -d flag)
$ sudo dpkg-buildpackage -d -us -uc -nc
# now you have the packages built
$ cd ..
$ sudo dpkg -i <whichever packages you need>
```

If you also need the proprietary extensions package you can just grab the exact one from artful from here:

https://packages.ubuntu.com/bionic/virtualbox-ext-pack

This virtualbox version seems to work fine. The 5.2 from bionic fails with some qt5 issues, which may just be other missing dependencies. It would seem simple enough to just backport virtualbox 5.1 (or even 5.2) to xenial but I don't know if there's a maintainer around to do it.

Revision history for this message
Alin Trăistaru (alindt) wrote :

...and here's a PPA for backported 5.1.30 from Artful:

https://launchpad.net/~alindt/+archive/ubuntu/build-deps/+packages

sudo add-apt-repository ppa:alindt/xenial-backports-virtualbox
sudo apt-get update

Revision history for this message
Alin Trăistaru (alindt) wrote :

Sorry, wrong link in previous post.

https://launchpad.net/~alindt/+archive/ubuntu/xenial-backports-virtualbox

sudo add-apt-repository ppa:alindt/xenial-backports-virtualbox
sudo apt-get update

Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :

alindt, that PPA is missing at least the -dkms, -qt and all the -guest packages. And at least for me the point of not using the official Oracle archive is to make sure I'm getting the Ubuntu packaged code. A PPA doesn't really guarantee that as the code could have been tampered with. I'm obviously not saying you did that but it would be nice if this was solved in the actual ubuntu archives.

Revision history for this message
Alin Trăistaru (alindt) wrote :

@pedrocr - No, the PPA isn't missing anything, it's just showing you the _source_ packages used to build all the packages (DEBs) you mentioned. Click on the "virtualbox" package and at the end of the changelog you'll see all the DEBs built/available.

The PPA is simply a backport of the official virtualbox-5.1.30 from Artful, made using backportpackage.

Cheers.

Revision history for this message
Renato Westphal (renatowestphal) wrote :

Thanks Lonnie Lee Best, your command did it for me. VirtualBox is not freezing the host anymore :)

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

I usually prefer the Ubuntu packaging to whatever upstream packaging.
But in this case, Ubuntu requires dkms, while upstream doesn't, for a long time now. There's no module compilation on each kernel upgrade.
It's an additional significant reason to prefer the upstream package.

Maybe it's time to update the Ubuntu packaging as well, and not just the source?

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I'm the maintainer, please use my ppa:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1736116/comments/34

And please stop asking and re-asking the same questions.

Upstream has a CUSTOM qt version, I can't obviously push that in Ubuntu.

If you know how to fix qt to make the new vbox build, please post a patch, otherwise stop posting useless stuff here, it won't help.

I think I'll do a push of some virtualbox 5.1 probably, but only if upstream confirms there is no easy fix for xenial.

Revision history for this message
ANUPAM MITRA (anupammitra) wrote :

@ Lonnie Lee Best - I applied what you have suggested at #39. But when I launched VirtualBox, it says as under:

RTR3InitEx failed with rc=-1912 (rc=-1912)

The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing

'/sbin/vboxconfig'

may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.

AND ALSO THE FOLLOWING:

Failed to open a session for the virtual machine Windows 7.

The virtual machine 'Windows 7' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

Revision history for this message
Lonnie Lee Best (launchpad-startport) wrote :

I'm sorry if the command I wrote didn't work for you. Here's the whole thing:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list' ; wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add ; sudo apt remove virtualbox ; sudo apt update ; sudo apt install virtualbox-5.2

Now, let's break that apart.

First of all, I'm running Ubuntu 16.04.3.

The command below adds one line to the file /etc/apt/sources.list, so that it now knows a new place from which to install virtualbox-5.2:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list'

The next command downloads a key from virtualbox.org and adds that key to your ubuntu system:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add

Next, we uninstall your existing version of virtualbox:

sudo apt remove virtualbox

Next we do an update, so your system becomes aware of the packages from the new source we added:

sudo apt update

Last, we install the 5.2 version of virtualbox:
sudo apt install virtualbox-5.2

I did not encounter your issue. Maybe try this command:
sudo apt dist-upgrade ; sudo apt install virtualbox-5.2

Reboot your computer and try to launch virtualbox again.

I'm sorry my command didn't work for you. Worst case, you could undo it by opening this file and removing the last line we added:
nano /etc/apt/sources.list
(after you remove that line hit ctrl-o to save)

Then you could remove virtualbox 5.2:
sudo apt remove virtualbox-5.2

Then update your system:
sudo apt update

Then install the virtualbox you had before:
sudo apt install virtualbox

And to make the old version work, you can press the esc key a few time right when ubuntu starts to boot. Then choose advance and boot the 4.10 kernel instead of 4.13.

I hope this helps.

Revision history for this message
xoristzatziki (simsonbike-bugs) wrote :

problem possibly started with linux-image-4.13.0-26-generic or linux-image-4.13.0-25-generic (didn't existed in previous updates, not sure which were installed in my system during "daily update", and if any of previous was installed). Problem still exists with the new linux-image-4.13.0-31-generic and exists even for command line start of VBoxHeadless with:
nohup VBoxHeadless -startvm "vm_name" &

Revision history for this message
Alexandru Iacob (isalexandru) wrote :

So, in my case, the kernel modules were not removed properly.

Here are the details:

root@Dell5280 [~]# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS

root@Dell5280 [~]# uname -r
4.13.0-31-generic

Problem:
root@Dell5280 [~]# modinfo vboxdrv
filename: /lib/modules/4.13.0-31-generic/updates/dkms/vboxdrv.ko
version: 5.0.40_Ubuntu r115130 (0x00240000)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle Corporation
srcversion: 6D8B4900A693FC50489A130
depends:
name: vboxdrv
vermagic: 4.13.0-31-generic SMP mod_unload

FIX:

root@Dell5280 [~]# rm /lib/modules/4.13.0-31-generic/updates/dkms/vboxdrv.ko

root@Dell5280 [~]# modinfo vboxdrv
filename: /lib/modules/4.13.0-31-generic/updates/dkms/vboxdrv.ko
modinfo: ERROR: could not get modinfo from 'vboxdrv': No such file or directory
[1] root@Dell5280 [~]# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.

root@Dell5280 [~]# modinfo vboxdrv
filename: /lib/modules/4.13.0-31-generic/misc/vboxdrv.ko
version: 5.2.7 r120349 (0x00290000)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle Corporation
srcversion: 4880B21EFF1B605D6402982
depends:
name: vboxdrv
vermagic: 4.13.0-31-generic SMP mod_unload
parm: force_async_tsc:force the asynchronous TSC mode (int)

After this, everything works (at least in my case)

Hope it helps.

Revision history for this message
John Goebel (jp-goebel) wrote :

#50 followed by #52 solved the problem for me, thank you very much.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

@LocutusOfBorg, first of all, thank you very much for your continuous effort in maintaining VirtualBox.

After you mentioned that "upstream vbox ships a custom qt version", I asked about it in #vbox, and they said:
> [...] qt5 was pretty much unusable rubbish until 5.5/5.6. and then they decided to change the license for 5.7, which means that going there requires review by Oracle legal.
> [...] the "ship library" approach is what we use for the ubuntu LTS packages on virtualbox.org - slap a number of qt5.6 libs into the vbox package. which would cause seizures for a debian/ubuntu packager :P
And, talking about this particular issue,
> [...] to be accurate: we don't have the faintest idea why things blow up.

So unless Debian/Ubuntu somehow make an exception and allow us to ship Qt 5.6 in parallel with other Qt 5.x versions, either bundled with apps that need it, or as a separate package...
...getting vbox 5.2.x to Ubuntu 16.04 isn't an easy task.

Thanks again!

Revision history for this message
Vlad Orlov (monsta) wrote :

Then it's easier to settle for 5.1.x which is still supported upstream.

Revision history for this message
nor (inventarnummer) wrote :

@Lonnie Lee #39

Thank You, you made my day !!!

Revision history for this message
Oseas Tormen (mentux) wrote :
Revision history for this message
Wong Jia Hau (hou32hou) wrote :

#53 Thank you!

Revision history for this message
ameel (ameel-beesony) wrote :

For those getting error:

VBoxManage: error: The virtual machine 'VM1' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

Comment #52 (https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1736116/comments/52) above fixes the issue!

Revision history for this message
Ajay Bhargav (rickey++) wrote :

As per VirtualBox website:

Important: The Guest Additions which come with VirtualBox 5.2.6 and 5.1.32 do not work properly on Linux guests with 3D enabled.

I installed the updated version provided on the website (https://www.virtualbox.org/download/testcase/VBoxGuestAdditions_5.2.7-120528.iso) to fix the crash issue.

Kernel Version: 4.13.0-32-generic
VirutalBox Version: 5.2.6
Host: Windows 10
Guest: Ubuntu 16.04.3

Revision history for this message
Vlad Orlov (monsta) wrote :

This report is about kernel 4.13 on host, not on guest

Revision history for this message
Steffen Hemer (s-hemer) wrote :

This persists with 4.13.0-36-generic. Updating to VirtualBox package server is a workaround but not always possible (due to available rights etc) so no solution !

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hello, I fixed the packages and uploaded there
https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/autoconf/+packages

It has been a real long work, please test and if I get enough good feedbacks, I'll upload in Ubuntu later today or by the end of the week

Changed in virtualbox (Ubuntu):
importance: High → Critical
status: Confirmed → In Progress
Revision history for this message
Gaurav Juvekar (gauravjuvekar) wrote :

Hi,

I can confirm that these changes work with

Linux 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
and
virtualbox_5.1.34-dfsg-0ubuntu1.16.04.1~16.04.1_amd64.deb
virtualbox-dkms_5.1.34-dfsg-0ubuntu1.16.04.1~16.04.1_all.deb
virtualbox-qt_5.1.34-dfsg-0ubuntu1.16.04.1~16.04.1_amd64.deb
from https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/autoconf/+packages

Revision history for this message
Rene H. Larsen (rhl) wrote :

Works for me with latest HWE kernel in Ubuntu Xenial.

sudo add-apt-repository ppa:costamagnagianfranco/autoconf
sudo apt update
sudo apt full-upgrade

summary: - Host with kernel 4.13 freezes when starting a VM with VirtualBox
+ [SRU] Host with kernel 4.13 freezes when starting a VM with VirtualBox
no longer affects: kbuild (Ubuntu Artful)
Changed in kbuild (Ubuntu):
status: New → Fix Released
Changed in kbuild (Ubuntu Xenial):
status: New → In Progress
Changed in virtualbox (Ubuntu Xenial):
status: New → In Progress
Changed in virtualbox (Ubuntu Artful):
status: New → In Progress
Changed in virtualbox-ext-pack (Ubuntu):
status: New → Fix Released
Changed in virtualbox-ext-pack (Ubuntu Xenial):
status: New → In Progress
Changed in virtualbox-ext-pack (Ubuntu Artful):
status: New → In Progress
Changed in virtualbox-guest-additions-iso (Ubuntu):
status: New → Fix Released
Changed in virtualbox-guest-additions-iso (Ubuntu Xenial):
status: New → In Progress
Changed in virtualbox-guest-additions-iso (Ubuntu Artful):
status: New → In Progress
Changed in virtualbox (Ubuntu):
status: In Progress → Fix Released
description: updated
Changed in virtualbox-guest-additions-iso (Ubuntu Artful):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in virtualbox-guest-additions-iso (Ubuntu Xenial):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in virtualbox-guest-additions-iso (Ubuntu):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in virtualbox-ext-pack (Ubuntu Artful):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in virtualbox-ext-pack (Ubuntu Xenial):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in virtualbox-ext-pack (Ubuntu):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in virtualbox (Ubuntu Artful):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in virtualbox (Ubuntu Xenial):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in kbuild (Ubuntu Xenial):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in kbuild (Ubuntu):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Undecided → High
Changed in virtualbox (Ubuntu):
assignee: nobody → LocutusOfBorg (costamagnagianfranco)
importance: Critical → High
description: updated
Revision history for this message
gruberm (gruberm) wrote :

I'm not familiar with the upload queue procedure (and wasn't able to gather any information about it on the net) but may I ask if it's normal that the updates are stuck there unapproved since 5 days?

https://launchpad.net/ubuntu/xenial/+queue?queue_state=1&queue_text=

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

They are getting reviewed right now, but considering that this is a major release bump (python2->python3, qt4->qt5) and *a lot* changed in between (12MB of patch diff), it will take a lot of more time I think.
We should probably put in the loop also Security Team, since this is fixing 3 serious CVEs

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Please be patient and use my ppa in case you really need it, we will ask for feedbacks as soon as somebody pushes the button :)

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Stephan, or anyone else affected,

Accepted virtualbox into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox/5.1.34-dfsg-0ubuntu1.17.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in virtualbox (Ubuntu Artful):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-artful
Changed in virtualbox-guest-additions-iso (Ubuntu Artful):
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox-guest-additions-iso into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-guest-additions-iso/5.1.34-0ubuntu1.17.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox/5.1.34-dfsg-0ubuntu1.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in virtualbox (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed-xenial
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox-hwe into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-hwe/5.1.34-dfsg-0ubuntu1.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted kbuild into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/kbuild/1:0.1.9998svn2814+dfsg-2~ubuntu16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in kbuild (Ubuntu Xenial):
status: In Progress → Fix Committed
Changed in virtualbox-guest-additions-iso (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox-guest-additions-iso into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-guest-additions-iso/5.1.34-0ubuntu1.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in virtualbox-ext-pack (Ubuntu Artful):
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox-ext-pack into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-ext-pack/5.1.34-0ubuntu1.17.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in virtualbox-ext-pack (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox-ext-pack into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-ext-pack/5.1.34-0ubuntu1.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
xoristzatziki (simsonbike-bugs) wrote :

"proposed" 5.1.34-dfsg-0ubuntu1.16.04.1 is working. Not tested everything but 1. is not hanging and 2. at least one virtual machine is working ok.

Revision history for this message
lrite (klk745) wrote :

"proposed" 5.1.34-dfsg-0ubuntu1.16.04.1 works fine for me as well. It doesn't freeze the system anymore. Tested with two different VM guests (Linux and Windows 2000).

Revision history for this message
gruberm (gruberm) wrote :

"proposed" 5.1.34-dfsg-0ubuntu1.16.04.1 has fixed the freezing here too. I successfully tested it with Windows 10 and Xenial VMs.

tags: added: verification-done-xenial
removed: verification-needed-xenial
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox/5.1.34-dfsg-0ubuntu1.17.10.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox-guest-additions-iso into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-guest-additions-iso/5.1.34-0ubuntu1.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed-xenial
removed: verification-done-xenial
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox/5.1.34-dfsg-0ubuntu1.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Stephan Springer (geryon) wrote :

I can confirm that virtualbox 5.1.34-dfsg-0ubuntu1.16.04.1 and virtualbox-ext-pack 5.1.34-0ubuntu1.16.04.1 work on Xenial with the Linux Kernel 4.13.0-36 without any freeze. I cannot test the other packages or those on Artful at the moment.

Thanks for the effort to fix this!

Revision history for this message
Patrick Wigmore (patrick-wigmore) wrote :

Tested packages:
virtualbox=5.1.34-dfsg-0ubuntu1.16.04.1
virtualbox-dkms=5.1.34-dfsg-0ubuntu1.16.04.1
virtualbox-ext-pack=5.1.34-dfsg-0ubuntu1.16.04.1
virtualbox-qt=5.1.34-dfsg-0ubuntu1.16.04.1

Host longer freezes on guest boot. Performance seems normal. Bug fixed for me.

Tested with guest OS Windows 7 64-bit with VT-x enabled.

Host details:
$ lscpu | grep "Model name"
Model name: Intel(R) Core(TM) i5-6600T CPU @ 2.70GHz
$ uname -srv
Linux 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018
$ lsb_release -d
Description: Ubuntu 16.04.4 LTS

Untested packages:
virtualbox-guest-additions-iso=5.1.34-dfsg-0ubuntu1.16.04.1 (not in repository yet)
kbuild=1:0.1.9998svn2814+dfsg-2~ubuntu16.04.1 (I don't know how to test it)
virtualbox-hwe=5.1.34-dfsg-0ubuntu1.16.04.1 (not in repository yet)
virtualbox=5.1.34-dfsg-0ubuntu1.16.04.2 (not in repository yet)
virtualbox-guest-additions-iso=5.1.34-0ubuntu1.16.04.2 (not in repository yet)

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox-hwe into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-hwe/5.1.34-dfsg-0ubuntu1.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
gruberm (gruberm) wrote :

I can confirm that

virtualbox 5.1.34-0ubuntu1.16.04.2
virtualbox-guest-additions-iso 5.1.34-0ubuntu1.16.04.2

work as expected.

Host details:
$ lscpu | grep "Model name"
Model name: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
$ uname -srv
Linux 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018

Revision history for this message
lrite (klk745) wrote :

"proposed" 5.1.34-dfsg-0ubuntu1.16.04.2 works as smooth as the previous 16.04.1 for me.

tags: removed: verification-needed-xenial
lrite (klk745)
tags: added: verification-done-xenial
Revision history for this message
Steffen Hemer (s-hemer) wrote :

Can confirm the absence of the previous hang on a 16.04 with 4.13.0-37 kernel with the fix from the Costa's PPA. Just tested with a live cd start, no more detailed tests.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I'll report test results on #1746316

tags: added: verification-done verification-done-artful
removed: verification-needed verification-needed-artful
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Steps performed (only on amd64 hw, no i386 testing performed).

1) Install a clean Ubuntu 16.04.4 LTS amd64 iso.
2) Reboot
3) upgrade and dist-upgrade
4) enable proposed
5) install only virtualbox virtualbox-ext-pack virtualbox-guest-utils-hwe virtualbox-guest-x11-hwe
6) enable 3d on guest properties
6) reboot, and check if everything still works as expected
7) run virtualbox inside the guest and try to install a VM inside the VM, this verifies the host functionalities
8) remove guest-utils and install the official guest-additions package
9) reboot
A) check again if everything works as expected
B) kbuild doesn't need to be tested, because it was upgraded just to make the new one build correctly

For artful, testing was similar, except that I tested virtualbox-guest-utils virtualbox-guest-x11 instead of the -hwe packages.

Missing testing:
different hw (we did test on two laptops, one with windows host, one with linux host)
i386
xenial non-hwe (kernel 4.4 and virtualbox-guest* non -hwe packages). They were fine the first time I checked them, nothing should have changed and nobody reported issues so far

I'm not sure they are worth the effort, since we got already a lot of positive feedbacks and zero negative ones

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

BTW I also tested clipboard copy-paste host-guest and vice-versa, and VBoxClient --check3d && echo yes to see if 3d was correctly enabled

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox-ext-pack into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-ext-pack/5.1.34-0ubuntu1.17.10.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-artful to verification-done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-artful. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed verification-needed-artful
removed: verification-done verification-done-artful
tags: added: verification-needed-xenial
removed: verification-done-xenial
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Stephan, or anyone else affected,

Accepted virtualbox-ext-pack into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virtualbox-ext-pack/5.1.34-0ubuntu1.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

so far so good!

tags: added: verification-done verification-done-artful verification-done-xenial
removed: verification-needed verification-needed-artful verification-needed-xenial
Revision history for this message
Kyle Edwards (kylefromkitware) wrote :

Currently running 5.1.34-dfsg-0ubuntu1.16.04.2. This appears to have solved the host crash for me. I did have to manually update virtualbox-dkms too.

Revision history for this message
Steffen Hemer (s-hemer) wrote :

My previously reported result was on a Core i5-2520M, some deeper testing was performed on a Celeron J1900:

Running perfectly on a 4.4.0-116 and switching to 4.13.0-37 runs stable for about a day now. No problems noticed so far.

Revision history for this message
gruberm (gruberm) wrote :

Is there currently some shortage of manpower in the release team or am I overlooking another bug blocking the release?
This bug has a heat of 400+, the new version has been tested quite extensively and the version to be replaced is also prone to security issues.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

There is no shortage of manpower in the ubuntu-sru team. As per the Stable Release Update policy [1], every update needs to age in -proposed for a minimum of 7 days before being considered for promotion. Since these packages have not been driven by the security team we are handling this update in the same way as the others - especially that the initial upload already had regressions that had to be fixed with re-uploads.

There's just a few more days left.

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

To be honest, since this bug is already 3 months old, and the risk of regressions is high, I would appreciate some additional days even if nothing bad showed up so far (maybe 10-15 days would be more appreciated).

People can still use proposed if they want a fix, I don't think few more days can hurt too much.

But this is up to release team, I don't have reasons to be worried about the current -proposed package (except for the huge diff :p)

Revision history for this message
Adrian Winterstein (m-launchpad-cerritus-eu) wrote :

This version fixed the crash for me, too. However, the vagrant version 1.8.1 that is shipped with Ubuntu Xenial isn't compatible:

The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:

Vagrant has detected that you have a version of VirtualBox installed
that is not supported by this version of Vagrant. Please install one of
the supported versions listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3, 5.0

A Vagrant update may also be available that adds support for the version
you specified. Please check www.vagrantup.com/downloads.html to download
the latest version.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kbuild - 1:0.1.9998svn2814+dfsg-2~ubuntu16.04.1

---------------
kbuild (1:0.1.9998svn2814+dfsg-2~ubuntu16.04.1) xenial; urgency=medium

  * SRU to xenial, to make virtualbox 5.1 build correctly
  * New upstream version 5.1.32-dfsg
    LP: #1746316 -> security patches for spectre and meltdown
    LP: #1736116 -> freeze with kernel >= 4.13

 -- Gianfranco Costamagna <email address hidden> Fri, 02 Feb 2018 14:51:36 +0100

Changed in kbuild (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for kbuild has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Rod Smith (rodsmith) wrote :

This version did NOT fix the problem for me; VirtualBox is still hanging the computer with 4.13-series kernels.

$ dpkg -s kbuild | grep Version
Version: 1:0.1.9998svn2814+dfsg-2~ubuntu16.04.1

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hello, kbuild was useful to get virtualbox 5.1 compile, doesn't fix the issue by itself.
Please wait for the other packages to migrate, or try the proposed pocket

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

So, at the end we had zero bad reports, and tomorrow will be 10 days since the package has been accepted in proposed (even more day if we consider the first upload in ppa and -proposed).

Nobody complained so far, the only bug I got, is unrelated to this upload, and affecting NVIDIA people (LP: #1751191).

This should be safe to go, if it matches Release Team migration criteria.

thanks!

Revision history for this message
Orion Lawlor (lawlor) wrote :

Locutus's xenial-proposed fix works great for me on the stock 4.13.0-37-generic kernel on my amd64 laptop.

Here's how I installed that fix on my 16.04 machine:

Start software-properties-gtk
        "Developer Options" tab
        Check "Pre-released updates (xenial-proposed)"

sudo apt update
sudo apt install virtualbox virtualbox-dkms virtualbox-ext-pack virtualbox-guest-utils-hwe virtualbox-guest-x11-hwe

Go back to software-properties-gtk and un-check pre-release to get off the bleeding edge (otherwise your next apt update will grab lots of proposed fixes).

Reboot to get the new dkms kernel packages, or manually install them like this:

sudo rmmod vboxpci vboxnetadp vboxnetflt vboxdrv
sudo depmod -a
sudo modprobe vboxdrv

Start virtualbox, and your VMs should work now even with the new kernel.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox - 5.1.34-dfsg-0ubuntu1.17.10.2

---------------
virtualbox (5.1.34-dfsg-0ubuntu1.17.10.2) artful; urgency=medium

  * New upstream version 5.1.34-dfsg
    LP: #1746316 -> security patches for spectre and meltdown
    LP: #1736116 -> freeze with kernel >= 4.13
  * Apply 69989 to fix GL issue.
  * Lower compat level to 9

 -- Gianfranco Costamagna <email address hidden> Fri, 02 Feb 2018 13:27:46 +0100

Changed in virtualbox (Ubuntu Artful):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox-ext-pack - 5.1.34-0ubuntu1.17.10.2

---------------
virtualbox-ext-pack (5.1.34-0ubuntu1.17.10.2) artful; urgency=medium

  * Really point to 5.1.34 source to download

virtualbox-ext-pack (5.1.34-0ubuntu1.17.10.1) artful; urgency=medium

  * New upstream release
    LP: #1746316 -> security patches for spectre and meltdown
    LP: #1736116 -> freeze with kernel >= 4.13
  * Lower compat level to 9
  * Update license key and text.

 -- Gianfranco Costamagna <email address hidden> Thu, 15 Mar 2018 12:26:08 +0100

Changed in virtualbox-ext-pack (Ubuntu Artful):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox-guest-additions-iso - 5.1.34-0ubuntu1.17.10.1

---------------
virtualbox-guest-additions-iso (5.1.34-0ubuntu1.17.10.1) artful; urgency=medium

  * New upstream version 5.1.34
    LP: #1746316 -> security patches for spectre and meltdown
    LP: #1736116 -> freeze with kernel >= 4.13
  * Lower compat level to 9

 -- Gianfranco Costamagna <email address hidden> Fri, 02 Feb 2018 14:49:24 +0100

Changed in virtualbox-guest-additions-iso (Ubuntu Artful):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox - 5.1.34-dfsg-0ubuntu1.16.04.2

---------------
virtualbox (5.1.34-dfsg-0ubuntu1.16.04.2) xenial; urgency=medium

  * New upstream version 5.1.34-dfsg
    LP: #1746316 -> security patches for spectre and meltdown
    LP: #1736116 -> freeze with kernel >= 4.13
  * Apply 69989 to fix GL issue.
  * Lower compat level to 9

 -- Gianfranco Costamagna <email address hidden> Fri, 02 Feb 2018 13:27:46 +0100

Changed in virtualbox (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox-ext-pack - 5.1.34-0ubuntu1.16.04.2

---------------
virtualbox-ext-pack (5.1.34-0ubuntu1.16.04.2) xenial; urgency=medium

  * Really point to 5.1.34 source to download

virtualbox-ext-pack (5.1.34-0ubuntu1.16.04.1) xenial; urgency=medium

  * New upstream release
    LP: #1746316 -> security patches for spectre and meltdown
    LP: #1736116 -> freeze with kernel >= 4.13
  * Lower compat level to 9
  * Update license key and text.

 -- Gianfranco Costamagna <email address hidden> Thu, 15 Mar 2018 12:26:08 +0100

Changed in virtualbox-ext-pack (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox-guest-additions-iso - 5.1.34-0ubuntu1.16.04.2

---------------
virtualbox-guest-additions-iso (5.1.34-0ubuntu1.16.04.2) xenial; urgency=medium

  * New upstream version 5.1.34
    LP: #1746316 -> security patches for spectre and meltdown
    LP: #1736116 -> freeze with kernel >= 4.13
  * Lower compat level to 9

 -- Gianfranco Costamagna <email address hidden> Fri, 02 Feb 2018 14:49:24 +0100

Changed in virtualbox-guest-additions-iso (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
dastillero (dastillero) wrote :

As stated on comment #100 the current vagrant version on Xenial does not support the updated Virtualbox version. Is it planned to update Vagrant?.

Revision history for this message
dastillero (dastillero) wrote :

Filled a bug report for Vagrant to be updated: https://bugs.launchpad.net/ubuntu/+source/vagrant/+bug/1759829

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Lets followup iin bug #1759829 then

Revision history for this message
Aravind R (araviaravi) wrote :

Hello,

This bug is truly anoying

System details

aravind@comp:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial

aravind@comp:~$ uname -r
4.13.0-38-generic

Laptop Acer E15 E5-575G-50ZZ
Inter core i5-7200U
Nvidia GeForce 940MX

I am not running in VM box. It is directly installed in laptop.

The startup screen freezes when I have inter-microcode installed in the new kernel.

If I uninstall then works. But I am getting error

Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Aravind R, this is not the right place to complain about intel-microcode issues, please use ubuntu-bug and open a new report!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.