From nobody Wed Mar 5 08:50:41 2025 X-Original-To: virtualization@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 4Z75qP5KFQz5pRJB for ; Wed, 05 Mar 2025 08:50:41 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z75qP4fQBz3ft3 for ; Wed, 05 Mar 2025 08:50:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741164641; 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=nfKGaKbkG2EHOfG0n9VF4GoZX3cXgra+BlDVCoFgY7M=; b=k/fCAmpgmMGo2XgqAfCXMwMby41xZz0YUc13snRkYMOHWRsgfsahHRjpvsPlHSbt/IYlCC 8yhaFbczrvPfSXLg9oBIc9JhnQO9p4tYw/m1nuQyY3gxUrs+qIGXiH1fPxZDaOfBEpgTp6 cyEAGUQ6I1zae3SZB2/fR3ozybAu+WR3CrZnJfJcusSDCl/WKarunEP4Ab0t8Yq3sf9v3Q OkVjrZ9eaxFUvNZwHun1Zw6M+Grenk9AerRO9Nz8j9WV+zqhyEGsKszVuec7cyFI8+0onx K+7EAkbIKg0YggORFNEebB8ucvvYW/ick9V9doJhF2vW5rP//6nSi212DGIZ+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1741164641; a=rsa-sha256; cv=none; b=omSpcIDwZHw7qKxy+loZlzkqsJ+Im34aTZXcFnK0Rz01uo8aNcbwOGMdQ6WlWMi1W0p6e1 aqvv/oNG7+yhJLKY1Pbw8qy7I7CRB/6L8b5/SkcPtURIyOV6cgD3aLsrj8Ec/snvka0ej5 4jN/gaG6iiqTLXBtUBeg4c1x80EbDHOf4gY5cWflnaTsWVbMhq+Xaj2jFIP3kkZBjimcP2 BVWoPnx0btygq0rm8bqTQRb7P+0QyjkSNQY98+1i+jCm0eAbUDrC+Os/H7G+uKHA3CWG17 0tASoq9D6J89vdo9gZgwulRqp1EkaVBu/qHtbnwUnar+1GZh4vICPG1+Aj/zMw== 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=1741164641; 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=nfKGaKbkG2EHOfG0n9VF4GoZX3cXgra+BlDVCoFgY7M=; b=V929gSFPvcQwO3cGd/Ni/Mm5WuHhv4spGXw25fj2kBS/FBQdSHw732/pbldJs5sxc15HO0 BKWrVmH3h93qJfNAxNAj1D88Ft6NLkWkTm1t/MyPD2Ad0dec4Hi0prUquxw1XEUKyl2meT 5+3yHCBRW3o2kTWagp793xYwC/dVXxfTmwCltE9aHytT8rgd/3Brmj36o1Skyq4hwrQrzK fJ5eJF1FsEpNCKtL3aMQrfBboOgeHP0XqcDD5KyjefwTjHWnC6zgxUH3BJmJM+Qij7/jD3 HBc1q9u2X43wxy2SuUpqZ6yi3zv+Knm1l62368CNIf4CsvygTJT92H3ynJikOQ== 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 4Z75qP4DkBzxLt for ; Wed, 05 Mar 2025 08:50:41 +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 5258ofMF027547 for ; Wed, 5 Mar 2025 08:50:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5258ofVl027546 for virtualization@FreeBSD.org; Wed, 5 Mar 2025 08:50:41 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: virtualization@FreeBSD.org Subject: [Bug 279901] glibc-2.39-2 and above on the host segfault Date: Wed, 05 Mar 2025 08:50:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: meta@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279901 --- Comment #71 from Koichiro Iwao --- (In reply to Mark Peek from comment #69) With your patch, EL8 glibc no longer crashes. It looks good to me as for th= is issue. However, it still reports wrong L3 cache size. My processor is AMD Ryzen 7 5700G (8-core/16-threads) so it has the followi= ng cache sizes. L1: 64KiB (32KiB instruction + 32KiB data/core) L2: 4MiB (512KiB/core) L3: 16MiB https://www.techpowerup.com/cpu-specs/ryzen-7-5700g.c2472 (AlmaLinux 9 on bhyve with D48187 patch) $ ld.so --list-diagnostics | grep cache x86.cpu_features.data_cache_size=3D0x8000 x86.cpu_features.shared_cache_size=3D0x2000000 x86.cpu_features.level1_icache_size=3D0x8000 # 32768 -> 32KiB x86.cpu_features.level1_icache_linesize=3D0x40 x86.cpu_features.level1_dcache_size=3D0x8000 # 32768 -> 32KiB x86.cpu_features.level1_dcache_assoc=3D0x8 x86.cpu_features.level1_dcache_linesize=3D0x40 x86.cpu_features.level2_cache_size=3D0x80000 # 524288 -> 512KiB x86.cpu_features.level2_cache_assoc=3D0x8 x86.cpu_features.level2_cache_linesize=3D0x40 x86.cpu_features.level3_cache_size=3D0x2000000 # 33554432 -> 32MiB <=3D WR= ONG! x86.cpu_features.level3_cache_assoc=3D0x0 x86.cpu_features.level3_cache_linesize=3D0x40 x86.cpu_features.level4_cache_size=3D0x0 x86.cpu_features.cachesize_non_temporal_divisor=3D0x4 --=20 You are receiving this mail because: You are the assignee for the bug.=