No more console after update with GPU passtrough

antipiot

Well-Known Member
Jan 26, 2019
67
5
48
37
Hello everybody!
No problem or anything but i wanted to understand what could cause this:

I have PCI passtrough to give a GPU to my Debian VM for GPU NVENC acceleration since nearly 1 year. no problem at all.

When installed and setted up in my VM, i've lost access to console, wich was a normal thing as far as know.
BUT; afer some updates and for no reason (again, no changes or so) it started to gave me access console even with GPU passtrough activated
THEN; i guess it happened after the latest update and reboot i did, i've lost this ability.

No changes were made at all - only updates on VM (debian Jessie) and proxmox.

VM conf:
Code:
agent: 1
boot: c
bootdisk: virtio2
cores: 32
cpu: host
hostpci1: 2b:00.0,pcie=1,x-vga=1
hotplug: disk,network,usb
keyboard: fr-ch
machine: q35
memory: 34000
name: OMV
net0: virtio=7A:10:3C:xx:xxxx,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=c823d9f3-581d-4a94-82b7-8e648ce449d3
sockets: 1
tablet: 0
virtio0: backups:100/vm-100-disk-0.qcow2,backup=0,size=11000G
virtio1: data2:vm-100-disk-0,backup=0,size=11000G
virtio2: local-lvm:vm-100-disk-0,cache=writeback,discard=on,size=60G
virtio3: local-lvm:vm-100-disk-1,cache=writeback,discard=on,size=70G
vmgenid: 23429665-2a41-4c5f-87df-68a3c3242e92

Update log of latest apt-get upgrade:

Code:
apt-listchanges: Reading changelogs...
(Reading database ... 84474 files and directories currently installed.)
Preparing to unpack .../00-libldap-common_2.4.47+dfsg-3+deb10u4_all.deb ...
Unpacking libldap-common (2.4.47+dfsg-3+deb10u4) over (2.4.47+dfsg-3+deb10u3) ...
Preparing to unpack .../01-libldap-2.4-2_2.4.47+dfsg-3+deb10u4_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u4) over (2.4.47+dfsg-3+deb10u3) ...
Preparing to unpack .../02-libnvpair1linux_0.8.5-pve1_amd64.deb ...
Unpacking libnvpair1linux (0.8.5-pve1) over (0.8.4-pve2) ...
Preparing to unpack .../03-libproxmox-backup-qemu0_1.0.0-1_amd64.deb ...
Unpacking libproxmox-backup-qemu0 (1.0.0-1) over (0.7.1-1) ...
Preparing to unpack .../04-libuutil1linux_0.8.5-pve1_amd64.deb ...
Unpacking libuutil1linux (0.8.5-pve1) over (0.8.4-pve2) ...
Preparing to unpack .../05-libzfs2linux_0.8.5-pve1_amd64.deb ...
Unpacking libzfs2linux (0.8.5-pve1) over (0.8.4-pve2) ...
Preparing to unpack .../06-libzpool2linux_0.8.5-pve1_amd64.deb ...
Unpacking libzpool2linux (0.8.5-pve1) over (0.8.4-pve2) ...
Preparing to unpack .../07-pve-container_3.2-3_all.deb ...
Unpacking pve-container (3.2-3) over (3.2-2) ...
Preparing to unpack .../08-pve-kernel-helper_6.3-1_all.deb ...
Unpacking pve-kernel-helper (6.3-1) over (6.2-7) ...
Preparing to unpack .../09-qemu-server_6.2-20_amd64.deb ...
Unpacking qemu-server (6.2-20) over (6.2-19) ...
Preparing to unpack .../10-spl_0.8.5-pve1_all.deb ...
Unpacking spl (0.8.5-pve1) over (0.8.4-pve2) ...
Preparing to unpack .../11-zfs-initramfs_0.8.5-pve1_all.deb ...
Unpacking zfs-initramfs (0.8.5-pve1) over (0.8.4-pve2) ...
Preparing to unpack .../12-zfsutils-linux_0.8.5-pve1_amd64.deb ...
Unpacking zfsutils-linux (0.8.5-pve1) over (0.8.4-pve2) ...
Preparing to unpack .../13-zfs-zed_0.8.5-pve1_amd64.deb ...
Unpacking zfs-zed (0.8.5-pve1) over (0.8.4-pve2) ...
Setting up pve-container (3.2-3) ...
system-pve\x2dcontainer.slice is a disabled or a static unit, not starting it.
Setting up libuutil1linux (0.8.5-pve1) ...
Setting up pve-kernel-helper (6.3-1) ...
Setting up qemu-server (6.2-20) ...
Setting up libldap-common (2.4.47+dfsg-3+deb10u4) ...
Setting up spl (0.8.5-pve1) ...
Setting up libnvpair1linux (0.8.5-pve1) ...
Setting up libproxmox-backup-qemu0 (1.0.0-1) ...
Setting up libzfs2linux (0.8.5-pve1) ...
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u4) ...
Setting up libzpool2linux (0.8.5-pve1) ...
Setting up zfsutils-linux (0.8.5-pve1) ...
zfs-import-scan.service is a disabled or a static unit not running, not starting it.
Job for zfs-import-cache.service failed because the control process exited with error code.
See "systemctl status zfs-import-cache.service" and "journalctl -xe" for details.
Setting up zfs-initramfs (0.8.5-pve1) ...
Setting up zfs-zed (0.8.5-pve1) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-5.4.65-1-pve
Running hook script 'zz-pve-efiboot'..
Re-executing '/etc/kernel/postinst.d/zz-pve-efiboot' in new private mount namespace..
No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync.
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for pve-manager (6.2-15) ...
Processing triggers for systemd (241-7~deb10u4) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for pve-ha-manager (3.1-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  pve-kernel-5.4.73-1-pve
The following packages will be upgraded:
  pve-kernel-5.4
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.3 MB of archives.
After this operation, 288 MB of additional disk space will be used.
Get:1 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 pve-kernel-5.4.73-1-pv [60.3 MB]
Get:2 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 pve-kernel-5.4 all 6.3
Fetched 60.3 MB in 6s (10.6 MB/s)
apt-listchanges: Reading changelogs...
Selecting previously unselected package pve-kernel-5.4.73-1-pve.
(Reading database ... 84474 files and directories currently installed.)
Preparing to unpack .../pve-kernel-5.4.73-1-pve_5.4.73-1_amd64.deb ...
Unpacking pve-kernel-5.4.73-1-pve (5.4.73-1) ...
Preparing to unpack .../pve-kernel-5.4_6.3-1_all.deb ...
Unpacking pve-kernel-5.4 (6.3-1) over (6.2-7) ...
Setting up pve-kernel-5.4.73-1-pve (5.4.73-1) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.4.73-1-pve /boot/vmlinuz-5.4.73-1-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.4.73-1-pve /boot/vmlinuz-5.4.73-1-pve
update-initramfs: Generating /boot/initrd.img-5.4.73-1-pve
run-parts: executing /etc/kernel/postinst.d/pve-auto-removal 5.4.73-1-pve /boot/vmlinuz-5.4.73-1-pve
run-parts: executing /etc/kernel/postinst.d/zz-pve-efiboot 5.4.73-1-pve /boot/vmlinuz-5.4.73-1-pve
Re-executing '/etc/kernel/postinst.d/zz-pve-efiboot' in new private mount namespace..
No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 5.4.73-1-pve /boot/vmlinuz-5.4.73-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.73-1-pve
Found initrd image: /boot/initrd.img-5.4.73-1-pve
Found linux image: /boot/vmlinuz-5.4.65-1-pve
Found initrd image: /boot/initrd.img-5.4.65-1-pve
Found linux image: /boot/vmlinuz-5.4.60-1-pve
Found initrd image: /boot/initrd.img-5.4.60-1-pve
Found linux image: /boot/vmlinuz-5.4.55-1-pve
Found initrd image: /boot/initrd.img-5.4.55-1-pve
Found linux image: /boot/vmlinuz-5.3.18-3-pve
Found initrd image: /boot/initrd.img-5.3.18-3-pve
Found linux image: /boot/vmlinuz-4.15.18-20-pve
Found initrd image: /boot/initrd.img-4.15.18-20-pve
Found linux image: /boot/vmlinuz-4.15.18-9-pve
Found initrd image: /boot/initrd.img-4.15.18-9-pve
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Adding boot menu entry for EFI firmware configuration
done
Setting up pve-kernel-5.4 (6.3-1) ...

Do someone knows where's the magic?

Regards - JS
 
Hi,

I guess the magic comes from your VM.
The console only works if your VM uses the virtual graphic card as output device and not the dedicated GPU.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!