Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jun 2013 05:01:00 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        gjb@FreeBSD.org
Cc:        freebsd-current@FreeBSD.org, jimmy.kelley@charter.net
Subject:   Re: 10-CURRENT i386 memstick snapshots broken?
Message-ID:  <20130609.050100.598816322573845734.hrs@allbsd.org>
In-Reply-To: <20130608173411.GD13292@glenbarber.us>
References:  <20130607205129.GA1103@jmobile.jimmy.net> <20130607212256.GG38117@glenbarber.us> <20130608173411.GD13292@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sun_Jun__9_05_01_00_2013_556)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Glen Barber <gjb@freebsd.org> wrote
  in <20130608173411.GD13292@glenbarber.us>:

gj> On Fri, Jun 07, 2013 at 05:22:56PM -0400, Glen Barber wrote:

gj> Because the userland is 32-bit and the kernel is 64-bit, "something"
gj> goes wrong, but interestingly not wrong enough that the script fails
gj> entirely.  So, the paritions appear to be created, but in reality, they
gj> are not.
gj>
gj> So, for the snapshots case, the solution is to write the memstick image
gj> from outside of the chroot environment, which is easy to do because
gj> I already do this for creating the VM disk images (interestingly for the
gj> same reason as the memstick creation failure).

 I do not think there is a problem with cross building in chroot.
 allbsd.org is also generating i386 snapshots on an amd64 box in
 almost the same way as generate-release.sh, but the memstick images
 already generated were not broken as far as I can check.  Although I
 do not use generate-release.sh on it because I added another build
 world stage in chroot before cross compiling, the difference is
 small.

 What was exactly gone wrong in 32-bit binary on 64-bit kernel?

-- Hiroki

----Security_Multipart(Sun_Jun__9_05_01_00_2013_556)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)

iEYEABECAAYFAlGzjXwACgkQTyzT2CeTzy3I2wCeN+lHtZfOb2rWYYHoPuQHcUgL
YyAAn0irwGX433DrQpNhGuVlam8t8WcB
=uDD/
-----END PGP SIGNATURE-----

----Security_Multipart(Sun_Jun__9_05_01_00_2013_556)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130609.050100.598816322573845734.hrs>