grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Windows on ARM machines : UEFI bugs
@ 2016-08-23  9:32 my123 (@never_released)
  2016-08-23  9:39 ` my123 (@never_released)
  0 siblings, 1 reply; 11+ messages in thread
From: my123 (@never_released) @ 2016-08-23  9:32 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

On WoA(Windows on ARM) machines, ExitBootServices doesn't work, especially
on nVidia devices. What action should be taken?

 

(this is a part of the port of Linux to these machines, after neutralizing
Secure Boot)

 

Thanks,


[-- Attachment #2: Type: text/html, Size: 2345 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Windows on ARM machines : UEFI bugs
  2016-08-23  9:32 Windows on ARM machines : UEFI bugs my123 (@never_released)
@ 2016-08-23  9:39 ` my123 (@never_released)
  2016-08-23 10:09   ` Andrei Borzenkov
  0 siblings, 1 reply; 11+ messages in thread
From: my123 (@never_released) @ 2016-08-23  9:39 UTC (permalink / raw)
  To: 'The development of GNU GRUB'

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

Note that on the Surface RT, the first GOP handle is unusable, the search
for handles has to start at handle 1. This bug doesn’t affect other WoA
devices.

 

Daripada: Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org]
Bagi Pihak my123 (@never_released)
Hantar: mardi 23 août 2016 11:33
Kepada: grub-devel@gnu.org
Subjek: Windows on ARM machines : UEFI bugs

 

On WoA(Windows on ARM) machines, ExitBootServices doesn’t work, especially
on nVidia devices. What action should be taken?

 

(this is a part of the port of Linux to these machines, after neutralizing
Secure Boot)

 

Thanks,


[-- Attachment #2: Type: text/html, Size: 3755 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Windows on ARM machines : UEFI bugs
  2016-08-23  9:39 ` my123 (@never_released)
@ 2016-08-23 10:09   ` Andrei Borzenkov
  2016-08-23 10:24     ` my123 (@never_released)
  0 siblings, 1 reply; 11+ messages in thread
From: Andrei Borzenkov @ 2016-08-23 10:09 UTC (permalink / raw)
  To: The development of GNU GRUB

On Tue, Aug 23, 2016 at 12:39 PM, my123 (@never_released)
<mmediouni@gmx.fr> wrote:
> Note that on the Surface RT, the first GOP handle is unusable, the search
> for handles has to start at handle 1. This bug doesn’t affect other WoA
> devices.
>

Well, someone who has access to such devices needs to find out how to
detect this condition.

>
>
> On WoA(Windows on ARM) machines, ExitBootServices doesn’t work, especially
> on nVidia devices. What action should be taken?
>

Not sure I understand what you say. Could you elaborate on what you
are trying to do and what does not work? For booting Windows loader is
launched as EFI executable so no ExitBootServices happens.

>
>
> (this is a part of the port of Linux to these machines, after neutralizing
> Secure Boot)
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Windows on ARM machines : UEFI bugs
  2016-08-23 10:09   ` Andrei Borzenkov
@ 2016-08-23 10:24     ` my123 (@never_released)
  2016-08-23 10:28       ` Longhorn
  2016-08-23 11:10       ` Andrei Borzenkov
  0 siblings, 2 replies; 11+ messages in thread
From: my123 (@never_released) @ 2016-08-23 10:24 UTC (permalink / raw)
  To: 'The development of GNU GRUB'


It returns EFI_INVALID_PARAMETER and refuses to work here.
(I didn't try to reverse engineer how Windows does it, yet)
-----Mesej Asli-----
Daripada: Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] Bagi Pihak Andrei Borzenkov
Hantar: mardi 23 août 2016 12:09
Kepada: The development of GNU GRUB <grub-devel@gnu.org>
Subjek: Re: Windows on ARM machines : UEFI bugs

On Tue, Aug 23, 2016 at 12:39 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
> Note that on the Surface RT, the first GOP handle is unusable, th
> search for handles has to start at handle 1. This bug doesn’t affect 
> other WoA devices.
>

Well, someone who has access to such devices needs to find out how to detect this condition.

>
>
> On WoA(Windows on ARM) machines, ExitBootServices doesn’t work, 
> especially on nVidia devices. What action should be taken?
>

Not sure I understand what you say. Could you elaborate on what you are trying to do and what does not work? For booting Windows loader is launched as EFI executable so no ExitBootServices happens.

>
>
> (this is a part of the port of Linux to these machines, after 
> neutralizing Secure Boot)
>

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel



^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Windows on ARM machines : UEFI bugs
  2016-08-23 10:24     ` my123 (@never_released)
@ 2016-08-23 10:28       ` Longhorn
  2016-08-23 11:10       ` Andrei Borzenkov
  1 sibling, 0 replies; 11+ messages in thread
From: Longhorn @ 2016-08-23 10:28 UTC (permalink / raw)
  To: 'The development of GNU GRUB'

I have access to a Surface RT, and it doesn't affect other WoA devices with the same SoC. ConOut is also unusable on the Surface RT.

-----Message d'origine-----
De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] De la part de my123 (@never_released)
Envoyé : mardi 23 août 2016 12:24
À : 'The development of GNU GRUB' <grub-devel@gnu.org>
Objet : RE: Windows on ARM machines : UEFI bugs


It returns EFI_INVALID_PARAMETER and refuses to work here.
(I didn't try to reverse engineer how Windows does it, yet) -----Mesej Asli-----
Daripada: Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] Bagi Pihak Andrei Borzenkov
Hantar: mardi 23 août 2016 12:09
Kepada: The development of GNU GRUB <grub-devel@gnu.org>
Subjek: Re: Windows on ARM machines : UEFI bugs

On Tue, Aug 23, 2016 at 12:39 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
> Note that on the Surface RT, the first GOP handle is unusable, th 
> search for handles has to start at handle 1. This bug doesn’t affect 
> other WoA devices.
>

Well, someone who has access to such devices needs to find out how to detect this condition.

>
>
> On WoA(Windows on ARM) machines, ExitBootServices doesn’t work, 
> especially on nVidia devices. What action should be taken?
>

Not sure I understand what you say. Could you elaborate on what you are trying to do and what does not work? For booting Windows loader is launched as EFI executable so no ExitBootServices happens.

>
>
> (this is a part of the port of Linux to these machines, after 
> neutralizing Secure Boot)
>

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Windows on ARM machines : UEFI bugs
  2016-08-23 10:24     ` my123 (@never_released)
  2016-08-23 10:28       ` Longhorn
@ 2016-08-23 11:10       ` Andrei Borzenkov
  2016-08-23 11:18         ` Longhorn
  1 sibling, 1 reply; 11+ messages in thread
From: Andrei Borzenkov @ 2016-08-23 11:10 UTC (permalink / raw)
  To: The development of GNU GRUB

On Tue, Aug 23, 2016 at 1:24 PM, my123 (@never_released)
<mmediouni@gmx.fr> wrote:
>
> It returns EFI_INVALID_PARAMETER and refuses to work here.

What is "it"? What exactly are you doing?

> (I didn't try to reverse engineer how Windows does it, yet)
> -----Mesej Asli-----
> Daripada: Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] Bagi Pihak Andrei Borzenkov
> Hantar: mardi 23 août 2016 12:09
> Kepada: The development of GNU GRUB <grub-devel@gnu.org>
> Subjek: Re: Windows on ARM machines : UEFI bugs
>
> On Tue, Aug 23, 2016 at 12:39 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>> Note that on the Surface RT, the first GOP handle is unusable, th
>> search for handles has to start at handle 1. This bug doesn’t affect
>> other WoA devices.
>>
>
> Well, someone who has access to such devices needs to find out how to detect this condition.
>
>>
>>
>> On WoA(Windows on ARM) machines, ExitBootServices doesn’t work,
>> especially on nVidia devices. What action should be taken?
>>
>
> Not sure I understand what you say. Could you elaborate on what you are trying to do and what does not work? For booting Windows loader is launched as EFI executable so no ExitBootServices happens.
>
>>
>>
>> (this is a part of the port of Linux to these machines, after
>> neutralizing Secure Boot)
>>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Windows on ARM machines : UEFI bugs
  2016-08-23 11:10       ` Andrei Borzenkov
@ 2016-08-23 11:18         ` Longhorn
  2016-08-23 11:20           ` Andrei Borzenkov
  0 siblings, 1 reply; 11+ messages in thread
From: Longhorn @ 2016-08-23 11:18 UTC (permalink / raw)
  To: 'The development of GNU GRUB'

The call to ExitBootServices as done by Grub returns EFI_INVALID_PARAMETER from the firmware.

-----Message d'origine-----
De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] De la part de Andrei Borzenkov
Envoyé : mardi 23 août 2016 13:11
À : The development of GNU GRUB <grub-devel@gnu.org>
Objet : Re: Windows on ARM machines : UEFI bugs

On Tue, Aug 23, 2016 at 1:24 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>
> It returns EFI_INVALID_PARAMETER and refuses to work here.

What is "it"? What exactly are you doing?

> (I didn't try to reverse engineer how Windows does it, yet) -----Mesej 
> Asli-----
> Daripada: Grub-devel 
> [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] Bagi Pihak Andrei 
> Borzenkov
> Hantar: mardi 23 août 2016 12:09
> Kepada: The development of GNU GRUB <grub-devel@gnu.org>
> Subjek: Re: Windows on ARM machines : UEFI bugs
>
> On Tue, Aug 23, 2016 at 12:39 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>> Note that on the Surface RT, the first GOP handle is unusable, th 
>> search for handles has to start at handle 1. This bug doesn’t affect 
>> other WoA devices.
>>
>
> Well, someone who has access to such devices needs to find out how to detect this condition.
>
>>
>>
>> On WoA(Windows on ARM) machines, ExitBootServices doesn’t work, 
>> especially on nVidia devices. What action should be taken?
>>
>
> Not sure I understand what you say. Could you elaborate on what you are trying to do and what does not work? For booting Windows loader is launched as EFI executable so no ExitBootServices happens.
>
>>
>>
>> (this is a part of the port of Linux to these machines, after 
>> neutralizing Secure Boot)
>>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Windows on ARM machines : UEFI bugs
  2016-08-23 11:18         ` Longhorn
@ 2016-08-23 11:20           ` Andrei Borzenkov
  2016-08-23 11:21             ` Longhorn
  0 siblings, 1 reply; 11+ messages in thread
From: Andrei Borzenkov @ 2016-08-23 11:20 UTC (permalink / raw)
  To: The development of GNU GRUB

On Tue, Aug 23, 2016 at 2:18 PM, Longhorn <mmediouni@gmx.fr> wrote:
> The call to ExitBootServices as done by Grub returns EFI_INVALID_PARAMETER from the firmware.
>

grub has many different loaders. What exactly are you doing?

> -----Message d'origine-----
> De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] De la part de Andrei Borzenkov
> Envoyé : mardi 23 août 2016 13:11
> À : The development of GNU GRUB <grub-devel@gnu.org>
> Objet : Re: Windows on ARM machines : UEFI bugs
>
> On Tue, Aug 23, 2016 at 1:24 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>>
>> It returns EFI_INVALID_PARAMETER and refuses to work here.
>
> What is "it"? What exactly are you doing?
>
>> (I didn't try to reverse engineer how Windows does it, yet) -----Mesej
>> Asli-----
>> Daripada: Grub-devel
>> [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] Bagi Pihak Andrei
>> Borzenkov
>> Hantar: mardi 23 août 2016 12:09
>> Kepada: The development of GNU GRUB <grub-devel@gnu.org>
>> Subjek: Re: Windows on ARM machines : UEFI bugs
>>
>> On Tue, Aug 23, 2016 at 12:39 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>>> Note that on the Surface RT, the first GOP handle is unusable, th
>>> search for handles has to start at handle 1. This bug doesn’t affect
>>> other WoA devices.
>>>
>>
>> Well, someone who has access to such devices needs to find out how to detect this condition.
>>
>>>
>>>
>>> On WoA(Windows on ARM) machines, ExitBootServices doesn’t work,
>>> especially on nVidia devices. What action should be taken?
>>>
>>
>> Not sure I understand what you say. Could you elaborate on what you are trying to do and what does not work? For booting Windows loader is launched as EFI executable so no ExitBootServices happens.
>>
>>>
>>>
>>> (this is a part of the port of Linux to these machines, after
>>> neutralizing Secure Boot)
>>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Windows on ARM machines : UEFI bugs
  2016-08-23 11:20           ` Andrei Borzenkov
@ 2016-08-23 11:21             ` Longhorn
  2016-08-23 11:43               ` Andrei Borzenkov
  0 siblings, 1 reply; 11+ messages in thread
From: Longhorn @ 2016-08-23 11:21 UTC (permalink / raw)
  To: 'The development of GNU GRUB'

Load a Linux kernel on Grub for UEFI on ARM.

-----Message d'origine-----
De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] De la part de Andrei Borzenkov
Envoyé : mardi 23 août 2016 13:20
À : The development of GNU GRUB <grub-devel@gnu.org>
Objet : Re: Windows on ARM machines : UEFI bugs

On Tue, Aug 23, 2016 at 2:18 PM, Longhorn <mmediouni@gmx.fr> wrote:
> The call to ExitBootServices as done by Grub returns EFI_INVALID_PARAMETER from the firmware.
>

grub has many different loaders. What exactly are you doing?

> -----Message d'origine-----
> De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] 
> De la part de Andrei Borzenkov Envoyé : mardi 23 août 2016 13:11 À : 
> The development of GNU GRUB <grub-devel@gnu.org> Objet : Re: Windows 
> on ARM machines : UEFI bugs
>
> On Tue, Aug 23, 2016 at 1:24 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>>
>> It returns EFI_INVALID_PARAMETER and refuses to work here.
>
> What is "it"? What exactly are you doing?
>
>> (I didn't try to reverse engineer how Windows does it, yet) 
>> -----Mesej
>> Asli-----
>> Daripada: Grub-devel
>> [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] Bagi Pihak 
>> Andrei Borzenkov
>> Hantar: mardi 23 août 2016 12:09
>> Kepada: The development of GNU GRUB <grub-devel@gnu.org>
>> Subjek: Re: Windows on ARM machines : UEFI bugs
>>
>> On Tue, Aug 23, 2016 at 12:39 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>>> Note that on the Surface RT, the first GOP handle is unusable, th 
>>> search for handles has to start at handle 1. This bug doesn’t affect 
>>> other WoA devices.
>>>
>>
>> Well, someone who has access to such devices needs to find out how to detect this condition.
>>
>>>
>>>
>>> On WoA(Windows on ARM) machines, ExitBootServices doesn’t work, 
>>> especially on nVidia devices. What action should be taken?
>>>
>>
>> Not sure I understand what you say. Could you elaborate on what you are trying to do and what does not work? For booting Windows loader is launched as EFI executable so no ExitBootServices happens.
>>
>>>
>>>
>>> (this is a part of the port of Linux to these machines, after 
>>> neutralizing Secure Boot)
>>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Windows on ARM machines : UEFI bugs
  2016-08-23 11:21             ` Longhorn
@ 2016-08-23 11:43               ` Andrei Borzenkov
  2016-08-23 11:45                 ` Longhorn
  0 siblings, 1 reply; 11+ messages in thread
From: Andrei Borzenkov @ 2016-08-23 11:43 UTC (permalink / raw)
  To: The development of GNU GRUB

On Tue, Aug 23, 2016 at 2:21 PM, Longhorn <mmediouni@gmx.fr> wrote:
> Load a Linux kernel on Grub for UEFI on ARM.
>

In this case grub should retry ExitBootServices again. If
ExitBootServices always returns EFI_INVALID_PARAMETER, grub will retry
it indefinitely. Is it what you see? If not, *WHAT* do you see?


> -----Message d'origine-----
> De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] De la part de Andrei Borzenkov
> Envoyé : mardi 23 août 2016 13:20
> À : The development of GNU GRUB <grub-devel@gnu.org>
> Objet : Re: Windows on ARM machines : UEFI bugs
>
> On Tue, Aug 23, 2016 at 2:18 PM, Longhorn <mmediouni@gmx.fr> wrote:
>> The call to ExitBootServices as done by Grub returns EFI_INVALID_PARAMETER from the firmware.
>>
>
> grub has many different loaders. What exactly are you doing?
>
>> -----Message d'origine-----
>> De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org]
>> De la part de Andrei Borzenkov Envoyé : mardi 23 août 2016 13:11 À :
>> The development of GNU GRUB <grub-devel@gnu.org> Objet : Re: Windows
>> on ARM machines : UEFI bugs
>>
>> On Tue, Aug 23, 2016 at 1:24 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>>>
>>> It returns EFI_INVALID_PARAMETER and refuses to work here.
>>
>> What is "it"? What exactly are you doing?
>>
>>> (I didn't try to reverse engineer how Windows does it, yet)
>>> -----Mesej
>>> Asli-----
>>> Daripada: Grub-devel
>>> [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] Bagi Pihak
>>> Andrei Borzenkov
>>> Hantar: mardi 23 août 2016 12:09
>>> Kepada: The development of GNU GRUB <grub-devel@gnu.org>
>>> Subjek: Re: Windows on ARM machines : UEFI bugs
>>>
>>> On Tue, Aug 23, 2016 at 12:39 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>>>> Note that on the Surface RT, the first GOP handle is unusable, th
>>>> search for handles has to start at handle 1. This bug doesn’t affect
>>>> other WoA devices.
>>>>
>>>
>>> Well, someone who has access to such devices needs to find out how to detect this condition.
>>>
>>>>
>>>>
>>>> On WoA(Windows on ARM) machines, ExitBootServices doesn’t work,
>>>> especially on nVidia devices. What action should be taken?
>>>>
>>>
>>> Not sure I understand what you say. Could you elaborate on what you are trying to do and what does not work? For booting Windows loader is launched as EFI executable so no ExitBootServices happens.
>>>
>>>>
>>>>
>>>> (this is a part of the port of Linux to these machines, after
>>>> neutralizing Secure Boot)
>>>>
>>>
>>> _______________________________________________
>>> Grub-devel mailing list
>>> Grub-devel@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>>
>>>
>>> _______________________________________________
>>> Grub-devel mailing list
>>> Grub-devel@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: Windows on ARM machines : UEFI bugs
  2016-08-23 11:43               ` Andrei Borzenkov
@ 2016-08-23 11:45                 ` Longhorn
  0 siblings, 0 replies; 11+ messages in thread
From: Longhorn @ 2016-08-23 11:45 UTC (permalink / raw)
  To: 'The development of GNU GRUB'

Yes, I see an infinite ExitBootServices loop that prevents booting.

-----Message d'origine-----
De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] De la part de Andrei Borzenkov
Envoyé : mardi 23 août 2016 13:44
À : The development of GNU GRUB <grub-devel@gnu.org>
Objet : Re: Windows on ARM machines : UEFI bugs

On Tue, Aug 23, 2016 at 2:21 PM, Longhorn <mmediouni@gmx.fr> wrote:
> Load a Linux kernel on Grub for UEFI on ARM.
>

In this case grub should retry ExitBootServices again. If ExitBootServices always returns EFI_INVALID_PARAMETER, grub will retry it indefinitely. Is it what you see? If not, *WHAT* do you see?


> -----Message d'origine-----
> De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] 
> De la part de Andrei Borzenkov Envoyé : mardi 23 août 2016 13:20 À : 
> The development of GNU GRUB <grub-devel@gnu.org> Objet : Re: Windows 
> on ARM machines : UEFI bugs
>
> On Tue, Aug 23, 2016 at 2:18 PM, Longhorn <mmediouni@gmx.fr> wrote:
>> The call to ExitBootServices as done by Grub returns EFI_INVALID_PARAMETER from the firmware.
>>
>
> grub has many different loaders. What exactly are you doing?
>
>> -----Message d'origine-----
>> De : Grub-devel [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org]
>> De la part de Andrei Borzenkov Envoyé : mardi 23 août 2016 13:11 À :
>> The development of GNU GRUB <grub-devel@gnu.org> Objet : Re: Windows 
>> on ARM machines : UEFI bugs
>>
>> On Tue, Aug 23, 2016 at 1:24 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>>>
>>> It returns EFI_INVALID_PARAMETER and refuses to work here.
>>
>> What is "it"? What exactly are you doing?
>>
>>> (I didn't try to reverse engineer how Windows does it, yet) 
>>> -----Mesej
>>> Asli-----
>>> Daripada: Grub-devel
>>> [mailto:grub-devel-bounces+mmediouni=gmx.fr@gnu.org] Bagi Pihak 
>>> Andrei Borzenkov
>>> Hantar: mardi 23 août 2016 12:09
>>> Kepada: The development of GNU GRUB <grub-devel@gnu.org>
>>> Subjek: Re: Windows on ARM machines : UEFI bugs
>>>
>>> On Tue, Aug 23, 2016 at 12:39 PM, my123 (@never_released) <mmediouni@gmx.fr> wrote:
>>>> Note that on the Surface RT, the first GOP handle is unusable, th 
>>>> search for handles has to start at handle 1. This bug doesn’t 
>>>> affect other WoA devices.
>>>>
>>>
>>> Well, someone who has access to such devices needs to find out how to detect this condition.
>>>
>>>>
>>>>
>>>> On WoA(Windows on ARM) machines, ExitBootServices doesn’t work, 
>>>> especially on nVidia devices. What action should be taken?
>>>>
>>>
>>> Not sure I understand what you say. Could you elaborate on what you are trying to do and what does not work? For booting Windows loader is launched as EFI executable so no ExitBootServices happens.
>>>
>>>>
>>>>
>>>> (this is a part of the port of Linux to these machines, after 
>>>> neutralizing Secure Boot)
>>>>
>>>
>>> _______________________________________________
>>> Grub-devel mailing list
>>> Grub-devel@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>>
>>>
>>> _______________________________________________
>>> Grub-devel mailing list
>>> Grub-devel@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-08-23 11:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-23  9:32 Windows on ARM machines : UEFI bugs my123 (@never_released)
2016-08-23  9:39 ` my123 (@never_released)
2016-08-23 10:09   ` Andrei Borzenkov
2016-08-23 10:24     ` my123 (@never_released)
2016-08-23 10:28       ` Longhorn
2016-08-23 11:10       ` Andrei Borzenkov
2016-08-23 11:18         ` Longhorn
2016-08-23 11:20           ` Andrei Borzenkov
2016-08-23 11:21             ` Longhorn
2016-08-23 11:43               ` Andrei Borzenkov
2016-08-23 11:45                 ` Longhorn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).