From owner-freebsd-current@freebsd.org Thu Aug 9 01:23:16 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 C10D5107292F for ; Thu, 9 Aug 2018 01:23:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x241.google.com (mail-it0-x241.google.com [IPv6:2607:f8b0:4001:c0b::241]) (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 5521577017 for ; Thu, 9 Aug 2018 01:23:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x241.google.com with SMTP id v71-v6so461018itb.3 for ; Wed, 08 Aug 2018 18:23:15 -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=dK/nMYK71feKiuRmbNpV2nzj4bB7tmFObTB84N7TlFY=; b=mEz9ZUvdUxXCNiEnS/nlsWbBCvvOTEKSegWlzH9FGALJ7q8D5U8B+0lmsomd/f0oac NZq8FkopZV+f6ViD0+QN7iH3XQLZkDsHht/EmPxRpmLGTPqHB2djLQCfoT7I5AgpRHoe 1QhJ3uL12dc6H/3UiE0L0tk8S60yA55t3Mg/ZXZ0jg6U3uP1Uu+g02EFYYqDB3eI6LTE ERyA6KdgWf3M8cAnC2m0YWVld/ZMs5y6UNbX6cx8nGXmCrKgrTwiBLEEI1d3pht6/u0E gNoPR3IT1dn9knKoLGB37Gx8t/oNLmL5Ls+J8Q99DrnWC85ucclTbH/ayJM6XHoWTYZO PETA== 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=dK/nMYK71feKiuRmbNpV2nzj4bB7tmFObTB84N7TlFY=; b=P4nPYG3c9b2ZQEKNudT//ZVSVPGXTd1Mpe8L0KagVZpU7+qPE8QbOvPvIGz/KLDvoW bkFdXCSpTl2b9bDpfXZWdhAAEVtH8llqmU5U+7QWwwEJaeAFvYv6t2zBcLAz4wowNcEv XHsZ8zqhAoMbbEFn5M/WBtoHZGFkQxRLvJ4qqBjyZp/RB1j1TZ9FWdHhhrl7yb8isl2r FJP8LOja+aItYCqbxWwviN8xDI+Lb4YSAeW24NLSYLHbepL7fo4k2HBkUlzn7q21BkP7 dfNGDzbe3JG/pZ7xLYPhp31ww+zatUchVFgReH5MTSLDNscGNFGd7Y1VLFgWPKSoKaTx nIPg== X-Gm-Message-State: AOUpUlFRpxBCQHeaksaJrL0cZpa0/vQ64u0jGvIgoevKSKecqiaSHwiR +TE9D1XvVKGXuuH0/n6DHQw9dajYQLhDz4jt34XxfA== X-Google-Smtp-Source: AA+uWPzs7xkuTHq9bsVuVAdWAPWNfgLbCJujN/S5If9tFGPFsktxp1BW1ztwb1EjiWPoCJ6aDX5SlWPUm2bdn5liVEg= X-Received: by 2002:a02:3344:: with SMTP id k4-v6mr58117jak.45.1533777794406; Wed, 08 Aug 2018 18:23:14 -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 18:23:13 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <892eaabd-2c47-3b3f-bc8d-25fbd10a73c0@freebsd.org> References: <0901f10d-a0d2-9020-9b4f-a5efc0bd18cd@freebsd.org> <8e953e71-9069-0ba3-19ec-77d8baf2f0f6@freebsd.org> <892eaabd-2c47-3b3f-bc8d-25fbd10a73c0@freebsd.org> From: Warner Losh Date: Wed, 8 Aug 2018 19:23:13 -0600 X-Google-Sender-Auth: LRZL-aQQ-5u4Md9iiA85wqQ4k9E Message-ID: Subject: Re: IPMI SOL seems to not accept characters after getty starts To: Allan Jude 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: Thu, 09 Aug 2018 01:23:16 -0000 On Wed, Aug 8, 2018 at 6:03 PM, Allan Jude wrote: > On 2018-08-08 19:21, 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. > > > > loader.conf: > > console="comconsole" > > comconsole_speed="115200" > > > > boot.config: > > > > > > sean > > > > > > If it is COM2, don't you also need: > comconsole_port="0x2f8" > > And possibly device.hints: > hint.uart.1.flags="0x10" > > to mark it as a serial console? > What does the amnesiac login message say is the tty? Warner