Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp65137rdb; Sun, 21 Jan 2024 17:46:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlxq/ecTcl7Z6OzUVv/uJq4HgTQXkpxMbAP5b1NA3nnAlOaeXpVfglCBRTeAvier7W+/yg X-Received: by 2002:a05:600c:1f14:b0:40e:5263:28a3 with SMTP id bd20-20020a05600c1f1400b0040e526328a3mr1842893wmb.52.1705888007938; Sun, 21 Jan 2024 17:46:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705888007; cv=pass; d=google.com; s=arc-20160816; b=UqN8AYHzpw+ufuLehQAwsypLMCXyQvYKMasVUghXzZWZFCODGdHDXAwvKFbeupZJX1 Z+Y6GUkSgW85jtuFZnXoYmeMGe01dGMVW8upJ6pbu7zHl719SU81u5HT1fVD8hsuskGq cOdUpSJkph/5BgxQ90NxVv3uXS2F2ygGcjL4eF0Aa7w9zW13q6FgP7nqKLU53Hl+nvVq g0tItUECtQWWQGZU8Y4tksy7E6VqMYohJtJ3ptcunYj4rNHQMHWnnR5T3doDaXU7Yo3M 2rYiqFCEFy3L3z8XB+4Qiewm9Epl6t2cU3yftLEe+64b+Dy6j4yKlw9IKvJdwJ5qfluq UL6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=GQfVtOz+HFJQtItzfaIVVASjhcqOtKuku6JlXDLa/IU=; fh=jwbV8xpFjOYzoJkMA4sq50zAFYbHoH8YaV9OulITegM=; b=Eq1bAMUSNHqIACGCKdFnp1gArD7lj8X5BZgiqLaYbMN1uS16sIXjy3bgd5atu0Gn6b l2UPRtEhp+ki6z7FNxl0zDkxxNQTuNYBOR++CZDojnj3W8F8EDRl2Y2g5XM5v4UyfW1N 8MlIQdYcShAPsSaN/QfGZSbGvfPXd4qGMij0+QUU5Sc/h0UF3vnwfo+8wwrRV+DXR+r6 qlW8LE/F1TAfD+LK+uHZcQJ6teYtvY8kd9oHNJSLlS8XLFufjLzUZ12a5n+KS5pzyDpx enEdNpRYh6G17DcXe45l8PR6G3QaDLW/qL9tlRMyGGR/KhFb5RZim8Rfutn6Rpwseu71 9PGw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="d67/cZwe"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-32262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z14-20020a056402274e00b00559e8d332fdsi4911792edd.467.2024.01.21.17.46.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 17:46:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="d67/cZwe"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-32262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id A94181F214C7 for ; Mon, 22 Jan 2024 01:46:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A1681865; Mon, 22 Jan 2024 01:46:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="d67/cZwe" Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 15DE715BA; Mon, 22 Jan 2024 01:46:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705887992; cv=none; b=GIuBH6knAAcnob7o11ijCn5UcUu/xBmcqCPbaPfTLXJaP+9a01MnG72taELe19H3e2WWczHMzSZvmZ+C+ifoCIH5WTnk41hO2UMITj3I3JafrheCUmMKBZZyBT33FBjrgeZIiXV+VjBSdCZV4hbJXBYAk1tHhswvKi/b/oZs89c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705887992; c=relaxed/simple; bh=mdOWFPQKK4Gv4Noq5npy1Ht8YfA9l6yE26DvapcDA80=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=vEmwFwGHBqrOibqpurNW3HemPsbo6RmXYKcZdMMcekmYrVHCrG3NzJEPzm6A7s+WgzXJ2zjXEwazxy87FdVKWkIghz223K5VmFMhgsT+aRnFH6yQn79adlDezAvWJm8I9QZ6tXPglPzhmHSu8JgmWv94rc8s03ulzw/xqPgFw1Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=d67/cZwe; arc=none smtp.client-ip=209.85.219.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-dc223463ee4so2009537276.2; Sun, 21 Jan 2024 17:46:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705887990; x=1706492790; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GQfVtOz+HFJQtItzfaIVVASjhcqOtKuku6JlXDLa/IU=; b=d67/cZwepfb+4G2DYiD7Hq+XkoxzMIMABr/P9ngpvVI1xYWnlQqLOfomoT6yZD6PLz gqEI5KQlD5+MHPr+UhtI/rERgf3XR06g5yYmJfdkl4mHHiu6WWeZYad1bzMK6d6YnE0Q lvb5pieziQ0Ll1+6qLTrSVqFTnvSfHD06Lt41XnT4jghcGgIJ0HUXjSZqWoOUvjSCGZV zUulVo43qIxY8l1hZihxPFNtLLYN/50qkU8Rvqwr8Id/06Q/4i+UyI/znwnHkFl7tH3T 8buq5j++4sAcN3oLcjz2iu39FE3m+5Iv8EKKAS1WCcTVw3Tv8r4WLOgBu4yt6GulQnKN IkhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705887990; x=1706492790; h=content-transfer-encoding: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=GQfVtOz+HFJQtItzfaIVVASjhcqOtKuku6JlXDLa/IU=; b=gxwuigDbCYg4Ktk0NhnK1G4pO0+YDdDljNjPvWXLv1AA5siRWfshd++hTTLVqb6E1W t92X8OPCtzW7qretOoLscJEve3hetWW1rh+79xwZvHX7Sk+Vf1ZJ4xwhwRBrBdSnBAMJ AJovfd5GCMX2o84Rz0tHXAmzjTVOfAFxtHMzq5lghlkojuQ7UXORi9xvdlyw6clB5qzx UskfEbA2yk4aFldlACFGYe3H0hCIxKVU4nJzcyWnRgdFaNJKJunxlK/98HG7KENoLBPs 1dWK8lDaakIqy9vWxD5FLy7D9S0JUVdnCoosjsoxJ2HAHUA/GrDR0QWFtwfuOFolbPFq 1gyQ== X-Gm-Message-State: AOJu0Yyd2soPlMkWEtAyugBYpkVXZ7Oc9cPYF+jacdS6pAH5NtJStJtR qoLxrZz8nKmnRtxv2jmqf3GZzgRYSpSrF1oq/qD4smUkERDupdoHnNURk/g1FKLKpEmKilpNpgm F74AfwFZT85uS18d4vIgUUe1fkvw= X-Received: by 2002:a25:aa01:0:b0:dbf:c7f:7062 with SMTP id s1-20020a25aa01000000b00dbf0c7f7062mr1550277ybi.35.1705887989952; Sun, 21 Jan 2024 17:46:29 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <39e3a4fe-d456-4de4-b481-51aabfa02b8d@leemhuis.info> <20240111155056.GG31555@twin.jikos.cz> <20240111170644.GK31555@twin.jikos.cz> <7d28b18c-3477-83ec-ef89-cdaf6ca7ebee@oracle.com> In-Reply-To: <7d28b18c-3477-83ec-ef89-cdaf6ca7ebee@oracle.com> From: Alex Romosan Date: Mon, 22 Jan 2024 02:46:18 +0100 Message-ID: Subject: Re: [btrfs] commit bc27d6f0aa0e4de184b617aceeaf25818cc646de breaks update-grub To: Anand Jain Cc: CHECK_1234543212345@protonmail.com, brauner@kernel.org, Thorsten Leemhuis , linux-btrfs , Linux kernel regressions list , linux-kernel@vger.kernel.org, Chris Mason , Josef Bacik , David Sterba , dsterba@suse.cz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 22, 2024 at 2:35=E2=80=AFAM Anand Jain = wrote: > > > > On 22/01/2024 08:07, Alex Romosan wrote: > > update-grub still doesn't work 6.8-rc1 > > > > so i did: > > > > # cat /proc/self/mountinfo | grep btrfs > > 21 1 0:19 / / rw,relatime shared:1 - btrfs /dev/root > > rw,ssd,discard=3Dasync,space_cache,subvolid=3D5,subvol=3D/ > > > > The latest Btrfs kernel expect one MAJ:MIN for a block device, > but multiple nodes here point to the same root device: > > /dev/root MAJ1:MIN1 \___ root-device > /dev/sda1 MAJ2:MIN2 / > > To fix, I'm exploring communication through block-device nodes > with a temporary signature tag on the superblock for identification. > Community feedback is pending, and potentially synchronization issues > maybe a concer. > > > the difference from your test case is that it doesn't reference > > the disk device but /dev/root which on my system doesn't exist. could t= his > > be the problem? > > > > How are you reproducing this? I tried with Oracle Linux (OL), Fedora, > and Arch Linux, but they didn't show /dev/root as the root device. i'm running debian on a lenovo x1. this is my /etc/fstab # # / was on /dev/nvme0n1p3 during installation #UUID=3D695aa7ac-862a-4de3-ae59-c96f784600a0 / btrfs defaults 0 0 PARTUUID=3D43094f42-5f54-4456-9d14-3c41e92326e1 / btrfs defaults 0 0 # /boot/efi was on /dev/nvme0n1p1 during installation #UUID=3DA4A3-9199 /boot/efi vfat umask=3D0077 0 1 PARTUUID=3D05e00aed-a6ad-4cdc-9a40-4b775dbf87a9 /boot/efi vfat umask=3D0077 0 1 # swap was on /dev/nvme0n1p2 during installation #UUID=3D6b9a36ed-14d8-458d-8575-c8d29dc80bdf none swap sw 0 0 PARTUUID=3Ddb40aeb2-88b4-46eb-970f-58a410bf272e none swap sw 0 0 i'm running my own compiled kernel without initrd. the disk with the btrfs filesystem is the only disk on that laptop. i'm just booting the kernel (everything works fine there) but when i try to run update-grub i get: # update-grub /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). --alex--