From owner-freebsd-current@freebsd.org Wed Aug 8 23:27:51 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 531BD106F0D5 for ; Wed, 8 Aug 2018 23:27:51 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D4FDB71D6B for ; Wed, 8 Aug 2018 23:27:50 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22e.google.com with SMTP id j81-v6so185437ite.0 for ; Wed, 08 Aug 2018 16:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=qYpXANm1prSnYK6hzeO7rhPOKrsNlUEVn/PqdJq1CvU=; b=U/kPV4RUZ0gx+/oIBAqOir4QtNo3KCxIivizVRrIvlomy+bQUxuwanK19I3PJQs9IQ cGxicg5CKc9la5zUH9HNZ2WWGnRWWnSwn3w8zGiHKRe28BZ5Eqe5FGh4wjIXNh7xe3uc +zyouI2REYkrp+MqbmP+6F/vO6wMvdnjAr4h7tR5w4/uwGxxweoHLnemDZTbMBPa10l3 f+FAXPP8TD1L9E+1Fa5ieCOsLdZXylIgmH5T5RLZ6+E0RiiN0VWKdRbyr1n4Cvb+Il// ed9eId7nFJ4EP9qIA5swMupoz0QnpTrgf+wssI6qTz1a2Hn5lSdlZeH/NjtDZwjxZTqm TXlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=qYpXANm1prSnYK6hzeO7rhPOKrsNlUEVn/PqdJq1CvU=; b=RFr0emIlmGhf4XwR5JUfvwAluTmsBDvN8xzK2Mbt5YzvMTJxoaXE9Ubl9gB+8Pj2yd 2bcz8zDzbP1VIbYPX9+U3q/3Io47Pu1HkmJxUN2MXAKnsejgH3AzfpYzz5QB61aYgXe8 XgaqvmJ6LYKVVSFnRXNUIw9mr4eq5F4fYIRAwlP/60KyJHsdFwN5j/BF+6zlBpfRAgPZ c6YKBzsAjlxaVSnCSCaeP/QjXav1jdROKNnGvkcAlr2dRSlSr3hIOSM2ebBoHOr2W4Qa 1Bp54Z/rHJOpts5vcuQ7p14YXZSb53lTuQaJI/8zW9eytf2qKjRz8NAi+JoO0VAPYWbs Rkjw== X-Gm-Message-State: AOUpUlFHuiBQSdrSYMPXM87tQNof2vhQfjQDsOKWHG/QuBRTmJboHNTO BlvqEUWEONj1yP71RFyQI4AufA96yKesWV7sk6jrEbZGb3ndWw== X-Google-Smtp-Source: AA+uWPxAD+CMr0NGZF23P7xTa3XOo8je5S5qX/y5O9Ze1K7ckQJ/uovpESTliLQEZwNa44fXGpuWqK3q+a52miCtp7M= X-Received: by 2002:a24:4f52:: with SMTP id c79-v6mr78668itb.36.1533770870125; Wed, 08 Aug 2018 16:27:50 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:381a:0:0:0:0:0 with HTTP; Wed, 8 Aug 2018 16:27:49 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <8e953e71-9069-0ba3-19ec-77d8baf2f0f6@freebsd.org> References: <0901f10d-a0d2-9020-9b4f-a5efc0bd18cd@freebsd.org> <8e953e71-9069-0ba3-19ec-77d8baf2f0f6@freebsd.org> From: Warner Losh Date: Wed, 8 Aug 2018 17:27:49 -0600 X-Google-Sender-Auth: 6Xt4UYnVS0yn7zVIqTuxaRdue0E Message-ID: Subject: Re: IPMI SOL seems to not accept characters after getty starts To: Sean Bruno Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 23:27:51 -0000 On Wed, Aug 8, 2018 at 5:21 PM, Sean Bruno wrote: > > > On 08/08/18 17:13, Warner Losh wrote: > > > > > > On Wed, Aug 8, 2018 at 4:39 PM, Sean Bruno > > wrote: > > > > tl;dr pxeboot new x86 host, ipmi sol works in loader, not after > > multiuser. > > > > The FreeBSD cluster just acquired 4x Supermicro X11DDW-L and I am > having > > the hardest time with the IPMI SOL interface. > > > > I have configured "COM2" as the IPMI SOL interface and enabled > console > > redirection. Netbooting via pxeboot works well and the loader menu > is > > interactive and responds. > > > > After NFS booting into freebsd (current or stable/11), getty fires up > > and attaches to ttyu0. It prompts me correctly, but it does not > accept > > my keystrokes. > > > > If I do not configure /etc/ttys to enable a tty unconditionally (on > vs > > onifconsole), I see dmesg/kernel boot messages but never get a tty. > > > > Its as though FreeBSD does *not* recognize the IPMI SOL port as the > > console or something and I'm super confused. Any thoughts here? > > > > > > Works fine for me. > > > > So, let's start with your /boot.config (or /boot/config) loader.conf and > > device,hints settings. Also BIOS or UEFI? > > > > Warner > > > > Works for you on this exact Supermicro? > > I am using the defaults all around. This is booting BIOS mode PXE, all > console output appears on the IPMI SOL interface. Driving the beastie > menu in pxeboot/loader works fine. When the loader hands the uart off > to the kernel, I see all boot output and "everything is fine" > > The problem arises when trying to login. I see the amnesiac login > prompt, but no key strokes are registered. > OK. That's super weird. Interrupt configuration issue? > loader.conf: > console="comconsole" > comconsole_speed="115200" > > boot.config: > > x11 supermicro, though not that exact one. Warner