bug-grub
[Top][All Lists]
Advanced

[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: Sat, 28 Jun 2014 18:26:18 +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

Follow-up Comment #1, bug #42631 (project grub):

Updated information:

In grub-core/net/bootp.c:grub_cmd_bootp() I believe that choice to return if
one of the network cards has an error could be improved by skipping that card,
but continue to attempt to use the other card(s).  But that is not my core
issue.

I was only using the net_bootp command in an attempt to force the network card
to be configured using the DHCP configured information that is residing
somewhere in EFI.

After more digging, I found
grub-core/net/drivers/efi/grub_efi_net_config_real() which is called from
grub_main()->grub_set_prefix_and_root()->grub_machine_get_bootlocation().

grub_efi_net_config_real() fails to configure the expected card when
grub_efi_open_protocol() fails.  grub_efi_open_protocol() fails because
efi_call_6() returns error code 3(GRUB_EFI_UNSUPPORTED).

Because of this the network card is not configured with an address, and
networking is not working.

However, the network interface does become configured at a random time (many
minutes) in the future, without any interaction by the user.  As stated
earlier, it doesn't appear to be initiated by DHCP traffic between the DHCP
server and the EFI firmware.

Any insight would be much appreciated.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42631>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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