From nobody Fri May 22 22:06:40 2026 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 4gMfWR3b3Hz6fr4d for ; Fri, 22 May 2026 22:06:43 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E7" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gMfWR067Mz3mDj for ; Fri, 22 May 2026 22:06:43 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zabbadoz.net header.s=20240622 header.b=RaVjpatc; dmarc=pass (policy=none) header.from=zabbadoz.net; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2003:a:140a:2200:6:594:fffe:19 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 208E5A64805 for ; Fri, 22 May 2026 22:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1779487577; bh=SPrtczBp4rp+ZqF0UHHHCXpB4ngK+LrGXh0AviCEQrY=; h=Date:From:To:Subject:In-Reply-To:References; b=RaVjpatcSostZ+DstMkjnDPi7/lPxXfrb9EMSmViT6wU1wRaTo9MjthB1aLkEs2mc S3qrIqoe1PCxAbf1j7hy7Y1sOYySxF37YglyQ0x6hzKX/PL77sjUsMDx668ZxmcEDV ksWc7FXJJyUezELiQxmdQYANkpU2TUwxC1RRBZuELvczb2BEj3Vk3FKuER/bNWQAFC 9rawK+eCXDoHtednpXweFp4k1MSxz1SGfCnm+GvfmNIAS1JishOfraNxWsSv3NC+8L xbN0Gx8D9b2EHWRSEM1t9CgwK7IJJFEzZ4zFfwx8aNCO6nP5lYVI0Ay+NEry0006IU Zdeux4D9vnPDMutQuP5GGTNbe8+Hok5tj2tHds9kS2aEh4zWFjVa8Ug8xavYOV6haq oMLCubg45qsYhLluWdZQ59pZ9WkpOGABRhFEYWDG75RW96siYAPcWMSOnwEeXkdMXB tieSmT0axQ+4Qvdan+lkA6IpTqB1Dk3XxjuZYa4P7z53mWswaQqDIMnqc8xxjVa1v9 SxncelETkypU21Zq4HMy05OUXnX642rC5GCY9MYACK6Jdtqx6gRI8DJrGJ6EZpfFAU VkP1O5opefIlNf3huiZeg/KNDbAdJs+KQxwaVjzqTFOlz1b0edkH1wcQevD17X71i4 VtezbI1kNY3NUISlrteLDIL8= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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 mail.sbone.de (Postfix) with ESMTPS id B17542D029E9 for ; Fri, 22 May 2026 22:06:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id 98g2NecZB8oS for ; Fri, 22 May 2026 22:06:40 +0000 (UTC) Received: from nv.t4-02.sbone.de (nv.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:22]) (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 mail.sbone.de (Postfix) with ESMTPSA id AE8BE2D029D8 for ; Fri, 22 May 2026 22:06:40 +0000 (UTC) Date: Fri, 22 May 2026 22:06:40 +0000 (UTC) From: "Bjoern A. Zeeb" To: virtualization@freebsd.org Subject: Re: pci_passthru: unmap_pptdev_mmio failed: No such file or directory In-Reply-To: <516r368n-8574-2rp9-ross-p2575qo62oq@mnoonqbm.arg> Message-ID: <965581sn-7864-2qo7-o69o-rq4021626rrn@mnoonqbm.arg> References: <516r368n-8574-2rp9-ross-p2575qo62oq@mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19:c]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4gMfWR067Mz3mDj On Fri, 22 May 2026, Bjoern A. Zeeb wrote: > On Fri, 22 May 2026, Bjoern A. Zeeb wrote: > >> Hi, >> >> after updating my current base system (unknown from what anymore) >> I was restarting one of my development bhyves which has two >> passthru (one wifi card and one full pci xhci). >> >> I am now getting: >> >> pci_passthru: unmap_pptdev_mmio failed: No such file or directory >> pci_passthru: unmap_pptdev_mmio failed: No such file or directory >> pci_passthru: unmap_pptdev_mmio failed: No such file or directory >> >> which is a fairly unhelpful message. Could at least tell the device >> if not more... >> >> Anyone any ideas where this is from (or how to fix it)? > > So this comes from ppt.c in the kernel ppt_find(). > > I am a bit buffled given: > > [1.001385] ppt0 mem 0xe1320000-0xe132ffff at device 20.0 on pci0 > [1.001386] ppt0: attached > [1.001445] ppt1 mem 0xe1000000-0xe10fffff,0xe1100000-0xe1107fff at device 0.0 > on pci2 > [1.001446] ppt1: attached > > % pciconf -l | grep ppt > ppt0@pci0:0:20:0: class=0x0c0330 rev=0x21 hdr=0x00 vendor=0x8086 > device=0x9d2f subvendor=0x17aa subdevice=0x5062 > ppt1@pci0:3:0:0: class=0x028000 rev=0x00 hdr=0x00 vendor=0x14c3 > device=0x0616 subvendor=0x14c3 subdevice=0xe616 > > % sysctl hw.vmm.ppt > hw.vmm.ppt.devices: 2 > > > The config syas: > > pci.0.1.0.device=passthru > pci.0.1.0.bus=0 > pci.0.1.0.slot=20 > pci.0.1.0.func=0 > > pci.0.2.0.device=passthru > pci.0.2.0.bus=3 > pci.0.2.0.slot=0 > pci.0.2.0.func=0 > > pci.0.10.0.device=virtio-net > pci.0.10.0.backend=tap3 > > Funny enough not even the network interface is available to netboot upon > start. > > I'll keep digging but if someone has a clue to save me some time that would > be appreciated. Never mind, not ppt_find but the other function; it's a bug in 36b855f189257. I'll follow-up on the ocmmit. -- Bjoern A. Zeeb r15:7