From owner-freebsd-current@freebsd.org Wed Oct 18 16:40:25 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68588E3DEA4 for ; Wed, 18 Oct 2017 16:40:25 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44ADA67D; Wed, 18 Oct 2017 16:40:25 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 56F792446; Wed, 18 Oct 2017 16:40:24 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Wed, 18 Oct 2017 16:40:22 +0000 From: Glen Barber To: John Baldwin Cc: freebsd-current@freebsd.org, David Boyd , "mckusick@mckusick.com" Subject: Re: VM images for 12.0-CURRENT showing checksum failed messages Message-ID: <20171018164022.GT55623@FreeBSD.org> References: <1508255864.5659.3.camel@twc.com> <2094438.bITRq4LixK@ralph.baldwin.cx> <20171018150155.GA28174@FreeBSD.org> <1740653.LGy8gQVNSR@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MI2pJyvBeFc4alSb" Content-Disposition: inline In-Reply-To: <1740653.LGy8gQVNSR@ralph.baldwin.cx> User-Agent: Mutt/1.8.2 (2017-04-18) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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, 18 Oct 2017 16:40:25 -0000 --MI2pJyvBeFc4alSb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 18, 2017 at 09:28:40AM -0700, John Baldwin wrote: > On Wednesday, October 18, 2017 03:01:55 PM Glen Barber wrote: > > On Wed, Oct 18, 2017 at 07:49:00AM -0700, John Baldwin wrote: > > > On Tuesday, October 17, 2017 11:57:44 AM David Boyd wrote: > > > > The FreeBSD-12.0-CURRENT-amd64-20171012-r324542.vmdk image displays > > > > many checksum failed messages when booted. (see attachment). > > > >=20 > > > > I think this started about 20170925. > > > >=20 > > > > I have VirtualBox VM's running 10.4-STABLE, 11.1-STABLE and 12.0- > > > > CURRENT. > > > >=20 > > > > Only the 12.0-CURRENT image exhibits this behavior. > > > >=20 > > > > This is easily fixed by "fsck -y /" in single-user mode during the = boot > > > > process. > > > >=20 > > > > I can test any updates at almost any time. > > >=20 > > > I wonder if the tool creating the snapshot images wasn't updated to g= enerate > > > cg checksums when creating the initial filesystem. Glen, do you know= which > > > tool (makefs or something else?) is used to generate the UFS filesyst= em > > > in VM images for snapshots? (In this case it appears to be a .vmdk i= mage) > > >=20 > >=20 > > mkimg(1) is used. >=20 > Does makefs generate the UFS image fed into mkimg or does mkimg generate = the > UFS partition itself? >=20 Sorry, I may have understated a bit. First, mdconfig(8) is used to create a md(4)-backed disk, onto which newfs(8) is run, followed by the installworld/installkernel targets. Next, mkimg(1) is used to feed the resultant md(4)-based .img filesystem (after umount(8)) to create the final output image. Glen --MI2pJyvBeFc4alSb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEVVuz/A7vpH93hEhKuWzd6q+LXtAFAlnng/EACgkQuWzd6q+L XtCr6w/+N42fm6CoKraq7ZNN2M7jx5/zNLg8PxU097IPSu+9wTr3ZXdb1iroVBF6 qr5sag/c48jvJjv/t16Ffsr2jGDaDZhNMnEImq9TqkEXCE0wVhfpAWlRwqXItNpn pZpVS0dXFbSUaMnLb1t/0S3I+4mIE0LaEK1rZP4vgr7A71jmbx/usL3S3+BHwSHo 8vpjEzT+TcJ0fx8Uq/fBVUjXl03INmRysssrfWXH2aShf3DdzOrC5i1+uyRoOofd 2cppFHM9YEdq3QjNa4u9H08ZZcG20Gow3ezrueDSdvp6atvU8r+36zakfnQJ/PJ6 8LlkgIORKUk4LdxM4s29Dy1ScTXWs2EsYfg/wPXU3HvCqiOJAixn3EyCs5Exqr6M XUdF2ZCa1rgZ8qPjPrMtc4tjWkRJnG8cdEQwyH3UnWz4jR/YOsXDSi6+g+uHIt4N r8PYp+cFaagKjONMbTDhn85BMg/s/wleHYgNNr9Quq3WDWwoTVonVj5YrwBHkrkW JQHt3cu5CelV0mgl5sbPM8FYq6xrRDLVdORKX93UL1DcgrSUS1ofxuH5zyeqeBQH jt3QYA0HQuMs404NpHsy0kFzbwcW5kHnx00VMyVfLBDCcpyPO1GYok4hs0vy9cjM 2P0XjxO199LSpX6tu3/Fh9d4NH6we27rx4e/wR3KqQfiYQlysI8= =XV86 -----END PGP SIGNATURE----- --MI2pJyvBeFc4alSb--