URL:
  <http://savannah.gnu.org/bugs/?46540>

                 Summary: configfile command after net_bootp fails with
multiple NICs
                 Project: GNU GRUB
            Submitted by: fvogt
            Submitted on: Do 26 Nov 2015 09:17:45 GMT
                Category: Network
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Git master
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

GRUB2 is loaded over EFI network boot.
It has an embedded/early config (simplified):

set net_default_server=10.161.0.100
net_bootp
echo "Loading config..."
configfile /uEFI/grub.cfg

With a single NIC, this works as expected,
but with multiple NICs, when only one is connected and can get a reply,
net_bootp prints a warning (expected), the configfile command has no effect
and grub shows the usual fallback prompt.

The message "Loading config..." is always visible.
A workaround is to add "while(grub_error_pop()){};" at the end of
grub_cmd_bootp in grub-code/net/bootp.c.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to