Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2009 19:20:03 GMT
From:      Jeff Kletsky <jeff+freebsd@wagsky.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/115406: [patch] gpt(8) GPT MBR hangs award BIOS on boot
Message-ID:  <200907091920.n69JK3sX029876@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/115406; it has been noted by GNATS.

From: Jeff Kletsky <jeff+freebsd@wagsky.com>
To: bug-followup@FreeBSD.org, kent@khauser.net
Cc:  
Subject: Re: bin/115406: [patch] gpt(8) GPT MBR hangs award BIOS on boot
Date: Thu, 09 Jul 2009 11:55:01 -0700

 Apparently still present in 7.2 -- *may* be the cause of BIOS 
 "destruction" on Intel D945GCLF2 boards.
 
  From /usr/src/sys/geom/part/g_part_gpt.c
 
         le16enc(table->mbr + DOSMAGICOFFSET, DOSMAGIC);
         table->mbr[DOSPARTOFF + 1] = 0xff;              /* shd */
         table->mbr[DOSPARTOFF + 2] = 0xff;              /* ssect */
         table->mbr[DOSPARTOFF + 3] = 0xff;              /* scyl */
         table->mbr[DOSPARTOFF + 4] = 0xee;              /* typ */
         table->mbr[DOSPARTOFF + 5] = 0xff;              /* ehd */
         table->mbr[DOSPARTOFF + 6] = 0xff;              /* esect */
         table->mbr[DOSPARTOFF + 7] = 0xff;              /* ecyl */
         le32enc(table->mbr + DOSPARTOFF + 8, 1);        /* start */
         le32enc(table->mbr + DOSPARTOFF + 12, MIN(last, 0xffffffffLL));
 



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