From owner-freebsd-current@freebsd.org Fri Nov 16 05:03:56 2018 Return-Path: Delivered-To: freebsd-current@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 E7BC51126B3B for ; Fri, 16 Nov 2018 05:03:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x143.google.com (mail-it1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38BA071136 for ; Fri, 16 Nov 2018 05:03:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x143.google.com with SMTP id v11so32709787itj.0 for ; Thu, 15 Nov 2018 21:03:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=009dxPBWQSzPAjlNMltckJvTLPTd5q/3JSkSuLiJrJM=; b=ybPpDjIeWS4GQctEyVvqkTxK9Hx/n7JpQv86AVLkSBI8rSCvuu3P0fRBPURcvAtipv D2ONhxBMiKDdJsw+S85+y3K06TnmpgbIRon/1/TY8MRq20IngpdjVJwY+e21xBRi0HRY Q45KglOfoiIBvBuX53NfgmNSlkmNKlFSNz11vCGNUechc8dSv/CAfdAWxRM7TGpfvVqd dy+ypLw2w336fehKXcN3teR27KUz24sCZTyF6p82wB8C6LCWd3dSeLlS6fZJ+DRGHNBW SjlhIVA+2uvytZ3ZQ2MpG6M31BK9TN01Ayug2TyH85r+GrvOnNWkkrboQb2GNWQQ/xxq Bawg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=009dxPBWQSzPAjlNMltckJvTLPTd5q/3JSkSuLiJrJM=; b=QEy1L6h3RJ/geUdI5QJyx6tEScVFM3nnDxBcrSTYP9S5Cc1ccZFV6SkBppPkV65rip k7/ygD8y+VPx+nHMIg356VSoU8UjJkSkgMwF4jODtol5OlqaHtIR0C9E0fGsrUafd9id uInz1wSvEy4Cs0b9/lfeU+3ozn0+dyANEPOySEGdOdfa5ttFBaOfNjqm2uPzkGRU9RL0 mYHxlyGrcDfcjLFCn2ZpPQPb3Z/VboqglZk8N7Um5OQt9CSIBDg/dIsNViDxZX9DPW3A FE2RAqDpWPnRsfMO0icyP2T5LnN4xy/nGR21FuX4rgmjzm/lwdVmdXScayPqtMU2LqPl p/kQ== X-Gm-Message-State: AGRZ1gJ2UMyAtPeeOAyh34EapVjPPMFIu1G7wj2BU8sSZWL/yl5d/iFl 4iBwg3Nkf+vBcCc7qYVS03zDEuSfW/i+opNf9ijgJw== X-Google-Smtp-Source: AJdET5fV7tDmI5/p7XpJbAshi5Xp5hxba0MCoj7dg1uTj79VLkvBvPVtGKeEyWIXft/gY59ubcEVpvZ5d6EoNMWrqWM= X-Received: by 2002:a24:5f94:: with SMTP id r142-v6mr8904888itb.171.1542344634330; Thu, 15 Nov 2018 21:03:54 -0800 (PST) MIME-Version: 1.0 References: <1564776.xRuIxZukmv@photon.int.bluestop.org> In-Reply-To: <1564776.xRuIxZukmv@photon.int.bluestop.org> From: Warner Losh Date: Thu, 15 Nov 2018 22:03:42 -0700 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: Rebecca Cran Cc: FreeBSD Current , Kyle Evans , Mr Dandy , "Rodney W. Grimes" , freebsd-virtualization@freebsd.org X-Rspamd-Queue-Id: 38BA071136 X-Spamd-Result: default: False [-1.44 / 40.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.87)[-0.872,0]; NEURAL_HAM_LONG(-0.98)[-0.985,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[1]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[3.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.59)[ip: (1.66), ipnet: 2607:f8b0::/32(-2.68), asn: 15169(-1.82), country: US(-0.10)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 05:03:56 -0000 On Thu, Nov 15, 2018 at 12:10 PM Rebecca Cran wrote: > 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 says > > 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=0.0.0.0:5900,w=800,h=600,wait -l > bootrom,/usr/local/share/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 SimpleTextIn > 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 output on both the serial and the video at least until the /etc/rc script starts... Warner