From nobody Thu Dec 02 19:24:14 2021 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 C9D5018B5F44 for ; Thu, 2 Dec 2021 19:24:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J4m9B3vnmz4XJQ for ; Thu, 2 Dec 2021 19:24:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 66E6C22CBD for ; Thu, 2 Dec 2021 19:24:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1B2JOEXx094488 for ; Thu, 2 Dec 2021 19:24:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B2JOEwN094487 for virtualization@FreeBSD.org; Thu, 2 Dec 2021 19:24:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 260178] bhyve: passthru makes ahci-hd boot fail Date: Thu, 02 Dec 2021 19:24:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638473054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UmAdItfLItYuZ8yzoMceoqcASB9csqJcnicIHlDwCmU=; b=FkWVmtHSvOzwWoSr3S//On/DpqTqCBfT/6U4tCsbVO4hAjpEMDAGgUyjuPn0FHNdTwnmuW XbnmoTRimJ1F14ulye1x/jypz2HqY33EXa9g4tJMpwDKHun1UhkXape9AezkPjzKDK3Cp8 BUeeil+kWEi9MaYbMLzOr4IEl378x54bJCbVkPNVsIhrsdZzKDlNHjuoyc85qZKq+V6ncB 4NAKyVLVz/yv2RQxJrtrmdt5FhTQJJJVWVtD51RpSI4k+wxSLeQzbhXAtKduqcqhCgRWE/ Qcn0XCUqC8qn7VqEdH9/DyuEMl3CxQLK7mcNHC2sB1ZsIXxhMhmCWhDB+p2vFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638473054; a=rsa-sha256; cv=none; b=RHEQM/q1qVVJmNDwQlvL1GwFdhLZ3OGKSlrJ99fGIBJ/PXXC3YDdQYQKGQU+XxFC/9aJqQ eQtbDsh75hQ0FHcRCKCHFW970+AXfHVc2W2mDH0wgIb7iAk4T0ihbmzMYav4zjHSdF6Em+ wOI/IbOXMGUMlJKj4+uPumOwrxMlg6Oxe1bw5dVW8R0WQdXk8IUtmafzOmXjTDiHMVQ+YG LoT5yV+aDYtq00Nbmt6s6vidb6UpS1LYh+D32jlwtmTexX+OvUylPL0QG/saIbfI4uFZrR geff/80oByXyG9zIYh2Tubs1oOPL944YNSE1p0/wUk+XPPqxitMtBHBH8i3OdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260178 Bug ID: 260178 Summary: bhyve: passthru makes ahci-hd boot fail Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Keywords: bhyve Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: bz@FreeBSD.org Next funny problem with passthru; I am booting from a raw disk which works fine. -S \ -s 0,hostbridge \ -s 3,ahci-hd,/dev/da0,sectorsize=3D512 \ -s 10,virtio-net,tap1 \ -s 31,lpc \ Now I added a passthru device to the same bhyve config (-S was there alread= y) and the boot starts to fail: -s 11,passthru,2/0/0 \ BdsDxe: failed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-9E55-9829-EEEE" from PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0xFFFF,0x0): Not Found Removing the passthru device from this config and the virtual machine boots just fine again. Anyone suggestions where to start before I dive in? --=20 You are receiving this mail because: You are the assignee for the bug.=