Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2002 12:04:00 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/boot/efi/loader main.c
Message-ID:  <200212082004.gB8K400g026628@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2002/12/08 12:04:00 PST

  Modified files:
    sys/boot/efi/loader  main.c 
  Log:
  The boot manager sets the watchdog timer to 5 minutes before invoking
  a boot option. When the timer expires the machine is rebooted.
  Disable the watchdog timer for 2 reasons:
  o  We're an interactive program. We cannot guarantee that we've
     booted the kernel in the time available to us. There have been
     situations where netbooting the right kernel took 2 tries and
     more time than given. Not to speak of the normal behaviour to
     have the loader sitting at the prompt while the user is off
     doing other things (such as figuring out what to type next ;-)
  o  We may not boot a kernel at all. We may exit as the result of
     the user typing quit (assuming it took less than 5 minutes to
     type it :-). It is documented that loaders should have disabled
     the watchdog timer if they return to the boot manager. Not doing
     so would cause a reboot while in the boot manager. This appears
     to be harmless, besides of course the actual reboot.
  
  Approved by: re (weisse karte)
  
  Revision  Changes    Path
  1.13      +10 -6     src/sys/boot/efi/loader/main.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212082004.gB8K400g026628>