Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp325431lqp; Fri, 12 Apr 2024 21:36:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfD54DCP/SckPJxdBBkYLn+oz9WTgP1wEtGDqsnIWIyzpWH6esyYq3QnfWG9Ik+SyY6A/Gzjg9eLTcB+yqQcob7tDoNDwuIW4ffLrvRQ== X-Google-Smtp-Source: AGHT+IFrgfjsmgPVFLPLvug0u+Ul7lF658yi4TZy9D68IFmIR+Up+Sr6D2gEygLHHFVVoKq0h/jG X-Received: by 2002:a05:6808:2790:b0:3c6:e2d:c21b with SMTP id es16-20020a056808279000b003c60e2dc21bmr5221860oib.17.1712982984693; Fri, 12 Apr 2024 21:36:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712982984; cv=pass; d=google.com; s=arc-20160816; b=pVV8wZKYuAuhWZIuRV+G3GThBwbozWUswaUixyih9oKcuJUX9mc/3OA1qBXIX/JD5v vWAnb+2+2G5csiz4wsSYGay9NCoJi8Nrmo7D8LMsT+u2CY/aGsKdU7mSKX8/K1t4PZj+ 9+E2rHPnbr+Xgxfab0jsOmljKuarNdNLTLaU7veGSn/WGLoUimI9dA1v5dBXMXOWGHmk DKa2XPpAbT3oELvEJC5WhO3UsE6EHu3rtLID/a7uQaaQBR8T+QkYQEbKav4pYinLptzY 2yNfr69vrCimzCW+zC6E5T62kB8q3h7xvb4SZOQaWKjRmYoso7JHOuFg52gyKHeRnZxJ Kwbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/B4pXAPsMRR82DA1Wh7RuqgKoBHilarf9qCJOIPKqF4=; fh=FTeTpd432TMH1ts8/xSWZVHTaN05rXNG+LX+JjSGujk=; b=ARjgGb8kSTvMnDSV5R+LGKe4lV+ptNf7tIpEzQ6aGx8NRwruFw/AKKzS7IcvQK6CL2 q22kuV5J/IQFdYnPcjDV+AQPvag0RCnEPvW3effwFEWffiyUcEnEkgeZTEdhsYeTO5N1 oRHB4dbB79x+3q8sA7+h3FE3mA4rAjeuMSc2dHscMk+4wKMS4VcJj5ZmWhEQ1ZghZ9QT w8xA4SITrYf0a7WAYCOuo+MsJ7KEmcSyCczlMZd0ORGQjS3nntdjeQIwhGlvGQMsNzHw hnFl+6JAlMrGj97g07hYF+0dmZWgUKhRkkJOYucPiXBwM+hyq3BadtKYlQAk6dn2dV7B wr1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=TbnQtMH6; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-ext4+bounces-2073-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i27-20020a63131b000000b005e2b1e879d6si4336013pgl.370.2024.04.12.21.36.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 21:36:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2073-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=TbnQtMH6; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-ext4+bounces-2073-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4F07628621B for ; Sat, 13 Apr 2024 04:36:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 359771802B; Sat, 13 Apr 2024 04:36:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b="TbnQtMH6" X-Original-To: linux-ext4@vger.kernel.org Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 85F7B746E for ; Sat, 13 Apr 2024 04:36:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.9.28.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712982979; cv=none; b=N/ipVeuhFxj7PVWYOtPXwqc6NlJOITpPHSrbKtYOoZ0/SbEolmUhZ+LWkbnm3hdA+Ve3WmaAX2HAyY/ucWGa3ky4n/ECNsnZBsK3RYAQuUxncNDL5G4DA2WxpWrHg6fu8Fx6nHHvo6ANlj5RPfebeestrfbdphRJU/SvcD2x9QM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712982979; c=relaxed/simple; bh=fbIpJRyqCzHbHwHwiGGAvD34UuOfNcgBOS9zc+epVds=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i36xNUsOTt0mHA24hHXP9oqDyud84p8BqvxLKygZuJc/NqIKqFRP22rjGejJq/6XZrPM+RmlKJYCvNxohYP5sdjZEV7iX9fSkDAaZAiWXQ7iCaHd4PYfGyI7wQqzW6uZCjHajzNN68eFJZ4NBr8989gdK5Lhsf3YcOjPhgHgvzU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu; spf=pass smtp.mailfrom=mit.edu; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b=TbnQtMH6; arc=none smtp.client-ip=18.9.28.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu Received: from cwcc.thunk.org (pool-173-48-113-2.bstnma.fios.verizon.net [173.48.113.2]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 43D4ZgBU018660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 13 Apr 2024 00:35:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1712982946; bh=/B4pXAPsMRR82DA1Wh7RuqgKoBHilarf9qCJOIPKqF4=; h=Date:From:Subject:Message-ID:MIME-Version:Content-Type; b=TbnQtMH6TFa+kLU/M/0hqC87t19sYAJN33+wvj898a7IJ849R+CNp8YkoxJc/Eeqm I2PCmWvJ0bGYq9M9QpnVJo0D7W+DMRoH2GHhUJAP5O8E8XWOtKLsZlCprWefjOuJpC zsYq77DgwqdyyjzyOGaLj+eVsx7pFRn771AUsyRhDjbuR5qA+8fLh273p/m7yumP98 djtYmjbKvdy3xFtzs0yaGDs2tVDUtytiErDSfYlSXQUDHzYXGGstKUVL6NVEF2ie/f Qe78Fkdk33nf6FYe0NcVWu+C/fZdkYwQQ1tQRiic7WUtjR7NLiVjj3mdNn2fty2KSS LXpNi5K/SoXmw== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 2A66215C0CB5; Sat, 13 Apr 2024 00:35:42 -0400 (EDT) Date: Sat, 13 Apr 2024 00:35:42 -0400 From: "Theodore Ts'o" To: =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= 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? Message-ID: <20240413043542.GE187181@mit.edu> References: <878r1ibpdn.fsf@all.your.base.are.belong.to.us> <20240412154342.GA1310856@mit.edu> <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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a5lyecuw.fsf@all.your.base.are.belong.to.us> On Fri, Apr 12, 2024 at 06:59:19PM +0200, Bj?rn T?pel wrote: > > $ 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.gz --parameters SKIPFILE=skipfile-lkft.yaml --parameters SHARD_NUMBER=10 --parameters SHARD_INDEX=1 --image docker.io/linaro/tuxrun-dispatcher:v0.66.1 --tests ltp-controllers Yeah, what I was hoping for was a shell script or a .c file hich was the reproducer, because that way I can run the test in my test infrastructure [1] [1] https://github.com/tytso/xfstests-bld/blob/master/Documentation/kvm-xfstests.md I'm sure there are plenty of nice things about tuxrun, but with kvm-xfstests I can easily get a shell so I can run the test sccript by hand, perhaps with strace so I can see what is going on. Or I attach gdb to the kernel via "gdb /path/to/vmlinux" and "target remote localhost:7499". I'm guessing that "ltp-controllers" means that the test might be from the Linux Test Project? If so, that's great because I've added ltp support to my test infrastructure (which also supports blktests, phoronix test suite, and can be run on gce and on android devices in addition to qemu, and on the arm64, i386, and x86_64 architectures). > Build with "make ARCH=riscv CROSS_COMPILE=riscv64-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. Hmm, so this happening as soon as the VM starts, before actually starting to run any tests? Is it possible for you to send me the rootfs as a downloading image, as opposed to my trying to paw through the docker image? > 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. Well, it's not happening on my rootfs on i386 using my test infrastructure: % cd /usr/projects/linux/ext4 % git checkout v6.8 % install-kconfig --arch i386 % kbuild --arch i386 % kvm-xfstests shell ... root@kvm-xfstests:~# cd ltp root@kvm-xfstests:~# ./runltp (I don't have ltp support fully automated the way I can run blktests using "kvm-xfstests --blktests" or run xfstests via "gce-xfstests -c ext4/all -g auto". The main missing is teaching ltp to create an junit xml results file so that the test results can be summarized and so the test results can be more easily summarized and compared against past runs on different kernel versions.) Anyway, if you can send me your rootfs, I can try to take a look at it. - Ted