Re: VM images for 12.0-CURRENT showing checksum failed messages
On Wednesday, October 18, 2017 04:40:22 PM Glen Barber wrote: > 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). > > > > > > > > > > I think this started about 20170925. > > > > > > > > > > I have VirtualBox VM's running 10.4-STABLE, 11.1-STABLE and 12.0- > > > > > CURRENT. > > > > > > > > > > Only the 12.0-CURRENT image exhibits this behavior. > > > > > > > > > > This is easily fixed by "fsck -y /" in single-user mode during the > > > > > boot > > > > > process. > > > > > > > > > > I can test any updates at almost any time. > > > > > > > > I wonder if the tool creating the snapshot images wasn't updated to > > > > generate > > > > cg checksums when creating the initial filesystem. Glen, do you know > > > > which > > > > tool (makefs or something else?) is used to generate the UFS filesystem > > > > in VM images for snapshots? (In this case it appears to be a .vmdk > > > > image) > > > > > > > > > > mkimg(1) is used. > > > > Does makefs generate the UFS image fed into mkimg or does mkimg generate the > > UFS partition itself? > > > > 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. Hmm, so I suspect you are using an older kernel, but I wonder if you are also using an older newfs or a newer newfs? If the newfs is the same as as the running kernel, then this means that upgrading from a pre-cg-sum kernel to a cg-sum kernel will have similar issues. -- John Baldwin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: VM images for 12.0-CURRENT showing checksum failed messages
> Date: Wed, 18 Oct 2017 16:40:22 + > From: Glen Barber > To: John Baldwin > Cc: freebsd-current@freebsd.org, David Boyd , > "mckus...@mckusick.com" > Subject: Re: VM images for 12.0-CURRENT showing checksum failed messages > > 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). > > I think this started about 20170925. > > I have VirtualBox VM's running 10.4-STABLE, 11.1-STABLE and 12.0- > CURRENT. > > Only the 12.0-CURRENT image exhibits this behavior. > > This is easily fixed by "fsck -y /" in single-user mode during the boot > process. > > I can test any updates at almost any time. I wonder if the tool creating the snapshot images wasn't updated to generate cg checksums when creating the initial filesystem. Glen, do you know which tool (makefs or something else?) is used to generate the UFS filesystem in VM images for snapshots? (In this case it appears to be a .vmdk image) >>> >>> mkimg(1) is used. >> >> Does makefs generate the UFS image fed into mkimg or does mkimg generate the >> UFS partition itself? > > 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 Glen, Can you try running fsck on the md(4) disk after you do the unmount to see if it finds any problems (`fsck /dev/md0')? If that comes up clean (as it should), then I can investigate what it is about mkimg that causes problems. If fsck finds problems, then there is an issue in the base UFS infrastructure. Kirk McKusick ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: VM images for 12.0-CURRENT showing checksum failed messages
On Wed, Oct 18, 2017 at 10:40 AM, Glen Barber wrote: > 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). > > > > > > > > > > I think this started about 20170925. > > > > > > > > > > I have VirtualBox VM's running 10.4-STABLE, 11.1-STABLE and 12.0- > > > > > CURRENT. > > > > > > > > > > Only the 12.0-CURRENT image exhibits this behavior. > > > > > > > > > > This is easily fixed by "fsck -y /" in single-user mode during the > boot > > > > > process. > > > > > > > > > > I can test any updates at almost any time. > > > > > > > > I wonder if the tool creating the snapshot images wasn't updated to > generate > > > > cg checksums when creating the initial filesystem. Glen, do you > know which > > > > tool (makefs or something else?) is used to generate the UFS > filesystem > > > > in VM images for snapshots? (In this case it appears to be a .vmdk > image) > > > > > > > > > > mkimg(1) is used. > > > > Does makefs generate the UFS image fed into mkimg or does mkimg generate > the > > UFS partition itself? > > > > 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. > NanoBSD has moved to using makefs from a tree in the host + metadata information. That avoids the whole mdconfig issue. Might not be a bad idea for the release build if pkg src isn't going to solve that. Warner ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: VM images for 12.0-CURRENT showing checksum failed messages
On Wed, Oct 18, 2017 at 04:40:22PM +, Glen Barber wrote: > 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). > > > > > > > > > > I think this started about 20170925. > > > > > > > > > > I have VirtualBox VM's running 10.4-STABLE, 11.1-STABLE and 12.0- > > > > > CURRENT. > > > > > > > > > > Only the 12.0-CURRENT image exhibits this behavior. > > > > > > > > > > This is easily fixed by "fsck -y /" in single-user mode during the > > > > > boot > > > > > process. > > > > > > > > > > I can test any updates at almost any time. > > > > > > > > I wonder if the tool creating the snapshot images wasn't updated to > > > > generate > > > > cg checksums when creating the initial filesystem. Glen, do you know > > > > which > > > > tool (makefs or something else?) is used to generate the UFS filesystem > > > > in VM images for snapshots? (In this case it appears to be a .vmdk > > > > image) > > > > > > > > > > mkimg(1) is used. > > > > Does makefs generate the UFS image fed into mkimg or does mkimg generate the > > UFS partition itself? > > > > 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. > Following offline discussion, the issue appears to be the build machine kernel is older than the newly-built newfs(8). Glen signature.asc Description: PGP signature
Re: VM images for 12.0-CURRENT showing checksum failed messages
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). > > > > > > > > I think this started about 20170925. > > > > > > > > I have VirtualBox VM's running 10.4-STABLE, 11.1-STABLE and 12.0- > > > > CURRENT. > > > > > > > > Only the 12.0-CURRENT image exhibits this behavior. > > > > > > > > This is easily fixed by "fsck -y /" in single-user mode during the boot > > > > process. > > > > > > > > I can test any updates at almost any time. > > > > > > I wonder if the tool creating the snapshot images wasn't updated to > > > generate > > > cg checksums when creating the initial filesystem. Glen, do you know > > > which > > > tool (makefs or something else?) is used to generate the UFS filesystem > > > in VM images for snapshots? (In this case it appears to be a .vmdk image) > > > > > > > mkimg(1) is used. > > Does makefs generate the UFS image fed into mkimg or does mkimg generate the > UFS partition itself? > 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 signature.asc Description: PGP signature
Re: VM images for 12.0-CURRENT showing checksum failed messages
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). > > > > > > I think this started about 20170925. > > > > > > I have VirtualBox VM's running 10.4-STABLE, 11.1-STABLE and 12.0- > > > CURRENT. > > > > > > Only the 12.0-CURRENT image exhibits this behavior. > > > > > > This is easily fixed by "fsck -y /" in single-user mode during the boot > > > process. > > > > > > I can test any updates at almost any time. > > > > I wonder if the tool creating the snapshot images wasn't updated to generate > > cg checksums when creating the initial filesystem. Glen, do you know which > > tool (makefs or something else?) is used to generate the UFS filesystem > > in VM images for snapshots? (In this case it appears to be a .vmdk image) > > > > mkimg(1) is used. Does makefs generate the UFS image fed into mkimg or does mkimg generate the UFS partition itself? -- John Baldwin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: VM images for 12.0-CURRENT showing checksum failed messages
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). > > > > I think this started about 20170925. > > > > I have VirtualBox VM's running 10.4-STABLE, 11.1-STABLE and 12.0- > > CURRENT. > > > > Only the 12.0-CURRENT image exhibits this behavior. > > > > This is easily fixed by "fsck -y /" in single-user mode during the boot > > process. > > > > I can test any updates at almost any time. > > I wonder if the tool creating the snapshot images wasn't updated to generate > cg checksums when creating the initial filesystem. Glen, do you know which > tool (makefs or something else?) is used to generate the UFS filesystem > in VM images for snapshots? (In this case it appears to be a .vmdk image) > mkimg(1) is used. Glen signature.asc Description: PGP signature
Re: VM images for 12.0-CURRENT showing checksum failed messages
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). > > I think this started about 20170925. > > I have VirtualBox VM's running 10.4-STABLE, 11.1-STABLE and 12.0- > CURRENT. > > Only the 12.0-CURRENT image exhibits this behavior. > > This is easily fixed by "fsck -y /" in single-user mode during the boot > process. > > I can test any updates at almost any time. I wonder if the tool creating the snapshot images wasn't updated to generate cg checksums when creating the initial filesystem. Glen, do you know which tool (makefs or something else?) is used to generate the UFS filesystem in VM images for snapshots? (In this case it appears to be a .vmdk image) -- John Baldwin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"