USB Passthrough - Keine Reaktion

ChrisB

New Member
Apr 19, 2018
3
0
1
28
Hallo :)
Ich habe Proxmox auf mein Debian-System installiert und nutze dieses nun als Server.
Gerade bin ich dabei, eigene VMs zu erstellen.
GPU-Passthrough scheint auch ohne Probleme zu klappen...
Allerdings funktioniert das USB-Passthrough dafür bei keiner VM...
Wenn ich z.B. eine Tastatur übergebe, hängt sich diese solange auf (bemerkbar an der Taste NUM), bis ich die VM beende... Danach funktioniert diese wieder normal...

Mein System (Nicht das beste, aber nett zum herumexperimentieren):
AMD Ryzen 5 1600
MSI B350 GAMING PLUS
NVIDIA Geforce GTX 1060 6GB
8GB Arbeitsspeicher

Ich würde mich über antworten freuen :)
 
steht im syslog irgendwas ?
 
Okay... Ich habe jetzt einen teilweisen Fix...
Wenn ich das Gerät auf USB3 setze, funktioniert es...
Wenn ich allerdings 2 USB Geräte habe, funktioniert wieder nix mehr... egal ob USB3 oder nicht....
Da bekomme ich dann diesen syslog :

Code:
[  +0,112152] input:   USB Keyboard as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-9/1-9:1.0/0003:04D9:1702.0017/input/input35
[  +0,056879] hid-generic 0003:04D9:1702.0017: input,hidraw1: USB HID v1.10 Keyboard [  USB Keyboard] on usb-0000:03:00.0-9/input0
[  +0,084046] input:   USB Keyboard as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-9/1-9:1.1/0003:04D9:1702.0018/input/input36
[  +0,059721] hid-generic 0003:04D9:1702.0018: input,hidraw2: USB HID v1.10 Device [  USB Keyboard] on usb-0000:03:00.0-9/input1
[Apr19 10:49] device tap101i0 entered promiscuous mode
[  +0,006219] vmbr0: port 1(tap101i0) entered blocking state
[  +0,000002] vmbr0: port 1(tap101i0) entered disabled state
[  +0,000073] vmbr0: port 1(tap101i0) entered blocking state
[  +0,000001] vmbr0: port 1(tap101i0) entered forwarding state
[  +0,537469] vfio_ecap_init: 0000:20:00.0 hiding ecap 0x19@0x900
[  +8,436779] usb 1-8: reset full-speed USB device number 5 using xhci_hcd
[  +0,455184] usb 1-8: reset full-speed USB device number 5 using xhci_hcd
[  +0,536885] usb 1-9: reset low-speed USB device number 6 using xhci_hcd
[  +0,707816] usb 1-9: reset low-speed USB device number 6 using xhci_hcd

PS : Allerdings funktioniert das dann auch nur im SeaBIOS Mode.... Bei OVMF tut sich nix bei USB Passthrough.... Egal was ich mache. Und bei OVMF scheint dies mit reset nicht im syslog zu stehen....
 
Last edited:
wie sieht denn die vm config aus? und pveversion -v?
 
Also zuerst :
pveversion -v:
Code:
proxmox-ve: 5.1-42 (running kernel: 4.13.16-2-pve)
pve-manager: 5.1-51 (running version: 5.1-51/96be5354)
pve-kernel-4.13: 5.1-44
pve-kernel-4.13.16-2-pve: 4.13.16-47
corosync: 2.4.2-pve4
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: not correctly installed
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-apiclient-perl: 2.0-4
libpve-common-perl: 5.0-30
libpve-guest-common-perl: 2.0-14
libpve-http-server-perl: 2.0-8
libpve-storage-perl: 5.0-18
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 3.0.0-2
lxcfs: 3.0.0-1
novnc-pve: 0.6-4
proxmox-widget-toolkit: 1.0-15
pve-cluster: 5.0-25
pve-container: 2.0-21
pve-docs: 5.1-17
pve-firewall: 3.0-8
pve-firmware: 2.0-4
pve-ha-manager: 2.0-5
pve-i18n: 1.0-4
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.11.1-5
pve-xtermjs: 1.0-2
qemu-server: 5.0-25
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3

Und jetzt die vm-config :

Code:
bios: ovmf
boot: cdn
bootdisk: virtio2
cores: 8
cpu: host
efidisk0: local:100/vm-100-disk-3.qcow2,size=128K
hostpci0: 20:00,pcie=1,x-vga=on
ide2: none,media=cdrom
machine: q35
memory: 4096
name: test
numa: 0
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=f3e72b25-b9f1-4c3f-afc2-63362cdb37bc
sockets: 1
usb0: host=1-9
usb1: host=1-8
virtio2: /dev/disk/by-id/ata-ST1000DM003-1ER162_Z4Y37RHT,size=976762584K

Das KSM gefällt mir nicht... Allerdings ist das nur das Memory Management.......
 

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!