From owner-freebsd-current@freebsd.org Thu Nov 15 02:57:11 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 EA55A110D218 for ; Thu, 15 Nov 2018 02:57:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x142.google.com (mail-it1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) (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 DF51E7C5BA for ; Thu, 15 Nov 2018 02:57:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x142.google.com with SMTP id k141-v6so27160289itk.3 for ; Wed, 14 Nov 2018 18:57:09 -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=JRxIxTggLNqsypREUwMOv2CgAwqP23ojyZ1+eFFvHGQ=; b=cSKDP2x6VIEKM16DivT4vosAWXUIOVTpsiWPwOA1XgpaXHzvE0xvv2xG0l5kS870AV zN8H+fMbCYBLFRtcFg3DK73V7dd8akA4qHSl/FouTzjjn+HPyVGvoAQ4+0XjOE0iMerc t/wEOnokbcctkeNDEwAJfKtrpYH4A22ut+8vNt4GvkkVgwts6oemm3fb2iwYPiI0E8Tc lFO7yeaTHt96lEukkJOBVPqSa04Hl2epeWtX8jkDOavttizdBin3+PHwOOnTgsc18Y8I i3vC6j8VCNrHOPWoR0jUUHgvnzXmGDnwcxTbxpVAn/OQoorclH9a91mkbCBM1SLPfk8R gG+A== 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=JRxIxTggLNqsypREUwMOv2CgAwqP23ojyZ1+eFFvHGQ=; b=sglh24Bl6ef1BKogj3dCiuG5hSlQhCLExjmuBcv6lXzc7mY0GgugA9hn7VZ7p7wXaW bO8q5Un0mePKDU1PhiPdWQXMEsC8YcuYlYOHUMhKuFMbqAgJowJ9lD4XVbOj1htIXjrh UfU7+z9sZh+tRqrn4r6lOSDZ39RdyPJ3ubv17LCUFm99kwA8ExNZWDTWB4xeEHOr3tan Y8IWaYa8Mg/trgQMmxqLpIYBH4/Floocp5KMfjmxy4P2yp03fgfR0YIV1ZCi/qkcT39w posCQd4aGfqHLcZGwe/yqvdirDBOhMW3i39V0LlPHCQ5p+u34qwR5J5sYdEZrH/jg2TQ 6mOQ== X-Gm-Message-State: AGRZ1gKCiE50tUniMXcEyr9yeVUoubZySAPTDzccPvgPeoXMxFZCQNw1 glR68yWOFqES5VLNae6oV5lya1HeGG3mJ/ezkmGNyg== X-Google-Smtp-Source: AJdET5dPg0bxAkI344FGC1N5otMZAmSOwUuOKilOGniBXVtbDI9v+AbSr2jrYkZni07A3JqLq0CZTYaibWmRi0l7XEg= X-Received: by 2002:a02:9951:: with SMTP id d17-v6mr3901080jak.78.1542250628906; Wed, 14 Nov 2018 18:57:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 14 Nov 2018 19:56:56 -0700 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: Kyle Evans Cc: subbsd@gmail.com, Rebecca Cran , "Rodney W. Grimes" , freebsd-virtualization@freebsd.org, FreeBSD Current X-Rspamd-Queue-Id: DF51E7C5BA X-Spamd-Result: default: False [-0.95 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.941,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_LONG(-0.98)[-0.984,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)[15]; 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)[2.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)[]; NEURAL_HAM_SHORT(-0.64)[-0.637,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.38)[ip: (2.74), ipnet: 2607:f8b0::/32(-2.74), asn: 15169(-1.81), 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]; FREEMAIL_CC(0.00)[gmail.com] 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: Thu, 15 Nov 2018 02:57:11 -0000 On Wed, Nov 14, 2018 at 4:00 PM Kyle Evans wrote: > On Wed, Nov 14, 2018 at 4:55 PM Subbsd wrote: > > > > On Thu, Nov 15, 2018 at 1:33 AM Kyle Evans wrote: > > > > > > On Wed, Nov 14, 2018 at 4:30 PM Kyle Evans wrote: > > > > > > > > On Wed, Nov 14, 2018 at 4:23 PM Subbsd wrote: > > > > > > > > > > On Thu, Nov 15, 2018 at 1:05 AM Subbsd wrote: > > > > > > > > > > > > On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran < > rebecca@bluestop.org> wrote: > > > > > > > > > > > > > > On November 14, 2018 at 2:18:04 PM, Subbsd (subbsd@gmail.com) > wrote: > > > > > > >> > > > > > > >> > > > > > > >> My current host: FreeBSD 13.0-CURRENT r340319 and the problem > is > > > > > > >> still present. > > > > > > > > > > > > > > Rod was asking about the guest OS version, not the host though. > > > > > > > > > > > > > > > > > > > > > > > > > > I apologize, it seemed to me that I wrote earlier) Guest version: > > > > > > > https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz > > > > > > > > > > Hm, it seems the problem is 'boot_serial' which is sets to YES by > default in gop > > > > > > > > > > set boot_serial=NO > > > > > boot > > > > > > > > > > solve this issue > > > > > > > > Huh? This is perhaps going to be a stupid question, but where is > > > > boot_serial=YES getting set? Loader will not set it by itself and > UEFI > > > > doesn't respect /boot.config, so this must be explicitly set in > > > > /boot/loader.conf or /boot/defaults/loader.conf, but it's not clear > to > > > > me what's putting it there. > > > > > > > http://src.illumos.org/source/xref/freebsd-head/usr.sbin/bhyveload/bhyveload.c#832 > > > is the only place I can see immediately that this might be happening, > > > but do UEFI boots go through bhyveload? I'm ignorant here. > > > > This is UEFI GOP methodvia bootrom/uefi-firmware, no bhyveload: > > > > bhyve -AHP -s 0:0,hostbridge -s 31:0,lpc -s > > 4:0,ahci-cd,/tmp/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso > > -c 1 -m 1024M -s 29,fbuf,tcp=0.0.0.0:5900,w=1024,h=768,wait -l > > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd freebsd1 > > > > https://snag.gy/0MH7zU.jpg > > https://snag.gy/kF5cxZ.jpg > > https://snag.gy/htHMG0.jpg > > https://snag.gy/vK1ALN.jpg > > https://snag.gy/qKNPGU.jpg > > What does your /boot/loader.conf look like? > What is the ConOut evifar look like? We set serial when the UEFI env says to do so. Warner