problem in changing serial console speed!
claudiu vasadi
claudiu.vasadi at gmail.com
Sun Nov 27 12:47:48 UTC 2011
Hi,
So basically you need the following:
1) Set the baud rate and the com interface in BIOS (ex: com1 and baud rate
19200)
2) /boot/loader.conf:
ipmi_load="YES"
3) reboot
4)
- use "dmesg | grep uart" and you will something like this:
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart0: console (19200,n,8,1)
Then, change /boot/loader.conf to reflect the serial interface found by
the OS as ipmi-enabled (PS: if you find "uart1" with dmesg, use "uart1" in
"loader.conf")
# IPMI settings
hint.uart.0.at="isa" < - use "dmesg"
hint.uart.0.baud="19200" <- same as in BIOS
hint.uart.0.port="0x3f8" < - use "dmesg"
hint.uart.0.flags="0x10" < - use "dmesg"
hint.uart.0.irq="4" < - use "dmesg"
console="comconsole,vidconsole"
comconsole_speed="19200" < - same as in BIOS
boot_multicons="YES"
boot_serial="YES"
5) /etc/ttys
- if you found, for example, uart0 as ipmi-enabled, do the folowing:
ttyu0 "/usr/libexec/getty std.19200" vt100 off secure
- ex for uart1:
ttyu1 "/usr/libexec/getty std.19200" vt100 off secure
- make sure to match the BAUD-rate, it;s important :)
6) /etc/make.conf (you need to rebuild the boot blocks with IPMI-enabled)
# IPMI boot block build options
BOOT_COMCONSOLE_PORT=0x3f8
BOOT_COMCONSOLE_SPEED=19200
7) compile new boot-blocks:
cd /usr/src/sys/boot
make clean
make
make install
8) reboot and pray :)
PS: with IPMI-console enabled, I was never able to see anything beyond the
messages that the kernel displays when booting (ex: no "Starting apache.
done" or "Starting ssh. done"). Maybe someone knows a workaround for this ?
More information about the freebsd-questions
mailing list