From nobody Fri May 22 22:43:50 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 4gMgLK1rP1z6dhJZ for ; Fri, 22 May 2026 22:43:53 +0000 (UTC) (envelope-from markj@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gMgLK0mpyz3spm; Fri, 22 May 2026 22:43:53 +0000 (UTC) (envelope-from markj@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779489833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HOlNH4tL7a9Gsw8FGTtXVhBsBm6bxujXKJylZiLfk2g=; b=dVTXPD4RFQLzKnbc3Ji37CYUPx88Ct42/fJJmryECrWbnycFmrNqrzw/EYCCRJUJMwE4C9 sf1o0m0TvoD1KZoMqtjXcUw+iz/4AyXoRrxxvEQKAVlNpsoZaK+Z4yR3RwO59CVgFtkhXm xVDWRup4bIeXlWojXNY0YW6AQkZSh6mYyBf3kHM9My44NWeA8s5aL2kVocEexUvweYbOK4 KuvPFzWt29YTD2UTFKcwqBPSrwtVlu7+9me/zhebNl4kD/7WyBbc5+sSLGCPfA7YGSj5YX 5oBRLmhnZOIPh+LCMfaa73FyJBtVy3CmnxQwzZUsOIIc3M0yUyB6o/wOs4uTZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779489833; a=rsa-sha256; cv=none; b=W3fyd9birr8gZ3ONYRmg/5Vi9vImLahBG7yrGDBWrIkxuXu+9FO1YAUZqsr7YNC0jy+QKB bLkyzvlzqWFB5o4RqeQA6+zD9GLwsVqnRKD3qZLzSCsw4NEnpWs+L4Kqrk03Su46dAhwqs omIlTaFUkCjGEXrvjv28F+msT95JfJpektn3iS1J+b8A7I89EneG60Z5I6nIQWxIIrubWU 5a1Ko/DV/TG65Em9E9z6XXpYS7tZVIOn46n6wi2hfBUBKON05z3xQmR7RSV4fKf7ip7YEd s2LQglYZU10L/OLGP/duVcmf1USQzdsxejos1LirA6+0EQEWuha1PKaTj9K4tg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779489833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HOlNH4tL7a9Gsw8FGTtXVhBsBm6bxujXKJylZiLfk2g=; b=Cdo/uu1qpqsC2SqyOliepPLksOW+9hDzskSuXKmZHY6ikXHzXQ++IbiZBcy7ilCHhsfUIW Fjivrar09E5LVy2FXLiFcuqhIPegso6YF5ALxKFMN3Y4vRTNdNGJhPBOvtSVQoJKJQ/CHJ lWptHphLI3OdGf370Y3Hn/xGmtW/s2nBRop/pDDgX0h+M4RUp54ZmEoK1WlfcCIlKk8uBh +zVFL7Jz+BqXhrKx+CTwR/vXDw4sDgeXvEdixEHXVnt+2lLYdWodjYFBQ7ZTW5NzC6hn5q P5xnzx0wBl6wEWpPKcc2NmnFQO+evUSeixfh0ak0rYo2N02ynJrdz7a0IZnChw== Received: from nuc (192-0-220-237.cpe.teksavvy.com [192.0.220.237]) (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) (Authenticated sender: markj) by smtp.freebsd.org (Postfix) with ESMTPSA id 4gMgLJ5z9Kz4g9; Fri, 22 May 2026 22:43:52 +0000 (UTC) (envelope-from markj@freebsd.org) Date: Fri, 22 May 2026 18:43:50 -0400 From: Mark Johnston To: "Bjoern A. Zeeb" Cc: virtualization@freebsd.org Subject: Re: pci_passthru: unmap_pptdev_mmio failed: No such file or directory Message-ID: References: <516r368n-8574-2rp9-ross-p2575qo62oq@mnoonqbm.arg> 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 Content-Disposition: inline In-Reply-To: <516r368n-8574-2rp9-ross-p2575qo62oq@mnoonqbm.arg> On Fri, May 22, 2026 at 10:02:12PM +0000, 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. As the immediate problem is fixed by commit b13335331092 but the problem is apparently still there: is this a regression? Can you at least approximate the revision you upgraded from?