From owner-svn-src-user@FreeBSD.ORG Wed Jun 20 12:55:20 2012 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C4CC106566B; Wed, 20 Jun 2012 12:55:20 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mail.kirov.so-ups.ru (ns.kirov.so-ups.ru [178.74.170.1]) by mx1.freebsd.org (Postfix) with ESMTP id 01F008FC1F; Wed, 20 Jun 2012 12:55:20 +0000 (UTC) Received: from kas30pipe.localhost (localhost.kirov.so-ups.ru [127.0.0.1]) by mail.kirov.so-ups.ru (Postfix) with SMTP id DC17DB8026; Wed, 20 Jun 2012 16:55:18 +0400 (MSK) Received: from kirov.so-ups.ru (unknown [172.21.81.1]) by mail.kirov.so-ups.ru (Postfix) with ESMTP id D64D8B8024; Wed, 20 Jun 2012 16:55:18 +0400 (MSK) Received: by ns.kirov.so-ups.ru (Postfix, from userid 1010) id CE48DBA04D; Wed, 20 Jun 2012 16:55:18 +0400 (MSK) Received: from [127.0.0.1] (unknown [10.118.3.52]) by ns.kirov.so-ups.ru (Postfix) with ESMTP id 98230BA03F; Wed, 20 Jun 2012 16:55:18 +0400 (MSK) Message-ID: <4FE1C832.7000805@FreeBSD.org> Date: Wed, 20 Jun 2012 16:55:14 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: John Baldwin References: <201206200829.q5K8TPcK028907@svn.freebsd.org> <201206200744.57808.jhb@freebsd.org> In-Reply-To: <201206200744.57808.jhb@freebsd.org> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig77C56D2D75F794C3D5B406AE" X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Info: Not protected Cc: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: Re: svn commit: r237294 - user/ae/bootcode/sys/boot/i386/pmbr X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 12:55:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig77C56D2D75F794C3D5B406AE Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 20.06.2012 15:44, John Baldwin wrote: >> Add one partition record to the PMBR image. It covers all space afte= r >> the LBA 0. It is better to have one partially correct record, than >> have nothing. >=20 > This latter part is not true. :( >=20 > boot1 has a hardcoded partition in it (for use in dangerously dedicated= mode). > This has a mixed history. At one point the table entry it used caused = certain > SCSI BIOSes to crash due to a divide by zero (the SCSI BIOS read the MB= R to=20 > try to guess what C/H/S geometry the rest of the system was expecting).= I=20 > think having a hardcoded entry here can only really result in problems.= I=20 > would rather you add some sort of 'restore' functionality to gpart that= =20 > allowed it to build a PMBR 'from scratch' with a proper partition entry= than=20 > to resort to this hack. AFAIK, DD mode is not supported now. As another solution we can remove checking for PMBR partition type existe= nce when detecting GPT (like the kernel does). --=20 WBR, Andrey V. Elsukov --------------enig77C56D2D75F794C3D5B406AE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJP4cg2AAoJEAHF6gQQyKF6abUH/RKp1q4gan+iOtmdHlepPgO6 IpqUy/VG2Q2DZlqckT5beQYTW9QYa19NeoxSfVwpCMdQRpHssKN5uE/NAhsWUF1F Zr534VohXONjgAIFhYGxduI3DpiFHFONaaNqTWo7d9eQR1m9LnCqI9GMzEC/9J7z CgsJNS7p8RkjS3e5kdXBhSNtKzTImKbJXuPMNBjab7nJ6vtrzvTMUL5FYyQeICy1 495DwyaqNf01zjGUUaGkAfl6H1+bfwnynjMrXcGQP6UuPpB84XqrxFwk1DS2wp44 EfZVU08w+I/uVZu/SrHEyoI+rselDqu3n2syQX/o5FHi3nwymCUeK8LKBn8nqpc= =WBuk -----END PGP SIGNATURE----- --------------enig77C56D2D75F794C3D5B406AE--