From: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
To: "Carsey, Jaben" <jaben.carsey@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: ShellPkg: reconnect command resulted in hang
Date: Fri, 9 Mar 2018 06:06:38 +0000 [thread overview]
Message-ID: <DB5PR04MB099835E5F414AEA1EE96576B8EDE0@DB5PR04MB0998.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <CB6E33457884FA40993F35157061515CA3C8A23C@FMSMSX103.amr.corp.intel.com>
Thanks Jaben for your reply.
It is helpful information.
Regards,
Meenakshi
> -----Original Message-----
> From: Carsey, Jaben [mailto:jaben.carsey@intel.com]
> Sent: Thursday, March 08, 2018 9:07 PM
> To: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>; edk2-
> devel@lists.01.org
> Subject: RE: ShellPkg: reconnect command resulted in hang
>
> The rest of the drivers needed for console input are not connecting.
>
> The shell is dependent on the devices in the system table it was initialized
> with for console functionality. Only when everything was disconnected does
> it know to force those to reconnect. Otherwise you have to get it right
> yourself.
>
> If you look at the connect command you see the "-c" option to force EFI
> variable consoles to be reconnected properly. That doesn't exist in
> reconnect, but you can get around that with a script file. You probably want
> to do something like:
>
> Disconnect 20
> Connect 20 -c
>
>
> -Jaben
>
>
>
> > -----Original Message-----
> > From: Meenakshi Aggarwal [mailto:meenakshi.aggarwal@nxp.com]
> > Sent: Thursday, March 08, 2018 7:27 AM
> > To: Carsey, Jaben <jaben.carsey@intel.com>; edk2-devel@lists.01.org
> > Subject: RE: ShellPkg: reconnect command resulted in hang
> > Importance: High
> >
> > Yes, i am connected to the device using this serial port.
> >
> > > -----Original Message-----
> > > From: Carsey, Jaben [mailto:jaben.carsey@intel.com]
> > > Sent: Thursday, March 08, 2018 8:50 PM
> > > To: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>; edk2-
> > > devel@lists.01.org
> > > Subject: RE: ShellPkg: reconnect command resulted in hang
> > >
> > > Are you using this serial port? Are you connected to the device via this
> > serial
> > > port?
> > >
> > > > -----Original Message-----
> > > > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf
> Of
> > > > Meenakshi Aggarwal
> > > > Sent: Thursday, March 08, 2018 1:35 AM
> > > > To: edk2-devel@lists.01.org
> > > > Subject: [edk2] ShellPkg: reconnect command resulted in hang
> > > > Importance: High
> > > >
> > > > Hi,
> > > >
> > > >
> > > > I was trying reconnect shell command with UART handle [20]
> > > >
> > > > 20 R - - 0 1 1 VenHw(D3987D4B-971A-435F-8CAF-
> > > > 4967EB627241)/Uart(115200,8,N,1)
> > > >
> > > > Shell> reconnect 20
> > > >
> > > > After this reconnect command, shell didnt come back, looks like a hang.
> > > > I analyzed further and see that code has executed completely and
> > reached
> > > > to shell but console is not coming.
> > > >
> > > >
> > > > In "reconnect -r" , we are calling ConnectAllConsoles() separately
> > between
> > > > disconnect and connect calls.
> > > >
> > > > Why is this so?
> > > >
> > > > Why only connect call is nt sufficient to bring the console up?
> > > >
> > > > Please help me in understanding this.
> > > >
> > > >
> > > > Thanks,
> > > > Meenakshi
> > > >
> > > >
> > > > _______________________________________________
> > > > edk2-devel mailing list
> > > > edk2-devel@lists.01.org
> > > >
> > >
> >
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> > > s.01.org%2Fmailman%2Flistinfo%2Fedk2-
> > >
> >
> devel&data=02%7C01%7Cmeenakshi.aggarwal%40nxp.com%7C230f90d310a
> > >
> >
> 9476a24cc08d585080ef4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%
> > >
> >
> 7C636561192036205272&sdata=6pvDPfpdDAvpKVB%2BhD7xRov7Rq6x68NhG
> > > HeL1XRZoFE%3D&reserved=0
next prev parent reply other threads:[~2018-03-09 6:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-08 9:35 ShellPkg: reconnect command resulted in hang Meenakshi Aggarwal
2018-03-08 15:19 ` Carsey, Jaben
2018-03-08 15:26 ` Meenakshi Aggarwal
2018-03-08 15:37 ` Carsey, Jaben
2018-03-09 6:06 ` Meenakshi Aggarwal [this message]
2018-03-08 17:32 ` Varun Sethi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DB5PR04MB099835E5F414AEA1EE96576B8EDE0@DB5PR04MB0998.eurprd04.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox