From nobody Thu Dec 4 13:36:55 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dMbCX1VHRz6J3cD for ; Thu, 04 Dec 2025 13:37:12 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050:0:465::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dMbCV2K0zz40kH for ; Thu, 04 Dec 2025 13:37:10 +0000 (UTC) (envelope-from lars.engels@0x20.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of lars.engels@0x20.net designates 2001:67c:2050:0:465::201 as permitted sender) smtp.mailfrom=lars.engels@0x20.net Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4dMbCD480hz9tZ5 for ; Thu, 4 Dec 2025 14:36:56 +0100 (CET) Date: Thu, 4 Dec 2025 14:36:55 +0100 From: Lars Engels To: virtualization@FreeBSD.org Subject: bhyve regression: Passthru broken on 15 Message-ID: X-Editor: NVIM v0.11.5 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spamd-Bar: + X-Spamd-Result: default: False [1.28 / 15.00]; NEURAL_SPAM_SHORT(0.97)[0.970]; NEURAL_HAM_LONG(-0.83)[-0.834]; NEURAL_SPAM_MEDIUM(0.74)[0.741]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[lme@FreeBSD.org,lars.engels@0x20.net]; R_SPF_ALLOW(-0.20)[+ip6:2001:67c:2050::/48]; RCVD_IN_DNSWL_LOW(-0.20)[2001:67c:2050:0:465::201:from,2001:67c:2050:b231:465::102:received]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[virtualization@FreeBSD.org]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[lme@FreeBSD.org,lars.engels@0x20.net]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4dMbCV2K0zz40kH I am running a Linux Home Assistant VM inside bhyve. The host's xHCI Controller is passed through to the VM. Attached to one of the USB ports is a Zigbee USB dongle. After upgrading from 14.3 to 15.0 the guest sees the controller but no device attached. `lsusb` hangs forever. Also nothing visible when I remove and re-plug the USB dongle. When I boot the 14.3 boot environment everything is working fine again. === Host === # dmesg | grep ^CPU CPU: Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz (2500.00-MHz K8-class CPU) # pciconf -lv | grep -A4 ppt0 ppt0@pci0:0:20:0: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x8086 device=0xa2af subvendor=0x103c subdevice=0x829a vendor = 'Intel Corporation' device = '200 Series/Z370 Chipset Family USB 3.0 xHCI Controller' class = serial bus subclass = USB # grep ppt /boot/loader.conf pptdevs="0/20/0" # vm passthru DEVICE BHYVE ID READY DESCRIPTION hostb0 0/0/0 No Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers vgapci0 0/2/0 No HD Graphics 530 ppt0 0/20/0 Yes 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller none0 0/20/2 No 200 Series PCH Thermal Subsystem ahci0 0/23/0 No 200 Series PCH SATA controller [AHCI mode] pcib1 0/29/0 No 200 Series PCH PCI Express Root Port isab0 0/31/0 No 200 Series PCH LPC Controller (Q270) none1 0/31/2 No 200 Series/Z370 Chipset Family Power Management Controller hdac0 0/31/3 No 200 Series PCH HD Audio ichsmb0 0/31/4 No 200 Series/Z370 Chipset Family SMBus Controller em0 0/31/6 No Ethernet Connection (5) I219-LM nvme0 1/0/0 No P1 NVMe PCIe SSD[Frampton2] # EDITOR=cat vm configure hass loader="uefi" cpu="4" memory="4GB" network0_type="virtio-net" network0_switch="public" disk0_type="nvme" disk0_name="disk0.img" grub_run_partition="1" grub_run_dir="/boot/grub" uuid="c7e9304c-b67c-11ef-abe6-ace2d30101d0" network0_mac="58:9c:fc:0d:39:fe" #passthru0="0/20/0=2:0" # that was in the config @14.3 passthru0="0/20/0" # tried changing it to this. no luck === Guest === [core-ssh ~]$ dmesg | grep -i usb [ 0.629838] ACPI: bus type USB registered [ 0.631733] usbcore: registered new interface driver usbfs [ 0.632723] usbcore: registered new interface driver hub [ 0.633722] usbcore: registered new device driver usb [ 0.890288] xhci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 1 [ 0.897560] xhci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2 [ 0.898847] xhci_hcd 0000:00:06.0: Host supports USB 3.0 SuperSpeed [ 0.899975] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 0.901400] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.902661] usb usb1: Product: xHCI Host Controller [ 0.903541] usb usb1: Manufacturer: Linux 6.12.51-haos xhci-hcd [ 0.904583] usb usb1: SerialNumber: 0000:00:06.0 [ 0.905573] hub 1-0:1.0: USB hub found [ 0.907346] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12 [ 0.908753] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.910003] usb usb2: Product: xHCI Host Controller [ 0.910859] usb usb2: Manufacturer: Linux 6.12.51-haos xhci-hcd [ 0.911893] usb usb2: SerialNumber: 0000:00:06.0 [ 0.912933] hub 2-0:1.0: USB hub found [ 0.914673] usbcore: registered new interface driver usblp [ 0.915660] usbcore: registered new interface driver usb-storage [ 0.916739] usbcore: registered new interface driver usbserial_generic [ 0.917938] usbserial: USB Serial support registered for generic [ 0.936652] usbcore: registered new interface driver usbhid [ 0.937820] usbhid: USB HID core driver $ lsusb [hangs] $ ls /dev/serial ls: /dev/serial: No such file or directory