From owner-freebsd-stable@FreeBSD.ORG Fri Nov 14 02:59:54 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06C9F3C3 for ; Fri, 14 Nov 2014 02:59:54 +0000 (UTC) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A108E4C for ; Fri, 14 Nov 2014 02:59:52 +0000 (UTC) Received: from [10.0.2.95] (ppp118-210-137-175.lns20.adl6.internode.on.net [118.210.137.175]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id sAE2kpi9078059 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 14 Nov 2014 13:17:00 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: SuperMicro IPMI/SOL and ipmitool troubles Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 From: "Daniel O'Connor" In-Reply-To: Date: Fri, 14 Nov 2014 13:16:47 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3C955A8F-9D1A-463B-BB9A-256C36BF0D4C@gromit.dlib.vt.edu> To: Andreas Nilsson X-Mailer: Apple Mail (2.1878.6) X-Spam-Score: 1.163 (*) BAYES_00,HELO_MISC_IP,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: FreeBSD Stable Mailing List , Dmitry Morozovsky X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 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, 14 Nov 2014 02:59:54 -0000 On 12 Nov 2014, at 19:43, Andreas Nilsson wrote: > unclear is the word for it :) And thanks for looking into this. = ipmi/ilo is > important on a server os. >=20 > I found a reference to it in a ML post: > = http://lists.freebsd.org/pipermail/freebsd-stable/2013-February/072464.htm= l I started that thread :) I did get it working on the hardware I was using (Supermicro X9SCL-F and = X8SIL-F) I used the following BIOS settings =95 Remote Access - Enabled =95 Serial Port Number - COM3 =95 Serial Port Mode - 115200, 8, n, 1 =95 Flow Control - Hardware =95 Redirection After BIOS POST - Always =95 Terminal Type - VT100 =95 VT-UTF8 Combo Key Support - Disabled =95 Sredir Memory Display Delay - No Delay And the following in loader.conf # 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.flags=3D"0x30" And this in /etc/ttys # IPMI console # Note: The Java console viewer doesn't seem to be very smart as it = doesn't # properly support VT100 cuau2 "/usr/libexec/getty 3wire.115200" vt100 on secure I could then access it using ipmitool like so ipmitool -H remoteip -U ADMIN -I lanplus sol activate [login] export TERM=3Dxterm Note that I wanted vidconsole by default because mostly the systems were = used by people local to them, however we could break into the loader and = type 'set console=3Dcomconsole,vidconsole=92 and then get everything = over the serial console for remote trouble shooting. You may also wish to check the IPMI configuration via the web interface = - by default it will failover to port 0 and it has terrible default = passwords. I changed the passwords and forced it to use the dedicated = IPMI port even if nothing was connected to it. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C