Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2018 11:55:56 +0200
From:      Andreas Nilsson <andrnils@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Allan Jude <allanjude@freebsd.org>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: IPMI SOL seems to not accept characters after getty starts
Message-ID:  <CAPS9%2BSsd2W4ajfuujHeia6M_bc_J0YTgn=zUUt7omwBn5ZxHDw@mail.gmail.com>
In-Reply-To: <CANCZdfqXzt41XWkZS6bAjQJZE6MwM-gavvZV_ee5DgDAMxLp8Q@mail.gmail.com>
References:  <0901f10d-a0d2-9020-9b4f-a5efc0bd18cd@freebsd.org> <CANCZdfqtutUCBBjyO3MsfKaW9GfaqqgSGCT3y2T5EsmiKVcqOg@mail.gmail.com> <8e953e71-9069-0ba3-19ec-77d8baf2f0f6@freebsd.org> <892eaabd-2c47-3b3f-bc8d-25fbd10a73c0@freebsd.org> <CANCZdfqXzt41XWkZS6bAjQJZE6MwM-gavvZV_ee5DgDAMxLp8Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 9, 2018, 03:24 Warner Losh <imp@bsdimp.com> wrote:

> On Wed, Aug 8, 2018 at 6:03 PM, Allan Jude <allanjude@freebsd.org> 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 <sbruno@freebsd.org
> > >> <mailto:sbruno@freebsd.org>> 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:
> > > <does not exist>
> > >
> > > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSsd2W4ajfuujHeia6M_bc_J0YTgn=zUUt7omwBn5ZxHDw>