From owner-freebsd-virtualization@freebsd.org Sat Nov 17 17:55:26 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BF541139D95; Sat, 17 Nov 2018 17:55:26 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st11p06im-asmtp001.me.com (st11p06im-asmtp001.me.com [17.172.125.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E06875A99; Sat, 17 Nov 2018 17:55:25 +0000 (UTC) (envelope-from tsoome@me.com) Received: from process-dkim-sign-daemon.st11p06im-asmtp001.me.com by st11p06im-asmtp001.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) id <0PIC00Q00K8GDI00@st11p06im-asmtp001.me.com>; Sat, 17 Nov 2018 16:55:19 +0000 (GMT) Received: from icloud.com ([127.0.0.1]) by st11p06im-asmtp001.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPSA id <0PIC00W8FKC2MK30@st11p06im-asmtp001.me.com>; Sat, 17 Nov 2018 16:55:18 +0000 (GMT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=2 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811170160 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-17_07:,, signatures=0 From: Toomas Soome Message-id: <58727F10-3CAE-49EE-B9E7-E4D26EDCB845@me.com> MIME-version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished Date: Sat, 17 Nov 2018 18:55:13 +0200 In-reply-to: Cc: Warner Losh , Rebecca Cran , freebsd-current Current , kevans@freebsd.org, freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-virtualization@freebsd.org To: Subbsd References: <1564776.xRuIxZukmv@photon.int.bluestop.org> X-Mailer: Apple Mail (2.3445.101.1) X-Rspamd-Queue-Id: 9E06875A99 X-Spamd-Result: default: False [-2.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[me.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.172.0.0/16]; FREEMAIL_FROM(0.00)[me.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx1.mail.icloud.com]; DKIM_TRACE(0.00)[me.com:+]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; IP_SCORE(-0.51)[ipnet: 17.168.0.0/13(-1.49), asn: 714(-0.97), country: US(-0.10)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[149.125.172.17.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.168.0.0/13, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 17:55:26 -0000 > On 17 Nov 2018, at 18:29, Subbsd wrote: >=20 > On Fri, Nov 16, 2018 at 8:03 AM Warner Losh > wrote: >>=20 >>=20 >>=20 >> On Thu, Nov 15, 2018 at 12:10 PM Rebecca Cran = 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