[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#982353: contrib/testing64 crashes on Vbox 6.1 when updated to kernel 5.10 due to deprecated use of graphic card



On Wed, Feb 10, 2021 at 02:16:47PM +0100, Emmanuel Kasper wrote:
Le 10/02/2021 à 10:22, Francesco P. Lovergine a écrit :
On Wed, Feb 10, 2021 at 10:13:02AM +0100, Francesco P. Lovergine wrote:
Well, it is automagically done by vagrant  at provisioning time for
the debian/testing64, maybe because the local Virtualbox installation
has the extension installed?


Sorry, I mean the guest additions ISO installed on the host box.
Could it be that you have the vagrant plugin vagrant-vbguest
installed ? If yes, try to remove it, recreate a Vagrant env using
debian/testing64 (which now includes the guest extensions in the
mainline kernel) and tell me if that works for you.

If this works you will have a faster boot time, and the satisfaction of
removing the depency to non-free package :)


Uhm, removed and recreated the vm. Not better, it insist to add guest addons.
Maybe, the whole ~/.vagrant.d dir needs to be wiped? Non-free seems pernicious :-D

$ vagrant plugin uninstall vagrant-vbguest
Uninstalling the 'vagrant-vbguest' plugin...
Successfully uninstalled micromachine-3.0.0
Successfully uninstalled vagrant-vbguest-0.29.0
frankie@legolas:~/vagrant
$ vagrant plugin list
No plugins installed.
frankie@legolas:~/vagrant
$ vagrant destroy testing1
   testing1: Are you sure you want to destroy the 'testing1' VM? [y/N] y
==> testing1: Forcing shutdown of VM...
==> testing1: Destroying VM and associated drives...
frankie@legolas:~/vagrant
$ vagrant up testings1
^Cfrankie@legolas:~/vagrant
$ vagrant up testing1
Bringing machine 'testing1' up with 'virtualbox' provider...
==> testing1: Importing base box 'debian/testing64'...
==> testing1: Matching MAC address for NAT networking...
==> testing1: Checking if box 'debian/testing64' version '20210207.1' is up to date...
==> testing1: Setting the name of the VM: testing1
==> testing1: Clearing any previously set network interfaces...
==> testing1: Preparing network interfaces based on configuration...
   testing1: Adapter 1: nat
   testing1: Adapter 2: hostonly
==> testing1: Forwarding ports...
   testing1: 22 (guest) => 2222 (host) (adapter 1)
==> testing1: Running 'pre-boot' VM customizations...
==> testing1: Booting VM...
==> testing1: Waiting for machine to boot. This may take a few minutes...
   testing1: SSH address: 127.0.0.1:2222
   testing1: SSH username: vagrant
   testing1: SSH auth method: private key
   testing1:
   testing1: Vagrant insecure key detected. Vagrant will automatically replace
   testing1: this with a newly generated keypair for better security.
   testing1:
   testing1: Inserting generated public key within guest...
   testing1: Removing insecure key from the guest if it's present...
   testing1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> testing1: Machine booted and ready!
==> testing1: Checking for guest additions in VM...
   testing1: The guest additions on this VM do not match the installed version of
   testing1: VirtualBox! In most cases this is fine, but in rare cases it can
   testing1: prevent things such as shared folders from working properly. If you see
   testing1: shared folder errors, please make sure the guest additions within the
   testing1: virtual machine match the version of VirtualBox you have installed on
   testing1: your host and reload your VM.
   testing1:
   testing1: Guest Additions Version: 6.0.0 r127566
   testing1: VirtualBox Version: 6.1
==> testing1: Setting hostname...
==> testing1: Configuring and enabling network interfaces...
==> testing1: Mounting shared folders...
   testing1: /vagrant => /home/frankie/vagrant

==> testing1: Machine 'testing1' has a post `vagrant up` message. This is a message
==> testing1: from the creator of the Vagrantfile, and not from Vagrant itself:
==> testing1:
==> testing1: Vanilla Debian box. See https://app.vagrantup.com/debian for help and bug reports


BTW thanks for the hint about VGA/VMSVGA. If VMSVGA is now the default
graphic card for Linux Guests VirtualBox we should consider making the
Vagrant Boxes also use it. But that's actually a topic for
https://github.com/EmmanuelKasper/import2vbox
which is generating the VirtualBox config.


At least in 6.1 series, the default card for Linux boxes is VMSVGA. For any other type of card, the GUI issues a warning.

--
Francesco P. Lovergine


Reply to: