From owner-freebsd-current@freebsd.org Tue Sep 17 10:09:49 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F683FDC58 for ; Tue, 17 Sep 2019 10:09:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Xf3w3t4Xz3Jx7 for ; Tue, 17 Sep 2019 10:09:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x729.google.com with SMTP id s18so3342612qkj.3 for ; Tue, 17 Sep 2019 03:09:48 -0700 (PDT) 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=ZvXTlQHS0Y3naF+TdV7redsUziCa/FLC9+Ku6zXjIjA=; b=KUAGkYLmkBysC9UHTxgVSOCSofacvA5ew5MO7zmghl5EbXASsJb/mPPHYXgTiIsY9u m6CswCUsOP5zFq9evBEQC6UE/W+wKBmoG+8dXp7JjeauF4gprj5uyytKWKMfrr6hSqig 6Qcq44x/WpeWIGc6eD4ts4MZIyudXEgpWMg5I+K3e3ZESz9b6j7eKXjQcBgt5Hr1Uw2D RTM+RdZgr8YaVHdH0DjCBnTGl0ddWHp7BShOR+oxEzP2Xz4txyPQRGQnhJeXwhrFmcJx Y4tWFTZn9MCib7U3WIDfcTr/8+ZxzXx4MID1C/cfRQvS2rAN+ApxWU+xi0t5+/mDytAa 5bWQ== 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=ZvXTlQHS0Y3naF+TdV7redsUziCa/FLC9+Ku6zXjIjA=; b=psh2JQcQTa97pLuTSOGd6J2RsMJOkdPY/m6fPYfv5LhL1CoVQ+HhRA+jFUWFsxGlDk JGPo0M1OkaE6Gv8n4YwCmjvNfKgaFevPJdi5KQwOrmibl4UkqB+CgnqOLOc3dkyzn0ST pEvbYLJ0RraY1P/XZyIQsx5TsxQigbvcJ11HcMO38IOU+gn+/clY3e24lfEKPSEV7Ooq vCiM+QKW6FWjQnTDDNCqeoa8TRBAeoJDLgkgyPGlqOWf1uSWqdrgdg+9bksr2dGL+1cq VRYJ4V+Ch2+0j91NkJFG/kPX4EyYZaOXFKbd5GP0LeufgXmQF9PsIAHPs30nqnJ4aVAF 3PfQ== X-Gm-Message-State: APjAAAU07Et58RhKtiF8YJhBEB2Ji9SYns2isssGD//k/xZuW+JoLuaO OWlWXx0kzDIvJwI6gDVMKBf5mAXhaHU8iF060c2nWlJdA6Y= X-Google-Smtp-Source: APXvYqzxO3jwZ8qorLy1NuTqX7UFM2Y8ZnQDDROjXKr1UctJ4l934t0SMbiBsdQLgPqq+Ky8YATQqTi0ErwOrsgDZ0s= X-Received: by 2002:a37:6787:: with SMTP id b129mr2899053qkc.60.1568714986731; Tue, 17 Sep 2019 03:09:46 -0700 (PDT) MIME-Version: 1.0 References: <201909170530.x8H5UGxo012419@kx.truefc.org> <5E929415-319A-490D-AB9A-2F8259391B13@me.com> In-Reply-To: <5E929415-319A-490D-AB9A-2F8259391B13@me.com> From: Warner Losh Date: Tue, 17 Sep 2019 11:09:34 +0100 Message-ID: Subject: Re: r352368 can't boot To: Toomas Soome Cc: KIRIYAMA Kazuhiko , FreeBSD Current X-Rspamd-Queue-Id: 46Xf3w3t4Xz3Jx7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=KUAGkYLm; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::729) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-4.85 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[9.2.7.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]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[me.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.85)[ip: (-9.29), ipnet: 2607:f8b0::/32(-2.69), asn: 15169(-2.24), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Tue, 17 Sep 2019 10:09:49 -0000 On Tue, Sep 17, 2019, 6:47 AM Toomas Soome wrote: > > > > On 17 Sep 2019, at 08:30, KIRIYAMA Kazuhiko wrote: > > > > Hi,all > > > > Yesterday I've updated latest head (r352368) and rebuild > > 13.0-CURRENT. All went fine, but when I boot, it's stopped > > at boot stage. Then I typed `boot', booted normally and put > > login prompt and login go ahead. But `shutdown -r now', > > stopped at loader prompt same as login case. What happened? > > All I've done is whithin bhyve VM. > > > > > > > > Consoles: userboot > > > > FreeBSD/amd64 User boot, Revision 1.1 > > (Mon Jun 18 16:11:55 UTC 2018 root@releng3.nyi.freebsd.org) > > Loading /boot/defaults/loader.conf > > xemit not found > > Error while including /boot/frames.4th, in the line: > > h_el @ xemit > > > > can't load 'kernel' > > > > Type '?' for a list of commands, 'help' for more detailed help. > > OK > > > > This is unfortunate case where the guest image has more recent boot > scripts than hosts /boot/userboot.so has. I did push the fix for that issue > to stable/11 and stable/12. The patch does introduce xemit word. > > Such situation is unfortunate, but accident waiting to happen with this > method where we are attempting to use bootloader (userboot.so) from older > system to load guest vm. > Can we provide a fallback to xemit builtin for old systems without it? I believe we did this for other things as a transition. Forth has a way to do this, though we need to make sure we properly constrain what we pass to emit... Warner P.s. I'm at legoland this week, so I can't look at it for a bit. rgds, > toomas > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >