Closed botardo closed 11 months ago
Which kernel do you use ?
Linux pve 6.1.24-generic SMP Mon Apr 17 22:40:56 CST 2023 aarch64
Can you share command pveversion --verbose
and lsusb -t
(on you vm and host).
Fix Qemu-Server qemu-xhci pcie addr error
https://github.com/jiangcuo/qemu-server/commit/6e6a2c91bc841d2700a6e7803ed105fca7a8d23d
Host:
root@pve:~# pveversion --verbose
pve-manager: 8.0.3-1 (running version: 8.0.3-1/a8e18f85609c0f55)
pve-kernel-6.1.24-generic: 6.1.24
pve-kernel-5.15.107-generic: 5.15.107
ceph-fuse: 17.2.6-pve1+3
corosync: 3.1.7-pve3
criu: 3.17.1-2
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx4
libjs-extjs: 7.0.0-3
libknet1: 1.25-1
libproxmox-acme-perl: 1.4.6
libproxmox-backup-qemu0: 1.4.0
libproxmox-rs-perl: 0.3.0
libpve-access-control: 8.0.4
libpve-apiclient-perl: 3.3.1
libpve-common-perl: 8.0.6
libpve-guest-common-perl: 5.0.3
libpve-http-server-perl: 5.0.4
libpve-rs-perl: 0.8.3
libpve-storage-perl: 8.0.2
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 5.0.2-4
lxcfs: 5.0.3-pve3
novnc-pve: 1.4.0-2
proxmox-backup-client: 3.0.1-1
proxmox-backup-file-restore: 3.0.1-1
proxmox-kernel-helper: 8.0.2
proxmox-mail-forward: 0.2.0
proxmox-mini-journalreader: 1.4.0
proxmox-widget-toolkit: 4.0.6
pve-cluster: 8.0.2
pve-container: 5.0.4
pve-docs: 8.0.4
pve-edk2-firmware: 3.20230228-4
pve-firewall: 5.0.3
pve-firmware: 3.8-1
pve-ha-manager: 4.0.2
pve-i18n: 3.0.5
pve-qemu-kvm: 8.0.2-3
pve-xtermjs: 4.16.0-3
qemu-server: 8.0.6-1
smartmontools: 7.3-1+b1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.1.12-pve1
The strange thing about lsusb is that I do not have that command on the host and don't know how to install it
root@pve:~# lsusb
-bash: lsusb: command not found
VM:
dd@vm:~$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
@jiangcuo At the current "port" Repository Version. My Raspberry PI 4 (Installation via Repo) can't start VM's with mounted USB. How can I use the published fix in jiangcuo/qemu-server?
Error Message:
kvm: -device qemu-xhci,p2=15,p3=15,id=xhci,bus=pcie.1,addr=0x1b: Bus 'pcie.1' not found TASK ERROR: start failed: QEMU exited with code 1
I build the qemu-server from your Git Repo, on the Raspberry. Now the VM runs without Problems. Is there a Plan to Publish this Hotfix to the Default "port" Repository?
@Rappelkiste98 Can you share steps to recompile qemu server
Hi,
trying to passthrough USB3 to debian VM but no luck yet. USB 2 works ok, I can see hard drive in VM, but when I connect it to USB 3, nothing.
I installed proxmox from ISO, running UEFI from SD card. Installed proxmox to 60 gb usb hard drive. Everything boots ok. I can see both drives in proxmox
When I try to attach USB to VM, for some reason USB3 option is grayed out
When I start the VM, USB is present by typing lsusb command. lsblk is not showing any drives except the boot drive for the VM.
I have limited knowledge, but I would like to understand what is the problem here.