2013-10-24, 14:19
Hi I am having a problem with console redirection to a serial port working when I use iPXE. I was wondering if anyone has been able to get this working.
I do not mean enabling CONSOLE_SERIAL on the ../config/console.h file to pass iPXE information to the serial line. This works fine. What I mean is passing something like:
[bold]console=ttyS1,115200[/bold]
in imgars.
Above command redirects all console output to ttyS1 allowing this output to be captured for later analysis.
I have been able to do this on a standard PXE installation by setting my config file as follows:
however when I attempt to do something similar with iPXE, I fail to send the output to the serial line.
Any help you can lend in sheding light on this tiny mistery is greatly appreciated.
Luis
I do not mean enabling CONSOLE_SERIAL on the ../config/console.h file to pass iPXE information to the serial line. This works fine. What I mean is passing something like:
[bold]console=ttyS1,115200[/bold]
in imgars.
Above command redirects all console output to ttyS1 allowing this output to be captured for later analysis.
I have been able to do this on a standard PXE installation by setting my config file as follows:
Code:
DEFAULT latest
LABEL latest
kernel /vmlinuz-2.6.18-308.4.1.el5_lustre.1.8.8_2.0.1
append console=ttyS1,115200 ip=dhcp root=/dev/nfs ro init=/usr/local/bin/ts_di\
skless_init
however when I attempt to do something similar with iPXE, I fail to send the output to the serial line.
Code:
:
kernel ${base-url}/${def_boot}/vmlinuz
initrd ${base-url}/${def_boot}/initrd
imgargs ${kernel} console=ttyS1,115200 ip=dhcp root=dev/nfs ro nfsroot=${tera_nfs} init=/usr/local/bin/ts_diskless_init
boot || echo Booting Failed
Any help you can lend in sheding light on this tiny mistery is greatly appreciated.
Luis