From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.1.42; helo=eur01-ve1-obe.outbound.protection.outlook.com; envelope-from=meenakshi.aggarwal@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0042.outbound.protection.outlook.com [104.47.1.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 875CC22568623 for ; Thu, 8 Mar 2018 07:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3OXE8oQwS8YYXUlVwezBYk1KA5nKVnTizaAZf4iywII=; b=a97NvLpgduRmYufiMMj6j244ePIfaQiE+wGAUXIi+SihBylOayhNLULXbAOGRr/IeKUIwXW9fjehaRFd4mF9EkgT/bijU24VSS1YwYGLJK1ruQpUVTkzW3blSSkvb62P1upXXlRND6vU5eTME6pw2CwV75sntd5H9A2QpaE2VXk= Received: from DB5PR04MB0998.eurprd04.prod.outlook.com (10.161.199.12) by DB5PR04MB1335.eurprd04.prod.outlook.com (10.162.220.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Thu, 8 Mar 2018 15:26:41 +0000 Received: from DB5PR04MB0998.eurprd04.prod.outlook.com ([fe80::5b4:dfb7:891f:32ce]) by DB5PR04MB0998.eurprd04.prod.outlook.com ([fe80::5b4:dfb7:891f:32ce%13]) with mapi id 15.20.0548.016; Thu, 8 Mar 2018 15:26:41 +0000 From: Meenakshi Aggarwal To: "Carsey, Jaben" , "edk2-devel@lists.01.org" Thread-Topic: ShellPkg: reconnect command resulted in hang Thread-Index: AdO2wMDVPz7L8T7dQPy5y+iSTMsyhgAMAzUgAAA+1sA= Date: Thu, 8 Mar 2018 15:26:41 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=meenakshi.aggarwal@nxp.com; x-originating-ip: [14.142.187.166] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5PR04MB1335; 7:TvR1KXxqyeMY/BiRnYgHLUiev9HqchcaUKUW+xRPsySQNaYULrS9jPb2v/VfXnpQJclroh/F6zesSsCi9k3xmJSDb06LnXZGqw8JTJ7IVeRLupHf8c6Mg1xkbt5kLInbng0Xy2ov4KAQpyFd1T3IqH3NcnAOKjltJOGaupuxPyBf5yMta0TWS25HxlN9KCAkhjdZAgSC/QLHc2BuwHM8q6YvUkr8EigPNrmsJXo/FkhiHauBAQmB5FrcOiuPdU9+ x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 331b3c54-096c-4ac0-6bdb-08d58508fe3e x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB5PR04MB1335; x-ms-traffictypediagnostic: DB5PR04MB1335: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(189930954265078)(185117386973197)(162533806227266)(45079756050767)(21532816269658)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(3002001)(6055026)(6041288)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB5PR04MB1335; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB1335; x-forefront-prvs: 060503E79B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(376002)(396003)(39380400002)(346002)(53474002)(13464003)(189003)(199004)(6116002)(14454004)(66066001)(478600001)(229853002)(8936002)(305945005)(316002)(3846002)(7736002)(106356001)(3280700002)(74316002)(86362001)(53546011)(2501003)(81156014)(81166006)(8676002)(5250100002)(966005)(6246003)(186003)(45080400002)(26005)(3660700001)(97736004)(105586002)(110136005)(7696005)(53936002)(76176011)(2906002)(102836004)(6506007)(2900100001)(5660300001)(33656002)(55236004)(25786009)(99286004)(68736007)(2950100002)(6306002)(9686003)(55016002)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1335; H:DB5PR04MB0998.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: V4TqW5F5vHvzvnXmc6816aaIFnHkHS8OvvzW98FLRY69tXkd+p0QC7GcYOd25ROd+y8lbREwPQQ1nbwMTeCT9oHMFOK/xI8Q3vvKJdOT+TrayLM+kUdGDnE+vp5s25fPnvCw08QIQVcbYCJwPIzMEO4U46uOU7LVAD4kDC+JytwWnQq4pQ0+0WNbPBpDBnvTUI1s4oXwKGyFLhfM3/Vl/I3d8BTLLjUWSGBpLoPFKRAtfbcb9VqSqqdv1u8+unBnDKxJuQkY3CNNcuB3C/amInj1QJc3DoIq7fvqbmvKe9/s3WsQxmz9/rr1HtWmKtgpmWqTmwWaNUXvrpigg81sYQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 331b3c54-096c-4ac0-6bdb-08d58508fe3e X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2018 15:26:41.3904 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1335 Subject: Re: ShellPkg: reconnect command resulted in hang X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 15:20:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable 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 ; edk2- > devel@lists.01.org > Subject: RE: ShellPkg: reconnect command resulted in hang >=20 > Are you using this serial port? Are you connected to the device via this = serial > port? >=20 > > -----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 reache= d > > to shell but console is not coming. > > > > > > In "reconnect -r" , we are calling ConnectAllConsoles() separately betw= een > > 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=3Dhttps%3A%2F%2Flist > s.01.org%2Fmailman%2Flistinfo%2Fedk2- > devel&data=3D02%7C01%7Cmeenakshi.aggarwal%40nxp.com%7C230f90d310a > 9476a24cc08d585080ef4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0% > 7C636561192036205272&sdata=3D6pvDPfpdDAvpKVB%2BhD7xRov7Rq6x68NhG > HeL1XRZoFE%3D&reserved=3D0