From owner-freebsd-virtualization@freebsd.org Wed Nov 14 22:58:34 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 40A2511035A5; Wed, 14 Nov 2018 22:58:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3EDB72317; Wed, 14 Nov 2018 22:58:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 646BA2E903; Wed, 14 Nov 2018 22:58:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lf1-f44.google.com with SMTP id p6so12771650lfc.1; Wed, 14 Nov 2018 14:58:33 -0800 (PST) X-Gm-Message-State: AGRZ1gJVoowRmJp4Gyho3ZEJOGYZncZa3pNHWTPQW33CLnuzqG6U3O/W vsv7LHlpqhxizZR87yAHxrON/DBmoophrGa7PKY= X-Google-Smtp-Source: AJdET5eV+mhhv+RSlcTlNTc3HrpIV78SfMTdwaEoenMFjlH1a6VHjCvrsknq8Id2ZVWV6z5M8MLnE4fxCmR9b8PTjfw= X-Received: by 2002:a19:a84e:: with SMTP id r75mr2165438lfe.45.1542236311924; Wed, 14 Nov 2018 14:58:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Wed, 14 Nov 2018 16:58:19 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: Mr Dandy Cc: rebecca@bluestop.org, "Rodney W. Grimes" , freebsd-virtualization@freebsd.org, FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: C3EDB72317 X-Spamd-Result: default: False [-106.88 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-1.00)[-0.999,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; IP_SCORE(-3.77)[ip: (-9.91), ipnet: 2610:1c1:1::/48(-4.93), asn: 11403(-3.91), country: US(-0.10)] X-Rspamd-Server: mx1.freebsd.org 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: Wed, 14 Nov 2018 22:58:34 -0000 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 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?