From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1C3502BE1 for ; Tue, 27 Jun 2017 23:17:58 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2017 14:17:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,272,1496127600"; d="scan'208";a="985889635" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 27 Jun 2017 14:17:57 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 27 Jun 2017 14:17:57 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.51]) by fmsmsx117.amr.corp.intel.com ([169.254.3.49]) with mapi id 14.03.0319.002; Tue, 27 Jun 2017 14:17:57 -0700 From: "Wiles, Keith" To: "McCullough, Harrison" CC: "users@dpdk.org" Thread-Topic: [dpdk-users] bug: pktgen-dpdk leaves terminal in abnormal state, no text or cursor Thread-Index: AdLvgvVhrvYjP5IxRdmj2juIYeX1ngAQo9AA Date: Tue, 27 Jun 2017 21:17:56 +0000 Message-ID: <9A7FA347-17F2-41FC-890F-529C951748DA@intel.com> References: <942AD08E4186F644A54168E4F84117C93178BB@SAUSMAILMBX1.ad.tri.sbc.com> In-Reply-To: <942AD08E4186F644A54168E4F84117C93178BB@SAUSMAILMBX1.ad.tri.sbc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.52.76.44] Content-Type: text/plain; charset="us-ascii" Content-ID: <6584357203CE72469D06205FA653DCEA@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] bug: pktgen-dpdk leaves terminal in abnormal state, no text or cursor X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2017 21:17:59 -0000 > On Jun 27, 2017, at 1:23 PM, McCullough, Harrison wrote: >=20 > When I start pktgen-dpdk just like the example in the documentation, like= this: >=20 > ./test_pmd -c 0x3 -n 2 >=20 > And then quit by typing 'quit' or 'Ctrl-x' and hitting enter, my terminal= is > left in a very abnormal state. I can see my PS1 showing up but the cursor= does > not move and text does not appear when I type. At first I assumed it was = frozen, > but eventually I discovered that my commands were working and I could see= the > output of commands, but the text that I type doesn't show up. Yes, normally do not run pktgen using the command line format, but I use th= e ./tools/run.py or ./tools/run.sh. The run.py python script is the newer script and it uses .cfg files in the = ./cfg directory to execute pktgen with the correct options. The run.sh scri= pt needs to be edited to run the correct options. I would suggest using the= run.py script as in: $ ./tools/run.py default And yes pktgen needs to be fixed to not leave the tty in a funny state. I h= ope I can get to that later. >=20 > If I use the `reset` command then everything goes back to normal. >=20 > I am using PuTTY from Windows 7 to connect to a Ubuntu 14.04 server. Regards, Keith