public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* EFI boot manager fail-over behavior question
@ 2003-08-14  0:09 Stephane Eranian
  2003-08-14  1:28 ` Tolentino, Matthew E
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephane Eranian @ 2003-08-14  0:09 UTC (permalink / raw)
  To: linux-ia64

Hi,

I am trying to verify the behavior of the EFI boot manager described
in the EFI specific (Chapter 3). It is said that if a boot option
executes and returns with an error code different from EFI_SUCCESS, the
boot manager will pick the next option in the boot order and execute
it. This goes on until the boot manager runs out of options, a nice
built in fail-over mechanism.

I wanted to verify this behavior for elilo. I have the following
order:

EFI Boot Manager ver 1.10 [14.61]  Firmware ver 2.00 [4318]

Please select a boot option

    EFI Shell [Built-in]                                            
    netboot                                                         
    Debian GNU/Linux                                                
    Boot Option Maintenance Menu                                    
    System Configuration Menu                                       

Then I select netboot, and make elilo fail. It exists with EFI_LOAD_ERROR.
The correct return value is produced by elilo because I get:

ELILO boot: sdklfjasdflkasj
elilo.c(line 70):Kernel file  not found sdklfjasdflkasj
Start of netboot failed: Load Error
Paused - press any key to continue 

Then I press a key and I go back to the menu, the next option (Debian)
is not triggered. 

My guess is that because it is waiting for me to press a key, it assumes
interactive mode, therefore the boot manager does not go to the next option.

Why is this message printed? Maybe because I am at the bottom of the page.
I have seen the boot manager occasionally doing the right thing but I can't
figure out what the logic is. The 'bottom of the page' key press message
makes some sense when you don't want to loose error messages printed
on the console. But then it is not quite what you want if going to the next
option is what you really want, i.e. fail-over behavior.

Could somebody more familiar than me  with the boot manager clarify this?


Thanks.

--
-Stephane

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

end of thread, other threads:[~2003-08-14 21:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-14  0:09 EFI boot manager fail-over behavior question Stephane Eranian
2003-08-14  1:28 ` Tolentino, Matthew E
2003-08-14 16:01 ` Stephane Eranian
2003-08-14 21:49 ` Stephane Eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox