From owner-freebsd-stable@FreeBSD.ORG Fri Feb 22 14:07:21 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 650D5729; Fri, 22 Feb 2013 14:07:21 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 07D6A1B6; Fri, 22 Feb 2013 14:07:20 +0000 (UTC) Received: from steiner.cc.vt.edu (steiner.cc.vt.edu [198.82.163.51]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id r1MDxn2U006056; Fri, 22 Feb 2013 09:06:50 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by steiner.cc.vt.edu (MOS 4.3.3-GA FastPath queued) with ESMTP id VTT82672; Fri, 22 Feb 2013 09:06:49 -0500 (EST) Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id r1ME6nwO001070 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 22 Feb 2013 09:06:49 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: IPMI serial console From: Paul Mather In-Reply-To: <0A4324A0-FBE3-4DD6-9670-421210D42586@gsoft.com.au> Date: Fri, 22 Feb 2013 09:06:49 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <990E6085-A7DC-4617-9E27-1EFB326A654F@gromit.dlib.vt.edu> References: <00CC60B5-A6EB-4A3C-B8AC-1D60014DE442@gsoft.com.au> <201302211049.13863.jhb@freebsd.org> <20130221220317.GA90640@icarus.home.lan> <6CD36AD055194E868054D5FC83E2AF6A@multiplay.co.uk> <7F35748E-736D-4AF1-BA6A-E831EF20396A@gsoft.com.au> <20130222001038.GA92824@icarus.home.lan> <0A4324A0-FBE3-4DD6-9670-421210D42586@gsoft.com.au> To: "Daniel O'Connor" X-Mailer: Apple Mail (2.1499) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu paul@gromit.dlib.vt.edu 5 none X-Junkmail-Status: score=10/50, host=steiner.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020206.51277B7A.0047,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2011-07-25 19:15:43, dmn=2011-05-27 18:58:46, mode=single engine X-Junkmail-IWF: false Cc: Jeremy Chadwick , Steven Hartland , freebsd-stable@freebsd.org, John Baldwin X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 14:07:21 -0000 On Feb 21, 2013, at 7:14 PM, "Daniel O'Connor" = wrote: >=20 > On 22/02/2013, at 10:40, Jeremy Chadwick wrote: >>> X9SIL-F BIOS version 1.1 (05/27/10) >>> IPMI firmware is 2.01. >>=20 >> I can't find this motherboard listed on Supermicro's site. >>=20 >> "kenv | grep smbios" output please? >=20 >=20 > Sorry, brainfart, it's an X8SIL-F = http://www.supermicro.com/xeon_3400/Motherboard/X8SIL.cfm?IPMI=3DY I am also using that motherboard and currently IPMI is working for me = under 9.1-STABLE (r246366). My system has BIOS version 1.2 and IPMI = firmware version 2.66. I have both the VGA KVM console and SOL console = working (though the VGA console seems sensitive to the version of Java = you have installed). I am using sysutils/ipmitool to access the system = via IPMI SOL console. Here is what my IPMI SOL setup looks like in the BIOS setup screen: Advanced = =20 = **************************************************************************= ****** * Advanced - Remote Access Configuration * Select Remote = Access * * *************************************************** * type. = * * Remote Access [Enabled] * = * * * = * * Serial Port Number [COM3 *] * = * * Base Address, IRQ [3E8h, 5] * = * * Serial Port Mode [115200 8,n,1] * = * * Flow Control [None] * = * * Redirection After BIOS POST [Always] * = * * Terminal Type [ANSI] * = * * VT-UTF8 Combo Key Support [Enabled] * = * * Sredir Memory Display Delay [No Delay] * = * * * ****:Move = * * * Enter:Select = * * * +/-/:Value = * * * F10:Save = * * * ESC:Exit = * * * F1:General = Help * * * F8:Fail-Safe = Defaults* * * F9:Optimized = Defaults* = **************************************************************************= ****** Here is what I have in /boot/loader.conf regarding a serial console: =3D=3D=3D=3D=3D # Enable IPMI serial console #console=3D"comconsole" # Give preference to VGA console console=3D"vidconsole,comconsole" # Uncomment below and comment above to give serial console preference #console=3D"comconsole,vidconsole" comconsole_speed=3D"115200" boot_multicons=3D"YES" hint.uart.0.flags=3D"0x0" hint.uart.2.at=3D"isa" hint.uart.2.port=3D"0x3E8" #hint.uart.2.disabled=3D"0" hint.uart.2.flags=3D"0x30" =3D=3D=3D=3D=3D I don't know whether all of that is needed, but, as you can see from the = various commented-out lines, it was a configuration I "arrived at" that = works. :-) I don't have a /boot.config on this system. Usually, I have the VGA console take precedence. In that case, I get = messages on both the VGA console and the IPMI SOL console during the = BIOS screen, loader, and kernel boot messages but then only messages on = the VGA console during the rc.d boot phase. I have a serial console = enabled in /etc/ttys, so I get output (e.g., getty login) on the IPMI = SOL when that is eventually spawned. If I want to have the serial = console take precedence, I usually escape to the loader prompt (via ESC = at the loader menu) and issue a "set console=3D"comconsole,vidconsole"" = command. Then, the rc.d boot output goes to the serial console and not = the VGA console. (It would be nice to have rc.d init scripts output go = to both consoles, but I don't know whether that is possible.) Cheers, Paul.=