From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 411hhW5QSWzF1Hv for ; Thu, 7 Jun 2018 20:33:15 +1000 (AEST) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w57ASbdp078192 for ; Thu, 7 Jun 2018 06:33:12 -0400 Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.152]) by mx0b-001b2d01.pphosted.com with ESMTP id 2jf2ew9rtw-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 07 Jun 2018 06:33:12 -0400 Received: from localhost by e34.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 7 Jun 2018 04:33:11 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Date: Thu, 07 Jun 2018 16:07:23 +0530 From: vrbagal1 To: Bart Van Assche , axboe@kernel.dk, kent.overstreet@gmail.com, snitzer@redhat.com, linux-block@vger.kernel.org Cc: linux-scsi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, sachinp@linux.vnet.ibm.com, Linuxppc-dev Subject: Re: Fwd: [powerpc/Baremetal]Kernel OOPS while executing memory hotplug on Power8 baremetal In-Reply-To: <042fc8ee69b74c57815c0edfdbb253495e9d7718.camel@wdc.com> References: <042fc8ee69b74c57815c0edfdbb253495e9d7718.camel@wdc.com> Message-Id: List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 2018-06-07 13:12, Bart Van Assche wrote: > On Thu, 2018-06-07 at 12:56 +0530, Venkat Rao B wrote: >> On Thursday 07 June 2018 12:46 PM, Bart Van Assche wrote: >> > On Thu, 2018-06-07 at 12:38 +0530, vrbagal1 wrote: >> > > Observing Kernel oops and machine reboots while executing memory hotplug >> > > test case, on Power8 Baremetal machine. >> > > >> > > I see this is introduced some where between rc6 and 4.17. >> > >> > Please provide the exact versions (git commit IDs) of the kernel versions >> > you have tested. >> >> Commit Id ---> 5037be168f > > The reason I was asking for the commit ID is because I saw that > clone_endio() > occurs in the oops which means that the dm driver is involved. An > important fix > for the dm driver went upstream recently, namely d37753540568 ("dm: Use > kzalloc > for all structs with embedded biosets/mempools"). Can you double check > whether > that commit it present in your tree? If it is not present, please > update to the > latest master and retest. If it is present, please report how to > reproduce > this oops to Kent Overstreet, Jens Axboe, linux-block and Mike Snitzer. > > Thanks, > > Bart. Yes, the fix is present in the tree, which I have tested. Steps to reproduce: Step1: Clone and Install avocado git clone https://github.com/avocado-framework/avocado.git Step2: Clone https://github.com/avocado-framework-tests/avocado-misc-tests.git Test case is https://github.com/avocado-framework-tests/avocado-misc-tests/blob/master/memory/memhotplug.py Step3: Command to run the test is avocado run avocado-misc-tests/memory/memhotplug.py Regards, Venkat.