[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #50518] GRUB iPXE UEFI -- sector sizes of 1 bytes aren't supported

From: Andrei Borzenkov
Subject: [bug #50518] GRUB iPXE UEFI -- sector sizes of 1 bytes aren't supported yet
Date: Sun, 12 Mar 2017 03:10:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/56.0.2924.76 Chrome/56.0.2924.76 Safari/537.36

Follow-up Comment #3, bug #50518 (project grub):

iXPE option ROM started to bind BlockIO protocol to network handles. This
causes GRUB to enumerate NIC as block device, so it skips network
(auto-)configuration. Later it fails because iPXE BlockIO does not match our

In case of QEMU you can work around it by either removing option ROMs entirely
or forcing to not use it:

-net user,tftp=/tmp/net,bootfile=/boot/grub/x86_64-efi/core.efi -device

You must use virtio-net-pci, because this is the only device OVMF has built-in
driver for.

For real hardware situation is bad indeed. 

BlockIO protocol is added as side effect of adding simple filesystem

commit fc87adb46c1395b09302085e9d15fcd8ab3c31fe
Author: Michael Brown <address@hidden>
Date:   Wed Mar 13 22:36:32 2013 +0000

    [efi] Expose downloaded images via EFI_SIMPLE_FILE_SYSTEM_PROTOCOL

And later

       /* Install the simple file system protocol, block I/O
         * protocol, and disk I/O protocol.  We don't have a block
         * device, but large parts of the EDK2 codebase make the
         * assumption that file systems are normally attached to block
         * devices, and so we create a dummy block device on the same
         * handle just to keep things looking normal.

I do not have immediate ideas how to fix it. Any heuristic to skip  such
devices has potential of breaking later (like skipping iSCSI volumes or


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]