From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.0.60; helo=eur01-he1-obe.outbound.protection.outlook.com; envelope-from=meenakshi.aggarwal@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0060.outbound.protection.outlook.com [104.47.0.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 997E4224DCA4E for ; Thu, 8 Mar 2018 01:29:05 -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=89YxCobStouYZ9D28LeVxA21AH79GorUvKNQWUZA0B4=; b=hHsT3R03Ik+Oi7q0AscK0jxVLzNTY3+SEbuleNquWNRfEvVnHDKQdR3njkYt1Sz/JcA+Kf8vcS0tseLNlVECUzJcIx3XeS0Ez/HV40DmsiMV71asxGuGy501cdRHJLwweJO/LTIhBX3CQdrCPK562nEkPJnF6QQAwZmMpjhQ/tE= Received: from DB5PR04MB0998.eurprd04.prod.outlook.com (10.161.199.12) by DB5PR04MB0983.eurprd04.prod.outlook.com (10.161.196.27) 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 09:35:18 +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 09:35:18 +0000 From: Meenakshi Aggarwal To: "edk2-devel@lists.01.org" Thread-Topic: ShellPkg: reconnect command resulted in hang Thread-Index: AdO2wMDVPz7L8T7dQPy5y+iSTMsyhg== Date: Thu, 8 Mar 2018 09:35:18 +0000 Message-ID: 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; DB5PR04MB0983; 7:othEL6y3L2G6aKjeWq/pv/18/OQceX23DMadxfb/5Fr9Ubr6Ef9zMA2aogwm+YA9Hih9KeQOqM8/DjI05jXVBF7lk6vW7UckfVQ3QLdiA8CVKbpvgKS7NUlz9JT6Mr2o4QnvgsA+kt63fFOSvhmd1VfS72JUOLxdhSvplDA9oyH8/Kwul6Unt3SVqCIpTsheW9qRigYDgKZ1B8009Fuh4n9eCrHHBwRLSILTUlk8axczvm9N1DeIjXIMHGMOquIC x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 1b1ab8f3-0b44-4dbf-c34a-08d584d7e7b0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB5PR04MB0983; x-ms-traffictypediagnostic: DB5PR04MB0983: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155)(21532816269658); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3002001)(3231220)(944501244)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB5PR04MB0983; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB0983; x-forefront-prvs: 060503E79B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39380400002)(346002)(376002)(39860400002)(396003)(199004)(189003)(53474002)(74316002)(102836004)(2501003)(66066001)(53946003)(2906002)(68736007)(8936002)(2351001)(6506007)(5250100002)(186003)(7736002)(316002)(5660300001)(25786009)(53936002)(55236004)(9686003)(86362001)(26005)(55016002)(6916009)(54896002)(2900100001)(33656002)(81166006)(81156014)(6306002)(3280700002)(6436002)(7696005)(8676002)(478600001)(9326002)(3846002)(99286004)(97736004)(105586002)(6116002)(5640700003)(14454004)(106356001)(790700001)(3660700001)(579004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB0983; H:DB5PR04MB0998.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: KwKJxsuoPSOfkpy+w7GeyzUNJR2tNBlUgsVwfsrrvs7ljn0LKcmoh81kN1Hx6aTLh2xZpDVnd/tCEbcKhejSGjCVaa/wAxWyZetvK/NQ1Dn+zOUZWdjiycTWsZzrc0H96mGWUfWDz0s/+8gmw5DdNoxG/ijw4zhIuI+/kRFcoVnAdVHxzG9vJnxVOWnzxWjaGgwqyfSFPIeGvzc5NStdzqT9b525HQQoxDWK4iu/dvaJqqdFAFpJJIAPWlyqTDxNyC0U+fDiz8uLCEGsc2+I+SopQ346m8/e/M6Ts8xm+CxsLW2HrsbixmRVoIf2phS5udjquAJyTFe+wXzrEWs3xQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b1ab8f3-0b44-4dbf-c34a-08d584d7e7b0 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2018 09:35:18.1186 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB0983 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: 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 09:29:08 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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