Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp42360lqp; Fri, 12 Apr 2024 09:59:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtV1RW/IPX86AdbwdOMMEI4QLlm4olZVnXwwhrxClRi26PleEaxDHKV14bcPvBIilsDQD0xXM5nrGqmm2LKJUiF4b9FHiZKbQn4MbhXg== X-Google-Smtp-Source: AGHT+IGyPEtKapNsiXGNlFq0V6l+a2aRzSeLRcTzPAo9HeuRCxBqiQe++2ayT+JJ0bMFEut1/CK+ X-Received: by 2002:ac8:5dcf:0:b0:436:7fc7:b4fd with SMTP id e15-20020ac85dcf000000b004367fc7b4fdmr3140556qtx.48.1712941173268; Fri, 12 Apr 2024 09:59:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712941173; cv=pass; d=google.com; s=arc-20160816; b=0KVA7coJ3CSf6401O0NBKQNQ2eh7YC2tzEeXCP+VBesymLyuj74x45J7crXFv3wk+N Uj4ojIvxpKgII3r3w1Kg5fUvUpGjG2KpShjcwJPzWHINGCJzpTRClCQvyAnH0c+WjiPK DbYvj7mpygB+orkODlrt0iFvonOcmpA4eW88wK4+/tDO6120kh+IGUn9AlVLxZL26gvA VQOVlSyEFD01BiFcFY/ds8Vwn+Z/XFyaIZ2fBpiZ+OJa1mBOagyo9PUkb+uTvZtAsC15 9nwHtsdQbXzPYc2shsen6sZabuPj/UZXFGa3vOLyAjfxZiDk68DkD5kw1foG2aJFA5YT AGZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=KoOzy7DPTkSn0mzVHjcfsWyB8X1cPFLI32EV30EIlMI=; fh=NNyKcktTnotr1/nGQ0I7Bh6dd3n/S7mRbmZbblHLPrg=; b=QfZ7mMSBbcX9b4Z0LwRx0vtNx9wrIcNeXxfru8D2lwnMYAXKoqmdzGtT9IAOoKL3xA WZLRe5wRRTU9C9kGXs+WB+FZVguNMTyObLm4hb/F2ozHjprbjeo/St7rq7lun/KLae3q RPz+eHiESE4xsFL+B7yJEdhpGmQHj+ICpT9wPmJzujqps5RTh3IkWImySyM0fhnsR59H sRIDQIi6eSbE0fNIK0Iw2n53zRanC2HMoXzB1jqUMWCvJwn4hnGVAVR+VjUk3DFIPCbw Jkt1jkbafuCxVL2adp9enXXRbPmexa3c87Pf5mnqCzOOMIO+liGPFIfEHHnh484S9lw4 /14g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B7PAvxxF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-ext4+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r19-20020ac85213000000b00434921c3167si3780226qtn.464.2024.04.12.09.59.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 09:59:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B7PAvxxF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-ext4+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 00BCB1C22D14 for ; Fri, 12 Apr 2024 16:59:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 620BF14BFA2; Fri, 12 Apr 2024 16:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="B7PAvxxF" X-Original-To: linux-ext4@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D316E5491F; Fri, 12 Apr 2024 16:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712941164; cv=none; b=HbfZ7nm+P1zAaTtuG+O+wxljBr5NjtFp5Qz4Z6ptUn5zUistTTrkPWbu7b7nNUv10wNGGS8fNsI/r7azta3UaK3zuqNxJ+rwGRKDv5W/EnQYR6c/q2wXoAm8nbNHzoLCtaMoN1JZQapIXCgiNP889hv8DijkwmdbLqLgnJwNYkY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712941164; c=relaxed/simple; bh=vjUt8Ss2air20ASfcUx9xukrTcaaeYFx19lixRDlmP0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=avzY5o91SyvG515X4J/gpFKl61VdZd1ydGM25lhVIo7dFYAkq/LDqOnWFi3/zP3ZwiFF/9a+wcBchmOEaEDwv5ZtDFJLzeb8IQI7NV18yN0Cy0dtIRUgJtEBOG1xNZpVDrRhv6EvED008uJXYW509V2v2BBmKX5aQrdjVNL6+Go= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=B7PAvxxF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D84F9C113CC; Fri, 12 Apr 2024 16:59:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712941163; bh=vjUt8Ss2air20ASfcUx9xukrTcaaeYFx19lixRDlmP0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=B7PAvxxFsSFHG7ZCnsELk3yzsJDSXiXUwUaoao8fjYeQgunNY5KA0SHMn7Mm2zdTp sVvu012C7X5XqVa215VQ+KY3HWjwFpLMeLnp1Q3ghYPc8Bq+kZMoO6fWOEQwW3XzTk heHhS7uZJYfnMqMGaZ/mJao/tGod1J5x/tbZC+2SveyvvQuBFPoNCbTtyKhckzG8OQ Kud6G/ycDucl9EMm6zAKzZ9kZ94MjqVqyM5d+nS5sv2G9+xPfotvp4oZrH/KTgQe+2 LJZxaVycmHkafDql7cJYNvg5YmO8q5NcvPgvJM3v0N4uSsfqhGyWUZlmVPQP3Ynufd esHkLQ+rsTAJw== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Theodore Ts'o Cc: linux-fsdevel@vger.kernel.org, Alexander Viro , Christian Brauner , Jan Kara , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Andreas Dilger , linux-ext4@vger.kernel.org, Conor Dooley , Anders Roxell Subject: Re: riscv32 EXT4 splat, 6.8 regression? In-Reply-To: <20240412154342.GA1310856@mit.edu> References: <878r1ibpdn.fsf@all.your.base.are.belong.to.us> <20240412154342.GA1310856@mit.edu> Date: Fri, 12 Apr 2024 18:59:19 +0200 Message-ID: <87a5lyecuw.fsf@all.your.base.are.belong.to.us> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Theodore Ts'o" writes: > On Fri, Apr 12, 2024 at 04:57:08PM +0200, Bj=C3=B6rn T=C3=B6pel wrote: >> Hi! >>=20 >> I've been looking at an EXT4 splat on riscv32, that LKFT found [1]: > > I'm getting a "page not found" for [1]? You are? It's working for me! >> This was not present in 6.7. Bisection wasn't really helpful (to me at >> least); I got it down to commit c604110e662a ("Merge tag 'vfs-6.8.misc' >> of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs"), and when I >> revert the commits in the vfs merge the splat went away, but I *really* >> struggle to see how those are related... > > It sounds like you have a reliable repro; is it something that can be > streamlined into a simple test program? If so, is it something that > can be reproduced on other architectures? And could you make it > available? It's kind of streamlined: Linaro has this nice "tuxrun" tool, that can be installed via pip, e.g. $ pipx install tuxrun if you're on Debian. Then you can get the splat by running: $ tuxrun --runtime docker --device qemu-riscv32 --kernel https://storage= .tuxsuite.com/public/linaro/lkft/builds/2esMBaAMQJpcmczj0aL94fp4QnP/Image.g= z --parameters SKIPFILE=3Dskipfile-lkft.yaml --parameters SHARD_NUMBER=3D10= --parameters SHARD_INDEX=3D1 --image docker.io/linaro/tuxrun-dispatcher:v0= .66.1 --tests ltp-controllers (--runtime knows "podman" as well) You can pass your own kernel to --kernel, and the config for riscv32 can be obtained here [2]. Build with "make ARCH=3Driscv CROSS_COMPILE=3Driscv64-linux-gnu-", and make sure to have the riscv64 cross-compilation support (yes, same toolchain for rv32!). It's when the rootfs is mounted, and the kernel is looking an init. I'll keep debugging -- it was more if anyone had seen it before. I'll try to reproduce on some other 32b platform as well. Thanks, Bj=C3=B6rn [2] https://storage.tuxsuite.com/public/linaro/lkft/builds/2esMBaAMQJpcmczj= 0aL94fp4QnP/config