Date: Sat, 17 Nov 2018 18:55:13 +0200 From: Toomas Soome <tsoome@me.com> To: Subbsd <subbsd@gmail.com> Cc: Warner Losh <imp@bsdimp.com>, Rebecca Cran <rebecca@bluestop.org>, freebsd-current Current <freebsd-current@freebsd.org>, kevans@freebsd.org, freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-virtualization@freebsd.org Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished Message-ID: <58727F10-3CAE-49EE-B9E7-E4D26EDCB845@me.com> In-Reply-To: <CAFt_eMrOEbSaWoYj9ERBO323NKkX_jB1u47OBX1wiZL8-qPrtg@mail.gmail.com> References: <CAFt_eMpAOHJGiZkxZfv7jvz_6JuDf8zPFV3%2BD8zQ5EtvqakvOw@mail.gmail.com> <CACNAnaGm-s8F5AKVxincPDFjjBgw9ONV1%2BrQzh2oqFhHxq9ATw@mail.gmail.com> <CANCZdfqM0eNfx5J8O3HCpp4mQ-Lxws-=6yAarYBZ-NYp9jQo-Q@mail.gmail.com> <1564776.xRuIxZukmv@photon.int.bluestop.org> <CANCZdfrpaqFDKm7N0O56br_9sWz6eifoMMx0v6sPRwooiOqqPQ@mail.gmail.com> <CAFt_eMrOEbSaWoYj9ERBO323NKkX_jB1u47OBX1wiZL8-qPrtg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 17 Nov 2018, at 18:29, Subbsd <subbsd@gmail.com> wrote: >=20 > On Fri, Nov 16, 2018 at 8:03 AM Warner Losh <imp@bsdimp.com = <mailto:imp@bsdimp.com>> wrote: >>=20 >>=20 >>=20 >> On Thu, Nov 15, 2018 at 12:10 PM Rebecca Cran <rebecca@bluestop.org> = wrote: >>>=20 >>> On Wednesday, 14 November 2018 19:56:56 MST Warner Losh wrote: >>>=20 >>>> What is the ConOut evifar look like? We set serial when the UEFI = env says >>>> to do so. >>>=20 >>> Booting with: >>>=20 >>> sudo bhyve -A -P -c 2 -H -m 4G -s 0:0,hostbridge -s 31:0,lpc -s = 2,ahci- >>> cd,FreeBSD-12.0-BETA4-amd64-disc1.iso -s >>> 29,fbuf,tcp=3D0.0.0.0:5900,w=3D800,h=3D600,wait -l = bootrom,/usr/local/share/uefi- >>> firmware/BHYVE_UEFI.fd -u vm5 >>>=20 >>> dh in the shell shows: >>>=20 >>> 7D: ConsoleOut SimpleTextOut GraphicsOutput(GraphicsOutput) >>> PCIIO DevicePath(PciRoot (0x0)/Pci(0x1D,0x0)) >>>=20 >>> 84: StdErr ConsoleOut ConsoleIn SimpleTextOut SimpleTextInEx = SimpleTextIn >>> DevicePath(t(115200,8,N,1)/VenVt100Plus()) >>>=20 >>> 89: SimpleTextOut SimpleTextInEx SimpleTextIn = DevicePath(Uart(115200,8,N,1)/ >>> VenPcAnsi()) >>=20 >>=20 >> If I read that right, then the ConOut variable first has the video = device listed, then the serial port (this wasn't the form I expected to = see it in, so I'm not sure thats the case). In either event, we should = get console output on both the serial and the video at least until the = /etc/rc script starts... >>=20 >> Warner >=20 > Perhaps this is not a special case of FreeBSD guest, since the latest > versions of FreeBSD are loaded normally in other UEFI systems (e.g > Virtualbox, KVM). For example someone from CBSD Telegram chat reported > a similar problem for OpenIndiana 2018 ( which uses FreeBSD loader > however) in bhyve. > Thus, perhaps the root of this problem should be sought in > uefi-edk2-bhyve the package. Latest CBSD release (12.0.1) fixed this > problem by disabling serial console. However, CBSD uses an alternative > boot method for bhyve ( uefi-edk2-bhyve + reFIND ) > _______________________________________________ You can not yet bring in OpenIndiana into the game because it does not = have FB console support - it *only* can use serial console with UEFI.=20 rgds, toomas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58727F10-3CAE-49EE-B9E7-E4D26EDCB845>