From owner-freebsd-stable@FreeBSD.ORG Tue Nov 11 19:13:45 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 BAC85B05 for ; Tue, 11 Nov 2014 19:13:45 +0000 (UTC) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F273E66 for ; Tue, 11 Nov 2014 19:13:44 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id x13so12249535wgg.22 for ; Tue, 11 Nov 2014 11:13:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jtQAaS/eASCdYecKNVsS63Ule4mZlZTeI8nUgN1/UT4=; b=IKrm6sJkrrYC7qsuv5jH1RjY8DLyK5/7VgYFiR2AyFFNTnNv+sfkv7WHdSehJ+8LEu 2InKdJ6HOqZef+2LDFS5SJqPoZ1SxMESo2L8NdxUwu2jcSc2t6uD4+DvF4DzpCW9Eew0 S86krof3KcGc3Cye0QFlGKyRY8yqrPlpf0Rb3tUKGHBLhdxe/pA+pVeK1Tex75NizYeS G1Iz9SRe8rs/FMMJ/tKigH6UtkfdfLab6uGj8hzBZe6ThStaQ8d6Wit1xNOFSj3sbmrd 6nAqzarmrrxczc0NgIv7qVQOd+SeWtNZRYzaXoWiK6Yw1xrh6MiuiQr/CaAuD7CyL0pD gQBw== X-Gm-Message-State: ALoCoQmqxM2Q9sxganK8TPEpfaoF0RQIrOfEhge/jXXDx/+RxJSzzMtnnnDO71P+BgX8Anx1a+vO X-Received: by 10.180.103.33 with SMTP id ft1mr32889032wib.71.1415733217599; Tue, 11 Nov 2014 11:13:37 -0800 (PST) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id p3sm28417945wjf.49.2014.11.11.11.13.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Nov 2014 11:13:36 -0800 (PST) Message-ID: <5462601A.5070300@multiplay.co.uk> Date: Tue, 11 Nov 2014 19:14:34 +0000 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Dmitry Morozovsky Subject: Re: SuperMicro IPMI/SOL and ipmitool troubles References: <54624D2B.9000007@multiplay.co.uk> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org 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: Tue, 11 Nov 2014 19:13:45 -0000 On 11/11/2014 18:10, Dmitry Morozovsky wrote: > On Tue, 11 Nov 2014, Steven Hartland wrote: > >>> I'm trying to set up sol console for supermicro servers, reading some >>> documents >>> including TestClusterOne, mainly: >>> >>>> For serial redirection to work, in the BIOS you need to redirect to com >>>> port >>>> B and in /boot/device.hints you need hint.uart.1.flags="0x10" and enable >>>> getty on >>>> cuau1 >>> I can see BIOS screen ok; boot1/2 and boot/loader work fine also. However, >>> I >>> could not see kernel console output via SOL, neither getty on ttyu1 works. >>> I tried different speeds, std vs 3wire, explicitely set console=comconsole >>> vidconsole -- no luck. >>> >>> I even trued to use `ipmitool sol activate' on one side and `tip -115200 >>> com2' >>> on the other -- stiil no data between. >>> >>> Any hints? >>> >>> Thanks! >>> >>> For the reference: >>> >>> marck@centipede:~> ipmitool -H mc26.int -U root -I lanplus sol info >>> Password: >>> Set in progress : set-complete >>> Enabled : true >>> Force Encryption : false >>> Force Authentication : false >>> Privilege Level : USER >>> Character Accumulate Level (ms) : 0 >>> Character Send Threshold : 0 >>> Retry Count : 0 >>> Retry Interval (ms) : 0 >>> Volatile Bit Rate (kbps) : 115.2 >>> Non-Volatile Bit Rate (kbps) : 115.2 >>> Payload Channel : 1 (0x01) >>> Payload Port : 623 >>> >> This is what we use: >> http://blog.multiplay.co.uk/2012/12/freebsd-serial-over-lan/ > Hm. Does not seem to work for me, for 10.1: I set all the values at loader > prompt, issue `boot -s' -- and then, last loader line (kernel load process) > goes to both java KVM and sol, and then kernel messages only to KVM, and > finally prompt for single user shell -- nowhere :( Just updated a Dell box to 10.1-RC4 and a Supermicro box on head and they both work for me. With the Supermicro box I did have to ensure the BIOS console and BMC agreed on the com settings including disabling the serial ports (not the console redirect). Without this the BIOS was using 115.2 but the BMC was using 19.2. Fixing the speeds showed the loader but nothing else, disabling the com ports and resetting the IPMI device allowed full booted support. If you have an old SIM you might want to try forcing usb to low speed as the old Supermicro IPMI modules advertise USB 2.0 but only work reliably at 1.0 speeds. To do this add the following to /boot/loader.conf with the rest of the settings mentioned in that blog post: hw.usb.ehci.no_hs="1" Signs that this is required is USB devices which fail to negotiate on boot of the machine. Hope this helps. Regards Steve