Date: Sun, 30 Jan 2022 22:47:35 +0100 From: Mario Marietto <marietto2008@gmail.com> To: FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: FreeBSD 14 does not boot if bhyve points to the SATA disk where it is installed phisically Message-ID: <CA%2B1FSiiPsOWChU4FYi0_6hnoEb47SRuBDwZ9EKLYcAZFF4HN=Q@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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: <SAMSUNG HM320JI 0> 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<NO_6_BYTE>
=> 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.
[-- Attachment #2 --]
<div dir="ltr"><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Hello to everyone. <br></span></span></span></span></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></span></span></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">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 :<br></span></span></span></span></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></span></span></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">da1 at umass-sim1 bus 1 scbus6 target 0 lun 0
</span><br>da1: <SAMSUNG HM320JI 0> Fixed Direct Access SPC-4 SCSI device
<br>da1: Serial Number 20140100006C
<br>da1: 400.000MB/s transfers
<br>da1: 305245MB (625142448 512 byte sectors)
<br>da1: quirks=0x2<NO_6_BYTE><br>
<br></span><br>=> 40 625142368 da1 GPT (298G)
<br> 40 532480 1 efi (260M)
<br> 532520 616030208 2 freebsd-ufs (294G)
<br> 616562728 8388608 3 freebsd-swap (4.0G)
<br> 624951336 191072 - free - (93M)<br>
<br></span></span></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace">this is the bhyve arguments that I'm using :</span></span></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><br></span></span></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">bhyve -S -c sockets=1,cores=2,threads=2 -m 4G -w -H -A \
</span><br>-s 0,hostbridge \
<br>-s 1,ahci-hd,/dev/da1 \
<br>-s 8,virtio-net,tap1 \
<br>-s 9,virtio-9p,sharename=/home/marietto \
<br>-s 30,xhci,tablet \
<br>-s 31,lpc \
<br>-s 29,fbuf,tcp=<a href="http://0.0.0.0:5901">0.0.0.0:5901</a>,w=1440,h=900 \
<br>-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
<br>-l com1,stdio \
<br>vm1<br>
<br></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace">Unfortunately bhyve is not able to boot FreeBSD 14 from that disk. This is what it says :<br></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:monospace"><br></span></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">BdsDxe: failed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-811A-F482-43F7" from PciRoot(0x0)/Pci(0x</span></span></div><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace">2,0x0)/Sata(0x0,0xFFFF,0x0): Not Found<br></span></div><div><br><span style="font-family:monospace"></span></div><div><span style="font-family:monospace">
</span></div><div class="gmail-"><div class="gmail-_1mf gmail-_1mj"><span><span><span>UEFI</span></span></span><span><span> Interactive Shell v2.2</span></span></div></div><div class="gmail-"><div class="gmail-_1mf gmail-_1mj"><span><span>EDK II</span></span></div></div><div class="gmail-"><div class="gmail-_1mf gmail-_1mj"><span><span>UEFI v2.70 (BHYVE, 0x00010000)</span></span></div></div><div class="gmail-"><div class="gmail-_1mf gmail-_1mj"><span><span>Mapping table</span></span></div></div><div class="gmail-"><div class="gmail-_1mf gmail-_1mj"><span><span> BLK0: Alias(s):</span></span></div></div><div class="gmail-"><div class="gmail-_1mf gmail-_1mj"><span><span> PciRoot(0x0)/Pci(0x2,0x0)/Sata(0x0,0xFFFF,0x0)</span></span><br clear="all"></div></div><div><br></div><div>Where is the problem here ?</div><div><br></div><div>-- </div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mario.<br></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSiiPsOWChU4FYi0_6hnoEb47SRuBDwZ9EKLYcAZFF4HN=Q>
