From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::32e; helo=mail-ot1-x32e.google.com; envelope-from=akashgj91@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MRwni0Ar"; dkim-atps=neutral Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47mR1d5yWHzDq9s for ; Mon, 30 Dec 2019 16:33:57 +1100 (AEDT) Received: by mail-ot1-x32e.google.com with SMTP id r27so44888790otc.8 for ; Sun, 29 Dec 2019 21:33:57 -0800 (PST) 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=wiY/9s/0z4J2D/jDu88tnyXsvyLlN9xqczTGezJzAfw=; b=MRwni0ArlZ/WHPx7T1Xvz8X6LDcqSpFRHs6mU+q2Oj5f8qI1C6WgtPSUpccf/QqZ8k 81wg7uQW4YpCkS9SqoScKuKwAa3uAOT8UHmsGHlRmyq7z6gTg6oSR+r48XxK+n66hqiM 7qCO4ZaA3jVl5eOtPZHPpfgwFIYQr6lj04Vqz4wTqMd3cubEV9Hl7WkEuLzK40JeXk64 yWfbhMG/pPKS/J+/9OTuek+Vs1fF8IkQ5lTc+NR0HzK3OX8tmXy6lkAQgyVT7KH7Xg6Y S22atuRlOPpv225NOodHLKJLwZMOB+5XuV9e+9N6Rt9kEMTmbbwuqppsNdMY7OGcRGU1 DZoA== 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=wiY/9s/0z4J2D/jDu88tnyXsvyLlN9xqczTGezJzAfw=; b=YkfVNMnp91lo8X8nXNFPLvph923+aR+OSy/y3fLfF0XGuWtD9/Qa2gAlMgWpB+7AYI QHHUsweEkqr2B+/79Hvm5Y1jAJsd4TdA7JBMlgnYehx4KiY5O0zyi/1csto4uziwFuGg 1aP4bZL/nxLBE9FnRrHcY06FcpoMY/yrnV6a7B8x5FMmiPmJaDZ82DcAyaGbqxABXisT TnJc2yQb3YvTmSWSk7n6vpVOumA6K8ePTTTnA5OFDKhNi0ow35Wxhk1Wdan+w1ffe/73 f4PIlPtpEReXDVHTz8OeWW7nh4S7XifalYGiPamBjpjmVVniYTYzs/k1nkU2G5Sw7J+T 7aGA== X-Gm-Message-State: APjAAAXNc9qWaTgM1gb5XntLLNjZp/gorsI4taVlpEu1bSiEL2L0By0d n4bQvSV0a9JhNVHn8DpB574g8k7FZHPBbeor2Zo= X-Google-Smtp-Source: APXvYqz79yAiggbBztFF4puf6uiKgiSngYEXQskbN4nhTTO8ewOVmFa2LQhNxCHX66X5EPCOnSBa3xkFNs+aKxTSZ5s= X-Received: by 2002:a05:6830:20c6:: with SMTP id z6mr68546488otq.272.1577684034350; Sun, 29 Dec 2019 21:33:54 -0800 (PST) MIME-Version: 1.0 References: <000001d5bc87$f6fe3780$e4faa680$@linux.intel.com> In-Reply-To: <000001d5bc87$f6fe3780$e4faa680$@linux.intel.com> From: AKASH G J Date: Mon, 30 Dec 2019 05:32:33 +0530 Message-ID: Subject: Re: Serial Over Lan (SOL) no login prompt on Linux IRQ mode To: Yong Li Cc: openbmc@lists.ozlabs.org Content-Type: multipart/alternative; boundary="0000000000006f72af059ae530c1" X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2019 05:33:58 -0000 --0000000000006f72af059ae530c1 Content-Type: text/plain; charset="UTF-8" I tried with the configuration cat /etc/obmc-console.conf baud = 115200 local-tty = ttyS4 local-tty-baud = 115200 Still we are not getting CentOS login prompt on SOL in IRQ mode. Whether anything is required to be done in OpenBMC firmware/BIOS to enable irq mode for SOL ? Thanks, Akash On Fri, Dec 27, 2019 at 1:03 PM Yong Li wrote: > HI Akash, > > > > Just FYI, we are using the below conf file. You can find other related > files from > https://github.com/Intel-BMC/openbmc/blob/intel/meta-openbmc-mods/meta-ast2500/recipes-phosphor/console/obmc-console/obmc-console.conf > > > > cat /etc/obmc-console.conf > > baud = 115200 > > local-tty = ttyS3 > > local-tty-baud = 115200 > > > > Thanks, > > Yong > > *From:* openbmc linux.intel.com@lists.ozlabs.org> *On Behalf Of *AKASH G J > *Sent:* Friday, December 27, 2019 2:54 PM > *To:* openbmc@lists.ozlabs.org > *Subject:* Serial Over Lan (SOL) no login prompt on Linux IRQ mode > > > > Hi all, > > > > We are using BMC Aspeed AST-2500 in our motherboard with OpenBMC firmware. > 'obmc-console' is used to get host messages over BMC. obmc-console.conf > looks like > > > > > *lpc-address = 0x3f8sirq = 4local-tty = ttyS4local-tty-baud = 115200* > > > > BIOS serial redirection is enabled over COM port 0 (*0x3f8, sirq=4, > baudrate=115200*) for super-IO. > > > > we set */dev/ttyS0* in CentOS to work in polling mode by making its > *irq=0* using the following command > > > > $ setserial /dev/ttyS0 uart 16550a irq 0 > > Now we are getting CentOS login prompt on SOL. > > When we change /dev/ttyS0 back to interrupt mode with irq=4, we are not > getting login prompt on SOL. > > > > Whether anything is required to be done in OpenBMC firmware/BIOS to enable > irq mode for SOL ? > > > > > > > > Thanks, > > > > Akash > --0000000000006f72af059ae530c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I tried with the configuration=C2=A0

cat /etc/obmc-console.conf

baud =3D 115200

loca= l-tty =3D ttyS4

local-tty-baud =3D 115200<= /p>


Still=C2=A0we are not getting CentOS login promp= t on SOL in IRQ mode.


Whether anything is required to be done i= n OpenBMC firmware/BIOS to enable irq mode for SOL=C2=A0?=C2=A0


Thanks,


Akash=C2=A0
=


On Fri, Dec 27, 2019 at 1:03 PM Yong Li <yong.b.li@linux.intel.com> wrote:
=

HI Akash,

=C2=A0=

Just FYI, we are using the below conf file. You = can find other related files from https://github.com/Intel-B= MC/openbmc/blob/intel/meta-openbmc-mods/meta-ast2500/recipes-phosphor/conso= le/obmc-console/obmc-console.conf

=C2=A0

cat /etc/obmc-console.con= f

baud =3D 115200

=

local-tty =3D ttyS3

local-tty-baud =3D 115200

<= u>=C2=A0

Thanks,

Yong

From: openbmc <op= enbmc-bounces+yong.b.li= =3Dli= nux.intel.com@lists.ozlabs.org> On Behalf Of AKASH G J
= Sent: Friday, December 27, 2019 2:54 PM
To: openbmc@lists.ozlabs.orgSubject: Serial Over Lan (SOL) no login prompt on Linux IRQ mode

=C2=A0

Hi all,

= =C2=A0

We are using BMC Aspeed AST-2500 in= our motherboard with OpenBMC firmware. 'obmc-console' is used to g= et host messages over BMC. obmc-console.conf looks like

lpc-address =3D 0x3f8
sirq =3D 4
local-tty =3D tty= S4
local-tty-baud =3D 115200

=C2=A0

BIOS s= erial redirection is enabled over COM port 0 (0x3f8, sirq=3D4, baudrate= =3D115200) for super-IO.

=C2=A0

= we set /dev/= ttyS0 in CentOS to work in polling mode by making its irq=3D0 us= ing the following command

=C2=A0

$ setserial /dev/ttyS0 uart 16550a irq 0

Now we are getting Ce= ntOS login prompt on SOL.

When we cha= nge /dev/ttyS0 back to interrupt mode with irq=3D4, we are not getting logi= n prompt on SOL.

= =C2=A0

Whether anything is required to = be done in OpenBMC firmware/BIOS to enable irq mode for SOL ?

=C2=A0<= /p>

=C2=A0

=C2=A0

Thanks,

=C2=A0<= /p>

Akash

--0000000000006f72af059ae530c1--