[Top][All Lists]

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

[bug #42631] 64bit EFI net_bootp fails to configure network

From: Curtis Larsen
Subject: [bug #42631] 64bit EFI net_bootp fails to configure network
Date: Fri, 27 Jun 2014 03:54:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36


                 Summary: 64bit EFI net_bootp fails to configure network
                 Project: GNU GRUB
            Submitted by: fractal13
            Submitted on: Fri 27 Jun 2014 03:54:37 AM GMT
                Category: Network
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: fractal13
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Git master
         Reproducibility: Intermittent
         Planned Release: None



I'm sending grub64.efi to two different apple iMacs (iMac11,2 and iMac14,1)
via DHCP/BOOTP/TFTP configured to speak Apple's Netboot.

grub64.efi is built with "grub-mkimage -O x86_64-efi" and includes a whole
slew of modules including efi_gop, efi_uga, efinet, net, and tftp.

At power-up the iMac is sent to Apple's boot menu by holding the "Option" key.
 Monitoring of the DHCP/BOOTP server shows that the machine requests and is
given DHCP configuration, as well as Netboot options.

In Apple's boot menu, the GRUB option is selected.  Monitoring of the TFTP
server shows that the grub64.efi file is transferred as expected.

GRUB runs on the iMac and presents the shell from normal mode.

So far, so good.

At the grub> prompt run net_bootp, and "error: couldn't send network packet."
is displayed.  net_ls_addr now shows both network cards (wired and wireless)
with dhcp_tmp and temporary.  (DHCP server is configured with 5 minute
leases.)  I know the iMac still has the lease, as the DHCP server shows the
REQUEST/ACK of renews, and net_ls_addr still shows temporary.

Then, at some magically determined point, many minutes later, net_ls_addr
shows that the network has been configured.  I've watched the DHCP REQUEST/ACK
renewals and they are not responsible for the network configuration.

I've traced the error message to
grub-core/net/drivers/efi/efinet.c:send_card_buffer.  The error is caught at
the end of the function.  I inserted some debugging printfs to see that the
error code is 7 (GRUB_EFI_DEVICE_ERROR).

I'd be very happy to work with someone to debug and fix this issue.

Thanks for the great software.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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