From nobody Fri Feb 4 18:56:30 2022 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 31FAA19892CD for ; Fri, 4 Feb 2022 18:56:30 +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 4Jr4Wd6yBDz3NsY for ; Fri, 4 Feb 2022 18:56:29 +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 CB4B210E77 for ; Fri, 4 Feb 2022 18:56:29 +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 214IuTem034939 for ; Fri, 4 Feb 2022 18:56:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 214IuTMv034938 for virtualization@FreeBSD.org; Fri, 4 Feb 2022 18:56:29 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: Fri, 04 Feb 2022 18:56:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: marietto2008@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=1644000990; 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: in-reply-to:in-reply-to:references:references; bh=pUsZ23GDaNTPRPxMM2GxylIUHo6O1lNuAIiENmcw/qQ=; b=usMhkh0NlscfBebW8982zmWqtAwZQsnwiIb6KeQ/sCWagcrM2rJlCnRh//nMFUyoZoim8E Kc6wjQjqwPIA7WO9GMOI0HzYxACCkU32eoe08/FYvnTfFANozXcs6uN8NLUAFysyTx2twD cj5hYfAdHtQb1WUxEQkEgJ89OUV4eNAY9rPydZM1PytuZrdZOHxtcOCh7vd31myBz9pkeG OC4/qMwofRotYkSkPg33us6ofi4SCCKGz89w+kIoouBRlzWAEnhsNhTa6BeGzjE4iVS3Yu /hJlx0sGPT7Lp0a/hvu47339bhR+2DoWhnsAK5lhqDE5HFnHvliPUEFzUcPkHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644000990; a=rsa-sha256; cv=none; b=GYFWvcvs2iCj4ceXvyH/Jx+xaIz6FT0EZD1DRN6F/1/UgU8GwnRnKQWY3jBGEwsN8jZLZp ylbkiGaPWj/io1xcB+wven2MnjjujqPSdTzySV3Zd2hZke75OYmDi9IUKkSr7OSxsyDIIC hpQBfEy9MWZRlCSOmVCK7y03IcNd6kJsqqrz1TCMdLynrWLDBkT6XkEBTSVSwycjD/T473 hGwFMzu8/pvbWQy0SDmfXNt4ZrCrMSBK5OQRTnrv0Kehtd9qFm1Z5sf7K9YfkBe8kF78DC snVUB0LE92aMJFSmQXm/05JiHjAi8eeJzOA0Dy97ReVMLdjo0v78XqBtjL2I+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260178 --- Comment #4 from mario felicioni --- I've passed through the graphic card and the renesas controller (because th= ey are on the same IOMMU group) and I've got a precise bug : This command : bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m 4G -w -H -A \ -s 0,hostbridge \ -s 1,ahci-hd,/dev/da1,sectorsize=3D512 \ -s 3:0,passthru,2/0/0 \ -s 3:1,passthru,2/0/1 \ -s 3:2,passthru,2/0/2 \ -s 3:3,passthru,2/0/3 \ -s 4:0,passthru,1/0/0 \ -s 8,virtio-net,tap1 \ -s 9,virtio-9p,sharename=3D/ \ -s 30,xhci,tablet \ -s 31,lpc \=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 -s 29,fbuf,tcp=3D0.0.0.0:5901,w=3D1440,h=3D900 \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \ -l com1,stdio \ vm1 produces this error : root@marietto:/usr/home/marietto/bhyve # ./freebsd14.sh VM:vm0 is not created. VM:vm1 is not created. VM:vm0 is not created. VM:vm1 is not created. fbuf frame buffer base: 0x945e00000 [sz 16777216] Assertion failed: (baridx =3D=3D 0), function pci_fbuf_write, file /usr/src/usr.sbin/bhyve/pci_fbuf.c, line 134 Abort : core dumped. --=20 You are receiving this mail because: You are the assignee for the bug.=