From nobody Fri Oct 6 23:00:30 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S2P661Rmkz4wtMm for ; Fri, 6 Oct 2023 23:00:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S2P656gLGz4PD3 for ; Fri, 6 Oct 2023 23:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696633229; a=rsa-sha256; cv=none; b=kh7Z9z1On5oyhKQ1QCR0sS+b+6loUbBmf1F7BhcWPXHHkfpG5peEXRv8LLNoqY+7jF88IX YCjwFzM+bOeJAAdUxwzmrKx+m67uUjIFAiG+cXMTVXy8o9MjJ5qtRHAhq0kzPnKlG0avEe Nd26aduPkbq7deoe5snDlLmtldMR4kyqDkFlWZ2BEI2ynbngxvlaHTk5g7F4+KhZWjTN9a KplybPjcVybwANRZT3TdfbNsJVm0wfac4ypYkPUWvHsmv0Vr/r2Zu/pCwV/8iYVKtyHzvs 3d8J06K5gpC1fhTFeglZ/U0yNSwem7zBlMR6H/u7CeQVHX0o9kx/C+JrLLmSJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696633229; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ovvs9YGqnSwJNn9QbzNJYVxvVEseQcMRNSfN4Ng0Vdg=; b=uvD8o5A02B+NZKyqpFGVqsJLZ+pMIthkHfiJI9Ly8wCigN40s7iS6AldbyJQntVOTJdhsL xGLvS60lci7qUFzB6rpa9/TAp4QJt0YIoPkCMzhXKZ4vg4IHLjOJPwsR4GBvB5bZoX4dql f//aWPHmAHCAAvqf6yT4sthDdiehL5smkbLYAk19H3KEAitqomrGQzk3trjf6ck6nlhdR5 t1wR5IkoEi/uyhWb44ucxz8DrM6HTjYJIx6EtztReQoFA7xxdj2R7wfsba32G2NQnVrdKe IZlFCdcm0VDQdJOHwJwVefeT6CsaD4Zm9FNxfxBMnFT4Z93GE/i+cHbQ+t27iQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S2P655n1Jz16QB for ; Fri, 6 Oct 2023 23:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 396N0T85043603 for ; Fri, 6 Oct 2023 23:00:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 396N0T9R043602 for bugs@FreeBSD.org; Fri, 6 Oct 2023 23:00:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 274312] gpart restore fails with "gpart: entries '4': Invalid argument" Date: Fri, 06 Oct 2023 23:00:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: andrew@tao11.riddles.org.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274312 --- Comment #4 from Andrew "RhodiumToad" Gierth --- Incidentally the 2014 discussion seems to be claiming that that the spec doesn't give a hard lower bound on the table size. This is incorrect: the s= pec (UEFI version 2.9, section 5.3.1 "GPT Overview") says: A minimum of 16,384 bytes of space must be reserved for the GPT Partition E= ntry Array. If the block size is 512, the First Usable LBA must be greater than or equa= l to 34 (allowing 1 block for the Protective MBR, 1 block for the Partition Table Header, and 32 blocks for the GPT Partition Entry Array); if the logical bl= ock size is 4096, the First Useable LBA must be greater than or equal to 6 (allowing 1 block for the Protective MBR, 1 block for the GPT Header, and 4 blocks for the GPT Partition Entry Array). --=20 You are receiving this mail because: You are the assignee for the bug.=