[Top][All Lists]

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

Re: Ethernet Interface disappear after exit from grub command prompt

From: Andrei Borzenkov
Subject: Re: Ethernet Interface disappear after exit from grub command prompt
Date: Fri, 24 Feb 2017 08:21:33 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

23.02.2017 15:11, Wasim Khan пишет:
> Hi,
> I am working on a EDK2 based UEFI solution for arm64 architecture board. I am 
> trying Pxeboot to boot Linux from network.
> I am doing below steps:
> *         From UEFI boot Menu, select Pxeboot on a particular interface (say 
> eth0).
> *         After getting the grub.efi from network, select a menu entry from 
> grub menu.
> *         If a file corresponding to selected grub menu entry is not present 
> on tftp server, grub menu is displayed again.
> *         Now go to grub command prompt and run 'exit' command.
> *         I am coming back to UEFI boot menu, but if I go to UEFI SHELL, 
> interface eth0 is not visible in ifconfig command.
> Same behavior is observed on arm64 QEMU virtual machine UEFI firmware .
> Is it a bug in grub OR is it by design?


GRUB only supports Simple Network Protocol and expects it is the only
consumer of physical interface. Most moder systems default to Managed
Network Protocol stack where there are multiple consumers on top of
physical interface. It was found that in this configuration firmware
competes with grub for incoming packets resulting in connection failure.
So grub was modified to open physical interface exclusively, which
deactivated MNP stack.

This behavior fixed connection issues but caused other problems, like
the one you observed.

It is recognized and plans are to add MNP support to grub. Just needs
someone to actually code it :)

> Can someone help me understand the exit process, that why exit from grub 
> command prompt (after tftp fail) is making the interface down ?
> Thanks,
> Wasim
> _______________________________________________
> Help-grub mailing list
> address@hidden

reply via email to

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