bug-grub
[Top][All Lists]
Advanced

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

[bug #46540] configfile command after net_bootp fails with multiple NICs


From: Fabian Vogt
Subject: [bug #46540] configfile command after net_bootp fails with multiple NICs
Date: Thu, 26 Nov 2015 09:17:45 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2547.0 Safari/537.36 OPR/35.0.2052.0 (Edition developer)

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/




reply via email to

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