Issue encountered booting FreeBSD STABLE and CURRENT snapshots with EFI

Kyle Evans kevans at freebsd.org
Thu Mar 15 21:11:35 UTC 2018


On Thu, Mar 15, 2018 at 4:06 PM, Joe Maloney <jmaloney at ixsystems.com> wrote:
> On Wed, Mar 14, 2018 at 5:55 PM, Joe Maloney <jmaloney at ixsystems.com> wrote:
>> Hello everyone,
>> Today after we attempted to merge the latest 11-STABLE into FreeNAS we
>> found an issue with EFI boot during the testing process.
>>
>> To narrow done the issue I have tested the following images:
>> https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/12.0/FreeBSD-12.0-CURRENT-amd64-20180307-r330606-disc1.iso
>> https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/11.1/FreeBSD-11.1-STABLE-amd64-20180307-r330605-disc1.iso
>>
>> To summarize I setup a bhyve VM with EFI, and graphics.  Install with
>> UFS, and ZFS work.
>>
>> After install during the boot the following message appears if ZFS is used:
>> Failed to start image provided by ZFS (14)
>>
>> If UFS is used during the install here is what the message looks like
>> on first boot:
>> Failed to start image provided by UFS (14)
>>
>> Here is a screenshot showing the issue for ZFS:
>> https://imgur.com/a/rQRck
>>
>> If bhyveload is used there is no issue booting.  From what I can tell
>> it is only if the EFI firmware is used even with graphics mode off.
>> This has affected both CURRENT, and the latest 11-STABLE snapshot
>> which are linked above.
>>
>> I will be out of office at the end of the week for several weeks, and
>> may be unable to respond to further replies right away.  Either way I wanted to
>> make the project aware while others at iX look into this  Thanks.
>>
>> Joe Maloney
>> QA Manager / iXsystems
>> Enterprise Storage & Servers Driven By Open Source
>
> I believe the problem may have been introduced with this commit:
>
> https://svnweb.freebsd.org/base/stable/?view=log&pathrev=329114
>
> I can build an 11-STABLE image prior to that commit, and I do not
> exhibit the booting issues with bhyve using EFI.  That r329114 commit
> does not build at all so I suspect it, or something after it involving
> loader work based on feedback from other iX engineers.
>
> What led me to start looking at this time period was this bug which
> references a large merge that address the same issue for RPI3:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216940

Given how that PR went, CC'ing tsoome@ who diagnosed the RPi3 problem
-- he's good at these kind of things. =)

>
> Unfortunately now something causes that exact same "Failed to start
> image provided by UFS (14)" error for BHYVE with UEFI.
>


More information about the freebsd-virtualization mailing list