From owner-freebsd-current@freebsd.org Wed Nov 14 22:55:30 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 9737D110336A; Wed, 14 Nov 2018 22:55:30 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 A8249720E2; Wed, 14 Nov 2018 22:55:29 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-lj1-x235.google.com with SMTP id e5-v6so15628598lja.4; Wed, 14 Nov 2018 14:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Bw+ZAZZHBDZpjqO/S/3COb5rOaQyDKmw7PpBtJkKDzI=; b=hdcA8t0+A1dyevCMul952/8R4VSZKulnj0/ddjIQgcxCuvn82QWUWhx6daterAcOC6 ESK6cf9Zz8nURnZB+QWjk+sOBUqo8kHNsiTztumGJeCEbmmo8F63lG72kd2ps43nvr88 aKsSTy+Rwbw4sWE5+iofKsErN2SNMH6zKf0p8fNnxdteXdgvUrq7BDs8vDBZCCq3lB3Q qGez//sy5oMZ6ytpU9pylb/VB+DcZd4eXgmejQuZ31xG6dVu6Tf7fTldUjAYYNTM9Hrp FqeAHIwEOK6Go4OFUjiVa/hzNIzwrI6GLXfKCuXs9lsxGNjdjVxfxZCDqqbeDYb9oqxr pKpA== 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=Bw+ZAZZHBDZpjqO/S/3COb5rOaQyDKmw7PpBtJkKDzI=; b=EDiRU8eYtdH6ic9tMCRVMlgKUY346R8B79eov0ynarFUWJOQUxyNCPVOTNdEnegiYK G9Z2ivGlKg0QllUc06mNvLpyy7PeFCJZdU+iUD/JIfj+ZIUPXu+bG0o8mWNKYwko28Ia GK3swpnPF9xPNLv43fZrzA9rH/17/pjThwqjUewngLaPbskJi/J6dXmy5BItP0GRCaxo AlvRGCD5ppYCj4gg5LPfB9aRAy+4Ub0fQKdcP3TEnK/OxSxvVS0K1nLQ2Jv8X/sooD1J lgVAiPU/pzPjMLre2RY7d7orHSp8x/rPCu3tVYVXADOrHIl0G+j2y6aKCTVDolXlnlZv nO2Q== X-Gm-Message-State: AGRZ1gLIfq1EXi6QDtRgljcJ4Zc/a83S6Be7ruBri3Xg21y9Hhk/3epd 3B3YjqN1cMhPbHbHDTTgLuO6kOJnd+qMTRKjgqi6LfjU7m4= X-Google-Smtp-Source: AJdET5c7oKx8zuKAcnoXFCXkp49IjQtmzsdwOZiOZxdmQWwL5tQ0FqcTjM/h0TF2Mi6cwL5bjsszMVWRZSNZ7xpKn2M= X-Received: by 2002:a2e:2b11:: with SMTP id q17-v6mr2191324lje.25.1542236128018; Wed, 14 Nov 2018 14:55:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Subbsd Date: Thu, 15 Nov 2018 01:55:16 +0300 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: kevans@freebsd.org Cc: rebecca@bluestop.org, freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-virtualization@freebsd.org, freebsd-current Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: A8249720E2 X-Spamd-Result: default: False [-4.75 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.75)[ipnet: 2a00:1450::/32(-1.83), asn: 15169(-1.81), country: US(-0.10)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[5.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org 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: Wed, 14 Nov 2018 22:55:30 -0000 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