grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 3/3] Use UEFI MAC device as default configured by net_bootp6


From: Michael Chang
Subject: Re: [PATCH 3/3] Use UEFI MAC device as default configured by net_bootp6
Date: Fri, 17 Apr 2015 14:41:00 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Apr 16, 2015 at 10:58:19PM +0300, Andrei Borzenkov wrote:
> В Wed, 15 Apr 2015 17:05:09 +0800
> Michael Chang <address@hidden> пишет:
> 
> > The grub_efinet_findcards will register cards by checking if it can support 
> > EFI
> > Simple Netowork Protocol which create more than one device to a physical NIC
> > device.
> > 
> 
> Yes, indeed.
> 
>   /ACPI(a0341d0,0)/PCI(0,3)/MacAddr(52:54:00:12:34:56,1)/EndEntire
>   28be27e5-66cc-4a31-a315-db14c3744d85
>   fa3cde4c-87c2-427d-aede-7dd096c88c58
>   b95e9fda-26de-48d2-8807-1f9107ac5e3a
>   d9760ff3-3cca-4267-80f9-7527fafa4223
>   9fb9a8a1-2f4a-43a6-889c-d0f7b6c47ad5
>   66ed4721-3c98-4d3e-81e3-d03dd39a7254
>   ec20eb79-6c1a-4664-9a0d-d2e4cc16d664
>   00720665-67eb-4a99-baf7-d3c33a1c7cc9
>   937fe521-95ae-4d1a-8929-48bcd90ad31a
>   ec835dd3-fe0f-617b-a621-b350c3e13388
>   2fe800be-8f01-4aa6-946b-d71388e1833f
>   9d9a39d8-bd42-4a73-a4d5-8ee94be11380
>   83f01464-99bd-45e5-b383-af6305d8e9e6
>   c51711e7-b4bf-404a-bfb8-0a048ef1ffe4
>   3b95aa31-3793-434b-8667-c8070892e05e
>   f44c00ee-1f2c-4a00-aa09-1c9f3e0800a3
>   e4f61863-fe2c-4b56-a8f4-08519bc439df
>   f36ff770-a7e1-42cf-9ed2-56f0f271f44c (Managed Network Protocol)
>   9e23d768-d2f3-4366-9fc3-3a7aba864374 (VLAN Configuration Protocol)
>   device path
>   network
> 
>   
> /ACPI(a0341d0,0)/PCI(0,3)/MacAddr(52:54:00:12:34:56,1)/HardwareVendor(d79df6b0-ef44-43bd-9797-43e93bcf5fa8)[0:
>   ]/EndEntire HII configuration access
>   device path
> 
>   
> /ACPI(a0341d0,0)/PCI(0,3)/MacAddr(52:54:00:12:34:56,1)/HardwareVendor(d8944553-c4dd-41f4-9b30-e1397cfb267b)[0:
>   ]/EndEntire HII configuration access
>   device path
> 
>   
> /ACPI(a0341d0,0)/PCI(0,3)/MacAddr(52:54:00:12:34:56,1)/HardwareVendor(5bedb5cc-d830-4eb2-8742-2d4cc9b54f2c)[0:
>   ]/EndEntire HII configuration access
>   device path
> 
>   
> /ACPI(a0341d0,0)/PCI(0,3)/MacAddr(52:54:00:12:34:56,1)/IPv4(0.0.0.0,0.0.0.0,0,0,0,0)/EndEntire
>   network
>   pxe
>   load file
>   device path
> 
>   
> /ACPI(a0341d0,0)/PCI(0,3)/MacAddr(52:54:00:12:34:56,1)/IPv6(0:0:0:0:0:0:0:0,0:0:0:0:0:0:0:0,0,0,0,0)/EndEntire
>   network
>   pxe
>   load file
>   device path
> 
> 
> > If without specifying any device to be configured by net_bootp6, it should 
> > pick
> > up one from them but not all.
> 
> Right now I am not even able to netboot in QEMU. Booting from CD and
> attempting to read anything over net results in random failure.

Are you using OVMF from openSUSE Factory ? I was actually using it to
test and verify the UEFI netboot, it works for me without problem for
IPv4 and IPv6 network.

I didn't test by booting from CD but instead selecting UEFI PXE boot
from firmware and see if the menu comes up. To test net_boop6 I
intetionally made the boot failure and dropped in grub resce mode to run
the command to see if it can bring the interface up and enter normal
mode afterwards.

Could that make any difference here?

> 
> There are multiple reports of similar problem in EFI. One of possible
> explanations is that EFI drivers are active and steal some packets from
> GRUB.
> 
> There is patch suggested in bug report
> https://savannah.gnu.org/bugs/index.php?41731 but it currently crashes
> OVMF so I cannot test it. Also it effectively makes multiple efinet on
> single HW card useless anyway (it will open exclusively IPv4 instance
> thus blocking any access to MAC device using SNP).

Yes, I have to skip that patch to test IPv6 netboot, somehow it doesn't
work with it ...

> 
> So it looks like efinet needs redesign anyway.

Agreed, but I'm not dare to do that so that's why I created this
workaround patch.

Let me know should I continue carrying it in the patch set or not? In my
tests, without it somehow the net transfer stalls a lot due to multiple
efinet card instance is configured ...

Thanks,
Michael



reply via email to

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