Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp852101rdb; Fri, 20 Oct 2023 00:48:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG23kxd6KGCbP/ByiELwaozjppKtYLHvDA4VF7i0Na4Yd9JkiHvUhTDq1eMu7dbr/TPhtWs X-Received: by 2002:a81:ab4e:0:b0:59b:cfe1:bcf1 with SMTP id d14-20020a81ab4e000000b0059bcfe1bcf1mr1178761ywk.44.1697788128593; Fri, 20 Oct 2023 00:48:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697788128; cv=none; d=google.com; s=arc-20160816; b=bBMp5g8OHzbglCBeWeG5T0cvw5J+KOB8Ng/ZhTWJjbre463cTl3zTAYv8dypOzKXtT VNVraGG6vJT78a+MGRP7XnAqT0UWuIP1+M8iW2WCvt9Pz+g/pP1wkLOcSB5DinYkFhT4 9ti0eE2d/xW828iKBiwr9G+LF7nA2V3WmvW2QxLsp2DdJdEtO5xzC0QGshZ8K9hE02Ym 1TwNvbn8Nd0Qgagg5K7JroDuniubPtraa7xNAzQYpMqXMZECo7Nir0KJOSgu/ZK4Y1+n +LHiXLkKIHb1S4SW6mF3bmm0zz7bdgLddvCJ01pdhbzQrzBws1UznP8CoVx1HmZX6o1p LUsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=nDIEXkqZFUlLOpAEMqVPYpiBtXq4rv4owUJbY06QSM0=; fh=gRp+cpNwxXmiTFN92YxFU2ljks20uiBWurGxhNioaDU=; b=uKJv3yCc8ST6V4ZcI4gR2XT8yn1JImVu63nqMQf9biwL/B9myK7KO8MFXee4n7RwLt Z/WYYv1mmpmVfcVazf8T8cZGRuCrPLkQbcUUvGz6XG+DXyF645Tp5KDQYb8tmvBmQwOk Bui1SU4iyQjsN9X66cs9zhVbJeZJ7cPi3rFY4LMay5Z2+M1NjXxlzbsDBR3UtrmtLtqv NaID/B1drChmhVw9dwIraUKw5rh2mOVxwdNpS/io116zlyZ2JommSR+O+kvujQkFize7 +SGrRpV3EHo7PCn5asr8vJy6dcPp71TcO81XDF3E0X2hofxtvHvbxWQnQu5uNAr6pxbt Vv2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TQGfBWS0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 145-20020a630097000000b005b7e6ff6c01si1295601pga.677.2023.10.20.00.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 00:48:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TQGfBWS0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4BDC980981BF; Fri, 20 Oct 2023 00:48:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230371AbjJTHsj (ORCPT + 99 others); Fri, 20 Oct 2023 03:48:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233279AbjJTHsi (ORCPT ); Fri, 20 Oct 2023 03:48:38 -0400 Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87DE3114 for ; Fri, 20 Oct 2023 00:48:34 -0700 (PDT) Received: by mail-vs1-xe2a.google.com with SMTP id ada2fe7eead31-4587f9051e3so219479137.0 for ; Fri, 20 Oct 2023 00:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697788113; x=1698392913; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nDIEXkqZFUlLOpAEMqVPYpiBtXq4rv4owUJbY06QSM0=; b=TQGfBWS0tupPnSYFx/N54t7iE64b8yLk6/UH/ABoZaxx9bQLpe13DN5RuhJ0hKQZoq OxFy36VEdtWpMWfWVWGHr2RUNdA5M3zoVv7lQzzDtnjWEgzofTMJwTPrVsaAcmPUsAzx DiWGWTIE47YO2zIUAjriO49ShdIDDtLTUdqNkMytymfOBSo6vDPLNRAbNN3REj8VbgzL kerU4y6FUK2U20+1TDzHjKCBOMlhpZjjz7P2i7a0ijBWDaqEqIa6PbbRw4sihYIYHpP4 JbHIWCT2kvM51PJ/gN32G/Q949bb9mETK6sHK+MMYXSBkQtU8WgoxDkNghFUyqFmxhuZ vUgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697788113; x=1698392913; 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=nDIEXkqZFUlLOpAEMqVPYpiBtXq4rv4owUJbY06QSM0=; b=R6FSKkrCuyGPJxbgPynCGZ5vFZTHYOsEnXIM+c06LdkBGH0oU1u1r/JKq2UlbLf0/v EcGcbNstW2XoI9clG4bcxPVsc3lItIDeF9a52HF5N+ADP9oD5hp0RqMuaUTbKOSp4cuE FQPHo9ywtzsMY+8aAe0ChDwlSTzkG6jnOBnUwXY0boY5CBHuMiMirWzCRZ+gVLn7jZD4 xfenizAzL7XG38LKbllM3NSKdvnNXzNeco/b/HTG0SU9Oymu/EFvF77ViA62/8+jIMVi KlgyhH5KtDG/mjknqMgTyhL7s0+D5ETxa0WIG6jnKwukpG4O2l+ssns8FtyS+sAflM1Z qe2Q== X-Gm-Message-State: AOJu0YwxusHFmj9LqsxIIiEgewwrMXT5Maa0Qle1dW/v/hzkFKJyKd0m TJkizE12nOhxG9yA0/Zo3yksDBO7sV+gngRz1vLH93M3wAENt4oJ/fJkYg== X-Received: by 2002:a67:e0c9:0:b0:457:a915:5e85 with SMTP id m9-20020a67e0c9000000b00457a9155e85mr1026591vsl.28.1697788113382; Fri, 20 Oct 2023 00:48:33 -0700 (PDT) MIME-Version: 1.0 References: <71adfca4-4e80-4a93-b480-3031e26db409@app.fastmail.com> In-Reply-To: <71adfca4-4e80-4a93-b480-3031e26db409@app.fastmail.com> From: Naresh Kamboju Date: Fri, 20 Oct 2023 13:18:22 +0530 Message-ID: Subject: Re: autofs: add autofs_parse_fd() To: Arnd Bergmann Cc: open list , lkft-triage@lists.linaro.org, linux-fsdevel@vger.kernel.org, autofs@vger.kernel.org, Ian Kent , "Bill O'Donnell" , Christian Brauner , Dan Carpenter , Anders Roxell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 20 Oct 2023 00:48:46 -0700 (PDT) On Fri, 20 Oct 2023 at 12:07, Arnd Bergmann wrote: > > On Thu, Oct 19, 2023, at 17:27, Naresh Kamboju wrote: > > The qemu-x86_64 and x86_64 booting with 64bit kernel and 32bit rootfs we call > > it as compat mode boot testing. Recently it started to failed to get login > > prompt. > > > > We have not seen any kernel crash logs. > > > > Anders, bisection is pointing to first bad commit, > > 546694b8f658 autofs: add autofs_parse_fd() > > > > Reported-by: Linux Kernel Functional Testing > > Reported-by: Anders Roxell > > I tried to find something in that commit that would be different > in compat mode, but don't see anything at all -- this appears > to be just a simple refactoring of the code, unlike the commits > that immediately follow it and that do change the mount > interface. > > Unfortunately this makes it impossible to just revert the commit > on top of linux-next. Can you double-check your bisection by > testing 546694b8f658 and the commit before it again? I will try your suggested ways. Is this information helpful ? Linux-next the regression started happening from next-20230925. GOOD: next-20230925 BAD: next-20230926 $ git log --oneline next-20230925..next-20230926 -- fs/autofs/ dede367149c4 autofs: fix protocol sub version setting e6ec453bd0f0 autofs: convert autofs to use the new mount api 1f50012d9c63 autofs: validate protocol version 9b2731666d1d autofs: refactor parse_options() 7efd93ea790e autofs: reformat 0pt enum declaration a7467430b4de autofs: refactor super block info init 546694b8f658 autofs: add autofs_parse_fd() bc69fdde0ae1 autofs: refactor autofs_prepare_pipe() > What are the exact mount options you pass to autofs in your fstab? mount output shows like this, systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1421) More information: ------------ + mkdir -p /scratch + mount /dev/disk/by-id/ata-TOSHIBA_MG03ACA100_37O9KGL0F /scratch [ 38.217507] EXT4-fs (sda): mounted filesystem 13d24d11-02a0-4cc0-842e-d339637e2564 r/w with ordered data mode. Quota mode: none. + echo mounted mounted + df -h Filesystem Size Used Avail Use% Mounted on 10.66.16.116:/var/lib/lava/dispatcher/tmp/6951354/extract-nfsrootfs-fsw9ebbf 559G 72G 487G 13% / devtmpfs 7.8G 0 7.8G 0% /dev tmpfs 7.8G 0 7.8G 0% /dev/shm tmpfs 3.2G 640K 3.2G 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 1.6G 0 1.6G 0% /run/user/0 /dev/sda 916G 28K 870G 1% /scratch + mount 10.66.16.116:/var/lib/lava/dispatcher/tmp/6951354/extract-nfsrootfs-fsw9ebbf on / type nfs (rw,relatime,vers=3,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.66.16.116,mountvers=3,mountproto=tcp,local_lock=all,addr=10.66.16.116) devtmpfs on /dev type devtmpfs (rw,relatime,size=8165164k,nr_inodes=2041291,mode=755) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) selinuxfs on /sys/fs/selinux type selinuxfs (rw,nosuid,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,size=3266844k,nr_inodes=819200,mode=755) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1421) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700) ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700) ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700) ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=1633420k,nr_inodes=408355,mode=700) /dev/sda on /scratch type ext4 (rw,relatime) Here is the bisect log for your reference, # bad: [e3b18f7200f45d66f7141136c25554ac1e82009b] Add linux-next specific files for 20231013 # good: [d3b4075b173f033387b614297bb4d998cf22c8bd] drm/msm/dp: use correct lifetime device for devm_drm_bridge_add git bisect start 'next-20231013' 'd3b4075b173f033387b614297bb4d998cf22c8bd' # bad: [9949a257fbbef4bf21f77649d4585b6ba0d0abae] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git git bisect bad 9949a257fbbef4bf21f77649d4585b6ba0d0abae # good: [39f9dc8a2d8e789ea31e343070a3b51c3f7ae3a2] Merge branch 'xtensa-for-next' of git://github.com/jcmvbkbc/linux-xtensa.git git bisect good 39f9dc8a2d8e789ea31e343070a3b51c3f7ae3a2 # good: [4b32d7970b9865ad711a65094609a8c0ec9867a8] bcachefs: Change journal_io.c assertion to error message git bisect good 4b32d7970b9865ad711a65094609a8c0ec9867a8 # good: [79592709a731af69f33613490a7d88168fd52efb] bcachefs: Improve key_visible_in_snapshot() git bisect good 79592709a731af69f33613490a7d88168fd52efb # good: [7ea2bcad6a0d5d15801abc318738d7eec3164d0a] Merge branch 'linux-next' of git://git.linux-nfs.org/projects/anna/linux-nfs.git git bisect good 7ea2bcad6a0d5d15801abc318738d7eec3164d0a # bad: [be636e0fa5fdb395366fd73a078e959d2587c476] Merge branch 'vfs.super' into vfs.all git bisect bad be636e0fa5fdb395366fd73a078e959d2587c476 # good: [fea0e8fc7829dc85f82c8a1a8249630f6fb85553] fs: rename inode i_atime and i_mtime fields git bisect good fea0e8fc7829dc85f82c8a1a8249630f6fb85553 # bad: [18fa6d4d5ed5e6d219aeab9b92f602fa60020d95] Merge branch 'vfs.iov_iter' into vfs.all git bisect bad 18fa6d4d5ed5e6d219aeab9b92f602fa60020d95 # good: [13f8510ba3215d2fb2ee7d1c64c0d51827ac28bd] ovl: rely on SB_I_NOUMASK git bisect good 13f8510ba3215d2fb2ee7d1c64c0d51827ac28bd # good: [b5f0e20f444cd150121e0ce912ebd3f2dabd12bc] iov_iter, net: Move hash_and_copy_to_iter() to net/ git bisect good b5f0e20f444cd150121e0ce912ebd3f2dabd12bc # bad: [1f50012d9c63c690f25956239bd25d10236405f8] autofs: validate protocol version git bisect bad 1f50012d9c63c690f25956239bd25d10236405f8 # bad: [a7467430b4de0985b7d1de8f1e50f8dd47eb6c4a] autofs: refactor super block info init git bisect bad a7467430b4de0985b7d1de8f1e50f8dd47eb6c4a # bad: [546694b8f65807427a0104154abd8cdc633b36e3] autofs: add autofs_parse_fd() git bisect bad 546694b8f65807427a0104154abd8cdc633b36e3 # good: [bc69fdde0ae1aff595590d802b6ef39114f2b260] autofs: refactor autofs_prepare_pipe() git bisect good bc69fdde0ae1aff595590d802b6ef39114f2b260 # first bad commit: [546694b8f65807427a0104154abd8cdc633b36e3] autofs: add autofs_parse_fd() - Naresh