Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75CD0C61DA4 for ; Fri, 3 Feb 2023 07:00:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231462AbjBCHAZ (ORCPT ); Fri, 3 Feb 2023 02:00:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbjBCHAW (ORCPT ); Fri, 3 Feb 2023 02:00:22 -0500 Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 026B76DFE3 for ; Thu, 2 Feb 2023 23:00:18 -0800 (PST) Received: by mail-vs1-xe33.google.com with SMTP id k6so4449263vsk.1 for ; Thu, 02 Feb 2023 23:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=DbzT1FQNEmaS1Fq7BXjYIIpb2bUbkeqUBQhvRAmSRec=; b=whqTS9KQ2Wx0JsJ5jPsmKM+AcLdS/Ub9HHrPlTlWifEnh6KZ32CmAy5QWJIMD4cTEV jo2sk8IFKxARWQZWiv0oFzrA/KSjNVSIRWRKDTplJP6saYDN/5F/AYhE/Dt8j+MZImZy DO4lWxdQpox/qdCKLYsC6PbkHo9+jftXkGCoNADF4gSD3HhhPQ8GJdY/Z+mJhYZxVn6c 6g6eFRA8L8zRzWlVWZMvHlOLqrgm7HqTwb+SBrODYteEyZIXhmPCDXVyR+QdXWZkyEbF jIUSyQY2qqCgN5Ws89G8H4Y+UV7Xk9KO96f3/1CFXrWXTbGr64efj1yo74rn7IQ3j3ml 6hHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DbzT1FQNEmaS1Fq7BXjYIIpb2bUbkeqUBQhvRAmSRec=; b=QqmqaULwB8vnKTZvIxMMzZilW5vc3R6qDph0koXS564hfl16YqbPVA+bAxnSRzbh0o VAf7n0HVVTnFXcEweZMiZz0RZpsr0jlHvLEf5Mw2Z51MdD8whRkRmoT8jfrJBTpOIrSd JcsfjMrVT07xpG4jx/XjGg2oFygKlEeGY7pxtqnAt9xf9GgdlaUCfDCVLTbD+9+xC94K 1uhJveqhmwc4cRFZd+yCWrbTrPuzKi7Zy61GNW3QOTKkwIEoSgFxUcpbmrxzvHmQNQ2v HiH5KlwJl0rCxlmVhSSf5Mwc2/5DdqipdSF1O+ymU4EA7zPurQztxp3EQut7KLikse/G ARRA== X-Gm-Message-State: AO0yUKUbUjN4Ba6FcZUInRHcJ1IA307FbXyjmeoBeCoqJ4aatSrMFobE xL1kDcU3bIbjnT2W9hU3FWWHZB5DelAhvwo1UGCnOQ== X-Google-Smtp-Source: AK7set8sK6QtEx/EgR0ZDaA9xoQHrr2H7fiqNNEAhOBy0YYaXP+Xe/mRMgXpV2MsalMb5tGxstdPCWShv1CnuEJq++M= X-Received: by 2002:a05:6102:204d:b0:3f1:53d4:9e87 with SMTP id q13-20020a056102204d00b003f153d49e87mr1316305vsr.34.1675407616935; Thu, 02 Feb 2023 23:00:16 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Fri, 3 Feb 2023 12:30:06 +0530 Message-ID: Subject: Re: selftests: memfd: run_hugetlbfs_test.sh - invalid opcode: 0000 [#1] PREEMPT SMP To: Mike Kravetz Cc: Anders Roxell , "open list:KERNEL SELFTEST FRAMEWORK" , open list , linux-stable , lkft-triage@lists.linaro.org, Greg Kroah-Hartman , Andrew Morton , Shuah Khan , Jeff Xu , Joel Fernandes , Pranith Kumar , David Herrmann Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 3 Feb 2023 at 03:24, Mike Kravetz wrote: > > On 02/02/23 16:29, Anders Roxell wrote: > > On Thu, 2 Feb 2023 at 15:54, Naresh Kamboju wrote: > > > > > > Hi Mike, > > > > > > On Wed, 25 Jan 2023 at 06:04, Mike Kravetz wrote: > > > > > > > > On 01/05/23 15:14, Naresh Kamboju wrote: > > > > > While running selftests: memfd: run_hugetlbfs_test.sh on qemu_i386 and i386 the > > > > > following invalid opcode was noticed on stable-rc 6.1 and 6.0. > > > > > > > > > > This is always reproducible on stable-rc 6.1 and 6.0 with qemu_i386 and i386. > > > > > Build, config and test log details provided in the below links [1]. > > > > > > > > Hello Naresh, > > > > > > > > I have tried to create this issue a few times without success. Since I > > > > do not have i386 HW, I am using qemu_i386. If I use the supplied config, > > > > my kernel does not boot. I then try to modify config options which I > > > > think are not relevant. By the time I get to a config that will boot, I > > > > can not recreate the issue. :( > > > > > > > > Just curious if you have any suggestions? Or, Wondering if anyone else has > > > > suggestions on how to proceed? > > > > > > Please install tuxmake and run attached script to reproduce reported issues, > > > $ pip3 install tuxmake > > > > oops, a typo, should be 'tuxrun' not 'tuxmake'. > > > > https://tuxrun.org/ > > > > Cheers, > > Anders > > > > > $ ./memfd-crash-test-qemu-i386.sh > > > > > > This script downloads kernel Image and rootfs and runs run_hugetlbfs_test.sh. > > > If you have any questions please get back to me. > > > For your reference I have attached logs.txt > > Sorry, I am still a bit confused. > > Was the intention to attach the script 'memfd-crash-test-qemu-i386.sh'? Might be due to the emailer not allowing scripts files upload / download. > The only attachment I have seen is 'logs.txt' which is the output of the run. I have sent you a private email with a reproducer script. > -- > Mike Kravetz