Date: Sat, 17 Nov 2018 19:29:34 +0300 From: Subbsd <subbsd@gmail.com> To: imp@bsdimp.com Cc: 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: <CAFt_eMrOEbSaWoYj9ERBO323NKkX_jB1u47OBX1wiZL8-qPrtg@mail.gmail.com> In-Reply-To: <CANCZdfrpaqFDKm7N0O56br_9sWz6eifoMMx0v6sPRwooiOqqPQ@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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 16, 2018 at 8:03 AM Warner Losh <imp@bsdimp.com> wrote: > > > > On Thu, Nov 15, 2018 at 12:10 PM Rebecca Cran <rebecca@bluestop.org> wrot= e: >> >> On Wednesday, 14 November 2018 19:56:56 MST Warner Losh wrote: >> >> > What is the ConOut evifar look like? We set serial when the UEFI env s= ays >> > to do so. >> >> Booting with: >> >> 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/sh= are/uefi- >> firmware/BHYVE_UEFI.fd -u vm5 >> >> dh in the shell shows: >> >> 7D: ConsoleOut SimpleTextOut GraphicsOutput(GraphicsOutput) >> PCIIO DevicePath(PciRoot (0x0)/Pci(0x1D,0x0)) >> >> 84: StdErr ConsoleOut ConsoleIn SimpleTextOut SimpleTextInEx SimpleTextI= n >> DevicePath(t(115200,8,N,1)/VenVt100Plus()) >> >> 89: SimpleTextOut SimpleTextInEx SimpleTextIn DevicePath(Uart(115200,8,N= ,1)/ >> VenPcAnsi()) > > > 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 o= utput on both the serial and the video at least until the /etc/rc script st= arts... > > Warner 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 )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFt_eMrOEbSaWoYj9ERBO323NKkX_jB1u47OBX1wiZL8-qPrtg>