Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2018 16:11:05 -0500
From:      Kyle Evans <kevans@freebsd.org>
To:        Joe Maloney <jmaloney@ixsystems.com>
Cc:        freebsd-virtualization@freebsd.org, Ed Maste <emaste@freebsd.org>,  tsoome@freebsd.org
Subject:   Re: Issue encountered booting FreeBSD STABLE and CURRENT snapshots with EFI
Message-ID:  <CACNAnaEYmtLtQv_UcG4%2B8MqxUUoc_xnoaNcNEuicC-zdm6K3-A@mail.gmail.com>
In-Reply-To: <CAFvkmYMJFJUr38pM=3S4=f%2B=rvL4rXct3YBbqWp8zTJ5JWrBXQ@mail.gmail.com>
References:  <CAFvkmYM=YOAHGqA4H15jX69h2B7vWQ7LrkpcjVUNZri5UCG9aQ@mail.gmail.com> <CAFvkmYMJFJUr38pM=3S4=f%2B=rvL4rXct3YBbqWp8zTJ5JWrBXQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 15, 2018 at 4:06 PM, Joe Maloney <jmaloney@ixsystems.com> wrote:
> On Wed, Mar 14, 2018 at 5:55 PM, Joe Maloney <jmaloney@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.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaEYmtLtQv_UcG4%2B8MqxUUoc_xnoaNcNEuicC-zdm6K3-A>