I just uploaded new efi{var,bootmgr} packages with these patches.

On Sat, Oct 11, 2014 at 02:30:21AM -0500, Michael Tokarev wrote:
Package: efibootmgr
Version: 0.9.0-1
Severity: serious

32bit version (i386 package) of efibootmgr has several bugs which makes
it unusable at least with large (>2TiB) drives.  Yesterday we had a
long debugging session with Peter Jones on IRC, which resulted in the
following 3 patches:

http://paste.fedoraproject.org/141063/29722481/
http://paste.fedoraproject.org/141085/41297720/

To sum it: using wrong (32bit) data type in partition/drive size calculation,
not using BLKGETSIZE64 on kernels with 2-component version numbers (so 32bit
version of ioctl is used which is unsuitable for large drives), and inventing
own ioctl macros which makes kernel 32/64bit compat layer unhappy (so that
BLKGETSIZE64 from 32bit app running under 64bit kernel returns ENOTTY), which
again making efibootmgr to use 32bit number for drive sizes.

The result of these bugs is inability of efibootmgr to install boot entry
for a large (>2TiB) drive, making the system unbootable.

These fixes should be in the next upstream version of efibootmgr, please
package it once it's released to fix 32bit efibootmgr.  And please don't
forget to make it multi-arch-aware while at it ;)

Thanks,

/mjt

--
Jared Domínguez
Server OS Engineering
Dell | Enterprise Solutions Group


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to