From owner-freebsd-current@freebsd.org Thu Aug 9 09:56:09 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 B6C1A105EDEF for ; Thu, 9 Aug 2018 09:56:09 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 237C58A751; Thu, 9 Aug 2018 09:56:09 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id j143-v6so3650401lfj.12; Thu, 09 Aug 2018 02:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ulp1fbtOVSketyzONRu3UbSABzphXPD9DwvVRybCyWs=; b=nECb0iCTYlv+GTfw6ZLNWnCGnLo+sAuM5BZnZ7kb3lNcySebkpTJ+GMbL4k5XDpJoS KCJPaVGVOQrBBjzcCD1EUuXXfgQgICgh649zYTGU9b7Gbi7V+J6xUDFBRD4FKYCALZRZ avQfWWF0krbha+RmA8scDSqtmJ3eeXxhomtH23dnRzQ7UXDnf/xnWmO3pr3avFgOK7GT TWK7mD0nHm+nWbGwFhkODuzQU5bghbLOljC5PgBrQtuzLxdcGsBsdUytOAKMBaCLOKhV GcM59DqY7f/NPzCap5D0S11GumKddaziVY4qceMHLtvJX6eegTwhXnx0D1F9XwYIF/V9 8Dcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ulp1fbtOVSketyzONRu3UbSABzphXPD9DwvVRybCyWs=; b=VVnGKou4BHF6jFPDPIjE0zvFSrlUN/u8m9YFuk7SyVnGrywlJ6avLivMFMtqVyCw8m 3YARQkeQdAyMHm0GTotzupNEeESlmTbf5wKQHGElS5Fej7tQgNjmSlG7FBG11RdQ+26S 8AIvpgL8xrFrBcnKfztMaDa6S2cV18FklsHQAL8INWGWbduMHh2n/V2bICEC4Wzmn7gX +EvdHkZfKb57cTKMi2mo2jBn2N++dIaw4Le9bHW//z9v0unofA9PF67CDxx3yIlHRrit z5BHOEPpue0rsjrl6/OCbSZ5d3s04r9Ho91raNWafdLiPdJ7q2B8FnrvWX4Y3v8g+JpH ssMA== X-Gm-Message-State: AOUpUlEggQtFOkKUTCArDkJP8XTLBPCZHnnFUVw9bxO9fIe6xzQYpsZC VHBnCLjuHLEKnGUSLbQ2k3dJAr3uOJNg03Wuo4n/Gg== X-Google-Smtp-Source: AA+uWPyyLGBXLAkzk05SgplNotp8CPOGv1NHReC1t25ksXASz+kjlr+YN5UiK/Umsrm22fTUxWFiWmymbadt6lNukxw= X-Received: by 2002:a19:4344:: with SMTP id m4-v6mr1163020lfj.111.1533808567627; Thu, 09 Aug 2018 02:56:07 -0700 (PDT) MIME-Version: 1.0 References: <0901f10d-a0d2-9020-9b4f-a5efc0bd18cd@freebsd.org> <8e953e71-9069-0ba3-19ec-77d8baf2f0f6@freebsd.org> <892eaabd-2c47-3b3f-bc8d-25fbd10a73c0@freebsd.org> In-Reply-To: From: Andreas Nilsson Date: Thu, 9 Aug 2018 11:55:56 +0200 Message-ID: Subject: Re: IPMI SOL seems to not accept characters after getty starts To: Warner Losh Cc: Allan Jude , Current FreeBSD 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 09:56:09 -0000 On Thu, Aug 9, 2018, 03:24 Warner Losh wrote: > 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 > > > > > I also have similar issues with supermicro boxes. I've just given up and use "on" instead of "onifconsole". Best regards Andreas