From owner-freebsd-current@freebsd.org Sun Aug 19 15:47:19 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 85457106D3BD for ; Sun, 19 Aug 2018 15:47:19 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 24B9C7C490; Sun, 19 Aug 2018 15:47:19 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from ler-imac.local (unknown [IPv6:2600:1700:210:b18f:1840:43d6:4770:35e0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: ler/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id BA7F419F2F; Sun, 19 Aug 2018 15:47:18 +0000 (UTC) (envelope-from ler@FreeBSD.org) Date: Sun, 19 Aug 2018 10:47:17 -0500 From: Larry Rosenman To: Warner Losh Cc: FreeBSD Current Subject: Re: LUA loader: bhyve now doesn't? Message-ID: <20180819154717.z5bztzo6r5vly5ha@ler-imac.local> Mail-Followup-To: Warner Losh , FreeBSD Current References: <20180819152253.bbcrefdvynl7y5ka@ler-imac.local> <20180819153526.7ruovrpmdsimkmfj@ler-imac.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gigg5ztclixougdn" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Sun, 19 Aug 2018 15:47:19 -0000 --gigg5ztclixougdn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 19, 2018 at 09:42:05AM -0600, Warner Losh wrote: > On Sun, Aug 19, 2018 at 9:35 AM, Larry Rosenman wrote: >=20 > > On Sun, Aug 19, 2018 at 09:33:18AM -0600, Warner Losh wrote: > > > On Sun, Aug 19, 2018 at 9:22 AM, Larry Rosenman wro= te: > > > > > > > With today's change to LUA as the loader, I seem to have an issue w= ith > > > > bhyhve: > > > > > > > > Consoles: userboot > > > > > > > > FreeBSD/amd64 User boot, Revision 1.1 > > > > (Thu Nov 16 15:04:02 CST 2017 root@borg.lerctr.org) > > > > Startup error in /boot/lua/loader.lua: > > > > LUA ERROR: cannot open /boot/lua/loader.lua: no such file or direct= ory. > > > > > > > > /boot/kernel/kernel text=3D0x1063d88 data=3D0x12e930+0x283970 > > > > syms=3D[0x8+0x14cf28+0x8+0x163e57] > > > > Hit [Enter] to boot immediately, or any other key for command promp= t. > > > > Booting [/boot/kernel/kernel]... > > > > > > > > These VM's have been running for MONTHS. > > > > > > > > Ideas? > > > > > > > > > > There's no boot/lua/loader.lua. > > > > > > You can either fix that, or you can recompile with > > > LOADER_DEFAULT_INTERP=3D4th for the moment. > > actually on the host there is: > > borg.lerctr.org /home/ler $ ls -l /boot/lua/ > > total 131 > > -r--r--r-- 1 root wheel 3895 Aug 19 09:46 cli.lua > > -r--r--r-- 1 root wheel 3204 Aug 19 09:46 color.lua > > -r--r--r-- 1 root wheel 14024 Aug 19 09:46 config.lua > > -r--r--r-- 1 root wheel 10302 Aug 19 09:46 core.lua > > -r--r--r-- 1 root wheel 9986 Aug 19 09:46 drawer.lua > > -r--r--r-- 1 root wheel 3324 Aug 19 09:46 hook.lua > > -r--r--r-- 1 root wheel 2543 Aug 19 09:46 loader.lua > > -r--r--r-- 1 root wheel 2431 Aug 19 09:46 logo-beastie.lua > > -r--r--r-- 1 root wheel 2203 Aug 19 09:46 logo-beastiebw.lua > > -r--r--r-- 1 root wheel 1958 Aug 19 09:46 logo-fbsdbw.lua > > -r--r--r-- 1 root wheel 2399 Aug 19 09:46 logo-orb.lua > > -r--r--r-- 1 root wheel 2119 Aug 19 09:46 logo-orbbw.lua > > -r--r--r-- 1 root wheel 12010 Aug 19 09:46 menu.lua > > -r--r--r-- 1 root wheel 3941 Aug 19 09:46 password.lua > > -r--r--r-- 1 root wheel 2381 Aug 19 09:46 screen.lua > > borg.lerctr.org /home/ler $ > > > > This is when booting the vm, and it's not on the vm's disk. > > > > So the bhyveload behavior *CHANGED*. > > > > POLA? > > >=20 > Unlikely, but a couple of questions. Have you always used the LUA loader, > or is this a change with the recent default switch? I've *NEVER* used the lua loader until today's default change. >=20 > And to be clear, you expect the host's file to be used for this, not the = VM > filesystem? No, but apparently /boot/userboot.so (from the host?) DOES expect the VM's disk to have lua now.=20 >=20 > I'll look into this later today. Thanks. >=20 > Warner > _______________________________________________ > 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" --=20 Larry Rosenman https://people.FreeBSD.org/~ler/ Phone: +1 214-642-9640 E-Mail: ler@FreeBSD.org US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 --gigg5ztclixougdn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHBBAABCgCrFiEEHjgknedhWzvJgwVzaXyZsatIp30FAlt5kQUtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3JnbGVyQEZyZWVCU0Qub3JnXxSAAAAAAC4AKGlz c3Vlci1mcHJAbm90YXRpb25zLm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxRTM4 MjQ5REU3NjE1QjNCQzk4MzA1NzM2OTdDOTlCMUFCNDhBNzdEAAoJEGl8mbGrSKd9 348H/1x0C5zkGfUfEBJWUdS1xJ2RBTsWVewl2DimcUNerkfJ3HyO3+EPakt1sHzN VRbwhIOWfiifShP7F5VxycNoKOjMfmwxGk9K/O3sNpK6VhwRE+NUhGMBnuIcF7kQ Watxqe/5Y5z3pK9WVSfO68IJOfxV7XzcuA5qlJ2Z7DtHqndZ2C5NXXPd1J6e2Ad7 4dpKvEeLW0HERfVE06hqySCXXMXLX9dcwNG8Uu1ZPWo10lsiToYdBfgHhAc7I9Rs NH0426xkvXoSyGkXbMYcdCxHI/P/JDTyB9ijE7VguBNY5zoj2hTGgD5B+Mo5fvVv cwtK5Rf+oE2zeQqD4HXzaDzDtmA= =VPoa -----END PGP SIGNATURE----- --gigg5ztclixougdn--