FreeBSD 14 does not boot if bhyve points to the SATA disk where it is installed phisically
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Jan 2022 21:47:35 UTC
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.