From nobody Mon Feb 21 12:32:21 2022 X-Original-To: fs@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 DB95319DD577 for ; Mon, 21 Feb 2022 12:32:23 +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 4K2MBb57M0z3GWm for ; Mon, 21 Feb 2022 12:32:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 90BAD104D0 for ; Mon, 21 Feb 2022 12:32:23 +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 21LCWN7u046754 for ; Mon, 21 Feb 2022 12:32:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21LCWNwE046753 for fs@FreeBSD.org; Mon, 21 Feb 2022 12:32:23 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: fs@FreeBSD.org Subject: [Bug 254177] When ZFS is recognized, An i386 machine with a lot of memory hangs. Date: Mon, 21 Feb 2022 12:32:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645446743; 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=KwY+vtPEZiiciFpSa1/jh0H6aBJPhjDNCZ2jf01tmrI=; b=UaHoe3XecZ/Dz+r6jvgIzQi0E81Vmk4HYQZGeYenEucdZiUB3mWKL69V2I9ktXE7PqsC+V JncSfbiPeG3nek7WoEqlpyDN6o8wMisnmJD2wAbsDZYo3wYlkZb8wDFz9Osh0yQJubfPe+ NDGMN1Mq/R/wx3tdnjTVJ6AyjA5h5N169AROyGpT9q8g2vpc2Eu++JeiC6KylDCQvCseL5 ui3oRn2VXj/mqZX4UQWwDeyz93QzYL1xXrpale53W+6UtTMCr9+nG4IctCZdqUuZ5wkAfY lRICWC8ynqU9mS9FUkihjKKthIoXuT6byMkwXDsd/7vwD0/AR73eFFfftbDIVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645446743; a=rsa-sha256; cv=none; b=JaZYpKoLOhjJJAANX/iATP2FyDQgTmp1mMxz3/LQSPrR15GoEYFGbDnMeHW1MAqnfkBD1g eJE3Hf+r8secQjDDENna+hokRCy/AYPr7e2j3QMTzvV/sNJaGYOgD/iOqUlBIWWIBNkman sGXsyDkiygU9pYXAJrK1QzNSzzzpjxmOZLymIxE1hsjyLhIKWj1kGe7D7/iO5qAvQW3YXK z47mnokzwWPLCUTi3rdqFa2MdTupctAjW6LJUX5vMOa/RCdBQST/w/xtP7V4Cbj36DH6cx 18bjizjgieYALTYuHULSg5+Fe8Xb/W8Oe1N02z/P9mzo3K0p7Afd7ow+pFQrCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254177 --- Comment #5 from Andriy Gapon --- (In reply to HONDA Kazuhito from comment #0) Just want to add a detail to the explanation of the problem. 0x9B9AD000 result is actually a signed int, so in decimal it is -1684353024. When that value is compared with hsize * zfs_arc_average_blocksize, the val= ue gets converted to uint64_t because that's the type of the expression on the left side. So, it becomes 0xffffffff9b9ad000. So, the comparison can never be true as the maximum value of hsize * zfs_arc_average_blocksize is 0x8000000000000000 and then it wraps around to zero. --=20 You are receiving this mail because: You are the assignee for the bug.=