The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Serial console question
2013-10-24, 14:19
Post: #1
Serial console question
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:

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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Serial console question - Lec - 2013-10-24 14:19
RE: Serial console question - Lec - 2013-10-28, 18:29
RE: Serial console question - Lec - 2013-10-29, 12:08



User(s) browsing this thread: 2 Guest(s)