iPXE discussion forum

Full Version: Enable log messages in all consoles
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.
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)
Reference URL's