From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.4.60; helo=eur03-db5-obe.outbound.protection.outlook.com; envelope-from=v.sethi@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40060.outbound.protection.outlook.com [40.107.4.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7CAF722568632 for ; Thu, 8 Mar 2018 09:26:37 -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=7acZM3ETpvBF/fY263k5WSYI9Q7WAlzAVfC5cr6CrUU=; b=M/PDNjfKo23B0FWv4oAeJk8W91M1U5tTqw27IYcVdkGCNeBVsxstGwZt0yXkr7j62MjiP+dMhAFu7egfzEEVdOTcJHrg0vNp8tGH4pPBAYKkEWKgWPF4X/zIbAYUB7JMHwEpbDheZyKs6fUukvrVfuZ+X5otW1HIYU3BIxwox+Q= Received: from HE1PR04MB3002.eurprd04.prod.outlook.com (10.170.255.148) by HE1PR04MB1353.eurprd04.prod.outlook.com (10.163.175.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Thu, 8 Mar 2018 17:32:51 +0000 Received: from HE1PR04MB3002.eurprd04.prod.outlook.com ([fe80::4503:acda:7c89:fc04]) by HE1PR04MB3002.eurprd04.prod.outlook.com ([fe80::4503:acda:7c89:fc04%13]) with mapi id 15.20.0548.016; Thu, 8 Mar 2018 17:32:50 +0000 From: Varun Sethi To: Meenakshi Aggarwal , "Carsey, Jaben" , "edk2-devel@lists.01.org" Thread-Topic: ShellPkg: reconnect command resulted in hang Thread-Index: AdO2wMDVPz7L8T7dQPy5y+iSTMsyhgAMAzUgAAA+1sAABEi7gA== Date: Thu, 8 Mar 2018 17:32:50 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=V.Sethi@nxp.com; x-originating-ip: [171.61.139.15] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR04MB1353; 7:aHbfmeA2aEDLGTLi80hbcLr8gDVnTWjRGcL6QWZsJHCfzSbXnwf2sOtCqErCTba56TzNjKmUdUS2l3Q/5CTQsqk/KFl3CoDvfpzzTykjjaC/ioGKxS3YHyom/xRUnpdLgy0Q/gXgOwJ3jb6LEOO8/LSNuOCvCcLNkls+FkaNt9pbLBmZz/syW3DuW7JV3X9xbZpt5Wgy7Tt4fqVOG9bq838qf9agvI4DKxVQdVOflPaTkfXxtyHyeQM3y5L/BmQr x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(376002)(396003)(346002)(366004)(53474002)(199004)(189003)(13464003)(6436002)(99286004)(7696005)(6506007)(76176011)(102836004)(26005)(229853002)(9686003)(7736002)(316002)(110136005)(25786009)(305945005)(2950100002)(74316002)(53546011)(6306002)(55016002)(2900100001)(8676002)(3846002)(45080400002)(81166006)(3660700001)(81156014)(478600001)(6116002)(5660300001)(66066001)(53936002)(4326008)(575784001)(97736004)(86362001)(6246003)(68736007)(5250100002)(966005)(2906002)(105586002)(3280700002)(72206003)(8936002)(2501003)(14454004)(106356001)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1353; H:HE1PR04MB3002.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 2382210e-beda-4534-e5c4-08d5851a9de5 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB1353; x-ms-traffictypediagnostic: HE1PR04MB1353: 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)(8121501046)(5005006)(93006095)(93001095)(3231220)(944501244)(52105095)(3002001)(10201501046)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:HE1PR04MB1353; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1353; x-forefront-prvs: 060503E79B received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: rKRK78HaLt8Twa3z7jNftxTP9DE98TdyBuryoFLy6Zxy8duJBY+VRCZ2Oqe9QuoDU0Qb/icqbifAOaSzEYJrLFgQM8FvLzOSWDOtmi//kCGNBWNz/WqgCTtgYlV760SF3RuKxPi5WBEL6S9FChZYnlR3gHqa4xHhj68XtceVnCA+RmjQSMk1P+jySShD5/bCeNxlFI7BhgRGEWlcq5Gl8Gh36E5h7USKXe1P3suea0Rto5AsCjLE+DKe/Sg6/MIww5/SbCUDg/4m/dUhVBf5d/unmdaw//hWWUv2bCfl30qO1GudnNXb2vKJfXVf3GSBwuzY7GxBVCH482Ql+sT+Uw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2382210e-beda-4534-e5c4-08d5851a9de5 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2018 17:32:50.6276 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1353 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 17:26:39 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Meenakshi, This seems like the issue we saw while changing the console baud rate. Pank= aj had provided a fix for that issue. Regards Varun > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Meenakshi Aggarwal > Sent: Thursday, March 08, 2018 8:57 PM > To: Carsey, Jaben ; edk2-devel@lists.01.org > Subject: Re: [edk2] ShellPkg: reconnect command resulted in hang >=20 > Yes, i am connected to the device using this serial port. >=20 > > -----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 > > > > 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 han= g. > > > 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=3Dhttps%3A%2F%2Fli= s > > t > > s.01.org%2Fmailman%2Flistinfo%2Fedk2- > > > devel&data=3D02%7C01%7Cmeenakshi.aggarwal%40nxp.com%7C230f90d310a > > > 9476a24cc08d585080ef4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0 > % > > > 7C636561192036205272&sdata=3D6pvDPfpdDAvpKVB%2BhD7xRov7Rq6x68Nh > G > > HeL1XRZoFE%3D&reserved=3D0 > _______________________________________________ > 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%7Cv.sethi%40nxp.com%7Ccc1319bae1e94046449f08d > 585090347%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6365611 > 96147792510&sdata=3DXuPGfjQ7zKkBKURPwr%2FFiasSvjaCvPU0eC1iA6pQyWY > %3D&reserved=3D0