Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2015 22:11:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197881] [PATCH] boot1.efi UEFI system table corruption
Message-ID:  <bug-197881-8-AG6ewLoAwO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197881-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197881-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197881

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: emaste
Date: Tue Feb 24 22:11:08 UTC 2015
New revision: 279254
URL: https://svnweb.freebsd.org/changeset/base/279254

Log:
  MFC part of r273865: fix boot1.efi for block size != 512

  r273865 is part of the work for supporting 4Kn drives, but it turns out
  the underlying bug can actually cause corruption of the UEFI system
  table in any case where block size is not 512.

  Relevant portion of the original commit message:

    convert boot1.efi to corrrectly calculate the lba for what the
    media reports and convert the size based on what FreeBSD uses.
    existing code would use the 512 byte lba and convert the
    using 4K byte size.

  PR:        197881
  Reviewed by:    Chris Ruffin

Changes:
  stable/10/sys/boot/amd64/boot1.efi/boot1.c

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197881-8-AG6ewLoAwO>