From nobody Sun Jan 30 21:47:35 2022 X-Original-To: freebsd-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 2891B1998BE6 for ; Sun, 30 Jan 2022 21:48:14 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jn4Z535kDz3KTv for ; Sun, 30 Jan 2022 21:48:13 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id y15so22905773lfa.9 for ; Sun, 30 Jan 2022 13:48:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=aJnKeLdwzYrqCF7Ukr9MELrNv+4Ioc2FfQ3Pkm1aXIM=; b=J/J7P+ZrOjPSjOPRxMQQOI6QD/v+Y8bbqfM8ckwuC7QMcfAx0WplCpx0c8+Z/99Ccl LbVCVFeSvB/DLBiMx+YJCtGD4qH+8UfA6lDjllHVnlxku/NuZRVIThsyruHp5QfNn4nn QaHGYCaTWDZZcRniRwuyxhUIvO8OYGRk2VmVw41Epvipx2GfngxXfeG6fT4vbpAh/plO ux8jh2sqQQJcX1L/Sa+2bmdhD8DKWpBH4wZMVhpyzOOICzIxBikgXvQJD3YLOUrg6j4t FZgzX68t8jAyulElHfzsMY+1Op0vCsFV0mrqnRZ8KL4ub2CJFWxi5NHDysnpH+DjpBMQ 7Y0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aJnKeLdwzYrqCF7Ukr9MELrNv+4Ioc2FfQ3Pkm1aXIM=; b=lxcvwR6RT9rcHHkhP1ECUWm6XY0DUfmYBa/6h/Zj9Op+Yd4OFLS/qQtQld1go4kVEX ppYc8nTgX4J7rAVRPxcRbGDNbXsv8a+lptZinPsDx3SsgDFOAsLJjrw7/E4luKSGqsli pTKziNsBQMaajyERxR+SyPaGBhzxcHtBDXc60oYf1kla6Qvukc3wNVPbTFtYsoeQHQAi UTEiXLEUoaUFkwUYKV9FItaQIh71QQly8VRF4+lqW41oiTeU07TvglsQDMqgo+mdRkXV T0pZ09w+xBoGcNgO2F6XpWwzKY4+22HWXE8Ae4zZ5GZxN9yiBPDs3SPUyv/hirPgpUZm mk0Q== X-Gm-Message-State: AOAM532ylCp3nQ1bJH0ixXaK+MUzV/Wnk77WJE4/bZ1g2aOZvqnTj8Ao nomc7Xw5tve5H8ioPvgK5zo5/hPvKzdZcOwOyayLslSWiOhh9A== X-Google-Smtp-Source: ABdhPJwQQwsheIMXf2Ph5Qnfj7LWmSS8hvWytBZFzLubupikvZJQOqNPGHs5n0pxG8nIYQgP67gLBct++fGWMDYHoco= X-Received: by 2002:a05:6512:1151:: with SMTP id m17mr12951373lfg.610.1643579291467; Sun, 30 Jan 2022 13:48:11 -0800 (PST) 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 From: Mario Marietto Date: Sun, 30 Jan 2022 22:47:35 +0100 Message-ID: Subject: FreeBSD 14 does not boot if bhyve points to the SATA disk where it is installed phisically To: FreeBSD virtualization Content-Type: multipart/alternative; boundary="000000000000d4038f05d6d39f4d" X-Rspamd-Queue-Id: 4Jn4Z535kDz3KTv X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="J/J7P+Zr"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::12e as permitted sender) smtp.mailfrom=marietto2008@gmail.com X-Spamd-Result: default: False [2.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; URI_COUNT_ODD(1.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.999]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12e:from]; HTTP_TO_IP(1.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000d4038f05d6d39f4d Content-Type: text/plain; charset="UTF-8" Hello to everyone. I'm running FreeBSD 13 RELEASE p6 and I'm trying to boot FreeBSD 14 CURRENT that I have installed on the SATA disk mapped at /dev/da1 as follows : da1 at umass-sim1 bus 1 scbus6 target 0 lun 0 da1: Fixed Direct Access SPC-4 SCSI device da1: Serial Number 20140100006C da1: 400.000MB/s transfers da1: 305245MB (625142448 512 byte sectors) da1: quirks=0x2 => 40 625142368 da1 GPT (298G) 40 532480 1 efi (260M) 532520 616030208 2 freebsd-ufs (294G) 616562728 8388608 3 freebsd-swap (4.0G) 624951336 191072 - free - (93M) this is the bhyve arguments that I'm using : bhyve -S -c sockets=1,cores=2,threads=2 -m 4G -w -H -A \ -s 0,hostbridge \ -s 1,ahci-hd,/dev/da1 \ -s 8,virtio-net,tap1 \ -s 9,virtio-9p,sharename=/home/marietto \ -s 30,xhci,tablet \ -s 31,lpc \ -s 29,fbuf,tcp=0.0.0.0:5901,w=1440,h=900 \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \ -l com1,stdio \ vm1 Unfortunately bhyve is not able to boot FreeBSD 14 from that disk. This is what it says : BdsDxe: failed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-811A-F482-43F7" from PciRoot(0x0)/Pci(0x 2,0x0)/Sata(0x0,0xFFFF,0x0): Not Found UEFI Interactive Shell v2.2 EDK II UEFI v2.70 (BHYVE, 0x00010000) Mapping table BLK0: Alias(s): PciRoot(0x0)/Pci(0x2,0x0)/Sata(0x0,0xFFFF,0x0) Where is the problem here ? -- Mario. --000000000000d4038f05d6d39f4d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello to everyone.
<= /span>
=
I'm ru= nning FreeBSD 13 RELEASE p6 and I'm trying to boot FreeBSD 14 CURRENT t= hat I have installed on the SATA disk mapped at /dev/da1 as follows :

=
da1 at umass-sim1 bus 1 scbus6 target 0 lun 0
da1: <SAMSUNG HM320JI 0> Fixed Direct Access SPC-4 SCSI de= vice
da1: Serial Number 20140100006C
da1: 400.000MB/s transfers
da1: 305245MB (625142448 512 byte sectors)
da1: quirks=3D0x2<NO_6_BYTE>


=3D> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A040 =C2=A06251423= 68 =C2=A0da1 =C2=A0GPT =C2=A0(298G)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A040 =C2=A0=C2=A0=C2=A0= =C2=A0532480 =C2=A0=C2=A0=C2=A01 =C2=A0efi =C2=A0(260M)
=C2=A0=C2=A0=C2=A0=C2=A0532520 =C2=A0616030208 =C2=A0=C2=A0=C2=A02 =C2= =A0freebsd-ufs =C2=A0(294G)
=C2=A0616562728 =C2=A0=C2=A0=C2=A08388608 =C2=A0=C2=A0=C2=A03 =C2=A0fr= eebsd-swap =C2=A0(4.0G)
=C2=A0624951336 =C2=A0=C2=A0=C2=A0=C2=A0191072 =C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0- free - =C2=A0(93M)

th= is is the bhyve arguments that I'm using :<= /span>

= bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 1,ahci-hd,/dev/da1 \
-s 8,virtio-net,tap1 \
-s 9,virtio-9p,sharename=3D/home/marietto \
-s 30,xhci,tablet \
-s 31,lpc \
-s 29,fbuf,tcp=3D0.0.0.0:5901,w=3D1= 440,h=3D900 \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
-l com1,stdio \
vm1

<= span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">Unfortunately bhyve is not able to boot FreeBS= D 14 from that disk. This is what it says :
<= div>
BdsDxe: fail= ed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-811A-F482-43F7" f= rom PciRoot(0x0)/Pci(0x
2,0x0)/S= ata(0x0,0xFFFF,0x0): Not Found

UEFI Interactive Shell v2.2=
EDK II
UEFI v2.70 (BHYVE, 0x0001= 0000)
Mapping table
BLK0: Al= ias(s):
PciRoot(0x0)/Pci(0x2,0x0)/Sata(0x0,0= xFFFF,0x0)

W= here is the problem here ?

--
Mario.
<= /div>
--000000000000d4038f05d6d39f4d--