|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Another kernel build question
From: Darich Runyan (darich
omni-infosec.com)
Date: Thu May 01 2003 - 20:35:11 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
All,
I need to get boot messages to output to com2 (0x2f8 on my PowerEdge).
Sending BIOS output to the port is easy since it is configured in the BIOS,
and I have successfully gotten the login prompt on com2 via the following
directive in /etc/ttys:
tty01 "/usr/libexec/getty std.9600" vt100 on secure
But I have still not been successful with getting the boot output to goto
ocm2. At first I tried to set tty com2 at the boot prompt and in
/etc/boot.conf, neither of which worked. After some searching on the
mailing list I found a reference to a requirement to add the following
options to the config file and add this support to a custom kernel:
option CONUNIT=1
option CONADDR=0x2f8
This would be the address of my com2; however, this was in reference to com1
and in the include file where these are hard coded it mentions that CONUNIT
must be 0.
/*
* WARNING: Serial console is assumed to be at COM1 address
* and CONUNIT must be 0.
*/
#ifndef CONADDR
#define CONADDR (0x3f8)
#endif
#ifndef CONUNIT
#define CONUNIT (0)
#endif
With that said, what should I be setting CONUNIT to for com2 at address
0x2f8 or does it not matter?
Thanks again in advance for the assistance.
Darich
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]