iPXE discussion forum
Enable log messages in all consoles - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Enable log messages in all consoles (/showthread.php?tid=7347)



Enable log messages in all consoles - shahargli - 2014-06-11 20:38

hello,

I'm trying to get ipxe log and debug messages in AWS, AWS provides system log which is supposed to provide the same output as physical screen.
I do see printf messages in AWS console, but I cannot see any log messages.
Since I dont know how does ipxe consoles map into AWS console, I'm trying to enable
logs on all consoles, but here is the issue:

What is the correct way to enable log messages in all consoles?
I tried setting:
#define CONSOLE_PCBIOS CONSOLE_USAGE_LOG/* Default BIOS console */
#define CONSOLE_DIRECT_VGA CONSOLE_USAGE_LOG
#define CONSOLE_VESAFB CONSOLE_USAGE_LOG /* VESA framebuffer console */
#define LOG_LEVEL LOG_ALL
at config/local/console.h
but when running:
make DEBUG=iscsi:8,dhcp:8

make fails due to: error: "CONSOLE_PCBIOS" redefined

any help will be appreciated
thanks
shahar


RE: Enable log messages in all consoles - robinsmidsrod - 2015-03-09 12:13

You need to #undef CONSOLE_PCBIOS before you redefine it with new configuration. If AWS does indeed redirect the BIOS text console correctly, you should be seeing information from iPXE in it.


RE: Enable log messages in all consoles - plachance - 2016-01-14 11:34

Hello

Anyone succeeded to chainload linux from network boot on AWS HVM instance using iPXE?

I can chainload kernel + initrd but the network device doesn't come up (RTNETLINK answers: file exists)