From nobody Fri May 22 22:02:12 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 4gMfQS5v3xz6fqsb for ; Fri, 22 May 2026 22:02:24 +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 4gMfQQ5rcrz3lvr for ; Fri, 22 May 2026 22:02:22 +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=l2H1gSgK; 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 0FC0BA64805 for ; Fri, 22 May 2026 22:01:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1779487310; bh=k8IXp6sxBBWZMausW2b2V8Pg+MPIMMDlfBW5cY4tCfA=; h=Date:From:To:Subject:In-Reply-To:References; b=l2H1gSgKM2Zzt+jNfFYav7ZwQfi0Z79z3YvnmztLdRKkMX3bnc6UTV9FC+eernBUf RCTSOA680qkBTJj2Pdmfhy5i/5Sxk1PTT+9aO+Hr0oeHUE9yh+u+e2mgWt7XOLNztW c7AxlGhXTa1EbCpJkDGLUPtEMb7nzwKB4aI1UT6erb2rLWEnVO+IihYbv1Uokp9sPQ fx+nGD3W/YFefCw0PMhFSS26j//hIHxQDZ/IbvFBHDY5EiEKssSkAdCu6K5xbZV6un Nl68iGPl60MlKuEQDITKjmq4DPYGk+pGkzFxTweFPkpNH8ahrXQeqOZ9wKZEBlwio9 PvRM54eXkbsRFmr7AwzsfNs65Rhb95CFOQJV1Cc5fKfT2GvrDlY1mlr++YW8LGgGUD 4YsAJM09JY2iY+SbAP2C16UeerISzxINPj+JmNpr08NqzJyP/tQlMXhbrmaxPUo6bU f7gaTF8qJeVxJOYq4lvb7InUslew2NOeO1OVbSuPl7SHTGO+wBIpJXXzqFT0L+fuLI m8DGxPHAUaQr9Osjg+yRc8m1LqtrDbrLnwaxUa3BwXrponMsAZtP0esW84iUlJCpcP yso3wX1ygmoWmKpSUtNwWYrK/WzueUXBnjGZeNd1+qvnQjp8jNevZdT7BunXQgLQco uXtt7bPeYCoDjZqo3eyfPCSQ= 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 9A7262D029E9 for ; Fri, 22 May 2026 22:02:14 +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 zYp-nLmgTARI for ; Fri, 22 May 2026 22:02:13 +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 920622D029D8 for ; Fri, 22 May 2026 22:02:13 +0000 (UTC) Date: Fri, 22 May 2026 22:02:12 +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: Message-ID: <516r368n-8574-2rp9-ross-p2575qo62oq@mnoonqbm.arg> References: 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]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; 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: 4gMfQQ5rcrz3lvr 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. /bz -- Bjoern A. Zeeb r15:7