FreeBSD 8 i386 gptboot corrupt

Alfred Bartsch bartsch at dssgmbh.de
Wed May 9 09:40:01 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
after migrating some of our older servers to FeeBSD 8.3-stable
(cvsupped May 4th), they don't boot anymore after installing the new
boot blocks with gpart.
These servers either boot in an endless loop or stop in BTX loader,
due to different hardware environments.

This behavior is restricted to 32-bit servers (i386), all 64-bit
servers (amd64) work without any problem, as expected.

After some analyzing, it seems to me that the actual size of gptboot
does matter (16723 bytes, >16kB). In amd64 environment (same source
version) the actual size of /boot/gptboot is only 15443 bytes.

Since there is only one single Makefile for both architectures
(/sys/boot/i386/gptboot/Makefile), some recent changes of CFLAGS seem
to be responsible for this (Version 1.62 does work, Version 1.62.6.4
does not).

Is there any advice available to solve this (compiler) problem, or is
at last /sbin/gpart the culprit?
- -- 
Kind regards
Alfred Bartsch
Data-Service GmbH
mailto:bartsch at dssgmbh.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+qORIACgkQ5QGe2JdVf3jK9wCglOGPKHMuPfUr8YUU2N8Mw1++
NuIAoLQhibZk+PIHGc1/ql0nHkUx3qO2
=z29F
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list