Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2018 09:23:04 +0000
From:      Matt Churchyard <matt.churchyard@userve.net>
To:        Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, "Rodney W. Grimes" <freebsd-rwg@pdx.rh.cn85.dnsmgr.net>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   RE: UEFI GOP: screen goes blank during boot after loader is finished
Message-ID:  <fc5846b50d704ad589b41e683bb7e4c7@SERVER.ad.usd-group.com>
In-Reply-To: <CANCZdfqM0eNfx5J8O3HCpp4mQ-Lxws-=6yAarYBZ-NYp9jQo-Q@mail.gmail.com>
References:  <CAFt_eMpAOHJGiZkxZfv7jvz_6JuDf8zPFV3%2BD8zQ5EtvqakvOw@mail.gmail.com> <etPan.5bec91d4.327b23c6.45f2@bluestop.org> <CAFt_eMpqCc1UuYBkiWQsf%2BA2=X-aRE7qYWgPZHFGuGYTfPiqrQ@mail.gmail.com> <CAFt_eMqdoG9Zp62yS58QfNFSMqygyKt=cyn=Wixn50BqUYcT3g@mail.gmail.com> <CACNAnaFJV5yevZkwfB53P97DECc5kupTdoTYzusq=wQSs7i=HA@mail.gmail.com> <CACNAnaE=0mDvXEeu4=SshFAXbEZtYi%2Bg-u8Zj3Cj83vLtRQnCQ@mail.gmail.com> <CAFt_eMrTtxVS-2GTYMyDUEODqamLEKa54Hjxp6j%2BS-HyKn7HCw@mail.gmail.com> <CACNAnaGm-s8F5AKVxincPDFjjBgw9ONV1%2BrQzh2oqFhHxq9ATw@mail.gmail.com> <CANCZdfqM0eNfx5J8O3HCpp4mQ-Lxws-=6yAarYBZ-NYp9jQo-Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message-----
From: owner-freebsd-virtualization@freebsd.org <owner-freebsd-virtualizatio=
n@freebsd.org> On Behalf Of Warner Losh
Sent: 15 November 2018 02:57
To: Kyle Evans <kevans@freebsd.org>
Cc: FreeBSD Current <freebsd-current@freebsd.org>; Rodney W. Grimes <freebs=
d-rwg@pdx.rh.cn85.dnsmgr.net>; freebsd-virtualization@freebsd.org
Subject: Re: UEFI GOP: screen goes blank during boot after loader is finish=
ed

On Wed, Nov 14, 2018 at 4:00 PM Kyle Evans <kevans@freebsd.org> wrote:

> On Wed, Nov 14, 2018 at 4:55 PM Subbsd <subbsd@gmail.com> wrote:
> >
> > On Thu, Nov 15, 2018 at 1:33 AM Kyle Evans <kevans@freebsd.org> wrote:
> > >
> > > On Wed, Nov 14, 2018 at 4:30 PM Kyle Evans <kevans@freebsd.org> wrote=
:
> > > >
> > > > On Wed, Nov 14, 2018 at 4:23 PM Subbsd <subbsd@gmail.com> wrote:
> > > > >
> > > > > On Thu, Nov 15, 2018 at 1:05 AM Subbsd <subbsd@gmail.com> wrote:
> > > > > >
> > > > > > On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran <
> rebecca@bluestop.org> wrote:
> > > > > > >
> > > > > > > On November 14, 2018 at 2:18:04 PM, Subbsd=20
> > > > > > > (subbsd@gmail.com)
> wrote:
> > > > > > >>
> > > > > > >>
> > > > > > >> My current host: FreeBSD 13.0-CURRENT r340319 and the=20
> > > > > > >> problem
> is
> > > > > > >> still present.
> > > > > > >
> > > > > > > Rod was asking about the guest OS version, not the host thoug=
h.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > I apologize, it seemed to me that I wrote earlier) Guest versio=
n:
> > > > > >
> https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0
> /FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz
> > > > >
> > > > > Hm, it seems the problem is 'boot_serial' which is sets to YES=20
> > > > > by
> default in gop
> > > > >
> > > > > set boot_serial=3DNO
> > > > > boot
> > > > >
> > > > > solve this issue
> > > >
> > > > Huh? This is perhaps going to be a stupid question, but where is=20
> > > > boot_serial=3DYES getting set? Loader will not set it by itself=20
> > > > and
> UEFI
> > > > doesn't respect /boot.config, so this must be explicitly set in=20
> > > > /boot/loader.conf or /boot/defaults/loader.conf, but it's not=20
> > > > clear
> to
> > > > me what's putting it there.
> > >
> > >
> http://src.illumos.org/source/xref/freebsd-head/usr.sbin/bhyveload/bhy
> veload.c#832
> > > is the only place I can see immediately that this might be=20
> > > happening, but do UEFI boots go through bhyveload? I'm ignorant here.
> >
> > This is UEFI GOP methodvia bootrom/uefi-firmware, no bhyveload:
> >
> > bhyve -AHP -s 0:0,hostbridge -s 31:0,lpc -s=20
> > 4:0,ahci-cd,/tmp/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.i
> > so -c 1 -m 1024M -s 29,fbuf,tcp=3D0.0.0.0:5900,w=3D1024,h=3D768,wait -l=
=20
> > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd freebsd1
> >
> > https://snag.gy/0MH7zU.jpg
> > https://snag.gy/kF5cxZ.jpg
> > https://snag.gy/htHMG0.jpg
> > https://snag.gy/vK1ALN.jpg
> > https://snag.gy/qKNPGU.jpg
>
> What does your /boot/loader.conf look like?
>

>What is the ConOut evifar look like? We set serial when the UEFI env says =
to do  so.

>Warner

I can confirm that 11.2-REL boots fine but 12.0-BETA4 goes blank just after=
 the loader, using the exact same bhyve configuration. (This is on an 11.2 =
host)
A few lines are output just before going blank but I can't catch what they =
say.

I'm using the official ISO files with no other configuration so it does see=
m that 12.0 will currently not boot under UEFI-GOP bhyve.

I can check the efivars if someone lets me know how.

Matt
_______________________________________________
freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/m=
ailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs=
d.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fc5846b50d704ad589b41e683bb7e4c7>