From owner-freebsd-virtualization@freebsd.org Fri Nov 16 05:03:56 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 1C36C1126B3C for ; Fri, 16 Nov 2018 05:03:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x144.google.com (mail-it1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) (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 47ED271137 for ; Fri, 16 Nov 2018 05:03:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x144.google.com with SMTP id k206-v6so33005754ite.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=dlZ/VFcrVUheyF7L8d0kYkPhEe7G/jT/dfsOxPqSpjkQhJ4NBUlB3Pgo3vrjAmoasI wMawuMxvB+xImfMftFzE6I5xjAynHEvczRTYXIRwTnhbo4Li1ogPwWplSQkIdhlPfgyh qvWg+2efvSZJxDqou/gyK1m+zg3sgyrU0WxR5N8fAFaTB6PitSP6I2tChxs6kiiMA3hU rX1SpKUWwbmynb7EN2A1UxJrI3PAEuE09Tg6kPLcWtud7GbdhL01pypXs799ItPc3jCS 3IH+iQOjfZrC3mDLuh79h0zu8dpP1yjbuMZBlFcbbK+zLWDobVNgSSQPdvxZpXoB4JvR k4lw== X-Gm-Message-State: AGRZ1gJiWQTpey2sAtl31+xa4/oDgqeN/YlDzw9gx0jdFx0w9qpryeer fB7PwuGh2WZ3HAZOkyRZxW7SV/AQRy+J6zqkAObZ6A== 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: 47ED271137 X-Spamd-Result: default: False [-1.14 / 40.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.955,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.79)[-0.789,0]; NEURAL_HAM_LONG(-0.97)[-0.965,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@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)[4.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.42)[ip: (2.47), 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-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: 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