Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965036AbbLOKF2 (ORCPT ); Tue, 15 Dec 2015 05:05:28 -0500 Received: from mail-bl2on0111.outbound.protection.outlook.com ([65.55.169.111]:19456 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S964873AbbLOKFX convert rfc822-to-8bit (ORCPT ); Tue, 15 Dec 2015 05:05:23 -0500 From: Bhushan Bharat To: Christoffer Dall CC: "kvmarm@lists.cs.columbia.edu" , "kvm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: ARM64/KVM: Bad page state in process iperf Thread-Topic: ARM64/KVM: Bad page state in process iperf Thread-Index: AdE26xRfywNKG3f+QN+08U6/TVO0MwAL/wSAAAADqnA= Date: Tue, 15 Dec 2015 09:33:15 +0000 Message-ID: References: <20151215092915.GF4120@cbox> In-Reply-To: <20151215092915.GF4120@cbox> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bharat.Bhushan@freescale.com; x-originating-ip: [192.88.169.1] x-microsoft-exchange-diagnostics: 1;DM2PR03MB559;5:ZvLpGoyTjLAp99sbHPqAAzvk3JK3mCn60poV+cWj1eJzEMc7nXS7beApFDm3GkZNAJ7v9kfDqds5sFZcK71Zm2e+/2DmCrR+FXFGkhf42y3okXkBafk3CYKh4vFhoTCZDG5HbxvjSu3DvBuNI7obcQ==;24:p3cbIRziiZZcqK0UMeKIDzAvaIHrbe9pPQpja0UGYeGqnmPgk6PH0HDwB88BDuEXOOe176VxNHIcKdpe2S0QEjn70HUAbxfklmDruz4koDY= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR03MB559; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(101931422205132)(85170053105377); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046);SRVR:DM2PR03MB559;BCL:0;PCL:0;RULEID:;SRVR:DM2PR03MB559; x-forefront-prvs: 07915F544A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(24454002)(189002)(53754006)(199003)(377454003)(13464003)(5001960100002)(99286002)(2950100001)(11100500001)(6116002)(5004730100002)(5002640100001)(74316001)(122556002)(1096002)(5003600100002)(77096005)(10400500002)(97736004)(105586002)(33656002)(101416001)(106356001)(81156007)(2900100001)(66066001)(40100003)(3846002)(86362001)(19580405001)(76576001)(189998001)(15975445007)(1220700001)(76176999)(102836003)(87936001)(5008740100001)(586003)(19580395003)(110136002)(50986999)(92566002)(54356999);DIR:OUT;SFP:1102;SCL:1;SRVR:DM2PR03MB559;H:DM2PR03MB557.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Dec 2015 09:33:15.8853 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR03MB559 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3590 Lines: 85 > -----Original Message----- > From: Christoffer Dall [mailto:christoffer.dall@linaro.org] > Sent: Tuesday, December 15, 2015 2:59 PM > To: Bhushan Bharat-R65777 > Cc: kvmarm@lists.cs.columbia.edu; kvm@vger.kernel.org; linux-arm- > kernel@lists.infradead.org; linux-kernel@vger.kernel.org > Subject: Re: ARM64/KVM: Bad page state in process iperf > > On Tue, Dec 15, 2015 at 03:46:03AM +0000, Bhushan Bharat wrote: > > > > Hi All, > > > > I am running "iperf" in KVM guest on ARM64 machine and observing below > crash. > > Which host/guest kernel version is this? We are using Linux-v4.1 for both host (4K page size) and guest (64K page size). > > Which hardware? This is observed on Freescale LS2085 hardware based on A57 (8 CPUs). Thanks -Bharat > > -Christoffer > > > > > ============================= > > $iperf -c 3.3.3.3 -P 4 -t 0 -i 5 -w 90k > > ------------------------------------------------------------ > > Client connecting to 3.3.3.3, TCP port 5001 TCP window size: 180 > > KByte (WARNING: requested 90.0 KByte) > > ------------------------------------------------------------ > > [ 3] local 3.3.3.1 port 51131 connected with 3.3.3.3 port 5001 [ 6] > > local 3.3.3.1 port 51134 connected with 3.3.3.3 port 5001 [ 5] local > > 3.3.3.1 port 51133 connected with 3.3.3.3 port 5001 [ 4] local > > 3.3.3.1 port 51132 connected with 3.3.3.3 port 5001 > > [ 53.088567] random: nonblocking pool is initialized > > [ ID] Interval Transfer Bandwidth > > [ 3] 0.0- 5.0 sec 638 MBytes 1.07 Gbits/sec > > [ 4] 35.0-40.0 sec 1.66 GBytes 2.85 Gbits/sec [ 5] 40.0-45.0 sec > > 1.11 GBytes 1.90 Gbits/sec [ 4] 40.0-45.0 sec 1.16 GBytes 1.99 > > Gbits/sec > > [ 98.895207] BUG: Bad page state in process iperf pfn:0a584 > > [ 98.896164] page:ffff780000296100 count:-1 mapcount:0 mapping: > (null) index:0x0 > > [ 98.897436] flags: 0x0() > > [ 98.897885] page dumped because: nonzero _count > > [ 98.898640] Modules linked in: > > [ 98.899178] CPU: 0 PID: 1639 Comm: iperf Not tainted 4.1.8-00461- > ge5431ad #141 > > [ 98.900302] Hardware name: linux,dummy-virt (DT) > > [ 98.901014] Call trace: > > [ 98.901406] [] dump_backtrace+0x0/0x12c > > [ 98.902522] [] show_stack+0x10/0x1c > > [ 98.903441] [] dump_stack+0x8c/0xdc > > [ 98.904202] [] bad_page+0xc4/0x114 > > [ 98.904945] [] get_page_from_freelist+0x590/0x63c > > [ 98.905871] [] __alloc_pages_nodemask+0xec/0x794 > > [ 98.906791] [] skb_page_frag_refill+0x70/0xa8 > > [ 98.907678] [] sk_page_frag_refill+0x20/0xd0 > > [ 98.908550] [] tcp_sendmsg+0x1f8/0x9a8 > > [ 98.909368] [] inet_sendmsg+0x5c/0xd0 > > [ 98.910178] [] sock_sendmsg+0x14/0x58 > > [ 98.911027] [] sock_write_iter+0x64/0xbc > > [ 98.912119] [] __vfs_write+0xac/0x10c > > [ 98.913126] [] vfs_write+0x90/0x1a0 > > [ 98.913963] [] SyS_write+0x40/0xa0 > > > > ----------- > > _______________________________________________ > > kvmarm mailing list > > kvmarm@lists.cs.columbia.edu > > https://lists.cs.columbia.edu/mailman/listinfo/kvmarm -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/