david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/arch/x86
Michael Brown 3ec8b67818 [int13con] Add basic ability to log to a local disk via INT 13
Several popular public cloud providers do not provide any sensible
mechanism for obtaining debug output from an OS which is failing to
boot.  For example, Amazon EC2 provides the "Get System Log" facility,
which occasionally deigns to report a random subset of the characters
emitted via the VM's serial port, but usually returns only a blank
screen.  (Amazingly, this is still superior to the debugging
facilities provided by Azure.)

Work around these shortcomings by adding a console type which sends
output to a magically detected raw disk partition, and including such
a partition within any iPXE .usb-format image.

To use this facility:

 - build an iPXE .usb image with CONSOLE_INT13 enabled

 - boot the cloud VM from this image

 - after the boot fails, attach the VM's boot disk to a second VM

 - from this second VM, use "less -f -R /dev/sdb3" (or similar) to
   view the iPXE output.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-05-19 12:58:03 +01:00
..
core [vram] Add "vram" built-in setting to dump video RAM 2015-04-24 16:27:47 +01:00
drivers [build] Fix the REQUIRE_SYMBOL mechanism 2015-03-05 00:59:38 +00:00
hci/commands [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
include [int13con] Add basic ability to log to a local disk via INT 13 2015-05-19 12:58:03 +01:00
interface/efi [efi] Use the EFI_RNG_PROTOCOL as an entropy source if available 2015-04-14 17:53:13 +01:00
prefix [efi] Ensure drivers are disconnected when ExitBootServices() is called 2015-04-13 12:06:59 +01:00
scripts [build] Fix %.licence build target 2013-07-16 00:50:54 +02:00
Makefile [build] Construct all-drivers list based on driver class 2015-04-22 12:21:14 +01:00
Makefile.efi [build] Construct all-drivers list based on driver class 2015-04-22 12:21:14 +01:00
Makefile.linux [build] Avoid errors when build directory is mounted via NFS 2014-05-13 16:45:57 +01:00