From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 12:47:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C70A1065759 for ; Sun, 27 Nov 2011 12:47:48 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E51148FC15 for ; Sun, 27 Nov 2011 12:47:47 +0000 (UTC) Received: by faap15 with SMTP id p15so5525021faa.13 for ; Sun, 27 Nov 2011 04:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1dwCEVxrje4QzXCgL/bppfWQurx34f7fiLzpZ23fC1Y=; b=U+6qQdGTmLOjM7OZlY3ZYSRnqhnawUk/YbnbF5FW6DeldWlXrdOEyujzItqom2HuM8 +vkS0kk+THpOkF7QkZ+gF5o99sui81YuSQc8DkytLbOx2QX1G7zGufaHN8TXnbts9skR 0bdvbVuMeESipmQ8eJCY1rpreaR4xXSH7Wjqo= MIME-Version: 1.0 Received: by 10.152.109.48 with SMTP id hp16mr25498348lab.38.1322398066281; Sun, 27 Nov 2011 04:47:46 -0800 (PST) Received: by 10.152.23.67 with HTTP; Sun, 27 Nov 2011 04:47:46 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Nov 2011 13:47:46 +0100 Message-ID: From: claudiu vasadi To: h bagade Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: problem in changing serial console speed! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2011 12:47:48 -0000 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 ?