From nobody Mon Jul 21 00:02:08 2025 X-Original-To: current@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 4blgZ25wnQz61nsF for ; Mon, 21 Jul 2025 00:02:18 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blgZ20bFCz41Qq for ; Mon, 21 Jul 2025 00:02:18 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 7CEF0A64808; Mon, 21 Jul 2025 00:02:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1753056126; bh=VNQYNBY12WHLxTStMOgQ7CDl5/0BUG28I8B5If3GL5M=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Hy4p2EOVB7Ldc2ZNtENXc+agkIO36HgxdeeqHgzWvlhIZ8WM/7uyotlvEuNPG6w9v /ZQd0rjkxXwlGxiMm9IA238+i7i6iUgXi8vTRMU2acXN/RkMGijwh82yB3v+uWX8FA n9lRCWy3DajA5DlU4YQZw7hdUPqzHDQgPkjURphdfr1ikuGd7UcmwN7qDEOaucbHnX mQQKdMILOKDD8cCi/iRugmopCYUIE1UfOUWJNfmR3jmLPvroG9+C0Z1ZtSDTv1dQzk Ko0+esTxlVle+nfV4jcjH00HZmjbvzZD7dN44zbbtU5W8l5144I9C0xb20+h+r6WD9 tEALrKxEeJP2H7ZHJFYnh7Fr7u+KelF+F/+oIBfBUF3yuCP3zA5NOVakCCk/+2GSIg 3OoCR13z220RpOwutHRo8UdM9mr/AxkYowqetWT7lFm2Lx2AUxA0e3NtC4+EZRa++H fcIdf5RKaiariK2j0STH5T3O834HGA2iIef9vVzrUQAyIrHX7FHVVSSgVhx1YWumqd 6p7j4iXkCaoTnhYc5QGoRuK4WueDUk/yfwlRmT4XzQXea3A4YavuAsNNSpRgZyzmCF +zTE+IqcrUEEkLiA1RqRCKXF1MZ+ppTrV/SkD/5UlQbhh1R44N1Q2EtcrMNaqnUut8 uQ+3SN8UekNVZTZ1ezovis4I= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id A88EB2D029E1; Mon, 21 Jul 2025 00:02:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id rMJkOCSBvrlI; Mon, 21 Jul 2025 00:02:09 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id B90F12D029D8; Mon, 21 Jul 2025 00:02:09 +0000 (UTC) Date: Mon, 21 Jul 2025 00:02:08 +0000 (UTC) From: "Bjoern A. Zeeb" To: Warner Losh cc: FreeBSD Current Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" In-Reply-To: Message-ID: <933q8q89-s848-034q-r063-76563n6938s2@yvfgf.mnoonqbm.arg> References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-265916065-1753056129=:4643" X-Rspamd-Queue-Id: 4blgZ20bFCz41Qq X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE] This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-265916065-1753056129=:4643 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 20 Jul 2025, Warner Losh wrote: > On Sun, Jul 20, 2025, 5:19 PM Bjoern A. Zeeb > wrote: > >> Hi, >> >> I've updated one of my trees to main after a longer while and I am >> confused that I no longer see and SD card or SDIO (this is netbooted): >> >> # sysctl kern.features.mmccam >> kern.features.mmccam: 1 >> >> # camcontrol devlist -v >> scbus0 on dw_mmc_sim0 bus 0: >> <> at scbus0 target 0 lun 0 (mmcprobe0) >> scbus1 on dw_mmc_sim1 bus 0: >> <> at scbus1 target 0 lun 0 (mmcprobe1) >> scbus-1 on xpt0 bus 0: >> <> at scbus-1 target -1 lun ffffffff (xpt0) >> >> Where to start looking? >> > > So those probes are put there to evaluate devices that were found. If they > remain, then that never finished. Most likely never started. > > What hardware is this on? arm64, rockchip [1.000651] rockchip_dwmmc0: mem 0xff500000-0xff503fff irq 42 on ofwbus0 [1.000652] rockchip_dwmmc0: vmmc-supply regulator found [1.000653] rockchip_dwmmc0: vqmmc-supply regulator found [1.000654] rockchip_dwmmc0: Hardware version ID is 270a [1.000656] rockchip_dwmmc0: Disabling HS200+ (tuning code not written) [1.000657] ofwbus0: mem 0xff510000-0xff513fff irq 43 disabled compat rockchip,rk3328-dw-mshc (no driver attached) [1.000658] rockchip_dwmmc1: mem 0xff520000-0xff523fff irq 44 on ofwbus0 [1.000659] rockchip_dwmmc1: Hardware version ID is 270a [1.000660] rockchip_dwmmc1: Disabling HS200+ (tuning code not written) -- Bjoern A. Zeeb r15:7 --1098556516-265916065-1753056129=:4643-- From nobody Mon Jul 21 00:20:17 2025 X-Original-To: current@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 4blgyz2Hrnz61q2h for ; Mon, 21 Jul 2025 00:20:27 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blgyy0TjCz4Fwk for ; Mon, 21 Jul 2025 00:20:25 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zabbadoz.net header.s=20240622 header.b=celHClv4; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2003:a:140a:2200:6:594:fffe:19 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=pass (policy=none) header.from=zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id C87D7A64808; Mon, 21 Jul 2025 00:20:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1753057214; bh=z1m+/1Eij9awvEVfuK5xorhajErRcvnUL0MHKuuyvXg=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=celHClv4cVnFJ5SdtNr1JZ4a6C+o/XNLkbLXGiA49sg1NJTGMQeLAU42vZOvHQtKe iP+MH7Ax7ujqVH2/jAjkLcku1FznRv/V/sKBZYgTJqTIkTaW0u9cS3o6La3VaxApxY 4jOFJxJdaKXCW1bxFYKCSLxJrmdQWY2fuVrquoXfxdqp1QsK9qL/ArcokpRpEYjhq2 OzBUGV2K7S4lxQpCHko/tTukQHtbxolUqevSftVCrhz2NMh3OU396HCQ5uSSN5eDvN SuaOWehBeGgG18eWREe0Uo8+jZNWlEC8qCXRTjgbZoMKvsdeaGCKuM9+c8nNcgJolr PP6fQ6nHdjbZXJkrKO873SncXp5oKoJY9gfU/t77pmvkSBDi64ee+p8WB3L/qRF0ny aW8GewfH8dOWMY0+Jr03hQOTh0kWnuCGE0RkHssdfaXsNXKk5Q31HTa4VRG6FrVOPV pphhA9sXw6eBw0yA7iFVD/CGVhvx/z1CPQhligy/LvPdRf6bN2A4JzH/l1Fj0B03ZK 8lRw0atfUuBGRsDUPIowh3N5mOB+i8+vVWJPalTw4Wu1EurefbOTjs8v0jZXWKzUEX uFFaUyC1g+do7QE7eY1tWW/p6vEhGf82UtrRqr5xv9Uno62j0fqLpojCXv3uYEvtBf xetR8wRtszKvJLA/ojtD7QtM= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id F14962D029E1; Mon, 21 Jul 2025 00:20:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id om5DOpjH3rwy; Mon, 21 Jul 2025 00:20:17 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 8BFB22D029D8; Mon, 21 Jul 2025 00:20:17 +0000 (UTC) Date: Mon, 21 Jul 2025 00:20:17 +0000 (UTC) From: "Bjoern A. Zeeb" To: Warner Losh cc: FreeBSD Current Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" In-Reply-To: <933q8q89-s848-034q-r063-76563n6938s2@yvfgf.mnoonqbm.arg> Message-ID: References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> <933q8q89-s848-034q-r063-76563n6938s2@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-1713784443-1753057217=:4643" X-Spamd-Result: default: False [-2.77 / 15.00]; CTYPE_MIXED_BOGUS(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.98)[-0.981]; NEURAL_HAM_MEDIUM(-0.79)[-0.793]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4blgyy0TjCz4Fwk X-Spamd-Bar: -- This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-1713784443-1753057217=:4643 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 21 Jul 2025, Bjoern A. Zeeb wrote: > On Sun, 20 Jul 2025, Warner Losh wrote: > >> On Sun, Jul 20, 2025, 5:19 PM Bjoern A. Zeeb >> >> wrote: >> >>> Hi, >>> >>> I've updated one of my trees to main after a longer while and I am >>> confused that I no longer see and SD card or SDIO (this is netbooted): >>> >>> # sysctl kern.features.mmccam >>> kern.features.mmccam: 1 >>> >>> # camcontrol devlist -v >>> scbus0 on dw_mmc_sim0 bus 0: >>> <> at scbus0 target 0 lun 0 (mmcprobe0) >>> scbus1 on dw_mmc_sim1 bus 0: >>> <> at scbus1 target 0 lun 0 (mmcprobe1) >>> scbus-1 on xpt0 bus 0: >>> <> at scbus-1 target -1 lun ffffffff >>> (xpt0) >>> >>> Where to start looking? >>> >> >> So those probes are put there to evaluate devices that were found. If they >> remain, then that never finished. Most likely never started. >> >> What hardware is this on? > > arm64, rockchip > > [1.000651] rockchip_dwmmc0: Controller (RockChip)> mem 0xff500000-0xff503fff irq 42 on ofwbus0 > [1.000652] rockchip_dwmmc0: vmmc-supply regulator found > [1.000653] rockchip_dwmmc0: vqmmc-supply regulator found > [1.000654] rockchip_dwmmc0: Hardware version ID is 270a > [1.000656] rockchip_dwmmc0: Disabling HS200+ (tuning code not written) > [1.000657] ofwbus0: mem 0xff510000-0xff513fff irq 43 disabled > compat rockchip,rk3328-dw-mshc (no driver attached) > [1.000658] rockchip_dwmmc1: Controller (RockChip)> mem 0xff520000-0xff523fff irq 44 on ofwbus0 > [1.000659] rockchip_dwmmc1: Hardware version ID is 270a > [1.000660] rockchip_dwmmc1: Disabling HS200+ (tuning code not written) I found the tunable: kern.cam.dflags=0x41 Output see below; if it helps I can run with 0xff: [1.035158] (noperiph:dw_mmc_sim0:0:-1:ffffffff): xpt_async(AC_PATH_REGISTERED) [1.035752] (noperiph:dw_mmc_sim1:0:-1:ffffffff): xpt_async(AC_PATH_REGISTERED) [1.038843] (noperiph:dw_mmc_sim0:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} [1.039609] (noperiph:dw_mmc_sim0:0:0:0): XPT_SCAN_{BUS,TGT,LUN} [1.040031] (noperiph:dw_mmc_sim0:0:0:0): Set up the mmcprobe device... [1.040560] (mmcprobe0:dw_mmc_sim0:0:0:0): Periph created [1.040933] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe started [1.041289] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_INVALID to PROBE_RESET [1.041809] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_start [1.042163] (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_RESET [1.042588] (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_IDENTIFY [1.043249] (noperiph:dw_mmc_sim1:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} [1.043729] (noperiph:dw_mmc_sim1:0:0:0): XPT_SCAN_{BUS,TGT,LUN} [1.044143] (noperiph:dw_mmc_sim1:0:0:0): Set up the mmcprobe device... [1.044650] (mmcprobe1:dw_mmc_sim1:0:0:0): Periph created [1.045007] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe started [1.045362] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_INVALID to PROBE_RESET [1.045878] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_start [1.046237] (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_RESET [1.046655] (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_IDENTIFY [1.085627] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done [1.085996] (mmcprobe0:dw_mmc_sim0:0:0:0): done with PROBE_RESET [1.086437] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_RESET to PROBE_POWER_OFF [1.086997] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done: remaining freeze count 0 [1.087592] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done [1.087970] (mmcprobe1:dw_mmc_sim1:0:0:0): done with PROBE_RESET [1.088396] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_RESET to PROBE_POWER_OFF [1.088936] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done: remaining freeze count 0 Hmm okay: # sysctl kern.cam.dflags kern.cam.dflags: 255 not much else... [1.000646] rockchip_dwmmc0: mem 0xff500000-0xff503fff irq 42 on ofwbus0 [1.000647] rockchip_dwmmc0: vmmc-supply regulator found [1.000648] rockchip_dwmmc0: vqmmc-supply regulator found [1.000649] rockchip_dwmmc0: Hardware version ID is 270a [1.000651] rockchip_dwmmc0: Disabling HS200+ (tuning code not written) [1.000652] ofwbus0: mem 0xff510000-0xff513fff irq 43 disabled compat rockchip,rk3328-dw-mshc (no driver attached) [1.000653] rockchip_dwmmc1: mem 0xff520000-0xff523fff irq 44 on ofwbus0 [1.000654] rockchip_dwmmc1: Hardware version ID is 270a [1.000655] rockchip_dwmmc1: Disabling HS200+ (tuning code not written) [1.000682] ofwbus0: mem 0xff5f0000-0xff5f3fff irq 50 disabled compat rockchip,rk3328-dw-mshc (no driver attached) [1.035161] (noperiph:dw_mmc_sim0:0:-1:ffffffff): xpt_async(AC_PATH_REGISTERED) [1.035754] (noperiph:dw_mmc_sim1:0:-1:ffffffff): xpt_async(AC_PATH_REGISTERED) [1.038855] (noperiph:dw_mmc_sim0:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} [1.039618] (noperiph:dw_mmc_sim0:0:0:0): XPT_SCAN_{BUS,TGT,LUN} [1.040041] (noperiph:dw_mmc_sim0:0:0:0): Set up the mmcprobe device... [1.040572] (mmcprobe0:dw_mmc_sim0:0:0:0): Periph created [1.040945] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe started [1.041301] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_INVALID to PROBE_RESET [1.041817] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_start [1.042171] (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_RESET [1.042595] (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_IDENTIFY [1.043257] (noperiph:dw_mmc_sim1:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} [1.043737] (noperiph:dw_mmc_sim1:0:0:0): XPT_SCAN_{BUS,TGT,LUN} [1.044151] (noperiph:dw_mmc_sim1:0:0:0): Set up the mmcprobe device... [1.044658] (mmcprobe1:dw_mmc_sim1:0:0:0): Periph created [1.045015] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe started [1.045370] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_INVALID to PROBE_RESET [1.045886] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_start [1.046244] (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_RESET [1.046663] (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_IDENTIFY [1.085689] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done [1.086059] (mmcprobe0:dw_mmc_sim0:0:0:0): done with PROBE_RESET [1.086488] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_RESET to PROBE_POWER_OFF [1.087023] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done: remaining freeze count 0 [1.088196] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done [1.088625] (mmcprobe1:dw_mmc_sim1:0:0:0): done with PROBE_RESET [1.089343] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_RESET to PROBE_POWER_OFF [1.090285] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done: remaining freeze count 0 -- Bjoern A. Zeeb r15:7 --1098556516-1713784443-1753057217=:4643-- From nobody Mon Jul 21 01:12:30 2025 X-Original-To: current@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 4blj7G1dZkz61tR5 for ; Mon, 21 Jul 2025 01:12:42 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blj7F0kHLz3Ppy for ; Mon, 21 Jul 2025 01:12:41 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zabbadoz.net header.s=20240622 header.b=Ns8A8CxF; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2003:a:140a:2200:6:594:fffe:19 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=pass (policy=none) header.from=zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 1593BA64808; Mon, 21 Jul 2025 01:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1753060349; bh=NtjPeDQ3frp8osrt3T++ix4T+ZdkNDhjAEZbgSLXKcM=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Ns8A8CxFhUDrAFtx9RdKgsEvAJEZzkLdWCkAaCmKZpvAQeczDBBQIi5hTCsYAgl05 UCvVg6U/8Aku9SRU0vseJHSGTjLT3vsyM0MnDwr5Svgpgs9fllQsUSG36zhmQn+MQx sdO5FhWqgQOtjP7fhfjHaIG2wtY+mvtJIvalSvmmvo8dkF8XDdN+Ed2uD5Uyx7Bbk4 6xzjomAGzNhwxJk4qUBjLzZjwpxSj/8dogbFKbwBmm+8DBwkzoVqRXre8K6rhgnnYo xoXn68sMuyRYQ1IySCu6EW4GMP1FxYXyPvXIzr92+In9mOrmLNBg4bx6z3NSNPCthU GUuYLbsCMICIT/m3xnkK8sojLrzOTYlzI7rNipeDA3o+2zJC8WZlPMpwpF24Em1bU1 XrUdbh2t2uLjfT6ARf6gVyYfbR+k/VaCN6FDWfGr3VnPcwPDRP5NTBuGP4FUcHp+ka Wv1plqX3fy7kRG/ORLLH8TDgplvIfCCQeNqYIylpfFoK7gE16z8qhrxW2prTAIRBYG mPa3xhpN+OW7kAG/bCS6nexyz+36FSXHaCL7Cmo8wtdqfUrToaQYyPtLZqm6lxln6T GDzBgIHVahfZrD5oq5hoJ0pU5Rbxi6rwUup3UEdORWNC2iFnPeJRpzSgERL1k7QW83 wWMdCx/NKPBDAswW454z5N5s= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 429FD2D029E1; Mon, 21 Jul 2025 01:12:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id Jd9IDmyae4KD; Mon, 21 Jul 2025 01:12:31 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 1CCCD2D029D8; Mon, 21 Jul 2025 01:12:31 +0000 (UTC) Date: Mon, 21 Jul 2025 01:12:30 +0000 (UTC) From: "Bjoern A. Zeeb" To: Warner Losh cc: FreeBSD Current Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" In-Reply-To: Message-ID: <2758n599-q813-qop3-26nr-srn194p4pn05@yvfgf.mnoonqbm.arg> References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> <933q8q89-s848-034q-r063-76563n6938s2@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-1226329193-1753060351=:4643" X-Spamd-Result: default: False [-2.75 / 15.00]; CTYPE_MIXED_BOGUS(1.00)[]; NEURAL_HAM_LONG(-0.98)[-0.982]; NEURAL_HAM_SHORT(-0.95)[-0.949]; NEURAL_HAM_MEDIUM(-0.82)[-0.815]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19:c]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4blj7F0kHLz3Ppy X-Spamd-Bar: -- This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-1226329193-1753060351=:4643 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 21 Jul 2025, Bjoern A. Zeeb wrote: > On Mon, 21 Jul 2025, Bjoern A. Zeeb wrote: > >> On Sun, 20 Jul 2025, Warner Losh wrote: >> >>> On Sun, Jul 20, 2025, 5:19 PM Bjoern A. Zeeb >>> >>> wrote: >>> >>>> Hi, >>>> >>>> I've updated one of my trees to main after a longer while and I am >>>> confused that I no longer see and SD card or SDIO (this is netbooted): >>>> >>>> # sysctl kern.features.mmccam >>>> kern.features.mmccam: 1 >>>> >>>> # camcontrol devlist -v >>>> scbus0 on dw_mmc_sim0 bus 0: >>>> <> at scbus0 target 0 lun 0 (mmcprobe0) >>>> scbus1 on dw_mmc_sim1 bus 0: >>>> <> at scbus1 target 0 lun 0 (mmcprobe1) >>>> scbus-1 on xpt0 bus 0: >>>> <> at scbus-1 target -1 lun ffffffff >>>> (xpt0) >>>> >>>> Where to start looking? >>>> >>> >>> So those probes are put there to evaluate devices that were found. If they >>> remain, then that never finished. Most likely never started. >>> >>> What hardware is this on? >> >> arm64, rockchip >> >> [1.000651] rockchip_dwmmc0: > Controller (RockChip)> mem 0xff500000-0xff503fff irq 42 on ofwbus0 >> [1.000652] rockchip_dwmmc0: vmmc-supply regulator found >> [1.000653] rockchip_dwmmc0: vqmmc-supply regulator found >> [1.000654] rockchip_dwmmc0: Hardware version ID is 270a >> [1.000656] rockchip_dwmmc0: Disabling HS200+ (tuning code not written) >> [1.000657] ofwbus0: mem 0xff510000-0xff513fff irq 43 >> disabled compat rockchip,rk3328-dw-mshc (no driver attached) >> [1.000658] rockchip_dwmmc1: > Controller (RockChip)> mem 0xff520000-0xff523fff irq 44 on ofwbus0 >> [1.000659] rockchip_dwmmc1: Hardware version ID is 270a >> [1.000660] rockchip_dwmmc1: Disabling HS200+ (tuning code not written) > > I found the tunable: > > kern.cam.dflags=0x41 > > Output see below; if it helps I can run with 0xff: > > [1.035158] (noperiph:dw_mmc_sim0:0:-1:ffffffff): > xpt_async(AC_PATH_REGISTERED) > [1.035752] (noperiph:dw_mmc_sim1:0:-1:ffffffff): > xpt_async(AC_PATH_REGISTERED) > [1.038843] (noperiph:dw_mmc_sim0:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} > [1.039609] (noperiph:dw_mmc_sim0:0:0:0): XPT_SCAN_{BUS,TGT,LUN} > [1.040031] (noperiph:dw_mmc_sim0:0:0:0): Set up the mmcprobe device... > [1.040560] (mmcprobe0:dw_mmc_sim0:0:0:0): Periph created > [1.040933] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe started > [1.041289] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_INVALID to PROBE_RESET > [1.041809] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_start > [1.042163] (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_RESET > [1.042588] (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_IDENTIFY > [1.043249] (noperiph:dw_mmc_sim1:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} > [1.043729] (noperiph:dw_mmc_sim1:0:0:0): XPT_SCAN_{BUS,TGT,LUN} > [1.044143] (noperiph:dw_mmc_sim1:0:0:0): Set up the mmcprobe device... > [1.044650] (mmcprobe1:dw_mmc_sim1:0:0:0): Periph created > [1.045007] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe started > [1.045362] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_INVALID to PROBE_RESET > [1.045878] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_start > [1.046237] (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_RESET > [1.046655] (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_IDENTIFY > [1.085627] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done > [1.085996] (mmcprobe0:dw_mmc_sim0:0:0:0): done with PROBE_RESET > [1.086437] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_RESET to > PROBE_POWER_OFF > [1.086997] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done: remaining freeze > count 0 > [1.087592] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done > [1.087970] (mmcprobe1:dw_mmc_sim1:0:0:0): done with PROBE_RESET > [1.088396] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_RESET to > PROBE_POWER_OFF > [1.088936] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done: remaining freeze > count 0 > > > Hmm okay: > > # sysctl kern.cam.dflags > kern.cam.dflags: 255 > > not much else... > > [1.000646] rockchip_dwmmc0: Controller (RockChip)> mem 0xff500000-0xff503fff irq 42 on ofwbus0 > [1.000647] rockchip_dwmmc0: vmmc-supply regulator found > [1.000648] rockchip_dwmmc0: vqmmc-supply regulator found > [1.000649] rockchip_dwmmc0: Hardware version ID is 270a > [1.000651] rockchip_dwmmc0: Disabling HS200+ (tuning code not written) > [1.000652] ofwbus0: mem 0xff510000-0xff513fff irq 43 disabled > compat rockchip,rk3328-dw-mshc (no driver attached) > [1.000653] rockchip_dwmmc1: Controller (RockChip)> mem 0xff520000-0xff523fff irq 44 on ofwbus0 > [1.000654] rockchip_dwmmc1: Hardware version ID is 270a > [1.000655] rockchip_dwmmc1: Disabling HS200+ (tuning code not written) > [1.000682] ofwbus0: mem 0xff5f0000-0xff5f3fff irq 50 disabled > compat rockchip,rk3328-dw-mshc (no driver attached) > [1.035161] (noperiph:dw_mmc_sim0:0:-1:ffffffff): > xpt_async(AC_PATH_REGISTERED) > [1.035754] (noperiph:dw_mmc_sim1:0:-1:ffffffff): > xpt_async(AC_PATH_REGISTERED) > [1.038855] (noperiph:dw_mmc_sim0:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} > [1.039618] (noperiph:dw_mmc_sim0:0:0:0): XPT_SCAN_{BUS,TGT,LUN} > [1.040041] (noperiph:dw_mmc_sim0:0:0:0): Set up the mmcprobe device... > [1.040572] (mmcprobe0:dw_mmc_sim0:0:0:0): Periph created > [1.040945] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe started > [1.041301] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_INVALID to PROBE_RESET > [1.041817] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_start > [1.042171] (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_RESET > [1.042595] (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_IDENTIFY > [1.043257] (noperiph:dw_mmc_sim1:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} > [1.043737] (noperiph:dw_mmc_sim1:0:0:0): XPT_SCAN_{BUS,TGT,LUN} > [1.044151] (noperiph:dw_mmc_sim1:0:0:0): Set up the mmcprobe device... > [1.044658] (mmcprobe1:dw_mmc_sim1:0:0:0): Periph created > [1.045015] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe started > [1.045370] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_INVALID to PROBE_RESET > [1.045886] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_start > [1.046244] (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_RESET > [1.046663] (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_IDENTIFY > [1.085689] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done > [1.086059] (mmcprobe0:dw_mmc_sim0:0:0:0): done with PROBE_RESET > [1.086488] (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_RESET to > PROBE_POWER_OFF > [1.087023] (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done: remaining freeze > count 0 > [1.088196] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done > [1.088625] (mmcprobe1:dw_mmc_sim1:0:0:0): done with PROBE_RESET > [1.089343] (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_RESET to > PROBE_POWER_OFF > [1.090285] (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done: remaining freeze > count 0 Similar on an NXP LS1088 with mmccam: # dmesg -a | egrep -iE '(mmc|sdhci)' [1.000313] sdhci_fsl_fdt0: mem 0x2140000-0x214ffff irq 20 on simplebus0 [1.000314] sdhci_fsl_fdt0: sdhci_fsl_fdt_attach:947: baseclk_hz 600000000 = clk_hz 1200000000 / baseclk_div 2 [1.000315] sdhci_fsl_fdt0: vendor_ver: 0x20 [1.000316] sdhci_fsl_fdt0: sdhci_fsl_fdt_attach:970: maxclk_hz 25000000 = f_max 25000000 ?: baseclk_hz 600000000 [1.000317] sdhci_fsl_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk. [1.000319] sdhci_fsl_fdt0-slot0: 25MHz HS 4bits VDD: 3.3V VCCQ: 3.3V 1.8V 1.2V DRV: B DMA removable sdhci_fsl_fdt0-slot0: eMMC: HS200 sdhci_fsl_fdt0-slot0: UHS-I: SDR12 SDR25 SDR50 SDR104 DDR50 sdhci_fsl_fdt0-slot0: Re-tuning count 0 secs, mode 3 [1.000320] sdhci_fsl_fdt0-slot0: ============== REGISTER DUMP ============== sdhci_fsl_fdt0-slot0: Sys addr: 0xf6814000 | Version: 0x00002002 sdhci_fsl_fdt0-slot0: Blk size: 0x00000200 | Blk cnt: 0x00000020 sdhci_fsl_fdt0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_fsl_fdt0-slot0: Present: 0x01fd0000 | Host ctl: 0x00000002 sdhci_fsl_fdt0-slot0: Power: 0x0000000d | Blk gap: 0x00000000 sdhci_fsl_fdt0-slot0: Wake-up: 0x00000000 | Clock: 0x00000003 sdhci_fsl_fdt0-slot0: Timeout: 0x0000000c | Int stat: 0x00000000 sdhci_fsl_fdt0-slot0: Int enab: 0x377f11cf | Sig enab: 0x00000000 sdhci_fsl_fdt0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_fsl_fdt0-slot0: Caps: 0x35f20000 | Caps2: 0x0000af07 sdhci_fsl_fdt0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000 sdhci_fsl_fdt0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_fsl_fdt0-slot0: =========================================== [1.000321] sdhci_fsl_fdt0-slot0: Card inserted [1.000323] exclusive sleep mutex SD slot mtx (sdhci) r = 0 (0xffffa0800529ec38) locked @ /usr/src/sys/dev/sdhci/sdhci.c:688 [1.000331] #6 0xffff000000031f58 at mmccam_start_discovery+0x1c [1.000332] #7 0xffff000000271688 at sdhci_card_task+0x108 [1.000333] #8 0xffff000000278334 at sdhci_fsl_fdt_attach+0x5b0 [1.033269] (noperiph:sdhci_slot0:0:-1:ffffffff): xpt_async(AC_PATH_REGISTERED) [1.046019] (noperiph:sdhci_slot0:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} [1.051372] (noperiph:sdhci_slot0:0:0:0): XPT_SCAN_{BUS,TGT,LUN} [1.080359] (noperiph:sdhci_slot0:0:0:0): Set up the mmcprobe device... [1.085760] (mmcprobe0:sdhci_slot0:0:0:0): Periph created [1.089831] (mmcprobe0:sdhci_slot0:0:0:0): Probe started [1.093833] (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_INVALID to PROBE_RESET [1.099670] (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start [1.103756] (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_RESET [1.108542] (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_IDENTIFY [1.113823] (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done [1.117667] (mmcprobe0:sdhci_slot0:0:0:0): done with PROBE_RESET [1.122371] (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_RESET to PROBE_POWER_OFF [1.128379] (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 # camcontrol devlist -v scbus0 on sdhci_slot0 bus 0: <> at scbus0 target 0 lun 0 (mmcprobe0) ... -- Bjoern A. Zeeb r15:7 --1098556516-1226329193-1753060351=:4643-- From nobody Mon Jul 21 01:20:30 2025 X-Original-To: current@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 4bljJd5JsZz61tNH for ; Mon, 21 Jul 2025 01:20:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bljJc5ckFz3Xl2 for ; Mon, 21 Jul 2025 01:20:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=PYvB85ns; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::529) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-b31e076f714so3398665a12.0 for ; Sun, 20 Jul 2025 18:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753060842; x=1753665642; darn=freebsd.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=h2Lb2kiHBVudeWNCaHRSLoG3hhJxLdyurUOl6y2fOdQ=; b=PYvB85nsH7K+UAk9fG551CcvyRPSGxSy0zwFnWDJ+ZwVRrXkusCTRP5WJOaFTXm9mX YsnLtwiHbtrJPRBL9uvmF3b3cEKoS+QiWYKPfwuycfeQe7z+8D0krBInVXVIk6lCJVwb PUNOAGia0ghqCKfYfMWe6TxpUmlB8CRQv3UZ76iSK2JWETh48TwGqji1xanJ2GCKy/5U 1mNpcr3fO6QGLtsdLwCyoF0okN/YzOlLOANzKxAtGJChXGadIk8zV1weMz8n1T07BnRP ZS/rprqJlk55/5DlOsW7tCDxf6p9mBQonG+IjEadO0OzP22jNid79LNheIbbZEL3prQk xHIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753060842; x=1753665642; 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=h2Lb2kiHBVudeWNCaHRSLoG3hhJxLdyurUOl6y2fOdQ=; b=gzLh1EFOcT0oc8YlHrvru+99yDHZQSFj0e+BdBJS9cAu/UcY8XzJNahba6+g0ea+ff 6KbSuIyR1ewq6iquPtGRVh5XyzBIWBJRdbCkQNdqlCRq54WqZsLfTQCJ7rzXK2VyNxF7 3sMnBUgHreR+dhimHza7fvIXH6H08O4ciEoxGQ3/IxDEgeYEfD7uWjzAaXUElRXHC+kL K6uGd+lQBIchFLYEBVzoX8yBqvA3fr7dgoUt5X1dub6xr6j4Zoc1mS/c2TpzIKUdmFxy n7i0qTtRrISfaZQ5Ns+K6pf3vA/ZBS84tM/Tr8nk9KeX88PwtWuD/iTDHOhlyC2lisc8 nhjw== X-Gm-Message-State: AOJu0YyALj+GexeSq+8fngRbzkDSKi5XX+iqB/zvUe6n4utQQABj+pkv xxyrfN8gOj44Yb4QkfqDqzE1vk1xx2fmVFfBARn55UoKkaw72SNUp2Wun9Zf0EL7pgK6jajhQ+t G1UjTDm3e1WF4khVvRm/lDcUCcEMptm4pOsQfbjpaoPuuWEhIo5Nj X-Gm-Gg: ASbGncvAmaN6a9jwNbH2TBRlMNDg/baswDZSWQVYGD7tf3sQyjZjbEC0TIX5cawzZld 8y+5/nB18PYPiGWF1nt8+DMPGrrZAI8yeseYWP+EM4w0eTRPDVhCH/lq6B903p/xuPNET5d58KQ dHkJqcxNLZFv5MnSUKxBv1LWxajCyfwl+KQYY2iFVmBzj90hgIdKD1jCv8ANb/cA2u0m8Uy9LZ7 IkjoAPyoyuvwD017j8Z/Lvl1Wp8cHRrGv7UhRS+ X-Google-Smtp-Source: AGHT+IGRE439/lao6cG/rgdwJyKSguTDPXgkEDKqpt8WBnlzbhCnFzU2rKcYmVjEzNpCd+nOlKpu+6sTdWRxfu/HYS0= X-Received: by 2002:a17:90b:3c05:b0:312:dbcd:b94f with SMTP id 98e67ed59e1d1-31caeb969fbmr22226991a91.11.1753060841940; Sun, 20 Jul 2025 18:20:41 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> In-Reply-To: From: Warner Losh Date: Sun, 20 Jul 2025 19:20:30 -0600 X-Gm-Features: Ac12FXxUiG491xq_NZQQcsDj03wMmMH94EUxf_HkZl0xY-yivBiR0HK9kGqd0_s Message-ID: Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" To: "Bjoern A. Zeeb" Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000c0fc55063a6648cc" X-Spamd-Result: default: False [-2.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.996]; NEURAL_HAM_SHORT(-0.94)[-0.944]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::529:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4bljJc5ckFz3Xl2 X-Spamd-Bar: -- --000000000000c0fc55063a6648cc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jul 20, 2025, 5:24=E2=80=AFPM Warner Losh wrote: > > > On Sun, Jul 20, 2025, 5:19=E2=80=AFPM Bjoern A. Zeeb < > bzeeb-lists@lists.zabbadoz.net> wrote: > >> Hi, >> >> I've updated one of my trees to main after a longer while and I am >> confused that I no longer see and SD card or SDIO (this is netbooted): >> >> # sysctl kern.features.mmccam >> kern.features.mmccam: 1 >> >> # camcontrol devlist -v >> scbus0 on dw_mmc_sim0 bus 0: >> <> at scbus0 target 0 lun 0 (mmcprobe0) >> scbus1 on dw_mmc_sim1 bus 0: >> <> at scbus1 target 0 lun 0 (mmcprobe1) >> scbus-1 on xpt0 bus 0: >> <> at scbus-1 target -1 lun ffffffff >> (xpt0) >> >> Where to start looking? >> > > So those probes are put there to evaluate devices that were found. If the= y > remain, then that never finished. Most likely never started. > > What hardware is this on? > Thanks for the debug... As luck would have it, I just installed on emmc system (x86). I'm building mmccam kernel now. Warner > --000000000000c0fc55063a6648cc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Jul 20, 2025, 5:= 24=E2=80=AFPM Warner Losh <imp@bsdimp.= com> wrote:


On Sun, Jul 20, 2025, 5:19=E2=80=AFPM Bjoern A. Zeeb <b= zeeb-lists@lists.zabbadoz.net> wrote:
Hi,

I've updated one of my trees to main after a longer while and I am
confused that I no longer see and SD card or SDIO (this is netbooted):

# sysctl kern.features.mmccam
kern.features.mmccam: 1

# camcontrol devlist -v
scbus0 on dw_mmc_sim0 bus 0:
<>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at scbus0 target 0 lun = 0 (mmcprobe0)
scbus1 on dw_mmc_sim1 bus 0:
<>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at scbus1 target 0 lun = 0 (mmcprobe1)
scbus-1 on xpt0 bus 0:
<>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at scbus-1 target -1 lu= n ffffffff (xpt0)

Where to start looking?

<= /div>
So those probes are put there to evaluate devices th= at were found. If they remain, then that never finished. Most likely never = started.

What hardware i= s this on?

Thanks for the debug...

As luck would have it, I just installed on emmc system (x86). I= 'm building mmccam kernel now.

Warner
--000000000000c0fc55063a6648cc-- From nobody Mon Jul 21 04:52:40 2025 X-Original-To: current@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 4blp1R5vDMz627N8 for ; Mon, 21 Jul 2025 04:52:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blp1P39lMz3S0c for ; Mon, 21 Jul 2025 04:52:57 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=Tb1aLzmw; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::1036) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-3122368d7cfso2867013a91.1 for ; Sun, 20 Jul 2025 21:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753073571; x=1753678371; darn=freebsd.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=YDuqBaN4ln9XudFMwBGqgPDyVsr55AIrBhrAroXQgC8=; b=Tb1aLzmwQqXwjEljxgP43JAf/d3dXy4d/Ohww/id0Qw9w3KRjRVA1yPtosA830fGvz qsbANZMSGL5HfiH5iXaB4Y9HBZyM/Ul+z2HX1mZvPW3mQP7W/srAzr6OHWCG7LFAXVIm VhCjrpUBjrk2Dqi1wvWziIE669lNO4vpiWBcRWCIrRSBzYlgYlVvvqkpA46jXEGFButy Y0prhV/JAbrAH6krU28b2cA1FdK+QvXxWF3LFjxg1ujOw9m6jUvFr3wykblT5Rs6ODuZ 1fscQ9YmfgfygKi/dXa1UNZfDKsmrXLAt5XDFVNzYmY4a+uS8BGUcmku1CceIn4QBv7d f8zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753073571; x=1753678371; 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=YDuqBaN4ln9XudFMwBGqgPDyVsr55AIrBhrAroXQgC8=; b=QFPcBozR+Ilw2Wbn5z45yCecUPjHl5W87s1Iuya8wBQbdiBQoRNe2xFar2Uav9N11t smwTlgdEEXrBsl9NmDj3VIAtx+fsVkR+0mtqOyJcwjgTiN8ZPtzxI77O3WOOMZTyuqIN tzrnoJq2R3nWIoySi/AqoD2ALzIC2VokyF4jlenEDfGWSziGwaRf94cKT2An9xwz24E+ LAw8W6Uo9YdG5WZzPSk9cMqmOUh233HllQoGrGFuMjDCq+7/VAeazD368c5VHRml2euq 5BdpZN9Mg2yUzdPWgK/+JNlPATHDPaAsPXttG7UyVXmfGo5bGcUrINwGe3G5EeaZBQGr Urgg== X-Gm-Message-State: AOJu0YwiFlHYm7LpXBi451I0zrPKUbkt+KBclgk9/BxNGu5N7oBJ74lW oERcytuRLZYbEGZO2HNQecLDyeALv27+rSSyQoyGikmY0pJQSLKdoaEoNaLd7cicyRP9DrjXof4 W3iB6jgbgwmB/gR1n4VL/dGJLW6HyDBg4lSRGeuNpAHo6OsMqpehHeSU= X-Gm-Gg: ASbGncteM7y/JYYITZBJ+8/Cen01MEgIJNKpYJoV5gEmdk2SOOhIB+sUMuboUbkQO86 6Y2bR7cY5ggl59nEMG5MN+4Wo+YhjCqUAtJL5K410DrfOjRFYYry1UBJDQrMfyEx3pIi85sHhKX FO2YT1B6uCIX5IBXE29QSqnBsZUTtZuxdHspBPH9/L2B7EeaAgLjCNDSVBgemDHdaiFbxd+s6qF FQNuI9EkAgmkXSjO50SnWQudpkv0s+Q+/Rhww== X-Google-Smtp-Source: AGHT+IFpwB4KxZ0+lhNJR7pcVCyIMDOjH/nGamixeDDJfZEA9KGVBDdBxxVglqaLIc22pgLVawUakT2HJAtLXyCxKzw= X-Received: by 2002:a17:90b:2d4d:b0:311:c1ec:7cfd with SMTP id 98e67ed59e1d1-31cc25e7a85mr16288048a91.26.1753073570980; Sun, 20 Jul 2025 21:52:50 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> In-Reply-To: From: Warner Losh Date: Sun, 20 Jul 2025 22:52:40 -0600 X-Gm-Features: Ac12FXwztAhjSQzhg3jva81eChOdHxy_QyH-7L5xygKMDR0j0jAErKgYVv3YGL4 Message-ID: Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" To: "Bjoern A. Zeeb" Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="00000000000076bb04063a693fef" X-Spamd-Result: default: False [-2.25 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.996]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; NEURAL_HAM_SHORT(-0.25)[-0.251]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1036:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4blp1P39lMz3S0c X-Spamd-Bar: -- --00000000000076bb04063a693fef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jul 20, 2025, 7:20=E2=80=AFPM Warner Losh wrote: > > > On Sun, Jul 20, 2025, 5:24=E2=80=AFPM Warner Losh wrote: > >> >> >> On Sun, Jul 20, 2025, 5:19=E2=80=AFPM Bjoern A. Zeeb < >> bzeeb-lists@lists.zabbadoz.net> wrote: >> >>> Hi, >>> >>> I've updated one of my trees to main after a longer while and I am >>> confused that I no longer see and SD card or SDIO (this is netbooted): >>> >>> # sysctl kern.features.mmccam >>> kern.features.mmccam: 1 >>> >>> # camcontrol devlist -v >>> scbus0 on dw_mmc_sim0 bus 0: >>> <> at scbus0 target 0 lun 0 (mmcprobe0) >>> scbus1 on dw_mmc_sim1 bus 0: >>> <> at scbus1 target 0 lun 0 (mmcprobe1) >>> scbus-1 on xpt0 bus 0: >>> <> at scbus-1 target -1 lun ffffffff >>> (xpt0) >>> >>> Where to start looking? >>> >> >> So those probes are put there to evaluate devices that were found. If >> they remain, then that never finished. Most likely never started. >> >> What hardware is this on? >> > > Thanks for the debug... > > As luck would have it, I just installed on emmc system (x86). I'm buildin= g > mmccam kernel now. > I can confirm this result. When was your last update? There was also sleeping on a non-sleepable lock witness warning... Warner > --00000000000076bb04063a693fef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Jul 20, 2025, 7:= 20=E2=80=AFPM Warner Losh <imp@bsdimp.= com> wrote:


On Sun, Jul 20, 2025, 5:24=E2=80=AFPM Warner Losh <imp@bsdimp.= com> wrote:


On Sun, Jul 20, 2025, 5:19=E2=80=AFPM Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:
Hi,

I've updated one of my trees to main after a longer while and I am
confused that I no longer see and SD card or SDIO (this is netbooted):

# sysctl kern.features.mmccam
kern.features.mmccam: 1

# camcontrol devlist -v
scbus0 on dw_mmc_sim0 bus 0:
<>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at scbus0 target 0 lun = 0 (mmcprobe0)
scbus1 on dw_mmc_sim1 bus 0:
<>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at scbus1 target 0 lun = 0 (mmcprobe1)
scbus-1 on xpt0 bus 0:
<>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at scbus-1 target -1 lu= n ffffffff (xpt0)

Where to start looking?

<= /div>
So those probes are put there to evaluate devices th= at were found. If they remain, then that never finished. Most likely never = started.

What hardware i= s this on?

Thanks for the debug...

As luck would have it, I just installed on emmc system (x86). I= 'm building mmccam kernel now.

I can confirm this result. When was y= our last update? There was also sleeping on a non-sleepable lock witness wa= rning...

Warner
--00000000000076bb04063a693fef-- From nobody Mon Jul 21 08:00:21 2025 X-Original-To: freebsd-current@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 4blt9h5Z5Gz62KmX for ; Mon, 21 Jul 2025 08:00:24 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blt9h4kbPz3fNW; Mon, 21 Jul 2025 08:00:24 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753084824; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=LcW1tdvqK9RF78d1HBi7y1ZflTPhzxdDFxAG0ZJf8mU=; b=u+/VdtFEk6M7l4I6amXh51RqgMJIxJXiWXi0hslJ+3nYBZhZQNTkIcGcnjNbJW03+uYbGm 9B1LhQPHUhsEtDg7UDlkFQEyaT7V3++1DZUd+O24afm2wvuq3+JqX6xeuNS2jwG8VpFWU1 CYguz9H/ScEhfO1jl8yPeGKcEV5PhE+T+l7zj2Fcf0tRgcuQR9nbRjrY6RgfMkSVej7tyi 85qAD7Sj0W7CYajtcGl1Es/xPnj/ac0l8ZFLpDoT/2+Kh8byj6QC30K95r/a22sJ6D13PW bnnlpkZZ+dSFEf8gA3hZOUPbmdaTl0YXuJhiVTVZQC+i3QjEtuwlZyWWGanKYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753084824; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=LcW1tdvqK9RF78d1HBi7y1ZflTPhzxdDFxAG0ZJf8mU=; b=PoJVjQQIyLhRQHI2qeoOtlUD1SnHIujH81ncqy1kyOVTUNYOmPaSz/gN3Iec/V9fFyuun+ qVCm5rYEIZk5RyF2H81sspIh8uYDdlChh4rOILBdiYWCBkxEGuH+clO5cCL9NUmM8e9aIN 8PzwGOBj0fDJS/+MpDYLChRjc18rhUNL1j1wKuKWjH6WS+eTq1KdOlsGLoi1vCqNsdpw2F 1FJ4lBayFLktu1U1u9INFL9NKKy0d0HCqq4lGxYgaigd9fXRR2hxeXD5Au6MJwtTwp9QnG njg/0Yd9BqBdpRmQXEJHnSJSTp837maCEgCO3ANnqX0Iw7IlvGGvXko+M1u7MA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753084824; a=rsa-sha256; cv=none; b=siFt5wgVlS9fWOgLtbg40dhm4Bubd89YGtBxChXvGGQj2bSS3FAeoU/d3WB3QfhKaUhSPQ 0Mkt5I9OnsJk8c3kQEkli024B3mks9SumkPZUfBuoKZTwXP70vt8GaZqMOwGtgFfHyNT76 o0P2jtZG2j0vOeQFeH5P025K7AtqS/63P3uUHEn/Qh82wTM+ozDhEw8VV/1+a+pHGfqPWf 1srh5mgxO3XNjRRaUPN80NqYWXsZWtPhp5ZzDb+gGpFXNGKKrEt/Zprqx2ACC/i9BVYnrh a1syiKQ1UwPtf1JWWAwOgajkRyXQ/LxrTHS7NNhijzkmCK2IGpN1581UPCStrA== Received: from cell.glebi.us (glebi.us [162.251.186.162]) (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) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4blt9h1YS7z3Mg; Mon, 21 Jul 2025 08:00:24 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Mon, 21 Jul 2025 01:00:21 -0700 From: Gleb Smirnoff To: freebsd-current@freebsd.org, src-committers@freebsd.org Subject: July 2025 stabilization week Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi FreeBSD/main users & developers: This is an automated email to inform you that the July 2025 stabilization week started with FreeBSD/main at main-n278914-e0838f8a2e61, which was tagged as main-stabweek-2025-Jul. Those who want to participate in the stabilization week are encouraged to update to the above revision/tag and test their systems. The tag main-stabweek-2025-Jul has been published at Gleb Smirnoff's github repo. To connect this repo as an additional remote you need to run: git remote add glebius https://github.com/glebius/FreeBSD Once remote is configured, to checkout the tag run: git fetch glebius --tags git checkout main-stabweek-2025-Jul If you want to use only the official FreeBSD repo, then update to the revision: git pull git checkout e0838f8a2e61 Developers are encouraged to avoid pushing new features to FreeBSD/main during the stabilization week, but focus on bugfixes instead. The stabilization week runs up to Friday 18:00 UTC, but if there is consensus that any regressions discovered by participants have been fixed, it will end early. Once that happens, the advisory freeze of FreeBSD/main branch is thawed. -- Gleb Smirnoff From nobody Mon Jul 21 13:15:39 2025 X-Original-To: current@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 4bm19k0HmTz62dVW for ; Mon, 21 Jul 2025 13:15:54 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bm19j3Kjyz3PNc for ; Mon, 21 Jul 2025 13:15:53 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id EB447A64809; Mon, 21 Jul 2025 13:15:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1753103735; bh=G4XWkXqSkHv6AYTXkO32l8nCbmmzJFR00mW2mKylV8Y=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Rs/sanORZ9E0PMpRVmo//pmbxTJyRAH2kb1vH2S32ChyMbN5sfxBhGwiOaFVV9dyD +OygwPHTfI7LWIKZ53ydKhuoJ/QP4DPY+QNfA8appeA9WhxcGhtvcX6EsHnViMOzlc Z2XoNhxBMbZTPGksMfnf3YAd+pgBEDtacVrnd291yqBVEZEiPfvoF6XM5aPqVmmMM0 Mzbf4u8puz+N5rZIH1kDNCyzZ73YQljTTRg1Z7Wcj9p5LTVPMxp174LK5qaeKctyoX KGZeICSMNF5wcrh8rcDv24/z2RilTxWIub4uC+cVq2MTj3pBNPNvai6bqLBb9p1m3p B/UxGe4U39jSowHkUo5RGXEgL6W+K/B/oYkr8UuMCaqcCVKFcufMLFOGdMElLp5TJy T62bdfOnBsVgBOF5wS2NdRFVa7XQD1+jvBiQUnIFPPlYVizveMmBnm8L2zFTZLg8MU RU9yGEjUfiOf3euv9ywBLcxXyX+zELNgo0vm3KxF/nD8uI5S3mmsuNP2cO/RRPKV8c +Uh4oSG1HtYQGhMsBXYsSMqNu2Nl7tQF45v2pSy5dymeX/6K6avYKx1kyY+EFBnxLU CymSg1hYMq3D2PbZOfiBqadAR/NG/zQv6lgmtWEywQxmTlX5Lx+XCKNwZVYZdB7aOc 7EzamVcuF7Pt1ACLXkREAHPo= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 32F9A2D029E2; Mon, 21 Jul 2025 13:15:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id 4JFqTPQ1ZnUr; Mon, 21 Jul 2025 13:15:39 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 43F302D029D8; Mon, 21 Jul 2025 13:15:39 +0000 (UTC) Date: Mon, 21 Jul 2025 13:15:39 +0000 (UTC) From: "Bjoern A. Zeeb" To: Warner Losh cc: FreeBSD Current Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" In-Reply-To: Message-ID: <01r0s597-9ssr-s796-p54r-qs882628p4s7@yvfgf.mnoonqbm.arg> References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-1572676653-1753103739=:4643" X-Rspamd-Queue-Id: 4bm19j3Kjyz3PNc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE] This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-1572676653-1753103739=:4643 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 20 Jul 2025, Warner Losh wrote: > On Sun, Jul 20, 2025, 7:20 PM Warner Losh wrote: > >> >> >> On Sun, Jul 20, 2025, 5:24 PM Warner Losh wrote: >> >>> >>> >>> On Sun, Jul 20, 2025, 5:19 PM Bjoern A. Zeeb < >>> bzeeb-lists@lists.zabbadoz.net> wrote: >>> >>>> Hi, >>>> >>>> I've updated one of my trees to main after a longer while and I am >>>> confused that I no longer see and SD card or SDIO (this is netbooted): >>>> >>>> # sysctl kern.features.mmccam >>>> kern.features.mmccam: 1 >>>> >>>> # camcontrol devlist -v >>>> scbus0 on dw_mmc_sim0 bus 0: >>>> <> at scbus0 target 0 lun 0 (mmcprobe0) >>>> scbus1 on dw_mmc_sim1 bus 0: >>>> <> at scbus1 target 0 lun 0 (mmcprobe1) >>>> scbus-1 on xpt0 bus 0: >>>> <> at scbus-1 target -1 lun ffffffff >>>> (xpt0) >>>> >>>> Where to start looking? >>>> >>> >>> So those probes are put there to evaluate devices that were found. If >>> they remain, then that never finished. Most likely never started. >>> >>> What hardware is this on? >>> >> >> Thanks for the debug... >> >> As luck would have it, I just installed on emmc system (x86). I'm building >> mmccam kernel now. >> > > I can confirm this result. When was your last update? There was also > sleeping on a non-sleepable lock witness warning... The locking issue I think I posted a while a ago. I cannot say which kernel last worked there; that was likely from 2024. I found an arm64 MMCCAM kernel from around 2025-03-18/26 which works on the LS1088. Seems the last commit from main on that branch was 12bff22669cf . # camcontrol devlist -v scbus0 on sdhci_slot0 bus 0: at scbus0 target 0 lun 0 (pass0,sdda0) ... In either case the nvme does work by the way. It's just mmccam it seems which does not. -- Bjoern A. Zeeb r15:7 --1098556516-1572676653-1753103739=:4643-- From nobody Mon Jul 21 14:32:19 2025 X-Original-To: freebsd-current@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 4bm2sz5lpYz62jyD for ; Mon, 21 Jul 2025 14:32:23 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-a4-smtp.messagingengine.com (fhigh-a4-smtp.messagingengine.com [103.168.172.155]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bm2sy4Pt6z45r4 for ; Mon, 21 Jul 2025 14:32:22 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=l6Nc1gbR; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="P 5beuzu"; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.155 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id CB55C1400028 for ; Mon, 21 Jul 2025 10:32:21 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Mon, 21 Jul 2025 10:32:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1753108341; x=1753194741; bh=iDb5k2zzcpoAZrojqZ+lisQfj5ii5ion T64TxdE5KAo=; b=l6Nc1gbRWCalTwDcqbsWyaH6YyyWMFIatNat5CjC4EOjp0xE QetoGcLyzpTQltFUIuptlfQqZKCLQOGMOkeGf1CvovtL4jekaQiADoY0bGhiPHjd ucx8pxmyvd1kZ46FHsu8M1ZzL6mkSbjoU94wlC1yBovf+QnFAlLeXwLWEpGMn7Wd Jc62OmlGpodLGgLbnoV9ZIJNJQ9Zq1Qia0PPSK9pttLIsBkjzCsNAzL5xDq94zQZ TbhCZ7G4WrXMMyLHdrAn49LIiRaONMiNCvkgqh0U2oR+C1Zz8cgHEyLcnZUgKjmR ACPbTJmYY9GtSWmXLaPIt7mzom0HJkNfI6sNcQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1753108341; x= 1753194741; bh=iDb5k2zzcpoAZrojqZ+lisQfj5ii5ionT64TxdE5KAo=; b=P 5beuzuOj9ltIKXAbX5rSuszuFtwVfhwDiYN0+rKVNHiEjj7edzI4SZUt73sxhGHA 9BRGAyxRVw7a6tuciXuBLXIYIg8ny4S1AmEAAvcn4uX1UBhTtRbIgtkE8y2DBL59 rH4btT2JL3BwBV+SlI0UZ1R6ADDEYktDv6RWfeBAZAbYDDavCjmkXjxxyLN8TZr/ CPGhO8ZWA+dgK6oLAcOUnhkP/0g3n5wTa8kdiuwaPROWhqh12JukbP6qmJUeh5oW ITono5B2cQhd0FhOhR0NmQUIEg3YhpjuWd1g86LC5WRoE/FMYuakQCp3/P/fpZ7b s1iVaHTqaQYKTrxCnhUzA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejvdeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehttdertddttddvne cuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgvrhhn peevudffiedvffffgffhgeefjeefffdtieetheetkeefhfdvfefgtedtueehgeffueenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehvohhiuges fhdqmhdrfhhmpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtph htthhopehfrhgvvggsshguqdgtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 21 Jul 2025 10:32:21 -0400 (EDT) Date: Mon, 21 Jul 2025 15:32:19 +0100 From: void To: freebsd-current@freebsd.org Subject: a question about /boot/loader.conf Message-ID: Mail-Followup-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spamd-Result: default: False [-3.19 / 15.00]; NEURAL_HAM_MEDIUM(-0.92)[-0.925]; NEURAL_HAM_LONG(-0.84)[-0.840]; NEURAL_HAM_SHORT(-0.83)[-0.826]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.155:from]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4bm2sy4Pt6z45r4 X-Spamd-Bar: --- Hi, On recent -current, I notice that sysctls with a numerical value are not quoted, but those with an alpabetical one are. like this: security.bsd.allow_destructive_dtrace=0 filemon_load="YES" Which is the Correct Way? All quoted, or "it doesn't matter"? -- From nobody Mon Jul 21 15:43:59 2025 X-Original-To: freebsd-current@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 4bm4Sw0VR9z62nLM for ; Mon, 21 Jul 2025 15:44:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bm4St4Y94z3rcV for ; Mon, 21 Jul 2025 15:44:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=wIVISTWn; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::62a) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-2350b1b9129so30888125ad.0 for ; Mon, 21 Jul 2025 08:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753112651; x=1753717451; darn=freebsd.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IEp1LKV9p65V7Muv41fb14eu6yW6XI7SaabRpCvco7E=; b=wIVISTWnQe+uJzquXzAiaRHv3J43eu+ogRZdVueeezgq66SaDp1PN9TVeByAtOV5ND 1G59Dm5IkKmaEsMvR3LEjaqIc0GqNCxVI8zP4FqFSJepeKTozhbazhxQGFM0TgwubYgi BrZi2yx1Ju1M9Zp3vEL5B7iiEl+cmJeYdNjqbZTy2d+4CiE2Vqz13ZANcCIypm84BOqW uFFyEBbhjrHOJXy0P+gxvvqijGlOrKv8VhJywy2nNqR55W/rT1tPSBScGx3EnGkD0LRy sEhmzPWgsRLrR+8cFxLWXsXEaQFFxMDr7aNs0LkONFc/R1h4wC0I74EVDU3YjRppgfN+ yxBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753112651; x=1753717451; h=content-transfer-encoding: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=IEp1LKV9p65V7Muv41fb14eu6yW6XI7SaabRpCvco7E=; b=jmAtCvgaFFHPR7pQECWW50sPK5920o9xT0Gg24RXgNDjZURQ9/sNthztlbdIaVIMfb 53qp6PYvuqsnVKk2KVnQJ/j8/IG9kzZulNDbKuzgVX4qB0e8GTNUW3CTuL/PcTujrZh4 qapy0zkiAE01KhggcZYFz7a9oHSuEz2Ihd6PYYXyYNXW2yIvIr4fThVjBHubCR9EjKui VRYKjMD5wJbpzgaxVfc7eijPV4KbXKIYwygEu9FgBce2nFKm0qwZwJ/2CEgJDzRX+oRt mu1Q68iHyatiGLrX7nU0X8Ct9UWLjUfsAe03bx2oQaDkLJ8e7wzjnYPP54zX9Pawj23c GEig== X-Gm-Message-State: AOJu0Ywj8c6GBtwgQsulCsvPup0LfN7dlUazmxLXqgXRCsfHaloMtWhg FsAue1z5cKjXMNrNQg1qYArJ47bRi2JHXO6QBO59bRpj+qyAPXkY2KyvlYvd5fjt85+eHklUQk3 6yUqf71jWqI/xk92BYZ8Ez2fPUCKT1AWFoXvnN1pSrSsZKbigGSjUSCE= X-Gm-Gg: ASbGncu1WMsYYKUNODNcQHQK/Z+KxTnM2gdxzonW4yuGaEKlUQThEyFHApvHmMnnSc9 Hc5jS+ylN+hK2FQoUG3VGPG6CY5G4DJqpOoFRUF6KyRvcgy7XImQriTStwq+ozM90gTwQO5BBiM ORlehIiMMicG1upCTcfCwsKbPqhvlkmMwqi8DlejEMReeEtPc6w+KI3NzO4YVWpjTxQoCs9WQe4 daTlZ8= X-Google-Smtp-Source: AGHT+IEGGKSMrMSdZ8oF4vGCqzhPTUKrtovUjVeH3gTkJYOGkufee+ovvQgRxletI5Uelh/A3NhGlPoaUB0vAoXXIGc= X-Received: by 2002:a17:90b:53cf:b0:311:b0ec:1360 with SMTP id 98e67ed59e1d1-31c9f447e13mr30118613a91.29.1753112651242; Mon, 21 Jul 2025 08:44:11 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 21 Jul 2025 09:43:59 -0600 X-Gm-Features: Ac12FXxV7I3SypUEsKkrGB1ahYc1CEwfnU1vTDrlPHk2U4TYz1yL810umDsrgxA Message-ID: Subject: Re: a question about /boot/loader.conf To: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.88 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; NEURAL_HAM_SHORT(-0.89)[-0.893]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::62a:from]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4bm4St4Y94z3rcV X-Spamd-Bar: -- On Mon, Jul 21, 2025 at 8:32=E2=80=AFAM void wrote: > > Hi, > > On recent -current, I notice that sysctls with a numerical value > are not quoted, but those with an alpabetical one are. > > like this: > > security.bsd.allow_destructive_dtrace=3D0 > filemon_load=3D"YES" > > Which is the Correct Way? All quoted, or "it doesn't matter"? Doesn't matter, though quotes are needed for multi-word values. They are otherwise optional. There was a brief period of time where the lua loader didn't completely honor this, and lots of people popped up with complaints :) It all goes back to the 4th command line and the weird ways we bent it to do our loader.conf. Warner From nobody Mon Jul 21 16:19:05 2025 X-Original-To: freebsd-current@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 4bm5F71z2vz62qRl for ; Mon, 21 Jul 2025 16:19:07 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bm5F70FXfz47Pt for ; Mon, 21 Jul 2025 16:19:07 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753114747; 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=6YlP0RlITLPN0c5j4urGUD4tyOkvzF1E6ry0FDrOBoM=; b=bq0E/WDZzQA4vsXMFHPurmVLRa1/h9o8aUDiva48iR0g9+iIfnIw88aRC+VS/v2lMu2Yuk GtO73BhgzDQ4XygXL6ZeAb40DkYY6WCXGe6RZ+ocLcF1XRR4oi303YbqvT6OZ01GjdWB6V wX85y6KgzFH4sfyGj/XoPpKnpI/I61gWHtJ8GVZk2SQ6qpRnFPOeH61yPn6n5WyRHNHBRs Fg6yYRY8NHs7YMTO2n8p5T3xEjS8lW7SGEYsb/3r1E+DclO61Zkepzrii/gy9TMwIHO4a1 YpbaovcxB79Ww0Dh+eJJUYmtd+iOYs71rKeSGKO6WgO9o0eRGUBs7L9JUAQeCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753114747; 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=6YlP0RlITLPN0c5j4urGUD4tyOkvzF1E6ry0FDrOBoM=; b=H2qjoYFuLf/6FOH5xhPRNd75X6khB7YInT0tYmKhCC7P7iluRhyEEHvvpHp/gra6Vf4VqG AbeHMHZSiEvC9ZdSum5qKuqOQLKiDsP74em3EYp/JWYQGCqz+lSWy/psSrJo/PH5XDXWbF YAgZFD2KUtaV/QW+RRx2ZOoFsJP5Po2cwk1KOaNYNssEvLzQlrkUAHJ58bH5I0qWO3KcOI wkcOp6kk557qmYrgB5AbLlsxwrL8OK01tpdTrhL+mp3M2flnmLVa1+bsEg/RVfPC/AcIr0 S3/6+uPkCGlflkvvMvU8ww5QmxB1MaJxJmjgJIvErPZQT2YocXd85GLdCFcVhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753114747; a=rsa-sha256; cv=none; b=I+Q/fiGM0cGTLFtmAzb4vw/YMidl2hyy5ytBwZe3HscXywZpgQm9Q4QLMDfvgSWKJmPSTG VlZsSFwbCyhybb6K8JvzaRG2Qf7Cy7qtgVQnvte7ayKNkIZYtJHS9nC1XMNz5FMb/ACeAE q6kadu31RheG4x5i6X0qLT3gpAN87QlM9+eYHY7pSTXIseNJMXf3Wr6xZqkSvuTqxCeI5m fVkwM+WfPicNGLzaHnIo8QSmzP4C4T7wGrHWmsAa90AJIRx8dpjsg4GmncKY6EdK7OftbU YhnZsJU+K7sv4th7JTR26FZ22ub8qAN1SMVbONJrESxCwpu+eybjjxyYEM3Umg== Received: from ltc.des.dev (unknown [IPv6:2a01:e0a:c54:bed0:922e:16ff:fef1:acef]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bm5F665gNzDMX for ; Mon, 21 Jul 2025 16:19:06 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 5A4D7702F9; Mon, 21 Jul 2025 18:19:05 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: freebsd-current@freebsd.org Subject: Re: a question about /boot/loader.conf In-Reply-To: (void@f-m.fm's message of "Mon, 21 Jul 2025 15:32:19 +0100") References: User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 21 Jul 2025 18:19:05 +0200 Message-ID: <867c01bjpi.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable void writes: > On recent -current, I notice that sysctls with a numerical value > are not quoted, but those with an alpabetical one are. > > like this: Presumably, these are lines from your /boot/loader.conf. > security.bsd.allow_destructive_dtrace=3D0 This is a tunable, not a sysctl (although a sysctl of the same name will appear if dtrace is compiled into the kernel or loaded) > filemon_load=3D"YES" This is a loader configuration variable, not a sysctl. Neither of these needs quotes, but they won't hurt. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org From nobody Mon Jul 21 16:33:52 2025 X-Original-To: freebsd-current@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 4bm5ZF5P0Tz62rKH for ; Mon, 21 Jul 2025 16:33:57 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bm5ZD0wtRz4JC9 for ; Mon, 21 Jul 2025 16:33:56 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=vIGAtMjI; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=mLWGU5cP; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.147 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfout.phl.internal (Postfix) with ESMTP id 2A19BEC016F for ; Mon, 21 Jul 2025 12:33:55 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Mon, 21 Jul 2025 12:33:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1753115635; x=1753202035; bh=Bxo7batt2c cmEXpkFIvhRDsZ/UFIb4nWGdgYEMPWRls=; b=vIGAtMjIES4kkHkKOa6wJUOHch FNq6Dk7NkubnCHwVBND1OUQ4/QQR3YezPQ1/turcedPsk2Si3zzej87xjk7mHupH WDUXwCpiviOChRjSaQEoZ16Wo3hCihVpYuLN/ncAt2ePgU0Z2Em4isnNA13RpmD2 0TwdcAyXnwojIzWwWOwH8IbpSev1u2QhTjaAbU9fxEAeoQhS+UcBVta+t5Uo2t+m wlAO1Y5aqmleY0p69nL/Aj2HuJfDhSCKuqx8N/RkHU29P2VgYfYg2hWnij/VWsCH CfyZn1IZBTlfXcRmhvi+A3E0ewXGqvZpGubV7fLUb1VmcFlXtyg7QIuWg38g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1753115635; x=1753202035; bh=Bxo7batt2ccmEXpkFIvhRDsZ/UFIb4nWGdg YEMPWRls=; b=mLWGU5cPl6uzQcXMRYJy0Akx/7knc1AsYo7yPU27IWdTqdFUgkv FU5JFSsqR+gC8kvAFgBIyWFG7Xr/sFwucLZ1Z9jPdobzOj6Mpi+XtAfaDa4el37k 2YtUCuv4fJ9auYPTPOFczPb8+jaT0MIY/8tMWj0YEZd1Ru8cFHYPc/kxpgxvs7aO 8v7WygZ9RAsOh+/Cq0zey9KsSRDrgBBHJSL3xi6qLrP0CYB6aLundaJIpZR79M8u ye7DqT51ikA4MzF8+u3ZqbkXPBploTx59U4Q9Y2kQGEmbAZ7AifC5DtNncqYGdC2 PxPNL4rhRgI6QQ/XKo83gHqnOyFtz/ijWig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejvdehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertddttd dvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgv rhhnpeekleduvdelhfeileefgffghfffkedtheellefgudfgvdegkeejjedutdehhefgue enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehvohhi ugesfhdqmhdrfhhmpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehfrhgvvggsshguqdgtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 21 Jul 2025 12:33:54 -0400 (EDT) Date: Mon, 21 Jul 2025 17:33:52 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: a question about /boot/loader.conf Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-0.80 / 15.00]; NEURAL_SPAM_MEDIUM(0.56)[0.558]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; NEURAL_HAM_SHORT(-0.39)[-0.393]; NEURAL_HAM_LONG(-0.37)[-0.368]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.147:from]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bm5ZD0wtRz4JC9 X-Spamd-Bar: / On Mon, Jul 21, 2025 at 09:43:59AM -0600, Warner Losh wrote: >Doesn't matter, though quotes are needed for multi-word values. They >are otherwise optional. There was a brief period of time where the lua >loader didn't completely honor this, and lots of people popped up with >complaints :) > >It all goes back to the 4th command line and the weird ways we bent it >to do our loader.conf. OK, tyvm. I'll go with always using quotes. -- From nobody Mon Jul 21 16:38:07 2025 X-Original-To: freebsd-current@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 4bm5g71Pd7z62rHl for ; Mon, 21 Jul 2025 16:38:11 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bm5g63TMZz4Mlk for ; Mon, 21 Jul 2025 16:38:10 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=MweYfC2m; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=e74LCX5a; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.147 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id D0E34EC0227 for ; Mon, 21 Jul 2025 12:38:09 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Mon, 21 Jul 2025 12:38:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1753115889; x=1753202289; bh=RvLBelhcg2ZfAAAhDlt5re0zJbuyouk/8TF0d/61zCo=; b= MweYfC2m214qsBTKlmIBcSafHEg4qrAeBf1GfEg+uhqa9pAhpmgOSTP0HavClJUx x+NzFfSUgWlynm8/vkHVy6N3aVu08c9DpyvAR8Cev8Lq3XO/by1nZed8+DvS/eSu epljPOEoTncXDrGiWOi3agMLxPfblfMg3DjOogUiUlMrp9urGwvpjiOo673utYNi tzGXAy1XU3oOTMNI7Z7jxaJ/VNj6msdlzhGKmjAKLbSHBrAx+340ITLF4frRpZLo gX1V++R1wLn6HN01TVxlSIZi1cf2gfo63mSEPGNMxvCyuTAGtWUkIIpdImBphHAl qB1vhswZth1XVE7XZ7q0mA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753115889; x=1753202289; bh=R vLBelhcg2ZfAAAhDlt5re0zJbuyouk/8TF0d/61zCo=; b=e74LCX5amUj7jP2Qo JH9PKI78r90XDA6ii55E7bcMcjgIoAhFQzeTKim6KAek5hGitDApYUyZJqjo9SOj WL3UIMDmoDcaWPrd5S75dsQdj/QHhOCHmfdkz9lXp8RhjZ1sBAYU3m7WXsOVc2E0 59SkRYsxnH89VWf4DWUK5PvYbGSfYzrQUYE+uYnrFhqSdkHErBAUccYrRAetIEX3 zvy0VfdMudTMZzgz1vfFrXD0oS5w6Kdxyan0gmg/AtrWJj8QYNylmIpAxi0Otl7H 4XTfvH+yi1hGSoyRoMKAHwnU3/WsZR5qH11HplVZw1n1B56GQsR7akU+qJH7+oG3 NGqCw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejvdehkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtugfgjgesthekredttd dtudenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgrthht vghrnhephfeffeeuleehtddtieeuteetudfgvefgtdeivdehtdeitedtuefggedttdevte efnecuffhomhgrihhnpegtohhnfhdrshgvtghurhhithihnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhhoihgusehfqdhmrdhfmhdpnhgspg hrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghs ugdqtghurhhrvghnthesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 21 Jul 2025 12:38:09 -0400 (EDT) Date: Mon, 21 Jul 2025 17:38:07 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: a question about /boot/loader.conf Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: <867c01bjpi.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <867c01bjpi.fsf@ltc.des.dev> X-Spamd-Result: default: False [-1.43 / 15.00]; NEURAL_HAM_LONG(-0.84)[-0.844]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; NEURAL_SPAM_MEDIUM(0.42)[0.424]; NEURAL_HAM_SHORT(-0.41)[-0.412]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.147:from]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bm5g63TMZz4Mlk X-Spamd-Bar: - On Mon, Jul 21, 2025 at 06:19:05PM +0200, Dag-Erling Smrgrav wrote: > >Presumably, these are lines from your /boot/loader.conf. > >> security.bsd.allow_destructive_dtrace=0 > >This is a tunable, not a sysctl (although a sysctl of the same name will >appear if dtrace is compiled into the kernel or loaded) Odd that bsdinstall adds it to loader.conf then. It was added towards the end of an installation where one would choose hardening. It's from a -current machine but am not sure/can't remember if it's always been -current. -- From nobody Mon Jul 21 16:43:04 2025 X-Original-To: freebsd-current@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 4bm5mr1SP9z62rnZ for ; Mon, 21 Jul 2025 16:43:08 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-a5-smtp.messagingengine.com (fhigh-a5-smtp.messagingengine.com [103.168.172.156]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bm5mq3R9Pz3CXs for ; Mon, 21 Jul 2025 16:43:07 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=tfztnuBj; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ghicaWWk; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.156 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id DF7E2140010B for ; Mon, 21 Jul 2025 12:43:06 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Mon, 21 Jul 2025 12:43:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1753116186; x=1753202586; bh=HevktFy1VO N7froAJ+FshLUJ3Z5nCA5CAvS/qU5DWf8=; b=tfztnuBjC0wxr5eKNYIYeFJNaz UjDXEecGtCYq2CeP7D0b+2CR1D2iU09bMNHaMwrnqWXuQAef5tH48RtIi+dlTp+X /AIfLE4r9b2d7iWGOQ41zMUsryeJGl0P1zdRGl9/KmQNe4bCtoHTSacypJnV/Hz8 7mNcffuWOyX7i5Zlvi1b1mGir/sdpcQQ/eMunFyeetVo+IW2JAsBVVWqK29v4N73 0rhW0wASr1SojBYnFwp8eLmFuX+5cMC5edyM3dFSwT3RgKY6P+xzWMX5SYqb6KHH 0SFK8jyyrOMvVW2LLNOah9dsmtfi/urxHwoUC/qinsWqiW4DAufiE3mbtlsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1753116186; x=1753202586; bh=HevktFy1VON7froAJ+FshLUJ3Z5nCA5CAvS /qU5DWf8=; b=ghicaWWkXHYUwShtfKY3EzBPBOvIa+ceeAIO8dX131qtJw+DIY9 J/SiKoDygG0pS2Ik1/gqT1F+zFmxiOw0sYdkM8nXSUMaulVQ6i/DVnCovpwPVvJv V+MPeldOGtZV+b2cxi8NTgSTOwCzBM9azQ1sahR1HiPe0NA7T5aTnU7LeS8Mp9SS kP0CTWXSyU7aAym6eepw/kONDgwwUcO3Z0ouMmGSgkLeycxmFc/fWzyjo3ruZHFQ zPuKDEmFN/UWaTielRPxHBVZwBlfMHCiyf3VvxOkufI0ZwUz1ktwlC5QbzAv3Y0N jQ/4wc0829JofLT+C+okQ4h1HUMTUc7RHbg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejvdehlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertddttd dvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgv rhhnpeekleduvdelhfeileefgffghfffkedtheellefgudfgvdegkeejjedutdehhefgue enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehvohhi ugesfhdqmhdrfhhmpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehfrhgvvggsshguqdgtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 21 Jul 2025 12:43:06 -0400 (EDT) Date: Mon, 21 Jul 2025 17:43:04 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: a question about /boot/loader.conf Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: <867c01bjpi.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-1.45 / 15.00]; NEURAL_HAM_LONG(-0.84)[-0.845]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; NEURAL_HAM_SHORT(-0.42)[-0.424]; NEURAL_SPAM_MEDIUM(0.42)[0.419]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.156:from]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bm5mq3R9Pz3CXs X-Spamd-Bar: - On Mon, Jul 21, 2025 at 05:38:07PM +0100, void wrote: > >Odd that bsdinstall adds it to loader.conf then. It was added >towards the end of an installation where one would choose >hardening. It's from a -current machine but am not sure/can't remember >if it's always been -current. I may be completely incorrect about the above, need to test, can't right now as the machine is off. -- From nobody Mon Jul 21 17:20:09 2025 X-Original-To: freebsd-current@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 4bm6bx6DzVz62tRq for ; Mon, 21 Jul 2025 17:20:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bm6bw3z1Wz3chm for ; Mon, 21 Jul 2025 17:20:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=R8CRroWV; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::1031) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-313bb9b2f5bso4698847a91.3 for ; Mon, 21 Jul 2025 10:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753118422; x=1753723222; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=My7bEgt9+0E+Ht0iaAtr1h3bH9Q/m7jcMDwxiPl+vec=; b=R8CRroWVyl+bR13bG+3gUG7G1YSEEjvSXwt4jg2WMhdk/QHVqu8STX0RAqnZRreazv IGKOL3BVrv90hdFCPyzj7YXWrBSj605b7o0SQyTgrABfTfIIeKp9+11E84xwssGqCfKz e3cI+pfuAI83rDPVHzJw2W030ebNaizHCE31/BxhZZX5FShj7SkmrQwo2JtSyYGkpTbG nQTAtw+wExPjlPrhVWL5qhAjF9m/R24CNBR/+8t1lVgjR6LvFzjvwEOEti3Wuwz7lNfZ q4dWH+7w0Ob8CHseyP1vlyhgnVqwfK8/pV3jRb1uzsmmjumTsWGRvyWnFbv7ZzyiSjh7 m5GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753118422; x=1753723222; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=My7bEgt9+0E+Ht0iaAtr1h3bH9Q/m7jcMDwxiPl+vec=; b=wpMsOMT2bVHWaX4y1/TKk3Uie9tM6UJSrl9r4kSUyG3mxx6i+Xnia8HstaWsgYx5oN zbLe9jnxT0fD+NyOBBmP38cHlX4EK+5akyC6z49CiRXRq7INXBzg2MX8cLFXTCOGl8oa ns2vQ059JrCf93Nz4iIhNH04MVkt9/LMNy/35FodIkdYMcLwGmznzxMiEwVu5uAqKTiY 0AnThIC0HB+6lep4BW7VP/c3gtCb8FQ7vq6gtyel0WWwYSmmFAyCA+I10FKxOZUKqWBY tirKa0SZk6nGGsUPpFV0CKYpU6M92dAwYmlMVTMV47XKHqRluMnE67m1GC26696ATMi3 nAAA== X-Gm-Message-State: AOJu0Yw+NU/NMRjOVNOX4zqkL2vD0t6EAv4wbnk6Jjh6vbJ/CqcqExOh WKktTOa1mEbsj6KdaqGYbIGQJRVTuS7H7fSNAI+V7JpvTCWR3RX4TtOPgLcgKhkede7PPQyhVjb n0DCDKjidVd8VIKeMi6F6YzeAB7Zc+AL5caS0hiSUIvTPeclKFEmhUnpU4g== X-Gm-Gg: ASbGncvuRoZFP+VWBRA4nGO4Pqcdq5R1aibzXTz8K0tRAmit0stdVq61Ka2431Y4Z2k iydRlEvNXgtBVFdQVEKGEpe402ZegmdOoj5JJguCyWC+BatrfrWleTy2y8fkr63ZYUVf6yDuR00 5UbcyjEPDTZHTpOGFDu7WRcK40orbWMzQzuRwkcI6zFhSb4uVYGHX4FgeZOTls+qUXuNUF73poe 8Us0f8= X-Google-Smtp-Source: AGHT+IHpuoFSuQZhUFKA/zIcepC0iNmMAbIbQasc/FLXkoHoE6Zf5mAzTcV2G/nm2nKeDMiAYRsnCw5j8oH5K7D7NFE= X-Received: by 2002:a17:90a:c884:b0:311:ad7f:329f with SMTP id 98e67ed59e1d1-31caf921df8mr24697707a91.31.1753118421549; Mon, 21 Jul 2025 10:20:21 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 From: Warner Losh Date: Mon, 21 Jul 2025 11:20:09 -0600 X-Gm-Features: Ac12FXzp1-3ar65bOkAe6vX1UzZ5nJE4r80UG9czvAsxGlYHpBotgXh6HzJBsuE Message-ID: Subject: FreeBSD 15 snapshot with UFS Flash To: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-2.79 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-0.97)[-0.966]; NEURAL_HAM_LONG(-0.83)[-0.830]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1031:from]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4bm6bw3z1Wz3chm X-Spamd-Bar: -- Greetings, Recently, I bought a system with 256 of UFS flash (UFS here is Universal Flash Storage, a system that presents flash to the host as a SCSI device). I grabbed the latest snapshot (15.0 20250718) and put it on a USB stick. It just worked, though there's a couple of rough edges I'll document here. To boot and install, I needed disable SECURE BOOT so I wouldn't boot into windows. I did that by pressing and holding as the system booted and disabling in the Security section. I had a Minisforum S-100 system with 256GB (https://refurbished.minisforum.com/products/minisforum-s100-refurbished may have the 128GB version). Once I disabled secure boot, I selected the USB stick to boot. FreeBSD came right up. However, the ufshci library isn't in the GENERIC kernel yet, and devmatch didn't automatically load it for me. So I had to stop at the first prompt to get a shell, 'kldload ufshci' and then 'gpart destroy -F da1' to remove the windows install. I then did a normal ZFS guided install. Once I got done with all that, I had to edit /boot/loader.confg to add 'ufshci_load=YES' at the end before I rebooted. And my system was good. If you forget, you can load /boot/kernel/kernel, /boot/kernel/zfs.ko and /boot/kernel/ufshci.ko at the command prompt in the loader. This was all way less pain than I'd prepared for. The system is decently fast, but nowhere near as fast as my server machines. I've not yet tried to put a X11 on it, since I still need it for UFS testing for future submissions and to fix a couple of rough edges for a few things I've done in CAM before 15.0 goes out the door. Warner From nobody Mon Jul 21 17:37:03 2025 X-Original-To: freebsd-current@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 4bm6zC1GW4z62vLj for ; Mon, 21 Jul 2025 17:37:11 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "R10" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bm6zB5vNvz3ksN for ; Mon, 21 Jul 2025 17:37:10 +0000 (UTC) (envelope-from imb@protected-networks.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding:content-type :content-type:in-reply-to:from:from:content-language:references :subject:subject:user-agent:mime-version:date:date:message-id; s=201508; t=1753119424; bh=nmOwJMuzpO1oh+oHJYRsLqdRQc1dShRBQBRM qpj7De0=; b=Fz5hi6f4hPPanwziibpdcHKxxPcht2zm0JPEFZM2OnVqDbl//YTx FggQ5b5CJo4CgRpJhS5kKM5JnsEZT639B+pDnzdm54zo6WODgSE6tH61Z62R1ufa y2NOfy8eehye704GSI87aBRE5VQrD6aXp6xWh67nis1sNrWuOMW7dqM= Received: from [192.168.1.9] (d5540.auburn.protected-networks.net [192.168.1.9]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 148C4389B2; Mon, 21 Jul 2025 13:37:04 -0400 (EDT) Message-ID: <85c4b568-d9d8-4ceb-8813-08d7321ae977@protected-networks.net> Date: Mon, 21 Jul 2025 13:37:03 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: FreeBSD 15 snapshot with UFS Flash To: Warner Losh , FreeBSD Current References: Content-Language: en-NZ From: Michael Butler In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4bm6zB5vNvz3ksN X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] On 7/21/25 13:20, Warner Losh wrote: > Greetings, > > Recently, I bought a system with 256 of UFS flash (UFS here is > Universal Flash Storage, a system that presents flash to the host as a > SCSI device). I grabbed the latest snapshot (15.0 20250718) and put > it on a USB stick. It just worked, though there's a couple of rough > edges I'll document here. > > To boot and install, I needed disable SECURE BOOT so I wouldn't boot > into windows. I did that by pressing and holding as the system > booted and disabling in the Security section. I had a Minisforum S-100 > system with 256GB > (https://refurbished.minisforum.com/products/minisforum-s100-refurbished > may have the 128GB version). Once I disabled secure boot, I selected > the USB stick to boot. FreeBSD came right up. > > However, the ufshci library isn't in the GENERIC kernel yet, and > devmatch didn't automatically load it for me. So I had to stop at the > first prompt to get a shell, 'kldload ufshci' and then 'gpart destroy > -F da1' to remove the windows install. I then did a normal ZFS guided > install. > > Once I got done with all that, I had to edit /boot/loader.confg to add > 'ufshci_load=YES' at the end before I rebooted. And my system was > good. If you forget, you can load /boot/kernel/kernel, > /boot/kernel/zfs.ko and /boot/kernel/ufshci.ko at the command prompt > in the loader. > > This was all way less pain than I'd prepared for. The system is > decently fast, but nowhere near as fast as my server machines. I've > not yet tried to put a X11 on it, since I still need it for UFS > testing for future submissions and to fix a couple of rough edges for > a few things I've done in CAM before 15.0 goes out the door. I highly recommend adding sysutils/cpu-microcode-intel (and the needed config tweaks) to mitigate various page-table-related bugs in these CPUs, Michael From nobody Mon Jul 21 17:38:55 2025 X-Original-To: current@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 4bm71Z07Ljz62vht for ; Mon, 21 Jul 2025 17:39:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bm71Y3y0rz3nHN for ; Mon, 21 Jul 2025 17:39:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-879d2e419b9so3012196a12.2 for ; Mon, 21 Jul 2025 10:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753119547; x=1753724347; darn=freebsd.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=t3lqzAjyTwU108rCN3a8NXRdxz3XvFDYzQGsbsdi/MY=; b=zvOVXTS8nigpi0M8XY5bw6/s5A7t5vjXHje99pvC95IVkZgQq3dee4W5FcuAaKH8eQ pw8kVDaf3SsuH29s3byw6ebVHY90mIM/MsfbIJarSSnathMg6I2+uAJvp7GNBioVs+GJ V4BOOfvlr8F+ouI420XzXC/PpWkWeIvrm2L9VIAGTlNaZy+YX8pkLmWiRb80kUHg7QNJ UEdfQ9cZQvKuPnDRk+9moQACScen5HXs2Bv7Db7gKBf78uwHWvEjstM58WLa2wgp697B 5NoreVKX3hLCplRpp2pBl6zmev54V0JdXvYNAILw+tdWaNnkmOi37GS7C9j/47rKi0bf L/3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753119547; x=1753724347; 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=t3lqzAjyTwU108rCN3a8NXRdxz3XvFDYzQGsbsdi/MY=; b=SNZrGf5WSklqRlApmVoQ2fTztaZYECToEVOz4Z6h6n6zzNTdepViKINvN81xa58dwa zY6HNGEi5j+rR6b+6c4mcxbXPO3Q8MEB8zr4hAbbxXMmXEO9TFVKtj4Km8Y1pzzpnfhn UYK/umsMm8mRQH3I6SVuUgfA1WW2we+bLf9m1mdv986+lUGirJkWv9MM8nfpuKJhLmD6 mxLwl2P0vud+kJHa3AEbm/UVOYvQI5sla0HIo8W5Hm0grpwx5RMyYHx5+6vjEEWdC+J1 IkcHnkpdxbMHQ3UiTVJKFWmE9HlWFCN/Gdotuf2oNeTf3DtI2R0qOGlVRu/zomre+w28 YiJQ== X-Gm-Message-State: AOJu0Yybhjb2UjN0aoLuTDQJsou8Pa1d8f5Ofw3sFsTWoyYlULLN4dh8 TljuCwSGD3pScsS5982NACm3oYl8nr3nxjTdKse2ZXKcZfBtBUzH8aMnslc86OIcukH9zLFZEyD zKPCRzVHFCMmC4I1eBv1NOT2ISjO6gBZ9Hg5YXp9sy7zfqErncf/WS6E= X-Gm-Gg: ASbGncuwUwpNtqNUXo9MH1+6QO7P11ekyxOkEQ8bTpp/87/k1W4DpLrxcUet4LzVZkD 0f5TmKcySF0YNZWfQEbaADp+S3S2A2NHheCcmoAAvh5FAqgxF4HEvGECKj7DKVtkNwanccfy34c V4WO22AX0Q1cPv8E6renPL1pjdsiORy0Sw2N3tP3x5gZvzDmiGiNwed3Qt3Dpg7eCKkwtkcOvCr j2L+P0= X-Google-Smtp-Source: AGHT+IF2/CSLiuFyQyZESA1JdU7UFwkxQf6NpxgU2Re3tLlPyXLt558SDxkqiOeg6iFFoK1TY4gUOrUjolo3umHGqRs= X-Received: by 2002:a17:90b:58cb:b0:313:f6fa:5bc6 with SMTP id 98e67ed59e1d1-31c9e75bb51mr30495909a91.20.1753119546882; Mon, 21 Jul 2025 10:39:06 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> <01r0s597-9ssr-s796-p54r-qs882628p4s7@yvfgf.mnoonqbm.arg> In-Reply-To: <01r0s597-9ssr-s796-p54r-qs882628p4s7@yvfgf.mnoonqbm.arg> From: Warner Losh Date: Mon, 21 Jul 2025 11:38:55 -0600 X-Gm-Features: Ac12FXwDB_z0Yh1eeEb8CuHb45L3WxGFg8P-uaz7sXlyFCJXzXawJkM47rsMNlM Message-ID: Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" To: "Bjoern A. Zeeb" Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bm71Y3y0rz3nHN X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] So, We're getting through the 'reset' and 'identify' states in the state machine and entering the 'power off' state. And then progressing no further. So we get into the 'done' routine, but don't progress to sending the get ocr command. That's why we still have the probe routine. We're not setting the probe into INVALID state, so we should be calling xpt_schedule() to do the next single step of this process at the end of mmc_done(), but that doesn't trigger a new call to mmc_start(). I did some CAM cleanups that shouldn't have broken this, but might have (low probability, but with cam you never know, especially in the single step phase we do to do the probing). I'll check those out. Maybe it's easy. Warner On Mon, Jul 21, 2025 at 7:15=E2=80=AFAM Bjoern A. Zeeb wrote: > > On Sun, 20 Jul 2025, Warner Losh wrote: > > > On Sun, Jul 20, 2025, 7:20=E2=80=AFPM Warner Losh wrot= e: > > > >> > >> > >> On Sun, Jul 20, 2025, 5:24=E2=80=AFPM Warner Losh wro= te: > >> > >>> > >>> > >>> On Sun, Jul 20, 2025, 5:19=E2=80=AFPM Bjoern A. Zeeb < > >>> bzeeb-lists@lists.zabbadoz.net> wrote: > >>> > >>>> Hi, > >>>> > >>>> I've updated one of my trees to main after a longer while and I am > >>>> confused that I no longer see and SD card or SDIO (this is netbooted= ): > >>>> > >>>> # sysctl kern.features.mmccam > >>>> kern.features.mmccam: 1 > >>>> > >>>> # camcontrol devlist -v > >>>> scbus0 on dw_mmc_sim0 bus 0: > >>>> <> at scbus0 target 0 lun 0 (mmcprob= e0) > >>>> scbus1 on dw_mmc_sim1 bus 0: > >>>> <> at scbus1 target 0 lun 0 (mmcprob= e1) > >>>> scbus-1 on xpt0 bus 0: > >>>> <> at scbus-1 target -1 lun ffffffff > >>>> (xpt0) > >>>> > >>>> Where to start looking? > >>>> > >>> > >>> So those probes are put there to evaluate devices that were found. If > >>> they remain, then that never finished. Most likely never started. > >>> > >>> What hardware is this on? > >>> > >> > >> Thanks for the debug... > >> > >> As luck would have it, I just installed on emmc system (x86). I'm buil= ding > >> mmccam kernel now. > >> > > > > I can confirm this result. When was your last update? There was also > > sleeping on a non-sleepable lock witness warning... > > The locking issue I think I posted a while a ago. > > I cannot say which kernel last worked there; that was likely from 2024. > > I found an arm64 MMCCAM kernel from around 2025-03-18/26 which works on > the LS1088. Seems the last commit from main on that branch was > 12bff22669cf . > > # camcontrol devlist -v > scbus0 on sdhci_slot0 bus 0: > at scbus0 target 0 lun 0 (pass= 0,sdda0) > ... > > In either case the nvme does work by the way. It's just mmccam it seems > which does not. > > -- > Bjoern A. Zeeb r15:7 From nobody Tue Jul 22 01:28:19 2025 X-Original-To: freebsd-current@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 4bmKQw5KmZz62CK3 for ; Tue, 22 Jul 2025 01:28:24 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-a3-smtp.messagingengine.com (fhigh-a3-smtp.messagingengine.com [103.168.172.154]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bmKQv4jYvz3pf0 for ; Tue, 22 Jul 2025 01:28:23 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=Bw5rKXs1; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="m 3wd3y5"; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.154 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfhigh.phl.internal (Postfix) with ESMTP id 3FB1B1400062 for ; Mon, 21 Jul 2025 21:28:22 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Mon, 21 Jul 2025 21:28:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1753147702; x=1753234102; bh=05yTgmlVxlaPT8JreT+CWUjo97kgE2vX a4794xRx1F4=; b=Bw5rKXs16SXs03f759lDTP5vlsIzNI0mXiEX3N20YKohBYhP ILUcim0tT87LZvFR8pNII5y5Q9DciG9mbyi6VKTcAs9ivbC096PUhphIRNKpkW6M NIPxvzFvRtvs35o+MfixF2YTske9G2hlvuwk9CFHp3My9TV92PZC119QmaYVyVFa YWc8p4eKeqY/dOA4kL8UuNsR9NQPj7fkd9JOyN0sXG4OThuDz2otnji+5EE7nAQH NmBH0Awuz/2rbIY5dR/8YyrShsLAIsvNpM2CK/ekxyf0N2h+98Vkah/n/bOki9X4 jIXODIMW3JUrfT9xVZruVa2Zg6WJDpdFSNWQ9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1753147702; x= 1753234102; bh=05yTgmlVxlaPT8JreT+CWUjo97kgE2vXa4794xRx1F4=; b=m 3wd3y5md5i0jhJs07bT4I0NryoPb+7R5zjaKErXu1HFflNFdWsKOaYXbzmxiuO/S +aacYBYD8rUozQUbK0uvRlgm5xQLrk0zfpQG+IDQcieNAXgfjkOuStC876DTyKkx 0Hz3d4mvjObsHRaJzOl6L6HWh6YDVZzeb3jXAhsqOl3YNJdwXJYUGSQ6ORFs4ki6 LAawXgxNXREbL2MWqkocswCwdfth2d1qwDhErh+Pxah4F7gfGQ4VevHDvj6082w5 GLOEUHyjWYq5+t1KD//7DbQXouUEEqWwm6FssKH8AT+nECmusikZSNMxC6za0LdP S0WJgrlf5Vzowt1hDXGJA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejfeeifecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehttdertddttddvne cuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgvrhhn peejjedvjefhjeejlefhffehudfhudelieduvdefgeethfduiefggfehtedvheekhfenuc ffohhmrghinhepuhhsvghrrdhfmhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehvohhiugesfhdqmhdrfhhmpdhnsggprhgtphhtthhopedupd hmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrhgvvggsshguqdgtuhhrrhgvnhht sehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 21 Jul 2025 21:28:21 -0400 (EDT) Date: Tue, 22 Jul 2025 02:28:19 +0100 From: void To: freebsd-current@freebsd.org Subject: zfs panic VERIFY3U Message-ID: Mail-Followup-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spamd-Result: default: False [0.10 / 15.00]; NEURAL_SPAM_MEDIUM(0.99)[0.991]; NEURAL_HAM_SHORT(-0.88)[-0.880]; NEURAL_SPAM_LONG(0.59)[0.588]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.154:from]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bmKQv4jYvz3pf0 X-Spamd-Bar: / Hi, After an unplanned power outage where the UPS also failed, when the (15-CURRENT) system tried to come back up, it panicked and dropped to debugger. It seems this happens after zfs.ko loads and then imports the pool. The pool is raidz2 with 7*4Tb disks. The machine was building something at the time of the outage. There was probably a 'medium' amount of disk I/O but it wasn't thrashing. zpool import causes the following output at the console: https://void.f-m.fm.user.fm/panic/zpool-broken.png Is there anything I can do to rescue the pool? Not tried importing it readonly yet. The system is at main-n278643. It's *not* root-on-zfs. The boot disk is ufs2. -- From nobody Tue Jul 22 01:38:52 2025 X-Original-To: freebsd-current@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 4bmKg42BRKz62DQ8 for ; Tue, 22 Jul 2025 01:38:56 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-a3-smtp.messagingengine.com (fhigh-a3-smtp.messagingengine.com [103.168.172.154]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmKg31d6Kz3vRr for ; Tue, 22 Jul 2025 01:38:55 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=hU3LeAaK; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=IXHR9gjZ; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.154 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id 166741400045 for ; Mon, 21 Jul 2025 21:38:55 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Mon, 21 Jul 2025 21:38:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1753148335; x=1753234735; bh=bcDxSwPq31 IGCQ8as8yiFUMqR5BsyjjDOsS+CyxVb9g=; b=hU3LeAaKmLfHe7JzVg5B/K6s3M YhxrTkYzQK2Wl5okXMDdUHNRx78fZqgLZL94npeIOMDRPUd5RebExrpd2DIodHwO BbFwbrT6hMFVdr9po4EJRuyughEzYeT4nKs7YVY/rCkUAyRjFfyfd/W2RTmB8EVX KAZ762LVUUAYYFkWHrtVdgwtr1BOWCHUHna9Dyi11zfnUw/1IxbWaFs7lcTMBXRS rnghyWHlM6MsT7bgjcAKBbMTCNsOz4eYI9wvWnnw9CrLVOcF3RvM+tS/cnRe5Orw +kDgKwknYr5fled+sPQT7gw9h2eUXyyun2isnFUp1VrqpV1KZhIAyyTemyJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1753148335; x=1753234735; bh=bcDxSwPq31IGCQ8as8yiFUMqR5BsyjjDOsS +CyxVb9g=; b=IXHR9gjZpPUeAyitUhn33Emvg5s8fpOxFRLkC3FeFQjs00lGh78 DXA5AFr8+1lPsvKzAb7gjCtzBXceosvan+1Gdl1z7sHkdB4WHgiWcKudPMrmZLKf 670cbfldJRitou64wIYj5bQYl8+07HtZANSWT0zwqVa9BGY2u4jaadUl87rMqgS1 RkIvEv8+o6Iu+mhnvV0X4y3sv5zvVeqXbDLpuSY0CdGRAa2CyWhrnJ/bTqP8FLbe 88Qp4E5BfcaTbzrcm5HFm2IFkSyIXXTSTaLmhOfjj9m7yE61fCLvo0B2nghTMSAJ NKE+wXlE+u/CrwRnWcF4rJHKPWTBvn0xPKA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejfeeihecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertddttd dvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgv rhhnpeelveevhfehfeefffehfeffkeevvdffgfdtffejhfefvdegleevvedujeejjeelhe enucffohhmrghinhepuhhsvghrrdhfmhenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehvohhiugesfhdqmhdrfhhmpdhnsggprhgtphhtthhope dupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrhgvvggsshguqdgtuhhrrhgv nhhtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 21 Jul 2025 21:38:54 -0400 (EDT) Date: Tue, 22 Jul 2025 02:38:52 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: zfs panic VERIFY3U Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-0.44 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_SPAM_MEDIUM(0.98)[0.985]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27:c]; NEURAL_SPAM_LONG(0.17)[0.169]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.154:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; TO_DN_NONE(0.00)[]; MISSING_XM_UA(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bmKg31d6Kz3vRr X-Spamd-Bar: / On Tue, Jul 22, 2025 at 02:28:19AM +0100, void wrote: > >zpool import causes the following output at the console: >https://void.f-m.fm.user.fm/panic/zpool-broken.png agh, should read http://void.f-m.fm.user.fm/panic/zpool-broken.png *not* https, sorry. -- From nobody Tue Jul 22 04:04:52 2025 X-Original-To: freebsd-current@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 4bmNvm05dgz62NZ0 for ; Tue, 22 Jul 2025 04:05:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmNvk3X4Kz3h92 for ; Tue, 22 Jul 2025 04:05:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=kTPjI5wa; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::536) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-b3bad2f99f5so3945513a12.1 for ; Mon, 21 Jul 2025 21:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753157104; x=1753761904; darn=freebsd.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QWAlsYJkCFjGT2ojanbZXrtb9L0dIxpGq4DGAwRvIzo=; b=kTPjI5waSfmn9NTGUTt9lNk7Ob9/ZxiaLfD7YUY+y6Pcb9KZGbkcrvtY6GrG8tGnMu DU/6wLes3jWSzLppThGmV306pkXQhnIf5CQ7Oe2f613sCSI8VzeKY5+xbDSAnekaHGjq 6GVy6MH+/9b7fspi8VFrMZyuSsdmzAzurSgCnDsJKiXmRlrSUUcvHyP07ELix43OQYat s0VDFjr+LB4I2BoND7jm/Vks+j/YSEjQaq/HG3h8M7SFonD+3DAjhq0nbfcUIAt+tdhV BwmkKSH4QbdtXyTKs9hK3EDFbP+YF+g1NoubS4RY3BacsCe/SQrdvQK5eeP493+YRthH ghgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753157104; x=1753761904; h=content-transfer-encoding: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=QWAlsYJkCFjGT2ojanbZXrtb9L0dIxpGq4DGAwRvIzo=; b=RBaveTJd8hwKSRBkFJj88oKuaBX1dDlfA4657qlzM4e1CotHbLn4+c1fHCt6R15kQ4 x3peQrGltF3BSe6bHGFUFDQQ3lhP7jA0Lmd4iPv8jwMARs7JSmbJA5LWBZsxj+g7NnId FpxEyWMIsiQQvSsmOv0UF/WycgjMQpJFkJzZMfkI2rE1PvV68k/QtP2RPWVU8uxXAN8I RucWtbph+IxcOmMKKC4rAeqQAonudap9TKnVCbHkghhI564+n3YNPR0T3r/bz0tg4qXf DA+Aw7mMVKi/D2YKXqnMWuZMQOCqcVbo0pZh2EA13/WvUtcH8rgETKTBh1V0thWNSMEM KUkg== X-Gm-Message-State: AOJu0Yy5zVtYBc2dN0W/EXyLrtRUTm2xlohYJqs0rtwuPv/lKLH+LX2B ZQRK/AY7iasshZ8uM2m3L73mT8q9d8zZYNHBuwRjxOYbI9qYxOF2mcKKjL34c+EFa+4Y1HiNzFJ YNTmJFDAZ3DQsE7mvc+OXOA/zm343UB/w7JEG0JnTnQAiZYAQ5Wvy41o= X-Gm-Gg: ASbGnctdtuX7zoPZG1usL3AC1IEU9TTZXdC2jJQyzyzoQYHoCxUVrJXp1ORJdGC5Xfx 4x9xT8rmpRwS7OOdHO88vx/4ZUJle0mTFCHmvz0e8EXBwRpW9wFPbnENVMEXLCCIj9eapONNDYK EKZ7548NDNh0iCiPmVfX/uz95Jtjg/x05kDDpaoaueH7L34uT/p8IANJRagoM3iqO8sOt55p0cd 6nEEQs= X-Google-Smtp-Source: AGHT+IHCclvhGmyU/pfVUWoOHhGXtY+JYAW/jLeh/nBRfMycoOIvtmkbONZbyI3ehEIea5e8ePGbOxgNu7Kor9Xxd9k= X-Received: by 2002:a17:90b:3882:b0:30e:e9f1:8447 with SMTP id 98e67ed59e1d1-31e3e107a1fmr2393358a91.4.1753157103488; Mon, 21 Jul 2025 21:05:03 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <202507220400.56M40udG032587@gitrepo.freebsd.org> In-Reply-To: <202507220400.56M40udG032587@gitrepo.freebsd.org> From: Warner Losh Date: Mon, 21 Jul 2025 22:04:52 -0600 X-Gm-Features: Ac12FXx3Dztlzjb3rnd9URrasCzUeXQ5CBlzVG1CD8ZnxOTOj_atTjogGASL1Kc Message-ID: Subject: Fwd: git: b4b166b8c46b - main - cam: Enforce real priorities in xpt_action for queued ccbs. To: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-0.54 / 15.00]; NEURAL_HAM_SHORT(-0.95)[-0.946]; NEURAL_SPAM_MEDIUM(0.88)[0.875]; NEURAL_HAM_LONG(-0.47)[-0.470]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::536:from]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4bmNvk3X4Kz3h92 X-Spamd-Bar: / Heads up: I added some enforcement of the rules to CAM. I'd been bitten by this condition with some cleanup I did that caused mmccam to no longer probe devices. I've tested it locally on a couple of machines that have a couple of different SIMs/HBAs, for scsi, ata, nvme and mmc. I fixed what I could find, but if you hit this assert, please let me know. Warner ---------- Forwarded message --------- From: Warner Losh Date: Mon, Jul 21, 2025 at 10:01=E2=80=AFPM Subject: git: b4b166b8c46b - main - cam: Enforce real priorities in xpt_action for queued ccbs. To: , , The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db4b166b8c46b86df855f1621d2aa= 4b6ab26b3a5e commit b4b166b8c46b86df855f1621d2aa4b6ab26b3a5e Author: Warner Losh AuthorDate: 2025-07-22 03:52:22 +0000 Commit: Warner Losh CommitDate: 2025-07-22 04:00:53 +0000 cam: Enforce real priorities in xpt_action for queued ccbs. All queued CCBs should be created with a real priority (one that's not CAM_PRIORITY_NONE). Recently, I introduced a bug that revealed a latent MMC bug where it would stop enumerating due to a bad priority. Add an assert to catch that (the other bug in mmc_da that it found has been fixed). Sponsored by: Netflix --- sys/cam/cam_xpt.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 2ec736e7f4ac..cae29226d13c 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -2515,6 +2515,15 @@ xpt_action(union ccb *start_ccb) ("xpt_action: func %#x %s\n", start_ccb->ccb_h.func_code, xpt_action_name(start_ccb->ccb_h.func_code))); + /* + * Either it isn't queued, or it has a real priority. There still t= oo + * many places that reuse CCBs with a real priority to do immediate + * queries to do the other side of this assert. + */ + KASSERT((start_ccb->ccb_h.func_code & XPT_FC_QUEUED) =3D=3D 0 || + start_ccb->ccb_h.pinfo.priority !=3D CAM_PRIORITY_NONE, + ("%s: queued ccb and CAM_PRIORITY_NONE illegal.", __func__)); + start_ccb->ccb_h.status =3D CAM_REQ_INPROG; (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_ccb); } From nobody Tue Jul 22 04:17:20 2025 X-Original-To: current@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 4bmPBC6QZwz62PSS for ; Tue, 22 Jul 2025 04:17:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmPBB1stpz3vgX for ; Tue, 22 Jul 2025 04:17:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=pMf4Bn0P; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::1032) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-311c95ddfb5so3712108a91.2 for ; Mon, 21 Jul 2025 21:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753157851; x=1753762651; darn=freebsd.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=nMWb3KjEr6HZAd/Vjp2HTUrbQPe9+qz3oaqHRhI/XqE=; b=pMf4Bn0PUKd3GfndxT3zMHwCKA1QHOWDXbz5/C37OCy3nz6I+/vZ4audHoqKTWE1WR rTXvUr7WflYJUB/iWTRv261YDLLkADbATMeXMH0GY/vMmmj985eSooFtIKaMocUxReh8 vJLkDB2xZ2pTFUXn2Laq4P/faEQDFFBZdnJF9Z1S2It5suQTVw6iYznr5Ay7i1fHV0uA z0/shsYxK99NzWsPEz+PbMIKX15aZWHhZ1Qvs5oP34u1UK2gZzMeaZ28QbofbLF1f9U8 1KBZB7iBXl43dcE3HqfECVSpO9LOUI48flqMZ0qavfzJg82oDm5S2ZUC6UZ1d4okaWH3 IuJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753157851; x=1753762651; 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=nMWb3KjEr6HZAd/Vjp2HTUrbQPe9+qz3oaqHRhI/XqE=; b=nUG0OMBLV8bgc8tmSiMc05GE/bjKUuBvZl7YBNigBINBCjKAlxMjXXSyu+wp7qn4wu TbUvRWfRCMYy0PSH2v8PYU+M6FQJM9kxWg2vT1S5ZYZTEdksGg1vA1Eukt5XRuJwXksF /ZqcT5oi6yfehpoHBM/6Gs6aS+vsH/nwDcft0vOx+q1Eqb6xnY+Y6P7PlDWSimGM9cv6 Cj0vvwvTs7kd03MID2O6xt0aprHc/IBsmZ0TALElVEyhxXcnLwYCAYxdH0XabyiDdyi2 rp4fagLsWvaotMbhaRO8jVXwKyQDH4uDoG/kzAOt9+UTyq63OavWcjQi3eSuOo4FfBAb ueKw== X-Gm-Message-State: AOJu0YxWAxzqZinuLZz+OBxrIDOK7kykG9+NEJgYGT9sYkJTreh5KLjO 9QoRzzrcvDNI82tHgcD/y9YXGbyQiaCGLZCjABWt759ivo1pkYrUcxEk8F01op7EYZhtezcR6fe 35AD5INQ7cXOr0SImtjh2YqQp2dId31xXOvHtJ04ZzQEnptvStednTn5qwg== X-Gm-Gg: ASbGncsTAigaoVb2weg8BF2XJKK51No45HvHn2KoiBPJFOhygGS27m4m7jWb9oOKvuW upNHOUIHAdT/nU9NCcclDsEKqroU1+3JSG+4/jGWXd8V/Jo37uDWeuabKWhyBLYUeLQ0BW/r5gp 800Ve8sI37AEmxslgmG1WXQJQJbHJE/ca0j9cHjZk7N0+Bu69c3frv/aJd5fZGMh15CEdRwGM5c Su9chc6MuJ5YyphGA== X-Google-Smtp-Source: AGHT+IFbNQS0tPA0zoIspChy0w85JkmIiCn8VmCdAfORq7tKMIS4EvzAQxGLzvhmtoK5ORkrOUL+yR8KKhJiXos4U5o= X-Received: by 2002:a17:90b:1c04:b0:312:e9bd:5d37 with SMTP id 98e67ed59e1d1-31cc2515a29mr21554404a91.6.1753157851088; Mon, 21 Jul 2025 21:17:31 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> <01r0s597-9ssr-s796-p54r-qs882628p4s7@yvfgf.mnoonqbm.arg> In-Reply-To: From: Warner Losh Date: Mon, 21 Jul 2025 22:17:20 -0600 X-Gm-Features: Ac12FXwiJ-8h-IqJX8DtEOFmaGZ8BKsfByQgTNMD3HZNpTzMu804808_HfmhB94 Message-ID: Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" To: "Bjoern A. Zeeb" Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-1.81 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.94)[-0.936]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; NEURAL_SPAM_MEDIUM(0.13)[0.127]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1032:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4bmPBB1stpz3vgX X-Spamd-Bar: - On Mon, Jul 21, 2025 at 11:38=E2=80=AFAM Warner Losh wrote= : > > So, We're getting through the 'reset' and 'identify' states in the > state machine and entering the 'power off' state. And then progressing > no further. So we get into the 'done' routine, but don't progress to > sending the get ocr command. That's why we still have the probe > routine. We're not setting the probe into INVALID state, so we should > be calling xpt_schedule() to do the next single step of this process > at the end of mmc_done(), but that doesn't trigger a new call to > mmc_start(). > > I did some CAM cleanups that shouldn't have broken this, but might > have (low probability, but with cam you never know, especially in the > single step phase we do to do the probing). I'll check those out. > Maybe it's easy. OK. It turned out that I had messed things up, unbeknownst to me. I've added a KASSERT that should catch problems like this in the future (and caught a second one that I also fixed). It should be safe to go back into the MMCCAM water after b4b166b8c46b8. It broke a few days ago in c6dc5d367681 (I just realised I forgot to add the fixes: tag to my commit in my rush to get a fix in). When we're running the single stepping engine to probe the device, all those commands are queued. And we'll not run through them if we queue something at CAM_PRIORITY_NONE. c6dc5d367681 made the ccb that ran for the xpt_path_inq() at the NONE priority. Normally, this is fine. All the instances in the tree but two use that the stack to pass in a CCB for this use. It doesn't matter the priority. But, xpt_start() did xpt_path_inq on the start_ccb passed in that was allocated in xpt_schedule which fills in the proper priority and other fields. It didn't matter for the xpt_path_inq, it completed just fine. However, for the XPT_MMC_IO commands that followed, the priority was wrong, so they'd never run. It turns out that we don't need or use the xpt_path_inq() results at all, so it was just having the side effect of initializing the CCB (bogusly and redundantly, it turns out. The other location that doesn't use the stack for xpt_path_inq() doesn't really reuse the CCB, but saves the results of the path_inq away (it could allocate less memory if it did a similar thing to the stack trick in its soft state structure, but doesn't). So tl;dr: Thanks for the heads up, this broke only a few days ago, and should be fixed now. My sdhci system with eMMC in it works with these changes. And I added a KASSERT to catch this problem in the future. Warner > Warner > > On Mon, Jul 21, 2025 at 7:15=E2=80=AFAM Bjoern A. Zeeb > wrote: > > > > On Sun, 20 Jul 2025, Warner Losh wrote: > > > > > On Sun, Jul 20, 2025, 7:20=E2=80=AFPM Warner Losh wr= ote: > > > > > >> > > >> > > >> On Sun, Jul 20, 2025, 5:24=E2=80=AFPM Warner Losh w= rote: > > >> > > >>> > > >>> > > >>> On Sun, Jul 20, 2025, 5:19=E2=80=AFPM Bjoern A. Zeeb < > > >>> bzeeb-lists@lists.zabbadoz.net> wrote: > > >>> > > >>>> Hi, > > >>>> > > >>>> I've updated one of my trees to main after a longer while and I am > > >>>> confused that I no longer see and SD card or SDIO (this is netboot= ed): > > >>>> > > >>>> # sysctl kern.features.mmccam > > >>>> kern.features.mmccam: 1 > > >>>> > > >>>> # camcontrol devlist -v > > >>>> scbus0 on dw_mmc_sim0 bus 0: > > >>>> <> at scbus0 target 0 lun 0 (mmcpr= obe0) > > >>>> scbus1 on dw_mmc_sim1 bus 0: > > >>>> <> at scbus1 target 0 lun 0 (mmcpr= obe1) > > >>>> scbus-1 on xpt0 bus 0: > > >>>> <> at scbus-1 target -1 lun ffffff= ff > > >>>> (xpt0) > > >>>> > > >>>> Where to start looking? > > >>>> > > >>> > > >>> So those probes are put there to evaluate devices that were found. = If > > >>> they remain, then that never finished. Most likely never started. > > >>> > > >>> What hardware is this on? > > >>> > > >> > > >> Thanks for the debug... > > >> > > >> As luck would have it, I just installed on emmc system (x86). I'm bu= ilding > > >> mmccam kernel now. > > >> > > > > > > I can confirm this result. When was your last update? There was also > > > sleeping on a non-sleepable lock witness warning... > > > > The locking issue I think I posted a while a ago. > > > > I cannot say which kernel last worked there; that was likely from 2024. > > > > I found an arm64 MMCCAM kernel from around 2025-03-18/26 which works o= n > > the LS1088. Seems the last commit from main on that branch was > > 12bff22669cf . > > > > # camcontrol devlist -v > > scbus0 on sdhci_slot0 bus 0: > > at scbus0 target 0 lun 0 (pa= ss0,sdda0) > > ... > > > > In either case the nvme does work by the way. It's just mmccam it seem= s > > which does not. > > > > -- > > Bjoern A. Zeeb r15:= 7 From nobody Tue Jul 22 04:21:57 2025 X-Original-To: freebsd-current@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 4bmPHS4lPzz62PwC for ; Tue, 22 Jul 2025 04:22:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmPHR2t3Pz41PY for ; Tue, 22 Jul 2025 04:22:11 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=dU3FpU0P; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::102e) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-3122368d7c4so4181240a91.1 for ; Mon, 21 Jul 2025 21:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753158129; x=1753762929; darn=freebsd.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jZaEamM5+3mMHfVDL02ETtxlnfrV88mlJT2uVa5mopo=; b=dU3FpU0P7p0Vxx672xAgzh5G7ZccPGFtAn1KbTMomxDQL9Mo1GU4S3BOZiafT7GzWW bQ3usP4zq05YFre1sSOTVQpl8TocwtqANOvllvDo3l9WkhPb+y7Vs6OwJV6gfHZbD3xk 6OvIj4MNSCKvuDwf3pKO2AMiFGOBj3WDigpN6hkffM4i0X9Sr31Q5i+4I+msHZYcSS3B yz6TMVCGhSH2FXegUGPLYY9t9IFnVH8KoWJ9xGgTumYV57bMnpURwJ0AYvvs6tLfORCo lJCWFIzhuyg3EQ8u1omKRdoqSW5YqAi59FXWYTN5drnzv1lCfZuRvR1eYoBFtRsXVUgm DITQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753158129; x=1753762929; h=content-transfer-encoding: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=jZaEamM5+3mMHfVDL02ETtxlnfrV88mlJT2uVa5mopo=; b=Fn5o8ElTKaQ9YBct/5QnXa/Gc1A5SFUGwDm6U3ecbEdEILLrw0NeR0xSD5UhqPBqml R9AF7sLQ3yP1eC9+6dcOn9UopiJ9yyjOQjEJOfTx+b7+UFj0MMBetYLUAZHuQtk5hkxv aZZfl9F4WgBdiXE0NaPsRGlT8UaPvUDxxft+y1v6WQFphqB8wZfrQG7/mjwVhgL3jw/i BnMI/UC7zMxLc/I9qGsJayVwlghLnBhZPEblQGe9hkG6DiYRBE4S+mcxXThYSgDBzpTq y/4lvF8xQb3wMy5+eXVl83YgQZiqCFUNHP/sQ4g8dXTwTU09hbxNQhpmn4NgKOjw/JvO Ckvw== X-Gm-Message-State: AOJu0YwDzahVn+vlSe08UW6H8LENl8VmwmMjno+HIok1HIbzhczOm/yz vCx783BbyBqwp3Niwidf2uSYt9izzuNui2Ij+xQ2cJwh08d1awjiQqkHhd0OAJUZpmvHBCyc5Ho WTPw/iiR0ZTuLQ/WhpQBmizCCQaq9If7xYwtSTU/dn+hvyu3BWkOeCHA= X-Gm-Gg: ASbGncvpIHtA2yyw8MVSUBsQLbj0u7cJa41UEWlrQoeF7dZ4pAJIWahNGsNHUExecrp HQkpfBb+nf0W7Tt7kiaFcP/m7HPmyXx+jLD5+x1D7/9T97MsSiPpcfzKeNWJvosclOoamCFdpPZ pURZ+r0g5SLbmTrTU+HiwtKAIqXv+yjwRcuISeRxXjiKmlAGpejEY3p9Ec56erE0khiFGyvUihe LdrnuQ= X-Google-Smtp-Source: AGHT+IEriZG9CCuziL5wbadCBtYRD4JAhp3WdTaZh/wndyZIwYAk1FNwzSAdfQ5Tr32+bfGhjnSYWZd8kZYu3W35rFI= X-Received: by 2002:a17:90a:dfce:b0:312:e76f:5213 with SMTP id 98e67ed59e1d1-31c9e77ab0dmr30319923a91.28.1753158128523; Mon, 21 Jul 2025 21:22:08 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <202507220400.56M40qpk032441@gitrepo.freebsd.org> In-Reply-To: <202507220400.56M40qpk032441@gitrepo.freebsd.org> From: Warner Losh Date: Mon, 21 Jul 2025 22:21:57 -0600 X-Gm-Features: Ac12FXxXp9TmXuGsQ952Nw0etFSqBmQkJnEdtDbPdj9vqbcJvxxGCYGs3A2LnzQ Message-ID: Subject: Fwd: git: b21e67875bf0 - main - nvme: Move AER processing into a task thread To: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-0.55 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_SPAM_MEDIUM(0.86)[0.857]; NEURAL_HAM_LONG(-0.41)[-0.407]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102e:from]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4bmPHR2t3Pz41PY X-Spamd-Bar: / This is a change to the NVMe error handling. It should fix some crashes that people have seen when there's a NVMe data integrity failure or other SMART issue since I added devd reporting for those. However, it's lightly tested. I have an nvme card that does similar smart failures, but I only had one failure test (and it may have been inconclusive). This failure is hard to test because usually it's a one-time event on an NVMe card. I was going to run this in the Netflix world for a few months to see if we avoided the crash or three we get a month from this issue, but it 'leaked' out of my tree due to an oversight on my part when I pushed a separate change. I'd thought this was in a branch, but was in main. Double apologies for pushing this during STAB week. Catching up with my email I just noticed we were there... If there's any issues, I'll back this out asap, but will let it mellow if n= ot. Warner ---------- Forwarded message --------- From: Warner Losh Date: Mon, Jul 21, 2025 at 10:01=E2=80=AFPM Subject: git: b21e67875bf0 - main - nvme: Move AER processing into a task t= hread To: , , The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db21e67875bf0c4b1e7933090b803= 07abb24b7d03 commit b21e67875bf0c4b1e7933090b80307abb24b7d03 Author: Warner Losh AuthorDate: 2025-07-18 22:17:35 +0000 Commit: Warner Losh CommitDate: 2025-07-22 04:00:33 +0000 nvme: Move AER processing into a task thread Move the AER processing into the taskqueue thread. We do memory allocations and such burried deep in things we call, so this just makes all that simpler and doesn't stall the completion thread. It fixes a fe= w panics if you get a reliability failure from the drive at the wrong time. Sponsored by: Netflix MFC After: 2 weeks --- sys/dev/nvme/nvme_ctrlr.c | 289 +++++++++++++++++++++++++---------------= ---- sys/dev/nvme/nvme_private.h | 2 + 2 files changed, 170 insertions(+), 121 deletions(-) diff --git a/sys/dev/nvme/nvme_ctrlr.c b/sys/dev/nvme/nvme_ctrlr.c index c86316337e93..fd7f00ced14b 100644 --- a/sys/dev/nvme/nvme_ctrlr.c +++ b/sys/dev/nvme/nvme_ctrlr.c @@ -48,7 +48,7 @@ #define B4_CHK_RDY_DELAY_MS 2300 /* work around controller b= ug */ static void nvme_ctrlr_construct_and_submit_aer(struct nvme_controller *ct= rlr, - struct nvme_async_event_request *aer); + struct nvme_async_event_request *aer); static void nvme_ctrlr_barrier(struct nvme_controller *ctrlr, int flags) @@ -679,96 +679,6 @@ nvme_ctrlr_log_critical_warnings(struct nvme_controller *ctrlr, nvme_ctrlr_devctl(ctrlr, "critical", "SMART_ERROR", "state=3D0x%02x", state); } -static void -nvme_ctrlr_async_event_log_page_cb(void *arg, const struct nvme_completion *cpl) -{ - struct nvme_async_event_request *aer =3D arg; - struct nvme_health_information_page *health_info; - struct nvme_ns_list *nsl; - struct nvme_error_information_entry *err; - int i; - - /* - * If the log page fetch for some reason completed with an error, - * don't pass log page data to the consumers. In practice, this c= ase - * should never happen. - */ - if (nvme_completion_is_error(cpl)) - nvme_notify_async_consumers(aer->ctrlr, &aer->cpl, - aer->log_page_id, NULL, 0); - else { - /* Convert data to host endian */ - switch (aer->log_page_id) { - case NVME_LOG_ERROR: - err =3D (struct nvme_error_information_entry *)aer->log_page_buffer; - for (i =3D 0; i < (aer->ctrlr->cdata.elpe + 1); i++= ) - nvme_error_information_entry_swapbytes(err+= +); - break; - case NVME_LOG_HEALTH_INFORMATION: - nvme_health_information_page_swapbytes( - (struct nvme_health_information_page *)aer->log_page_buffer); - break; - case NVME_LOG_CHANGED_NAMESPACE: - nvme_ns_list_swapbytes( - (struct nvme_ns_list *)aer->log_page_buffer); - break; - case NVME_LOG_COMMAND_EFFECT: - nvme_command_effects_page_swapbytes( - (struct nvme_command_effects_page *)aer->log_page_buffer); - break; - case NVME_LOG_RES_NOTIFICATION: - nvme_res_notification_page_swapbytes( - (struct nvme_res_notification_page *)aer->log_page_buffer); - break; - case NVME_LOG_SANITIZE_STATUS: - nvme_sanitize_status_page_swapbytes( - (struct nvme_sanitize_status_page *)aer->log_page_buffer); - break; - default: - break; - } - - if (aer->log_page_id =3D=3D NVME_LOG_HEALTH_INFORMATION) { - health_info =3D (struct nvme_health_information_pag= e *) - aer->log_page_buffer; - nvme_ctrlr_log_critical_warnings(aer->ctrlr, - health_info->critical_warning); - /* - * Critical warnings reported through the - * SMART/health log page are persistent, so - * clear the associated bits in the async event - * config so that we do not receive repeated - * notifications for the same event. - */ - aer->ctrlr->async_event_config &=3D - ~health_info->critical_warning; - nvme_ctrlr_cmd_set_async_event_config(aer->ctrlr, - aer->ctrlr->async_event_config, NULL, NULL); - } else if (aer->log_page_id =3D=3D NVME_LOG_CHANGED_NAMESPA= CE && - !nvme_use_nvd) { - nsl =3D (struct nvme_ns_list *)aer->log_page_buffer= ; - for (i =3D 0; i < nitems(nsl->ns) && nsl->ns[i] !=3D 0; i++) { - if (nsl->ns[i] > NVME_MAX_NAMESPACES) - break; - nvme_notify_ns(aer->ctrlr, nsl->ns[i]); - } - } - - /* - * Pass the cpl data from the original async event completi= on, - * not the log page fetch. - */ - nvme_notify_async_consumers(aer->ctrlr, &aer->cpl, - aer->log_page_id, aer->log_page_buffer, aer->log_page_s= ize); - } - - /* - * Repost another asynchronous event request to replace the one - * that just completed. - */ - nvme_ctrlr_construct_and_submit_aer(aer->ctrlr, aer); -} - static void nvme_ctrlr_async_event_cb(void *arg, const struct nvme_completion *cpl) { @@ -784,33 +694,18 @@ nvme_ctrlr_async_event_cb(void *arg, const struct nvme_completion *cpl) return; } - /* Associated log page is in bits 23:16 of completion entry dw0. */ + /* + * Save the completion status and associated log page is in bits 23= :16 + * of completion entry dw0. Print a message and queue it for furthe= r + * processing. + */ + memcpy(&aer->cpl, cpl, sizeof(*cpl)); aer->log_page_id =3D NVMEV(NVME_ASYNC_EVENT_LOG_PAGE_ID, cpl->cdw0)= ; - nvme_printf(aer->ctrlr, "async event occurred (type 0x%x, info 0x%0= 2x," " page 0x%02x)\n", NVMEV(NVME_ASYNC_EVENT_TYPE, cpl->cdw0), NVMEV(NVME_ASYNC_EVENT_INFO, cpl->cdw0), aer->log_page_id); - - if (is_log_page_id_valid(aer->log_page_id)) { - aer->log_page_size =3D nvme_ctrlr_get_log_page_size(aer->ct= rlr, - aer->log_page_id); - memcpy(&aer->cpl, cpl, sizeof(*cpl)); - nvme_ctrlr_cmd_get_log_page(aer->ctrlr, aer->log_page_id, - NVME_GLOBAL_NAMESPACE_TAG, aer->log_page_buffer, - aer->log_page_size, nvme_ctrlr_async_event_log_page_cb, - aer); - /* Wait to notify consumers until after log page is fetched= . */ - } else { - nvme_notify_async_consumers(aer->ctrlr, cpl, aer->log_page_= id, - NULL, 0); - - /* - * Repost another asynchronous event request to replace the= one - * that just completed. - */ - nvme_ctrlr_construct_and_submit_aer(aer->ctrlr, aer); - } + taskqueue_enqueue(aer->ctrlr->taskqueue, &aer->task); } static void @@ -819,15 +714,21 @@ nvme_ctrlr_construct_and_submit_aer(struct nvme_controller *ctrlr, { struct nvme_request *req; - aer->ctrlr =3D ctrlr; /* - * XXX-MJ this should be M_WAITOK but we might be in a non-sleepabl= e - * callback context. AER completions should be handled on a dedica= ted - * thread. + * We're racing the reset thread, so let that process submit this a= gain. + * XXX does this really solve that race? And is that race even poss= ible + * since we only reset when we've no theard from the card in a long + * time. Why would we get an AER in the middle of that just before = we + * kick off the reset? */ - req =3D nvme_allocate_request_null(M_NOWAIT, nvme_ctrlr_async_event= _cb, + if (ctrlr->is_resetting) + return; + + aer->ctrlr =3D ctrlr; + req =3D nvme_allocate_request_null(M_WAITOK, nvme_ctrlr_async_event= _cb, aer); aer->req =3D req; + aer->log_page_id =3D 0; /* Not a valid page */ /* * Disable timeout here, since asynchronous event requests should b= y @@ -1203,6 +1104,140 @@ nvme_ctrlr_reset_task(void *arg, int pending) atomic_cmpset_32(&ctrlr->is_resetting, 1, 0); } +static void +nvme_ctrlr_aer_done(void *arg, const struct nvme_completion *cpl) +{ + struct nvme_async_event_request *aer =3D arg; + + mtx_lock(&aer->mtx); + if (nvme_completion_is_error(cpl)) + aer->log_page_size =3D (uint32_t)-1; + else + aer->log_page_size =3D nvme_ctrlr_get_log_page_size( + aer->ctrlr, aer->log_page_id); + wakeup(aer); + mtx_unlock(&aer->mtx); +} + +static void +nvme_ctrlr_aer_task(void *arg, int pending) +{ + struct nvme_async_event_request *aer =3D arg; + struct nvme_controller *ctrlr =3D aer->ctrlr; + uint32_t len; + + /* + * We're resetting, so just punt. + */ + if (ctrlr->is_resetting) + return; + + if (!is_log_page_id_valid(aer->log_page_id)) { + /* + * Repost another asynchronous event request to replace the= one + * that just completed. + */ + nvme_notify_async_consumers(ctrlr, &aer->cpl, aer->log_page= _id, + NULL, 0); + nvme_ctrlr_construct_and_submit_aer(ctrlr, aer); + goto out; + } + + aer->log_page_size =3D 0; + len =3D nvme_ctrlr_get_log_page_size(aer->ctrlr, aer->log_page_id); + nvme_ctrlr_cmd_get_log_page(aer->ctrlr, aer->log_page_id, + NVME_GLOBAL_NAMESPACE_TAG, aer->log_page_buffer, len, + nvme_ctrlr_aer_done, aer); + mtx_lock(&aer->mtx); + while (aer->log_page_size =3D=3D 0) + mtx_sleep(aer, &aer->mtx, PRIBIO, "nvme_pt", 0); + mtx_unlock(&aer->mtx); + + if (aer->log_page_size !=3D (uint32_t)-1) { + /* + * If the log page fetch for some reason completed with an + * error, don't pass log page data to the consumers. In + * practice, this case should never happen. + */ + nvme_notify_async_consumers(aer->ctrlr, &aer->cpl, + aer->log_page_id, NULL, 0); + goto out; + } + + /* Convert data to host endian */ + switch (aer->log_page_id) { + case NVME_LOG_ERROR: { + struct nvme_error_information_entry *err =3D + (struct nvme_error_information_entry *)aer->log_page_bu= ffer; + for (int i =3D 0; i < (aer->ctrlr->cdata.elpe + 1); i++) + nvme_error_information_entry_swapbytes(err++); + break; + } + case NVME_LOG_HEALTH_INFORMATION: + nvme_health_information_page_swapbytes( + (struct nvme_health_information_page *)aer->log_page_buffer); + break; + case NVME_LOG_CHANGED_NAMESPACE: + nvme_ns_list_swapbytes( + (struct nvme_ns_list *)aer->log_page_buffer); + break; + case NVME_LOG_COMMAND_EFFECT: + nvme_command_effects_page_swapbytes( + (struct nvme_command_effects_page *)aer->log_page_buffer); + break; + case NVME_LOG_RES_NOTIFICATION: + nvme_res_notification_page_swapbytes( + (struct nvme_res_notification_page *)aer->log_page_buffer); + break; + case NVME_LOG_SANITIZE_STATUS: + nvme_sanitize_status_page_swapbytes( + (struct nvme_sanitize_status_page *)aer->log_page_buffer); + break; + default: + break; + } + + if (aer->log_page_id =3D=3D NVME_LOG_HEALTH_INFORMATION) { + struct nvme_health_information_page *health_info =3D + (struct nvme_health_information_page *)aer->log_page_bu= ffer; + + /* + * Critical warnings reported through the SMART/health log = page + * are persistent, so clear the associated bits in the asyn= c + * event config so that we do not receive repeated notifica= tions + * for the same event. + */ + nvme_ctrlr_log_critical_warnings(aer->ctrlr, + health_info->critical_warning); + aer->ctrlr->async_event_config &=3D + ~health_info->critical_warning; + nvme_ctrlr_cmd_set_async_event_config(aer->ctrlr, + aer->ctrlr->async_event_config, NULL, NULL); + } else if (aer->log_page_id =3D=3D NVME_LOG_CHANGED_NAMESPACE) { + struct nvme_ns_list *nsl =3D + (struct nvme_ns_list *)aer->log_page_buffer; + for (int i =3D 0; i < nitems(nsl->ns) && nsl->ns[i] !=3D 0;= i++) { + if (nsl->ns[i] > NVME_MAX_NAMESPACES) + break; + nvme_notify_ns(aer->ctrlr, nsl->ns[i]); + } + } + + /* + * Pass the cpl data from the original async event completion, not = the + * log page fetch. + */ + nvme_notify_async_consumers(aer->ctrlr, &aer->cpl, + aer->log_page_id, aer->log_page_buffer, aer->log_page_size); + + /* + * Repost another asynchronous event request to replace the one + * that just completed. + */ +out: + nvme_ctrlr_construct_and_submit_aer(ctrlr, aer); +} + /* * Poll all the queues enabled on the device for completion. */ @@ -1574,8 +1609,8 @@ nvme_ctrlr_construct(struct nvme_controller *ctrlr, device_t dev) /* * Create 2 threads for the taskqueue. The reset thread will block = when * it detects that the controller has failed until all I/O has been - * failed up the stack. The second thread used to be for failing - * requests. + * failed up the stack. The second thread is used for AER events, w= hich + * can block, but only briefly for memory and log page fetching. */ ctrlr->taskqueue =3D taskqueue_create("nvme_taskq", M_WAITOK, taskqueue_thread_enqueue, &ctrlr->taskqueue); @@ -1585,6 +1620,12 @@ nvme_ctrlr_construct(struct nvme_controller *ctrlr, device_t dev) ctrlr->is_initialized =3D false; ctrlr->notification_sent =3D 0; TASK_INIT(&ctrlr->reset_task, 0, nvme_ctrlr_reset_task, ctrlr); + for (int i =3D 0; i < NVME_MAX_ASYNC_EVENTS; i++) { + struct nvme_async_event_request *aer =3D &ctrlr->aer[i]; + + TASK_INIT(&aer->task, 0, nvme_ctrlr_aer_task, aer); + mtx_init(&aer->mtx, "AER mutex", NULL, MTX_DEF); + } ctrlr->is_failed =3D false; make_dev_args_init(&md_args); @@ -1672,8 +1713,14 @@ nvme_ctrlr_destruct(struct nvme_controller *ctrlr, device_t dev) } noadminq: - if (ctrlr->taskqueue) + if (ctrlr->taskqueue) { taskqueue_free(ctrlr->taskqueue); + for (int i =3D 0; i < NVME_MAX_ASYNC_EVENTS; i++) { + struct nvme_async_event_request *aer =3D &ctrlr->ae= r[i]; + + mtx_destroy(&aer->mtx); + } + } if (ctrlr->tag) bus_teardown_intr(ctrlr->dev, ctrlr->res, ctrlr->tag); diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h index 0340b13b7de5..36f00fedc48e 100644 --- a/sys/dev/nvme/nvme_private.h +++ b/sys/dev/nvme/nvme_private.h @@ -123,6 +123,8 @@ struct nvme_request { struct nvme_async_event_request { struct nvme_controller *ctrlr; struct nvme_request *req; + struct task task; + struct mtx mtx; struct nvme_completion cpl; uint32_t log_page_id; uint32_t log_page_size; From nobody Tue Jul 22 10:23:06 2025 X-Original-To: freebsd-current@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 4bmYHw2fNSz62rG6 for ; Tue, 22 Jul 2025 10:23:08 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmYHv6yGpz3WNf for ; Tue, 22 Jul 2025 10:23:07 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753179788; 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=lb8XsWNsM5ci+JL89Ito0EUJsw3fT+E7hgYfQ03vmCo=; b=cnlgp4nN4SxXp+bxiMauxf6t57eJWS9pvtGr8bEALSv8C9JeWsIJ1TNH5uQUo7MkiqGC+U RI8Mo8zCw1jTUqGQYTE3r6VaajMjhKrLuC4vYAmK1UFoP2/emt4yKjDRul3T0sllg+Fo6A 89S2UlfaFDPsYPxmmKot9aHIsCGHbBTaCrQwFhdqfP8S/6kFyqW9BQHxMXO92pXDeAerjz 36EKT6OXl0HNHzHzE0ozADTOzSDoERr3DS+K+AG1li37i5uIurIzKezKDiLmINXCy7INBO Xodw8waCcg8U4YVkqPZhP/XORsEq6WU1TZ00/5Z8GtPapIuzdGdY01L5CUxOaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753179788; 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=lb8XsWNsM5ci+JL89Ito0EUJsw3fT+E7hgYfQ03vmCo=; b=K+94bzBR/LQfTHTEk6QnJjYRyHXQII4lcY3f70L+1KQxqemcQ/gTWggpL9Rmuc/lu0lGxE uAFS3bxCSORgBqJhIRZ7OVsukw+hvibdtvYQVkpd+tBa6u0hoAjzvPNG97JbKAlvL61SiK hKrUk4oJQ6hKFm27oB8k0X5IiqGoR8HC83twpMU7Zy30EfSyXdW3WaSYWlJBWy8FrRTp19 +hRckDI5nBxwRRfNPfJuThodEYml6qKWjF0S7J5utzq54yzmhUGb+m8aaL17mu6AYyQmjT K2LVaNDInD8r+Icg3J1D53gRVwv/OxHZ/5GxlD7K19q4l1LxVCL1fOke1z+W2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753179788; a=rsa-sha256; cv=none; b=U3clSSAWEc52aFeUm271oGNOKX/At3gbeOyjvYgwg4s18WAbpiFCQPslEpuwmRMayktNX/ skQLYfsClCyflKwD8l1Zqkh/bWt2M6IoKWnQuHtbmcRWMqMSdbznyS6ao4rmRe9iwZxd1E nORAwDYztqtC1/BYY62UNo5JpDq5W0lvq8NfTkXbMEqO2piycnys/NlJPhDkzEtlz8TkLQ BSUfZHNOaKlP+AvZnQBXWQUqoEzH6Zh0Oq3X0BBjbEIsywnVFVPXri6QM31/P/XoDn1KOx 1v/HsSEVhzbNmX//GdzhHWIqX6agw+7hNnjMlSYhFrjKR+pesMp8mSGAlLeZ6Q== Received: from ltc.des.dev (88-177-82-251.subs.proxad.net [88.177.82.251]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bmYHv5zYrztvl for ; Tue, 22 Jul 2025 10:23:07 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 5E996AC7AD; Tue, 22 Jul 2025 12:23:06 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: freebsd-current@freebsd.org Subject: Re: a question about /boot/loader.conf In-Reply-To: (void@f-m.fm's message of "Mon, 21 Jul 2025 17:38:07 +0100") References: <867c01bjpi.fsf@ltc.des.dev> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Tue, 22 Jul 2025 12:23:06 +0200 Message-ID: <86seioa5it.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable void writes: > Dag-Erling Sm=C3=B8rgrav writes: > > This is a tunable, not a sysctl (although a sysctl of the same name > > will appear if dtrace is compiled into the kernel or loaded) > Odd that bsdinstall adds it to loader.conf then. Why? loader.conf is the correct place for tunables. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org From nobody Tue Jul 22 12:49:39 2025 X-Original-To: freebsd-current@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 4bmcY45pmzz62ydF for ; Tue, 22 Jul 2025 12:49:44 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bmcY30R3gz46Sj for ; Tue, 22 Jul 2025 12:49:43 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=hHDayt6S; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ig6ojSgM; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 202.12.124.146 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfout.stl.internal (Postfix) with ESMTP id 776F71D001C3 for ; Tue, 22 Jul 2025 08:49:41 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Tue, 22 Jul 2025 08:49:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1753188581; x=1753274981; bh=RDbXx9sDFm EsOZhtipMaJMUpeAqOHTphx4nYF3ve5f8=; b=hHDayt6ScBuXOq1/aJwbUWond/ 5Qz6TLvBnIkGzucXs1kp3FaiGDxEzsTYcXAL5/OnwQNmgPK8VtajVxtJNU9BfcaA nFO5aZxQ6e5N8NhJbK88s61CcjaX4vh6bfrQQghppgZ2LCNYucdkW3ZK1pbiNm9g DOmyrS0rHTKlETFKzq6T/iqPonrZoNasxVdsTjyW2bFqyTQPuBpp4vQ6BJUGnTgs jsfzDukYJt7qHMtSInCHSUNnbdzzGtLMoRwMwMtaJDZQybxSsl0D0QHSQ/Wc6O9q XHo4nENoss75EnCNwZ7Up/hoYJrMl9XlcGTEedSylQ30XWdvpQmjswob530Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1753188581; x=1753274981; bh=RDbXx9sDFmEsOZhtipMaJMUpeAqOHTphx4n YF3ve5f8=; b=ig6ojSgMjXMW/gP263v2EZ2eL8THmuhUyruUnMxu0zsrtwK76BG xL54DHPEuiMor+C6NzpcuJyMgZe+N8/RPh9RqdBKUMBHRj9vA+E9swx9+0B1p8HE 0zwhHOlNCgfjGcw83eGYBHUuF9+Ujq1HbJ/xgGWhNEb+IHZo9dUwlqMyX8gUWUkH ETQnN4iXLtGl5sq2AY/K6JzpsdovzAtotb52hITW2JO7A1bhbDygs8AD1Bi/xYHR //KbY42WfIJIu2AY/PYu5kRKm6HzcQKqw9FENxUWh6qggYJIqWqFKIMfN1sJWAwf aiblvx/UKvS/uG2lfXKWB1mgJ5tAIduWbbg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejgeelgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertddttd dvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgv rhhnpeelveevhfehfeefffehfeffkeevvdffgfdtffejhfefvdegleevvedujeejjeelhe enucffohhmrghinhepuhhsvghrrdhfmhenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehvohhiugesfhdqmhdrfhhmpdhnsggprhgtphhtthhope dupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrhgvvggsshguqdgtuhhrrhgv nhhtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 22 Jul 2025 08:49:40 -0400 (EDT) Date: Tue, 22 Jul 2025 13:49:39 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: zfs panic VERIFY3U Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-0.91 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.998]; NEURAL_HAM_SHORT(-0.95)[-0.952]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; NEURAL_HAM_MEDIUM(-0.35)[-0.354]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.146:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MISSING_XM_UA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4bmcY30R3gz46Sj X-Spamd-Bar: / On Tue, Jul 22, 2025 at 02:38:52AM +0100, void wrote: >On Tue, Jul 22, 2025 at 02:28:19AM +0100, void wrote: >> >>zpool import causes the following output at the console: >>https://void.f-m.fm.user.fm/panic/zpool-broken.png > >agh, should read http://void.f-m.fm.user.fm/panic/zpool-broken.png >*not* https, sorry. booting without zfs.ko loaded, then building kernel from main-stabweek-2025-Jul rebooting again then loading zfs.ko then zpool import -a went normally ald zpool status showed an unavailable disk in the raidz2 pool. -- From nobody Tue Jul 22 14:07:29 2025 X-Original-To: freebsd-current@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 4bmfGt1JYdz5pS4q for ; Tue, 22 Jul 2025 14:07:34 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmfGs6hLDz45H6; Tue, 22 Jul 2025 14:07:33 +0000 (UTC) (envelope-from se@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753193253; 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:autocrypt:autocrypt; bh=JcTU9Qg6tG5NYMRWXkP7mdtuGYzX3aDsvFxawUb1ADo=; b=piRSs1nPsCBJ7rtJQASUkOmK1n7mRR0A6VDlNZkOXWN9RuWfarNywzGJofZZz1wo2evdFC EyPcsjFkbkqftUcnfLA4dVN3syAlE95LA5Pt4IkWEfjcN3b2rY90Kt44/shLU+s+3LhFzc 5vkIZ1lJP9IqkPOeWuFdd3KreJDK/7TZKecLKqYHEyO+1gWJel8nbGVTPdq4eYcsVH94ia x4m52O3QgwB0Z2wClgc1MiYLTRM/hFPUWmgEBzLp7ESdImkwbE5k/GsggsTixIRDO3USSA NVMAeE8kREK4yiAg/RHoDQiRJom98YowxxIHDieNj74NCsN5024EYNN6eYSbjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753193253; 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:autocrypt:autocrypt; bh=JcTU9Qg6tG5NYMRWXkP7mdtuGYzX3aDsvFxawUb1ADo=; b=I/NdIyy5Mu1w7NTdY36IoSAZkEcg+DmlY2ntQllbMMe70FX3CibC/EZrlmLxTrm8Erz7Gp 4dnjITX+j0SlTDhxNwYSQZuHxtPCyVTZGY/xJBfC45/vv3sTZkR2oSziFkRdVaS9uc7NZn vzJuSKw06M2nx5efMQ6WAM+ZHh0JK7BClNKIznwTBwIRDhGixnG4OJf+BdItXw3uodI7LJ BS+YfFqHVTFz7lq9yFHHL/JWZbyDEDQ3LUHqLNg6H/MlpASlF0i1VPvHpNJTLzvzTTF6av vcjRMOfKbYU92V1UslJXZirMcHRoCssv/sGWCTZZMozaYkajexH0YW4fZDcY4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753193253; a=rsa-sha256; cv=none; b=N6ieo6cJXNvGA1KT+0gAwsN+yvDm1YNQg5PsDBykP3pOBVWMrAADbalj4pEKZASr0omwA6 jZhSBgzCaq9e6bC6JpdU8CuW9l5AFTEjJLT6eyvGiBF7w0R6Bffu4HH4c4QwYhUrNxgtxL 5YOlqpWx2mPkSrX3pV46UoDcjlF+gti8tRlpEq37iOKFb10G+HL4o64vNY96O7FAKglqPy tgzXzU7aBYxokXzI0Dos8IXX97fNx/MzhjgG8o4g0i5mRfH44ytbl17SC8mSSZel2p2uiY Q4jb8iTZfJh1MalNyP1QFNd5T5Bt3nXMh77F/hKiNkdMG0Ub+VX4RqptzP3iNQ== Received: from [192.168.179.17] (p5dc476c9.dip0.t-ipconnect.de [93.196.118.201]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bmfGs3R1vz1081; Tue, 22 Jul 2025 14:07:33 +0000 (UTC) (envelope-from se@FreeBSD.org) Message-ID: <328d03a4-1f06-4e05-b9c2-49db263afe0e@FreeBSD.org> Date: Tue, 22 Jul 2025 16:07:29 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Stefan Esser Subject: Re: epair(4) To: freebsd-current@freebsd.org References: <20250515162552.9209B20E@slippy.cwsent.com> <20250515185919.87008219@slippy.cwsent.com> <45d0f49d-229b-46b4-af95-6e8c4c856661@plan-b.pwste.edu.pl> <932111f8-f5ca-46d1-9f66-983f80f6116b@protected-networks.net> <8DCF0DAB-5EE5-4FEF-8CCC-1D7AF971BA8C@hausen.com> <86ms8zbz6w.fsf@ltc.des.dev> Content-Language: en-US Autocrypt: addr=se@FreeBSD.org; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7xDClohg/Y69f7SNpEs3x YATBy+L6NzWZbJjZXD4vqPgZSDuMcLU7BEdJf0f+6h1BJPnGuwHpsSdnnMrZeIM8xQ8PPUVQ L0GZkVojHgNUngJH6e21qDrud0BkdiBcij0M3TCP4GQrJ/YMdurfc8mhueLpwGR2U1W8TYB7 4UY+NLw0McThOCLCxXflIeF/Y7jSB0zxzvb/H3LWkodUTkV57yX9IbUAGA5RKRg9zsUtABEB AAHNJ1N0ZWZhbiBFw59lciAoRnJlZUJTRCkgPHNlQGZyZWVic2Qub3JnPsLAlAQTAQoAPgIb AwULCQgHAwUVCgkICwUWAwIBAAIeAQIXgBYhBKNx6mWcC+zIK3FTE0frte9a/fVEBQJmvl9B BQkTLNNOAAoJEEfrte9a/fVEV1oH/jt+SjRqTHci6d1LiFDfbY0E2rfobZw5BhcQuCqxahS7 pcE1oLpUaoqWYPHslxhGTl7QSD2twMWcHLonZ1lgTJluMZqgTX9uvqEYDUtiH6G+IF7Qacat eUsAvwdycItPOr3p7WBt8U54GbnQdxpSUQ0OpD4twy7KAt/MPNLofVQSEea5DNQOH2dXILrf iRsNfFPsfTASOUXOTRyTYwm6Ys76LIdL9GA2iR5qw8G43FB02fiX76WQSjg+yKN9iP9racGg Pc8qkSPwHJr0s3OwJC4ndbCuSiaXddDbgOvdrqfSO0XCjo3ylyEBhmMVMpwkj8pLCKVGS73n Ncs6OujZXAzOwE0EVXGJEgEIALEj9qCXMZVucjpcd3QxM/TlUr98m5viEd1z4tCnPUyRWcIC EVtj2h5xMH+2iB0q1+KWhq+NsWtvScmEmfHnsr7dJ1K677OdpDhKVaJk61eeRulFY1R4yb6C 1MMxK+WgYB+vvpG0UeyR0M4uBewcPvRsq4yGUHFQKtLAbMdoPTSryJA+ElnmK1vdY+rPcHgi OIMBZM7ahsPXC0C9K4e5SP9clGyIoMpbfHXdx9q+Rp3zVtlbhyk3BS/xccu/+9pk9ICXL6GR js2sNnJ0wxdU1DsAlC59a5MnSruwiZFwRnkQhr3x6wk97Lg7sLS9jjTnCN7LGlVmSmpOEMy6 uq1AWfUAEQEAAcLAhgQYAQoAJgIbDBYhBKNx6mWcC+zIK3FTE0frte9a/fVEBQJmvl9BBQkT LNNOABQJEEfrte9a/fVECRBH67XvWv31RCrvCACY7fjahcGj/57peFu0oIb4X9X78H6mgrAZ D5HCCCb2vWdNtSDTYQoYnKP2Fz9RUG8ETT9a6CtymYqQc72/dzjJmakRTlbYhliKJDZXGAYU g34VirGXCjYgWH7l+0CupOtt55R/ASnrnXX9R/7PLO+akObn9Cz/bNBnIbYnTjLNs7GMMQL4 uNSyqIByQ3LVsVDaCq3408fYKC0dtlv2VNQQzcXXwOgecwpS2UeqMflrSA7UfPh15WgkpnrN AnKCtS66eU1w2kTCsVEjGQEgLI5pP1HMNRHjnHncAFSpOfs1EZn0MfhiyB+4T+lrccGI8EZu ay791Tx4QdDKkdZGaV9A In-Reply-To: <86ms8zbz6w.fsf@ltc.des.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 20.07.25 um 00:20 schrieb Dag-Erling Smørgrav: > Adrian Chadd writes: >> qroxana writes: >>> What's the best practice for setting up bridge0 on a NFS root >>> system? [...] >> That's an interesting problem that I don't think was even thought >> about when bridge(4) was added to FreeBSD. [...] I /think/ the tftp >> boot path configures the interface addressing via kernel APIs, and >> we'll need to undo it and flip it to a bridge. > > This is not the only scenario where you might want to add a bridge to a > configured system. I think it would be useful to have a setting that > causes all of an interface's addresses and routes to be moved to the > bridge when the interface is added to it. Instead of moving the interface address to the bridge, I think it would be better to “hide” it and include any/all addresses of the constituent interfaces in the bridge configuration (where possible and not in conflict). This would allow the interfaces to retain (and later recover) their configuration if the bridge is destroyed (which could be useful in scenarios other than using an NFS root system that would benefit from such a feature). My use case would be a temporarily started bhyve VM to occasionally run some Windows applications, with a Tap device and a WiFi device with dynamic address forming the bridge ... From nobody Tue Jul 22 17:01:38 2025 X-Original-To: current@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 4bmk800gPtz5ptdt for ; Tue, 22 Jul 2025 17:01:52 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmk7y6TSKz419h for ; Tue, 22 Jul 2025 17:01:50 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 4CC0CA64809; Tue, 22 Jul 2025 17:01:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1753203697; bh=6hSWpqbNFkkTDLtN9Pcs9MIkZnV1u/0/xsRhZjE805s=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=JGg1o62O0kilkyTnzPlkoU/Yn/1Ab/EDuYmcyxZj4d7qH5A1XzIxIRZn26Z/cL3pv Q2Wtit4EuwCA/pQvgzK56qniowcUHPbiuca497eiwam+lvhtIuvcesL/WUcZ81cHB3 F7n0APA+ThFQnvdLluHWApd7vbyQfKEu/qocl7/tleczmTnMfr3a5nkJvm/3TiBuLl GEiehk0GRxx9Shuv6K+JLNG7NOqP8rWKgzKM5KTpxueBkxnqw6QY8EYni0Whc7ph1P QqxgcZYejcyd0fFKKoYSYGU9otQlbDC+7izaR2g75pjklbWBwnyrfxNEkeFeFgkvZp AEyoiUvp5wSTsfspvh9KNlS3KLiytssVY6l/FMMd9Og+gFDmDs4fHZsxyYuaByFHMa NeOqmUt2wIDeamPHDCFPYSJqhPKkHX3AOBnJggsebkxwnhGfZWC9RuzVPhVJ/85nH/ /DgNc4KB6VrMEV7oTe3S5bd7hs6p5piuzsz58N8th//D1tTIKBEy1KC64Kq2AMLQj8 kKUF6Upg7bhWBGJAnRInGPrF0QvcticQeSAIOgFY5eYEYpu5Pnvp66Fcwz2j0ffTmG xkar3nbP75ujbPOYSuF6BSu0fxor0Xw0nEgGRJKOEnBASAryLD7EGzT3LlFMw2CiHw zMFHo9go5fez/C+481JUwVno= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id F23A52D029E1; Tue, 22 Jul 2025 17:01:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id GnROwp53FGqn; Tue, 22 Jul 2025 17:01:39 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id A86EC2D029D8; Tue, 22 Jul 2025 17:01:39 +0000 (UTC) Date: Tue, 22 Jul 2025 17:01:38 +0000 (UTC) From: "Bjoern A. Zeeb" To: Warner Losh cc: FreeBSD Current Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" In-Reply-To: Message-ID: References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> <01r0s597-9ssr-s796-p54r-qs882628p4s7@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-948891769-1753203699=:4643" X-Rspamd-Queue-Id: 4bmk7y6TSKz419h X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE] This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-948891769-1753203699=:4643 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 21 Jul 2025, Warner Losh wrote: Hi Warner, > On Mon, Jul 21, 2025 at 11:38 AM Warner Losh wrote: >> >> So, We're getting through the 'reset' and 'identify' states in the >> state machine and entering the 'power off' state. And then progressing >> no further. So we get into the 'done' routine, but don't progress to >> sending the get ocr command. That's why we still have the probe >> routine. We're not setting the probe into INVALID state, so we should >> be calling xpt_schedule() to do the next single step of this process >> at the end of mmc_done(), but that doesn't trigger a new call to >> mmc_start(). >> >> I did some CAM cleanups that shouldn't have broken this, but might >> have (low probability, but with cam you never know, especially in the >> single step phase we do to do the probing). I'll check those out. >> Maybe it's easy. > > OK. It turned out that I had messed things up, unbeknownst to me. I've > added a KASSERT that should catch problems like this in the future > (and caught a second one that I also fixed). It should be safe to go > back into the MMCCAM water after b4b166b8c46b8. It broke a few days > ago in c6dc5d367681 (I just realised I forgot to add the fixes: tag to > my commit in my rush to get a fix in). > > When we're running the single stepping engine to probe the device, all > those commands are queued. And we'll not run through them if we queue > something at CAM_PRIORITY_NONE. c6dc5d367681 made the ccb that ran for > the xpt_path_inq() at the NONE priority. Normally, this is fine. All > the instances in the tree but two use that the stack to pass in a CCB > for this use. It doesn't matter the priority. But, xpt_start() did > xpt_path_inq on the start_ccb passed in that was allocated in > xpt_schedule which fills in the proper priority and other fields. It > didn't matter for the xpt_path_inq, it completed just fine. However, > for the XPT_MMC_IO commands that followed, the priority was wrong, so > they'd never run. It turns out that we don't need or use the > xpt_path_inq() results at all, so it was just having the side effect > of initializing the CCB (bogusly and redundantly, it turns out. The > other location that doesn't use the stack for xpt_path_inq() doesn't > really reuse the CCB, but saves the results of the path_inq away (it > could allocate less memory if it did a similar thing to the stack > trick in its soft state structure, but doesn't). > > So tl;dr: Thanks for the heads up, this broke only a few days ago, and > should be fixed now. My sdhci system with eMMC in it works with these > changes. And I added a KASSERT to catch this problem in the future. I can confirm that your fixes are working. I had a look through the cam diff but wouldn't have spotted this. I can also confirm that the KASSERT works: panic: xpt_action: queued ccb and CAM_PRIORITY_NONE illegal. Now to fix my own code ;-) Thanks a lot for the investigation and quick fix! Very much appreciated! /bz -- Bjoern A. Zeeb r15:7 --1098556516-948891769-1753203699=:4643-- From nobody Tue Jul 22 17:06:55 2025 X-Original-To: current@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 4bmkGB0Kyxz5ptnm for ; Tue, 22 Jul 2025 17:07:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmkG94w5kz44C0 for ; Tue, 22 Jul 2025 17:07:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-b31d578e774so75389a12.1 for ; Tue, 22 Jul 2025 10:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753204027; x=1753808827; darn=freebsd.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=ST4LEiZme5AH/0lgW2Hhmx8bRV7Fyhjgl2NP65S5M7E=; b=VWiE5skT9IRncqAyj9LYViQMnv9ac8RE4HnjxcIIeXmwtPvGSA6H1+LMhP9i0gC4Cv gHJGhm7twQ70zbF5U2k9hM5rifXAMRTqgFLz+4VFkwe/IRkA3UYnsLc0rG3sxJEMf4nU tLmpZcFxrlGnwhqBsX+h1T/zlRYnA+XFg171T5BmbDDLLpojz7WSX40QuDZRa2iF+Q9e Hbyiz+30R+tEiTTvda359hNck7mcy6UV8X6nmQqUkgyjM8/nZl4LZi7DJHwFJrNPc0na Y/l5uBJrUFlhg+361gicLbEmD8LiZxvsNv3hk9XHO3/Kixy2ipGt4XZ1hmZce3t3f8P3 EI8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753204027; x=1753808827; 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=ST4LEiZme5AH/0lgW2Hhmx8bRV7Fyhjgl2NP65S5M7E=; b=b2rNHYKwbdKLW+FP5yZDTz65/5+TT5fGaLXkRypgndL8BKVXmFCnKSOvyYa2inSqIX uDGwq2EriK9rX/fUBNHsdXq9nSoPAXfnwl4vZIOLX0MMfYI0TKVy5MDoRoYEz3DZl7N4 5dNiZ2zg++eXOX7GBYL6/MPzFGOSSYfyTz343g1BjSb0SbsgDUmrfCaMZxJrB5jinA8t nuE+raCq8Whb2U0HJhvXg6suIPRGTQn0X/EytwTq5P0bcE5Y5xKnNtZZb5SVdK6MMlFO k2nmmwa3HRtLZ0IB16woO9Q53Whk42HAOTwOsr4QH5BuKQA4TuXKLQPb4oaatF84EAFr K52Q== X-Gm-Message-State: AOJu0YzCKflDm8jzLygoZXRamwdQ0uRlgEwCkYtrThWYxvJvv+GMdUsR 07fWv0dC78btSMEelv1+kUIXA0CINMcR2nUV4S2eN8RYzC2MaBYHGJXrVxFPM+xDX8NTXJRHFrk Pae0pIneY2UTkD/3dxY991UA5p6VoGwjIJjaoy3y9VG7t6a38o/b2MmE= X-Gm-Gg: ASbGncvvdZxXkZItm/P8a1XrIYAALPhOw4BrODAQvMY1aeoLCmyc9kkkuvZvAmdJvcS +L2N9N57eqWQkyM7bawuKz04EKAgGQbAg43Bs6qk6EHZm7ymzdKolMbCN/EY7wal/dzqcFs/3ez fANxYih+w4efJKWC3fdVOaf/dVssZiXB2/rpc4lj39MzFgFuCrtfe29PRK6R88s3K2cyPx/85/o dLaVi8= X-Google-Smtp-Source: AGHT+IGQyQymg1s+m6aJc1onv8vFatRG6FFwsVvM4p7rYeVNw4odLJh+sU1P6x39Fgxsi2zseoUIdDbz3j9KcLW9vI4= X-Received: by 2002:a17:90b:4aca:b0:30e:9b31:9495 with SMTP id 98e67ed59e1d1-31e3e1cf3a9mr5232734a91.9.1753204026879; Tue, 22 Jul 2025 10:07:06 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> <01r0s597-9ssr-s796-p54r-qs882628p4s7@yvfgf.mnoonqbm.arg> In-Reply-To: From: Warner Losh Date: Tue, 22 Jul 2025 11:06:55 -0600 X-Gm-Features: Ac12FXxngdqa1gxbD3IiRg_E9QM8shW8B7s9_UpXaeeinf8E1onNKkF-8UxQ0Ms Message-ID: Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" To: "Bjoern A. Zeeb" Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bmkG94w5kz44C0 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Tue, Jul 22, 2025 at 11:01=E2=80=AFAM Bjoern A. Zeeb wrote: > > On Mon, 21 Jul 2025, Warner Losh wrote: > > Hi Warner, > > > On Mon, Jul 21, 2025 at 11:38=E2=80=AFAM Warner Losh w= rote: > >> > >> So, We're getting through the 'reset' and 'identify' states in the > >> state machine and entering the 'power off' state. And then progressing > >> no further. So we get into the 'done' routine, but don't progress to > >> sending the get ocr command. That's why we still have the probe > >> routine. We're not setting the probe into INVALID state, so we should > >> be calling xpt_schedule() to do the next single step of this process > >> at the end of mmc_done(), but that doesn't trigger a new call to > >> mmc_start(). > >> > >> I did some CAM cleanups that shouldn't have broken this, but might > >> have (low probability, but with cam you never know, especially in the > >> single step phase we do to do the probing). I'll check those out. > >> Maybe it's easy. > > > > OK. It turned out that I had messed things up, unbeknownst to me. I've > > added a KASSERT that should catch problems like this in the future > > (and caught a second one that I also fixed). It should be safe to go > > back into the MMCCAM water after b4b166b8c46b8. It broke a few days > > ago in c6dc5d367681 (I just realised I forgot to add the fixes: tag to > > my commit in my rush to get a fix in). > > > > When we're running the single stepping engine to probe the device, all > > those commands are queued. And we'll not run through them if we queue > > something at CAM_PRIORITY_NONE. c6dc5d367681 made the ccb that ran for > > the xpt_path_inq() at the NONE priority. Normally, this is fine. All > > the instances in the tree but two use that the stack to pass in a CCB > > for this use. It doesn't matter the priority. But, xpt_start() did > > xpt_path_inq on the start_ccb passed in that was allocated in > > xpt_schedule which fills in the proper priority and other fields. It > > didn't matter for the xpt_path_inq, it completed just fine. However, > > for the XPT_MMC_IO commands that followed, the priority was wrong, so > > they'd never run. It turns out that we don't need or use the > > xpt_path_inq() results at all, so it was just having the side effect > > of initializing the CCB (bogusly and redundantly, it turns out. The > > other location that doesn't use the stack for xpt_path_inq() doesn't > > really reuse the CCB, but saves the results of the path_inq away (it > > could allocate less memory if it did a similar thing to the stack > > trick in its soft state structure, but doesn't). > > > > So tl;dr: Thanks for the heads up, this broke only a few days ago, and > > should be fixed now. My sdhci system with eMMC in it works with these > > changes. And I added a KASSERT to catch this problem in the future. > > I can confirm that your fixes are working. > > I had a look through the cam diff but wouldn't have spotted this. > > I can also confirm that the KASSERT works: > > panic: xpt_action: queued ccb and CAM_PRIORITY_NONE illegal. I need to add which CCB function was queued to this, I think... > Now to fix my own code ;-) It should be easy... > Thanks a lot for the investigation and quick fix! Very much appreciated! You bet. I was worried that I'd broken something with my CAM fixes, despite testing it a lot locally. Then nobody said anything for a couple of weeks and I thought I was in the clear... Then you popped up just at the same time I had installed FreeBSD on an eMMC system I got and noticed it wasn't using MMCCAM as I was about to update it, so the timing was good... Warner From nobody Tue Jul 22 17:46:11 2025 X-Original-To: freebsd-current@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 4bml7S3FLhz5pwt6 for ; Tue, 22 Jul 2025 17:46:28 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bml7P4n77z3FBB for ; Tue, 22 Jul 2025 17:46:25 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.218.41 as permitted sender) smtp.mailfrom=asomers@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-ae0d7b32322so903518366b.2 for ; Tue, 22 Jul 2025 10:46:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753206383; x=1753811183; h=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=1a8FWMr6ly4WRKUmSTLw/PIQSVUG3j+8WBoeuUnB9Fw=; b=F41L2WdAzTmFqPGij9EhM3rK1d2lH/akWpC9JZlrKoRdE9Gh9Ju0BRlQCJQUxjMj9o 8Wjm51+6nacJeLWcD+yVHhWZIC1eJFQvNyzuCoYAIfSlx5MQCQY3D7/h28tJRtvt1ino C//4cB/PdonNt1fi1j51v0Zul7Y/YWWHqXD0gGITK3020PfBzM2lK0tffcpRVULK90je 1rkkor47ZCs+8E7ZIgBC5RHSTf0IrRj6nLaPUHC7f5FjA6zM0+UxVLuNHamt9bmAmjsx b6oX60lb6XFNjzF/6f5RHY/ayQ9p6FhCgSUsc2SCE4TpjCS25OleEKPWI2TuwqklQlNN eLUg== X-Gm-Message-State: AOJu0YzLbiE8pmab5iuU7LBtEJ0E9Y76DHJm/BgxTPqoIWnHH2lMrfhZ YLWRk5lDT9BaaHuUY/sv+KE7V3FIme+eK6bTGIcIc6SB5Aib1B2m7p7O0DqaC9I2AiSuVvjgDEL 8xEzs28NPVLYtqPqaliCj3T5qoIPMhfkzUw== X-Gm-Gg: ASbGncsXVCsRd2GmYBsabRw36dYNTv/E+MXU8QYzLoHGom9DVuJLS+wWcw8dHONZquT WlcK4fO9jh80ynl7ZZLS90jjpiodhTnFwqPMCx2W6vyXLFO8s7o/plG57DSgHaWK0VZU1d3bHNc Qds2HfiMtj+fKbRUWuq6Uymzls6WCGv71wrBgiXP/wNCXs48zXLYI4amfYR3liwYSmVFRZgTSHJ Q+CK+4= X-Google-Smtp-Source: AGHT+IGyykF0ZR7HXXWaXRCe6ia4ko7qNeTKitFcAOJEQiyRvFlT7d2Ne4qC79vQqlprJY1oS1HZozAuV7lpfjAFB+4= X-Received: by 2002:a17:906:8f12:b0:ae3:64e2:c1e with SMTP id a640c23a62f3a-ae9cdda3d23mr2698356566b.10.1753206382863; Tue, 22 Jul 2025 10:46:22 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Tue, 22 Jul 2025 11:46:11 -0600 X-Gm-Features: Ac12FXxTfUkW1-naEwinlD2dpqUhVRAYr8Uurbv1LvXc610mK8lZ_Ix-kQa0gdc Message-ID: Subject: Re: zfs panic VERIFY3U To: freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ab2b39063a882bca" X-Spamd-Result: default: False [0.40 / 15.00]; NEURAL_SPAM_LONG(0.99)[0.994]; NEURAL_HAM_SHORT(-0.79)[-0.793]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_SPAM_MEDIUM(0.20)[0.199]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; RWL_MAILSPIKE_GOOD(-0.10)[209.85.218.41:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[209.85.218.41:from]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_DKIM_NA(0.00)[]; FREEFALL_USER(0.00)[asomers]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bml7P4n77z3FBB X-Spamd-Bar: / --000000000000ab2b39063a882bca Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jul 22, 2025 at 6:50=E2=80=AFAM void wrote: > On Tue, Jul 22, 2025 at 02:38:52AM +0100, void wrote: > >On Tue, Jul 22, 2025 at 02:28:19AM +0100, void wrote: > >> > >>zpool import causes the following output at the console: > >>https://void.f-m.fm.user.fm/panic/zpool-broken.png > > > >agh, should read http://void.f-m.fm.user.fm/panic/zpool-broken.png > >*not* https, sorry. > > booting without zfs.ko loaded, then building kernel from > main-stabweek-2025-Jul > rebooting again then loading zfs.ko then zpool import -a went normally > ald zpool status showed an unavailable disk in the raidz2 pool. > -- > >From the panic, it looks like your vdev is smaller than what is recorded in the label. I can think of a few reasons why that might be: * It's a VM, and you shrunk the size of the VM's disk. ZFS can't tolerate that. * You shrunk the size of the disk using some exotic SCSI commands. * The disk is broken in such a way that it reports mediasize 0. I've seen that happen. You can check with "geom disk list". * ZFS found an old label. Perhaps it dates from before you expanded a vdev. You might've pulled out a disk, then expanded the other disks in that RAID or mirror, then reinserted the old disk. These problems are annoying, but solvable. This is also one case where you might get different results if you import during boot vs after boot. Is this still a problem for you, or is it all solved? --000000000000ab2b39063a882bca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 22, 2025 at 6:50=E2=80=AFAM void = <void@f-m.fm> wrote:
On Tue, Jul 22, 2025 at 02:38= :52AM +0100, void wrote:
>On Tue, Jul 22, 2025 at 02:28:19AM +0100, void wrote:
>>
>>zpool import causes the following output at the console:
>>https://void.f-m.fm.user.fm/panic/zpool-b= roken.png
>
>agh, should read http://void.f-m.fm.user.fm/pan= ic/zpool-broken.png
>*not* https, sorry.

booting without zfs.ko loaded, then building kernel from main-stabweek-2025= -Jul
rebooting again then loading zfs.ko then zpool import -a went normally
ald zpool status showed an unavailable disk in the raidz2 pool.
--

From the panic, it looks like your = vdev is smaller than what is recorded in the label.=C2=A0 I can think of a = few reasons why that might be:
* It's a VM, and you shrunk th= e size of the VM's disk.=C2=A0 ZFS can't tolerate that.
*= You shrunk the size of the disk using some exotic SCSI commands.
* The disk is broken in such a way that it reports mediasize 0.=C2=A0 I= 9;ve seen that happen.=C2=A0 You can check with "geom disk list".=
* ZFS found an old label.=C2=A0 Perhaps it dates from before you= expanded a vdev.=C2=A0 You might've pulled out a disk, then expanded t= he other disks in that RAID or mirror, then reinserted the old disk.=C2=A0 = These problems are annoying, but solvable.=C2=A0 This is also one case wher= e you might get different results if you import during boot vs after boot.<= /div>

Is this still a problem for you, or is it all solv= ed?
--000000000000ab2b39063a882bca-- From nobody Tue Jul 22 19:14:15 2025 X-Original-To: current@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 4bmn4v4r3Tz5q3bK for ; Tue, 22 Jul 2025 19:14:23 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bmn4t65C5z3HXh for ; Tue, 22 Jul 2025 19:14:22 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of phk@critter.freebsd.dk designates 130.225.244.222 as permitted sender) smtp.mailfrom=phk@critter.freebsd.dk; dmarc=none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 553FBC4873 for ; Tue, 22 Jul 2025 19:14:15 +0000 (UTC) Received: (from phk@localhost) by critter.freebsd.dk (8.18.1/8.16.1/Submit) id 56MJEFuM003954; Tue, 22 Jul 2025 19:14:15 GMT (envelope-from phk) Message-Id: <202507221914.56MJEFuM003954@critter.freebsd.dk> To: current@freebsd.org Subject: Be careful with "make delete-old-libs" From: Poul-Henning Kamp List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3952.1753211655.1@critter.freebsd.dk> Date: Tue, 22 Jul 2025 19:14:15 +0000 X-Spamd-Result: default: False [0.87 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.999]; NEURAL_HAM_SHORT(-0.99)[-0.988]; NEURAL_SPAM_MEDIUM(0.86)[0.856]; FORGED_SENDER(0.30)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[phk]; MISSING_XM_UA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[freebsd.dk]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4bmn4t65C5z3HXh X-Spamd-Bar: / I updated to -current and ran "make delete-old-libs" today, and that broke libcurl and as we all know, he doesn't live in Nebraska but rather Sweden, so a lot of things stopped working as a result. If you build curl from ports you'll probably be fine. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From nobody Tue Jul 22 19:22:09 2025 X-Original-To: freebsd-current@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 4bmnFt6fKvz5q46h for ; Tue, 22 Jul 2025 19:22:10 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmnFt50nBz3QQ9; Tue, 22 Jul 2025 19:22:10 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753212130; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IPhPA7WSq87/dn6v4NXBRgAsA3ovO5ySz1d7gF8q+iU=; b=h4qhM6xSVzawWX0y04Q5DhsXf+GHHDMUPE0rzds5BkUk7XjwGof2vOkGMZKHVJJh6QQJ3w JJWaz526lKzNx/urxs6Z6swBSzN+AZPOjKwrJ5DCVIjE4hJmW3yiqlk6vwLlwj/KyctXB1 Qo2ec42tY0y/QomJHL0jWXT6SsOVSsLCf9sXWw84r5nrMxVGaAoycF04zkIPsG8aSWNMPl JzQ6cTtLp7y6m9JD9oKZampeNcwIuvFKiMdHzrSG4BfODkfAKwz2dcblhso1mdRFy5MiPm Sq6fVAmTmtouVhBHFGvym5RWW24AIopokI2qF1qNyb7LWIZG03Jj4XWjMpClOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753212130; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IPhPA7WSq87/dn6v4NXBRgAsA3ovO5ySz1d7gF8q+iU=; b=kYEUr+FdtGCkloBF3eUXwq8rC2B34OL6sS+lG4cADgCkvBV/+Q1UTLsIS8Dh47NRAv5QmN E+LFXLqNUXdAJTJp5RRWrUdLiKu6cenWygYJlk9+PMiIdEHz8y3BxxShhlLJo81l2F02Py 0sT4gu/Dwrmmz/V6/vJh6PaOkqs2/lOCXB6IiOC5TVUPbn2mD/RvmNPo5dANlLvUBX745s H2xjN3Usm1r0tqQWjG4zi5BA7wyLuzj25wM9JuIGatqFspZhm4awSGdfMIGMWyd2FiZkid /DbXXBMtqWSqnbAIv80I9YWFhtXCzDnxPAeIQ3U1blRK07AMMy1tVhhcT1qbPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753212130; a=rsa-sha256; cv=none; b=qeUeKuHXepqY8pIgTldD1+J+RqzYsS73csmspUewe/+c6/bBWqZjTyoQHnULmgy72N45+f uM8rxKyHlT+0bTXlSYmMftNPUPWsRN8E3plm/HeUtrjCT9HcUcgv0vDm3hHF6MqmFNITEO YLKz5DYrcwaZnpljD1+NEpRq85GmJtHUBKfNtZMgNpNaR/AZ0KIdDY5yR1CoAtcfmYrex/ 768aTZP5Y2QAQv4F4VjPB1z0eQOBI4ZPtvjeN7BYKVJV6baJEYtNQE+Zizp5LTvKhqyP0g Gt32s105i0u9VlKAj5i19rZml6/EyGld34KCWBJTKvsbTsw48lIy4LR0IHD/lQ== Received: from ltc.des.dev (unknown [IPv6:2a01:e0a:c54:bed0:922e:16ff:fef1:acef]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bmnFt40qdz15Zx; Tue, 22 Jul 2025 19:22:10 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 50F21A91FE; Tue, 22 Jul 2025 21:22:09 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Stefan Esser Cc: freebsd-current@freebsd.org Subject: Re: epair(4) In-Reply-To: <328d03a4-1f06-4e05-b9c2-49db263afe0e@FreeBSD.org> (Stefan Esser's message of "Tue, 22 Jul 2025 16:07:29 +0200") References: <20250515162552.9209B20E@slippy.cwsent.com> <20250515185919.87008219@slippy.cwsent.com> <45d0f49d-229b-46b4-af95-6e8c4c856661@plan-b.pwste.edu.pl> <932111f8-f5ca-46d1-9f66-983f80f6116b@protected-networks.net> <8DCF0DAB-5EE5-4FEF-8CCC-1D7AF971BA8C@hausen.com> <86ms8zbz6w.fsf@ltc.des.dev> <328d03a4-1f06-4e05-b9c2-49db263afe0e@FreeBSD.org> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Tue, 22 Jul 2025 21:22:09 +0200 Message-ID: <86o6tc9gke.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Stefan Esser writes: > My use case would be a temporarily started bhyve VM to occasionally > run some Windows applications, with a Tap device and a WiFi device > with dynamic address forming the bridge ... You don't need to add your external interface to the bridge to do that, just enable forwarding and set up NAT on your external interface. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org From nobody Tue Jul 22 21:47:45 2025 X-Original-To: current@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 4bmrV84Qqmz625MG for ; Tue, 22 Jul 2025 21:48:00 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmrV75YSwz4FfS for ; Tue, 22 Jul 2025 21:47:59 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zabbadoz.net header.s=20240622 header.b=OiMD0fbI; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2003:a:140a:2200:6:594:fffe:19 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=pass (policy=none) header.from=zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 030B3A64809 for ; Tue, 22 Jul 2025 21:47:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1753220863; bh=ORgHx5lUqUP1wI6FSCUJGc2jHh5yR0/vute9cgvNq10=; h=Date:From:To:Subject; b=OiMD0fbIqF6mDUlAY00uX3RjsROodZ/pdh2EacRWy5p3pDq+MtRfw4N5gkUigpF2m rhq5pRBZsyOmF64XFkjc8Xas656YTisQa30NaPYUHDbKNNk6Wmvg6nRWANEtA87oxm 97n70VF2Sz9wyltWLDJGy/z7vEh9k4Hngu5vGeFPHWo5qTDXSmNiHSz8p83j/5SHA6 r2JrIo9MWfijvv4iwGQrnnCSSzYmmJg2VeJJxCWoKHWnuSM+DpUJsMSpsXoXZo8R/6 XIMFR2R2/SNQsAy5kHMgTP+1GMjsm/emGkCTOF6cBAUWaJM9lK0PMNWvvdVdSXJLE3 2aVxUGJrINkW/UcYdzC9jX4TeLxGEqQDhFdR20gA33prkRtuiGTnFjtIXqyXY4P3pG rI6Tf8um/EQD3Hy9fABbHLxB1sVFn/0jhcJEz03oCrrNdmVI5gtDouRmY7Wuv36T59 9+tP4yQrAbEwUFjh4QCqh04d99+IMU/+63m6k4uNW0A3MP/RTbtH2Oz8Yh1ecFHX3f yUd45Bfy3kxr7GDznn0lu50rfec9Qy55jLGxuvkPwLsaU2J9UinBgjrMie6K1XnUPk 8ua0Sh+1QQDYKnaDMtYy71DZ7rk4vE/9mY5JFYxRN0Q8ciUnnvGqRwqRfVSyI1mLL+ UGkEBabZBKHQl++ngu6qgqXo= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 406782D029E1 for ; Tue, 22 Jul 2025 21:47:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id jIVSw3YE3z_i for ; Tue, 22 Jul 2025 21:47:46 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 46DA52D029D8 for ; Tue, 22 Jul 2025 21:47:46 +0000 (UTC) Date: Tue, 22 Jul 2025 21:47:45 +0000 (UTC) From: "Bjoern A. Zeeb" To: current@freebsd.org Subject: breaking into ddb -> panic Message-ID: <66s0n75o-s90r-1s45-n39o-9q7683o3nr20@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Result: default: False [-3.10 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; NEURAL_HAM_LONG(-0.11)[-0.108]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4bmrV75YSwz4FfS X-Spamd-Bar: --- using [alt] break to debugger I am getting the following panic while some debugging output is scrolling on the console: db> reset panic: lock (sleep mutex) eventhandler not locked @ /usr/src/sys/kern/subr_eventhandler.c:272 cpuid = 1 time = 1314 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x38 vpanic() at vpanic+0x1a0 panic() at panic+0x48 witness_unlock() at witness_unlock+0x140 __mtx_unlock_flags() at __mtx_unlock_flags+0x54 eventhandler_find_list() at eventhandler_find_list+0xbc kern_reboot() at kern_reboot+0x244 db_reset() at db_reset+0xec db_command() at db_command+0x2f4 db_command_loop() at db_command_loop+0x58 db_trap() at db_trap+0x100 kdb_trap() at kdb_trap+0x350 handle_el1h_sync() at handle_el1h_sync+0x18 --- exception, esr 0xf2000000 kdb_alt_break_internal() at kdb_alt_break_internal+0x1a8 kdb_alt_break() at kdb_alt_break+0x10 uart_intr_rxready() at uart_intr_rxready+0x88 uart_intr() at uart_intr+0x124 intr_event_handle() at intr_event_handle+0xf4 intr_isrc_dispatch() at intr_isrc_dispatch+0x60 arm_gic_intr() at arm_gic_intr+0x118 intr_irq_handler() at intr_irq_handler+0x98 handle_el1h_irq() at handle_el1h_irq+0x18 --- interrupt cpu_idle() at cpu_idle+0x78 sched_idletd() at sched_idletd+0x494 fork_exit() at fork_exit+0x78 fork_trampoline() at fork_trampoline+0x18 Uptime: 21m54s Automatic reboot in 15 seconds - press a key on the console to abort -- Bjoern A. Zeeb r15:7 From nobody Tue Jul 22 23:31:16 2025 X-Original-To: freebsd-current@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 4bmtnP62R2z62CHH for ; Tue, 22 Jul 2025 23:31:21 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-b7-smtp.messagingengine.com (fhigh-b7-smtp.messagingengine.com [202.12.124.158]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bmtnN1L0Wz3Vjb for ; Tue, 22 Jul 2025 23:31:20 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=LKyuXKot; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=a470TNXy; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 202.12.124.158 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id DA5407A003A for ; Tue, 22 Jul 2025 19:31:18 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Tue, 22 Jul 2025 19:31:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1753227078; x=1753313478; bh=hb4JGuI8v7 2+3lG0MAsb7xDYpvh7HD+ZoewPjptud4g=; b=LKyuXKot0sMPz4z69Azbu7chN0 lbihu6lRG0HydsmcOyBNZQ0l/To44wfBN1nr5qCkf1ocBN1NrinUA0FJbRWsRt/c HsBKOxmjHpnt4FP3PlfvddcDbiVmSHNRwufcKw1THS/VWM6LNqYsrbAdPrXVEnhu 94IZxw6pqoRlvSEzzQ2E7XEpByCIESeYnCdbVvAWq9PHnMl0ekZYZGnuNHohi4bn EBtmlTvKlnE+v7QXUYLj21w6oSguMGkNaOG7RM67M3o1UV+JkTtii1wjxEBkzXrN bpxqRre2I9XeToq5vLwcLAMNsfBDyq36Lz7MqK/j3rhbHEiC1LHV+kee+PJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1753227078; x=1753313478; bh=hb4JGuI8v72+3lG0MAsb7xDYpvh7HD+Zoew Pjptud4g=; b=a470TNXy8M0UaODMRPLX9wmXjKqQt99ivGIQvmkomJi/mdzU3ot s6HISkCaeTnVb4TCnALO0wU/jJjD4ciQFWUj2/BaLEMsghvVQgRn1HLrH80d5/9G outqwx1ZpoaI9H6SfsBZFHrK4CKkM+IQP4F/BeHQzbZBFcIzm9v6JTsMGQWMFY4m +clgmWqjJO6t6kbOcRAX6ZyFljuEyWKYIjktcQ3dSSXD2bWxWGngOpo7PhIv6XIz RcxmsyE028yZHPbOJMy5Rr50h8uzRH8No2+oQNBx+BQbLigKys9BwVeNgPwOk8FG WR0Dbk0tksuQaFOzJsF1gzNkQH1ym0nrZcQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejiedvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertddttd dvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgv rhhnpeekleduvdelhfeileefgffghfffkedtheellefgudfgvdegkeejjedutdehhefgue enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehvohhi ugesfhdqmhdrfhhmpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehfrhgvvggsshguqdgtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 22 Jul 2025 19:31:18 -0400 (EDT) Date: Wed, 23 Jul 2025 00:31:16 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: zfs panic VERIFY3U Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-2.27 / 15.00]; NEURAL_HAM_MEDIUM(-0.88)[-0.876]; NEURAL_HAM_SHORT(-0.77)[-0.771]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.158:from]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.02)[-0.018]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4bmtnN1L0Wz3Vjb X-Spamd-Bar: -- On Tue, Jul 22, 2025 at 11:46:11AM -0600, Alan Somers wrote: > >>From the panic, it looks like your vdev is smaller than what is recorded in >the label. I can think of a few reasons why that might be: >* It's a VM, and you shrunk the size of the VM's disk. ZFS can't tolerate >that. no, this is bare metal >* You shrunk the size of the disk using some exotic SCSI commands. no :) >* The disk is broken in such a way that it reports mediasize 0. I've seen >that happen. You can check with "geom disk list". Might be, I can't tell just yet. >* ZFS found an old label. Perhaps it dates from before you expanded a >vdev. You might've pulled out a disk, then expanded the other disks in >that RAID or mirror, then reinserted the old disk. These problems are >annoying, but solvable. This is also one case where you might get >different results if you import during boot vs after boot. Possibly/probably the case >Is this still a problem for you, or is it all solved? The problem has changed in that there is no more zfs panic, but the disk (it was /dev/da7) has "disappeared" from /dev. It *is*, however, accessible from 'cciss,7 /dev/ciss0' via smartctl. I can't check geom because it's not seen in /dev at the moment. The disk (da7) is SAT. The others are SATA. This has worked before, the card is ciss0: in HBA mode. It can use SAT or SATA. Not sure if SAT *and* SATA might cause undocumented behaviour though. The problem of the disk becoming unavailable in the pool has happened before, in similar circumstances (power outage), but zfs never panicked. That part is new. Right now, zfs (deliberately) doesn't autoload. I'm going to try make the system see da7 and if that works, then look at geom, clear that, then load zfs.ko and zpool import -a. The last time that was done (sans clearing geom), da7 resilvered and joined the pool. All the other disks, apart from da0 (which isn't part of the pool) show no geom (I understand that to be normal with raw disks) thank you for your help & ideas, -- From nobody Wed Jul 23 00:21:10 2025 X-Original-To: freebsd-current@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 4bmvty6r8tz62Fdl for ; Wed, 23 Jul 2025 00:21:14 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-b7-smtp.messagingengine.com (fhigh-b7-smtp.messagingengine.com [202.12.124.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmvtx6TMYz3C3m for ; Wed, 23 Jul 2025 00:21:13 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=O6RGbJ+g; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=eA76n0iJ; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 202.12.124.158 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 73E337A005D for ; Tue, 22 Jul 2025 20:21:12 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Tue, 22 Jul 2025 20:21:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1753230072; x=1753316472; bh=j2W4P2YMk4 +sNQWek8nznhu76E6FnZpAmoNIEKwj/D0=; b=O6RGbJ+gFDF8ChMrG7X87z0aMQ f98bOso/MqMR9R35yuzLKTT+4qHXgMuPbet4HLaFtYhkFzKLGA98rWX+bYVxsrmj /S1ZoghPmllrBjOq6bRzC+B7AlBdBMBaxmzuAHQYr49SoDrAKPxVKPC/DcHj6mmp nmWh1GD4BseXVNz2a+wMusfDUs/FjRms2bF2OTn7O75y3lrQmdX2jhOBMJv/DmY6 xvPj1y5k/P6TpIhFyf4CCZ6EMNBWEdkUCEwTVbtQve6THfvmYMQhc8MJXDSDcoN5 cHFlN/rpKkho43SbXdRDsCdiI+Q3mboY7VMW4MTGqCuRm1+Sf0qNGsJB3Rhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1753230072; x=1753316472; bh=j2W4P2YMk4+sNQWek8nznhu76E6FnZpAmoN IEKwj/D0=; b=eA76n0iJrST07AtY5Ov0HgbaJZ63t6laKeFbSRjnVPQMFvYpPqb 5l3jLaW0NKxQwtHPxZTzdcXgLAnBrPDc1poy7vVTQrlCz0f8N4TbyDv4eTYVhkTJ MguGAOxT0tfbF8hZ2chr4wW0T7gmvYEfWaINvkJaFaOnqiXMOZoeOQvnP+qNohE2 rf/6CvGIbbpYQbteyobJ7QRemfZNdS0q/60PYfAVGzl52Dn/kON+9fbqx0WKqOgh S5ye9/EfMmr5DPcUhSSleqIqWTunxhxmCYYAzcLfT1hL1IEbtNKdrboU72j/FWqu z9/SNTbNLcSnLaPIB4eizNLqhg2tUnORc8Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejieeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertddttd dvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgv rhhnpeekleduvdelhfeileefgffghfffkedtheellefgudfgvdegkeejjedutdehhefgue enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehvohhi ugesfhdqmhdrfhhmpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehfrhgvvggsshguqdgtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 22 Jul 2025 20:21:11 -0400 (EDT) Date: Wed, 23 Jul 2025 01:21:10 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: zfs panic VERIFY3U Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-1.44 / 15.00]; NEURAL_HAM_SHORT(-0.88)[-0.877]; NEURAL_SPAM_LONG(0.70)[0.701]; NEURAL_HAM_MEDIUM(-0.66)[-0.664]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27:c]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.158:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MISSING_XM_UA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4bmvtx6TMYz3C3m X-Spamd-Bar: - On Tue, Jul 22, 2025 at 11:46:11AM -0600, Alan Somers wrote: >Is this still a problem for you, or is it all solved? Now it is. The fix, for the benefit of archives: 0. pull the "failing" disk from the array 1. comment zfs out of /boot/loader.conf 2. reboot machine, complete make buildworld kernel installkernel world etc 3. add hw.ciss.expose_hidden_physical="1" to loader.conf 4. if this is in sysctl.conf, comment it out 5. poweroff now && unplug from wall socket, wait a few mins 6. turn on & boot machine 7. insert the "failing" disk. See it in /dev if it needs resilvering, it'll resilver automatically. Run a zpool scrub afterwards. -- From nobody Thu Jul 24 10:47:28 2025 X-Original-To: current@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 4bnnl43vk7z62L6N; Thu, 24 Jul 2025 10:47:28 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bnnl42VlZz4GgC; Thu, 24 Jul 2025 10:47:28 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753354048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=4HyydDrCnSwKQ+B6XI8fM1ZWCNwrrkovLb1HC/aIGRg=; b=JLdbPxD0sParBty0ATLiiOqEmZr/lqJ7vTa4cKUFZ4yfOqPrElkq0tbBdPQnZufIFBT7PD wFWp6+bd9Bt+RcT2lMZ7fT3qSDp2OXUDGudYnHYSKxJtvJJqkeN0ojmHemiJUdWklf57Pf wGNFl9609jjnnZHJFQv47GY9XZZqHbUierGAQGU4iBZ0w5JmGkzJ1/69WSj3RAgBX76bYb 8+T1fUU5JYASb1IUcW/iTP0NQJBYBkQlgap53QtNU2d8GHqORePNjzIQkYZdNWjfPZMPRl qo65+5kPP4TkAKiEE0U8t2L7JCAu5SF7Wck7A527Sqj7rRHkIIcJwZAr3UVQTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753354048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=4HyydDrCnSwKQ+B6XI8fM1ZWCNwrrkovLb1HC/aIGRg=; b=b7awB5WRHVlBNNorqoRAd28O58HukQK7EuYknEaNSW4CibLk6AVekLDM3RwdmjKpEyyXx5 gpHHd5Sq9YF+d+UOLtSrL10EyLNx6XDlyjdfMyFwARarLE8vcbqfCKecLfSDlmO0Y/5TKA RpW1navotR8qQ65spnH1lDJP4+Vk1sd96rjt0uxg0SpG0/8/JYNI/UjO/aeMBlpRlhPkch 8D0ZZzwlYTjh2YExsLQknwXIGnD71nv6rBSHdy3LZY5H3CynQtVN0c4YgjGD2IueXBGCwg fcC9DH5eimtTrG0oZ09N/lCtLJ1y7bIhj/szGBsHSvzaTjz790swkcciu/mH+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753354048; a=rsa-sha256; cv=none; b=iIfh/xuVPeDiYxQ6FJL3V7pBbgOULSDbOGjpIQsO+PolP79LhNWPCuHF5tHMDi6JN/KgS7 tzt8OkHfTfslF2F2ls/Ua65j+nRtHbx097BLFXNgSRVQIE/AsAxsAUXqGJxsh5bCWm6CcU AI2T/bO5ENV08YJKte+663Wb9k8ki0N984SasNq/aD0I+6hqUrkaENukbxtvnFSIDRuZ6D VbVrS7yKn2ApOBGCgSsn2e7l7exigyStKF+mkRuvivEJqBaSnEf14ozHVHBW5ZfzyBH4P2 pCc7n8jpxqBOunH54r6ozlktxbDSUBXCxQIzblxl+rX8iDg8hvLdR+/ohqXzwg== Received: by freefall.freebsd.org (Postfix, from userid 1532) id 4CE5311C57; Thu, 24 Jul 2025 10:47:28 +0000 (UTC) Date: Thu, 24 Jul 2025 11:47:28 +0100 From: Lexi Winter To: current@freebsd.org, pkgbase@freebsd.org Subject: heads up (15.0 pkgbase): Kerberos package names Message-ID: Mail-Followup-To: current@freebsd.org, pkgbase@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HOKt8Ge4AkJ2Kfjs" Content-Disposition: inline --HOKt8Ge4AkJ2Kfjs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hello, commit c7da9fb90b0b enabled WITH_MITKRB5 by default, which changed the name of the Kerberos packages from FreeBSD-kerberos* to FreeBSD-krb5*. i have just landed 4cb1baa7d85c to undo this change, so the packages are now called FreeBSD-kerberos* again, no matter whether you build with MIT Kerberos or Heimdal. this also adds a new package called "FreeBSD-kerberos-kdc" containing the MIT Kerberos KDC. this package only exists if you use WITH_MITKRB5, the location of the Heimdal kdc is unchanged. there is one additional package called FreeBSD-kerberos-kdc-dev (previously, FreeBSD-krb5-dev) which shouldn't exist and will be deleted in a followup commit (see D51419). manual action required: * if you *don't* have the FreeBSD-krb5* packages installed (e.g., you haven't updated past c7da9fb90b0b yet) then you don't need to do anything, unless you want the MIT Kerberos kdc, in which case you should install FreeBSD-kerberos-kdc. * if you do have the FreeBSD-krb5* packages installed, you should ensure that after you update past 4cb1baa7d85c, the old packages are removed: pkg remove -g 'FreeBSD-krb5*' you may then want to install the equivalent FreeBSD-kerberos packages instead. * if you have build scripts that were broken by the original change to FreeBSD-krb5, and you fixed them at the time, you will need to "unfix" them to use the old names again. * if you use Heimdal (i.e., you turned off WITH_MITKRB5) then nothing has changed for you and you do not need to do anything. --HOKt8Ge4AkJ2Kfjs Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaIIPNgAKCRD1nT63mIK/ YF/cAQDZQeKTKRNkz1r2w0idv3NgQ1faCYq7ISZOt5ZeHy4w5gD9FSnJXONLVb0u oHj9bB6xTs4Rw0ZZYYUgOf/EGmVGXg0= =N5Vt -----END PGP SIGNATURE----- --HOKt8Ge4AkJ2Kfjs-- From nobody Thu Jul 24 11:48:43 2025 X-Original-To: current@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 4bnq5n6B7Nz62QCl; Thu, 24 Jul 2025 11:48:45 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bnq5n5fLkz3mFJ; Thu, 24 Jul 2025 11:48:45 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753357725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=retTCYcnEezBXcweaPQxQy+70/MxhkagoNnDfOnc5O0=; b=W15fVwEjdEb5/4br6kdMye61wRVs4mBnvnC7GtwTw/6tCsLlSVIXTFVW1fZSM3CBg+Mz2B RVoEVSe3166DNMXTvGVii7bHEbAOBTqMwV4pmJu+2XximhUaYxKst6MaISzUg3Ycg/FGZI KDm3gk/BWqhUya3QvoOdJ7jkSrFxhoGOlg6dgmucFGtSBmkpuqO84B+c7Tfg74Jilw180J pWRt7NOs/W38HU/34igHmRhh9Z6RiMwCInNPPx89U4wxoORCFLH0h3bEnt9Q2ZoaR2+oMp QwTSIeXL3xvN1TT+/9vlxzZaW5GDyMhMqC0PbfFbfy3fHDJhzEI6y9ixWvHu9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753357725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=retTCYcnEezBXcweaPQxQy+70/MxhkagoNnDfOnc5O0=; b=BKPgNyh7gdR9OewVro8HX4fkPhq8vcv540I20Exz3Ch8s+7eyA9+i/W+nKNovYaM3x6TDZ rJabar9yDZN8ObtuxoLjSKhUsO71eFD9SG65MzMdXH0q6uYPNJJX2Rf2Se6SpTQ2oq2OrO VqGISo6+eGMc55ETeEubaUciYDAPch5FNEtHrEPG1yPP8vQI8FbeBBlzERUlG5xgo3HFt8 KPvA3g15tArUgNgijS6sp8f1gBsxbrU+2O8I15U0e0tZKvcWWVhdQd0HFIgbRKiUB7hMqa Xd6zfV/n6BIKy6Fj38Ui7dmX2tZlFydFVz2GSqgXHQLzfZLKLb+SbHg7JxBLpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753357725; a=rsa-sha256; cv=none; b=NZ6q0yQs3RZp7wPxKqAjVyM+VXuCWiYaZHjktzwEun5aTPNH9WMfpgd9+DMp6WjDETvciL aL4+9nj03o9tDWxUZzESou+o2kfZBj4oV8DHvtnXXPV0fHxhJKEEa5+3yQiANxBY7MY8Mu hhc93zIAhoKERg5zztr0yHWjYoBZwqg8HnkEAQE/Ot0iyTTpw27sBPx0pUz9/zfOwh/yrN NP/M3Db/tEQj68yuQ0DmjKEW+byo54RVS1G6AOdZO/q7G8tOYVi6L2PkTIyHtAGmjHdXiJ QzU/RdM32p883GnDtL6Id5AYjyokWrgKUJlPpX5uI8Z0+Rs4dn9fLcAFpSJYuQ== Received: from b.nours.eu (b.nours.eu [54.38.177.57]) (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) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bnq5n4CYSzyPQ; Thu, 24 Jul 2025 11:48:45 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by b.nours.eu (Postfix, from userid 1001) id 770EB1AECE; Thu, 24 Jul 2025 13:48:43 +0200 (CEST) Date: Thu, 24 Jul 2025 13:48:43 +0200 From: Baptiste Daroussin To: current@freebsd.org, pkgbase@freebsd.org Subject: Re: heads up (15.0 pkgbase): Kerberos package names Message-ID: <6dzhivo7vk5wbsaw7zs6skmd46skdl755kg5x3uzvmqej5dmzr@7v2dpyqbdulh> References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu 24 Jul 11:47, Lexi Winter wrote: > hello, > > commit c7da9fb90b0b enabled WITH_MITKRB5 by default, which changed the > name of the Kerberos packages from FreeBSD-kerberos* to FreeBSD-krb5*. > > i have just landed 4cb1baa7d85c to undo this change, so the packages are > now called FreeBSD-kerberos* again, no matter whether you build with MIT > Kerberos or Heimdal. > > this also adds a new package called "FreeBSD-kerberos-kdc" containing > the MIT Kerberos KDC. this package only exists if you use WITH_MITKRB5, > the location of the Heimdal kdc is unchanged. > > there is one additional package called FreeBSD-kerberos-kdc-dev > (previously, FreeBSD-krb5-dev) which shouldn't exist and will be > deleted in a followup commit (see D51419). > > manual action required: > > * if you *don't* have the FreeBSD-krb5* packages installed (e.g., you > haven't updated past c7da9fb90b0b yet) then you don't need to do > anything, unless you want the MIT Kerberos kdc, in which case you > should install FreeBSD-kerberos-kdc. > > * if you do have the FreeBSD-krb5* packages installed, you should ensure > that after you update past 4cb1baa7d85c, the old packages are removed: > > pkg remove -g 'FreeBSD-krb5*' > > you may then want to install the equivalent FreeBSD-kerberos packages > instead. > > * if you have build scripts that were broken by the original change to > FreeBSD-krb5, and you fixed them at the time, you will need to "unfix" > them to use the old names again. > > * if you use Heimdal (i.e., you turned off WITH_MITKRB5) then nothing has > changed for you and you do not need to do anything. > > > > Thanks! Best regards, Bapt From nobody Thu Jul 24 12:59:04 2025 X-Original-To: freebsd-current@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 4bnrg13654z62TTZ; Thu, 24 Jul 2025 12:59:09 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-a2-smtp.messagingengine.com (fhigh-a2-smtp.messagingengine.com [103.168.172.153]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bnrg04K5vz3Psc; Thu, 24 Jul 2025 12:59:08 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=V9m3z4MP; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="l v+E5Qp"; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.153 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id DF0B414001E0; Thu, 24 Jul 2025 08:59:06 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Thu, 24 Jul 2025 08:59:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1753361946; x=1753448346; bh=8PZI02Fz5gs9zVUu0w1FFk6ZDn0e+25n YZJN40FV3ak=; b=V9m3z4MPrAexForJXRWYgdaaxxxiOvhYQiCn0yheo28Dz/nJ SGaGDSbGumd+5er/XMIJlXYUCRu1rA9MjiePwWASqId8rNzQkgvrIAN4Xk1kniz4 Izk4Rbh/YmwWXRSNS67UQUYyb4ep3M7meFOokytxB4IbSKZXN2yP4/i2xOYlPRVc e2lsMt3j85yr1NLBklOg2sECopgADECKe82maTydB+C74GlxOt7RRdpeZwz6FQva RV+iIqxdxbwZXiKk3fmheVDG8uThl47cu01aO9mOiwPyYMSSF3fwTsJQDy5FtfpZ G9hNJURBm51GLehrZ6Y4BaYPv7TemFcnsdtc6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1753361946; x= 1753448346; bh=8PZI02Fz5gs9zVUu0w1FFk6ZDn0e+25nYZJN40FV3ak=; b=l v+E5QprtL3csMELdom1vT63ey1rXTV6OYMVqKbU6+Dj0E2zc7zavS6xqpduCTSvM giaz4MR2jWteYsjQYZG84o5oT51HG2gZ0q61hhWCqcxSGuM5AA+iYip+AymWOgEm 4kjJP/dqosRyOScgacuy6F0Z6TB0rlOmzyLWsR1/FjD/FGBF6kyGkXkMV1HWm8uN wumupdCsAsC9OergSnj2KyjNL8T9ew+oKFEml7Ne52pm0vGGdSfF/nAd8gDf2w+S RAsJ+6JY9TQhPG8EhmJM2GXgII1AZpDYUvikkx+E5Bg9VxrQW+wSNuDRfuID591u 216MKFi4+1SJzDVgngyyQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdektdejudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvfevuffkgggtugesthdtredttddtvd enucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgrthhtvghr nhepueekjefhleduiedttefhffejieeugfehtdefleevgfduieeuvedviedujefhtdelne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhhoihgu sehfqdhmrdhfmhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohepfhhrvggvsghsugdqtghurhhrvghnthesfhhrvggvsghsugdrohhrghdprhgt phhtthhopehfrhgvvggsshguqdhnvghtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 24 Jul 2025 08:59:06 -0400 (EDT) Date: Thu, 24 Jul 2025 13:59:04 +0100 From: void To: freebsd-current@freebsd.org Cc: freebsd-net@freebsd.org Subject: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging Message-ID: Mail-Followup-To: freebsd-current@freebsd.org, freebsd-net@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spamd-Result: default: False [-2.24 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; NEURAL_HAM_LONG(-0.44)[-0.442]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; NEURAL_HAM_MEDIUM(-0.20)[-0.197]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.153:from]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-net@freebsd.org]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim] X-Rspamd-Queue-Id: 4bnrg04K5vz3Psc X-Spamd-Bar: -- Hi, context is 15.0-CURRENT #0 n278914-e0838f8a2e61 GENERIC-NODEBUG amd64 1500053 1500053 I've found ifconfig_bxe0_ipv6="inet6 accept_rtadv" breaks bridging on a dual stack interface in unless some manual hoops are jumped through. net.link.bridge.member_ifaddrs is the default ("0") here. Imagine that 203.0.113.0/24 is real and routable. The following works as expected. if the machine reboots, ipv4 starts normally. cloned_interfaces="bridge0 tap0" ifconfig_bxe0="up" ifconfig_bridge0="203.0.113.2/24 addm bxe0 addm tap0" defaultrouter="203.0.113.1" Adding ifconfig_bxe0_ipv6="inet6 accept_rtadv" and then rebooting causes the following: Initially, only ipv6 works. ipv4 shows the following responses to route commands: # route show 1.1.1.1 route: route has not been found # route add default 203.0.113.1 route: message indicates error: Invalid argument add net default: gateway 203.0.113.1 fib 0: Invalid argument Running service netif restart stops ipv6 routing and ipv4 starts working normally. In order to have functioning dual stack, I have to 'sysctl net.link.bridge.member_ifaddrs=1' and netif restart. Is this known/expected? -- From nobody Thu Jul 24 13:08:18 2025 X-Original-To: freebsd-current@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 4bnrsb6453z62VSQ; Thu, 24 Jul 2025 13:08:19 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bnrsZ3Tmgz3YBx; Thu, 24 Jul 2025 13:08:18 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753362498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NUtnAzPBvtyVQCs/vvoZYVaLN5KyvToa4KTiTaIHViY=; b=SA3+7ZU8Y24huGe/vRSvC8x/LmRluJj0Yg9asGjSbEf6/3hSz1m0Hhrzs5h5Rrm8haIwxA 7MIpzfrVF5EBUPxEHZvkFuayaRyK5YPswsPrDpdHZFU1Pi5PzLAfXuAYAIgaHR+8H2AxFJ 3+5YRTSQQ9FJD3sNv9Jd4N/DTtVm1GBUwuGizKMeEUKLE2ah1PhfJDUXyzxx9Kei/RHrLR BsC6x+CfyZYuuxZk/6v1RCgNilVfVdUC7xQjL+W6gGUA88YlCxzYhTfr7ddRuQFPCUes91 scIfhHAK2m8YiqGCMW9X8rgg+QMBqy/14+dfwe2EUJYi+cQY5dnIhAiAHVyTvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753362498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NUtnAzPBvtyVQCs/vvoZYVaLN5KyvToa4KTiTaIHViY=; b=Mc5psKq9OlohKt5l1JtRQte2QnGViyL9qdw5v/9J8A50XPw5ckQVav0XXek3YA0QCHC1V3 uo4h2XhIdQveWY5eCd5YfNeS1WRnukwLpWIDdNvwAO4FjZ2qm5Aex2qdU/PM6nPZSqq58K 2zRiUSedBZv02A1BvuWFqjltoZKKireUskT+5Xh2mQ60gb0fYylb/ki56/6gUHeEKAXwCJ 2XviNxh81PRa/2SjUiJ2DMSTxMp3oD978kiVdo96+qgWMLBiAAfmL30vXSXd5dI4RoF8ru 4fEk0rNPOan7HDWJjgTg0D7hQrD1IFVM+I3KFBYRrai39Se01cRPW4qr8Qk/xA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753362498; a=rsa-sha256; cv=none; b=g0zJamR0BwUH/Q828GRAHQY552525evWs1w1+1LzRdAVJbz+9yoDvpCVZSLedPnM8wkEPq misNoUgdFXqNQz3lUOernOm69Ir56S9TXLvZWPzFAR0t19P7Als2k3E3jdj27Rg3M+VDNM bKRCcwujSqbpxtDppTKorQvere3rhYRuNyOY0g+MOqw2WwF01ET35wlfbxQ59ujP5ALHn1 VO/SM4jQ0Qen3hdXlzVRyzHHFcvTPHbF4HLUJEE5ogRdCrIVt5okr22cgivqJ1ZztfROkU FH1z6Z9/VtI7EHO4e+ErGp5HiBWj4CQrUD21rqt8XJu4aNASd4NQx4T1wKVaxA== Received: by freefall.freebsd.org (Postfix, from userid 1532) id 616C41ED8C; Thu, 24 Jul 2025 13:08:18 +0000 (UTC) Date: Thu, 24 Jul 2025 14:08:18 +0100 From: Lexi Winter To: freebsd-current@freebsd.org, freebsd-net@freebsd.org Subject: Re: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging Message-ID: Mail-Followup-To: freebsd-current@freebsd.org, freebsd-net@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="T3kmdrECGkM4ERuI" Content-Disposition: inline In-Reply-To: --T3kmdrECGkM4ERuI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable void: > I've found ifconfig_bxe0_ipv6=3D"inet6 accept_rtadv" breaks bridging > on a dual stack interface in unless some manual hoops are jumped through. >=20 > net.link.bridge.member_ifaddrs is the default ("0") here. >[...]=20 > Adding ifconfig_bxe0_ipv6=3D"inet6 accept_rtadv" and then rebooting cause= s the > following: you should set accept_rtadvd on the bridge interface, not the member interface. setting it on the member interface will try to assign the SLAAC address to the member, which is not allowed. you may also need to set some other inet6 flags, since for historical reasons these are disabled on bridges by default: ifconfig_bridge0_ipv6=3D"inet6 -ifdisabled auto_linklocal accept_rtadv" --T3kmdrECGkM4ERuI Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaIIwPQAKCRD1nT63mIK/ YCQWAQCpwiE0ABTeNel2UucWgcye8ah66fWULRiOogQt1dvDwgEAiG4F8R5ko1vT VMq2VXcYAky38VVg/95fqG0JwopBZAM= =biVY -----END PGP SIGNATURE----- --T3kmdrECGkM4ERuI-- From nobody Thu Jul 24 15:41:12 2025 X-Original-To: freebsd-current@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 4bnwJ91D4qz62tfj for ; Thu, 24 Jul 2025 15:43:05 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fout-a3-smtp.messagingengine.com (fout-a3-smtp.messagingengine.com [103.168.172.146]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bnwJ75cN3z3p07 for ; Thu, 24 Jul 2025 15:43:03 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=v95I9HX2; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=GRPdVrxi; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.146 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 78854EC0247 for ; Thu, 24 Jul 2025 11:43:02 -0400 (EDT) Received: from phl-imap-01 ([10.202.2.91]) by phl-compute-02.internal (MEProxy); Thu, 24 Jul 2025 11:43:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1753371782; x=1753458182; bh=rTZ+XnCxDD5XcLniuXkuDBaUxndG9NaK0Lh3G8NXcoM=; b= v95I9HX2MxNcaPIKiOfW272DdadkJlvv/Ek0ahPWfg9tKB3YJaQjUhe3CppIklLk hQvn+X7dQe9+xPRSn1EAUgB4YI+vASiJeMllhIgUaAL8ZuvhSdi1AjjmtktQSMEU JeUQwY33B01+iAZsbK5WS3XsuKbTGsfiF+tnZQf+bgwUT6pRhXh1hybcko5btSM1 3w0hHcndIc1RWXWxSQ5gNWuWZvtF87c8kJ3AP9Zk3NxeDGHXW0Ig0+jGKiW+bXVw uKEd+IkVN3yW35K3d24hfphd81RbDOcghrVNIHUcLYClIo9BeRk60qSP7sK7rzP5 gzFjRRCItlU4If17WZAQXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753371782; x=1753458182; bh=r TZ+XnCxDD5XcLniuXkuDBaUxndG9NaK0Lh3G8NXcoM=; b=GRPdVrxiVFgjhXrZt NoTS2oYrZXGONmTpUMyhRhrUxK4XlyEp5zA/J6WJW4y3TTj0DdV2+HoAZ7vAuO0/ 54vfBdsupVR3ZIrjw6X+oWvbTmU5WX0KlQwfZq6XFvujwcd3FncS5fb6FkD2OlVM 6ofaMLsNeeEWsa/LjN66y6a8YcKwhd8h8W7AuXYFA+GJSz8SXbd41hxHvqqRwnW0 U7nprD/5v6MB2dluwQO6JJ7Nf81lUf9CeSUyBf7ajDtDNt6WBaILENVpObx0y6Xb nUrZQngwajFnCvp/39SXr1M0aQzkFUy//Oi8L3teidV0bY/eX3n5nvDDneSadge+ AV35Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekuddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepofggfffhvffkjghfufgtgfesthejredtre dttdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgrthht vghrnhepiedtfeeifeetiefffeefgfejueevffeltdehffegtdffhfefuefggfeuhfekgf dvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhho ihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepfhhrvggvsghsugdqtghurhhrvghnthesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 463FE18C0067; Thu, 24 Jul 2025 11:43:02 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 X-ThreadId: T3dab1b2fee48896a Date: Thu, 24 Jul 2025 16:41:12 +0100 From: void To: freebsd-current Message-Id: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> In-Reply-To: References: Subject: Re: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-0.17 / 15.00]; NEURAL_HAM_SHORT(-0.99)[-0.993]; NEURAL_SPAM_MEDIUM(0.96)[0.959]; NEURAL_SPAM_LONG(0.95)[0.952]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.146:from]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; FREEMAIL_FROM(0.00)[f-m.fm]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4bnwJ75cN3z3p07 X-Spamd-Bar: / Hi, On Thu, 24 Jul 2025, at 14:08, Lexi Winter wrote: > you should set accept_rtadvd on the bridge interface, not the member > interface. setting it on the member interface will try to assign the > SLAAC address to the member, which is not allowed. > > you may also need to set some other inet6 flags, since for historical > reasons these are disabled on bridges by default: > > ifconfig_bridge0_ipv6="inet6 -ifdisabled auto_linklocal accept_rtadv" Apologies in advance if these questions seem dumb. I don't know much about bridging and cannot, in what I've searched in so far, find worked examples close enough to what's needed.[1] OK. Now the rc.conf looks like this: cloned_interfaces="bridge0 tap0" ifconfig_bxe0="up" ifconfig_bridge0="203.0.113.2/24 addm bxe0 addm tap0" defaultrouter="203.0.113.1" ifconfig_bridge0_ipv6="inet6 -ifdisabled auto_linklocal accept_rtadv" Rebooted, same result - ipv4 has no route, ipv6 works. Have I got the syntax wrong, or do these lines need to be in a different order? [1] the server gets 203.0.113.2 and ipv6 address, the tap gets 203.0.113.3/24 (configured internally in the vm) i.e routable ipv4 configured manually, slaac autoconfig for everything. Work so far is just on the server. -- From nobody Thu Jul 24 15:46:37 2025 X-Original-To: freebsd-current@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 4bnwNh1SvVz62tTt for ; Thu, 24 Jul 2025 15:47:00 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-a3-smtp.messagingengine.com (fhigh-a3-smtp.messagingengine.com [103.168.172.154]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bnwNg0lqzz3rWj for ; Thu, 24 Jul 2025 15:46:59 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=TWaQzVHM; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="O24/a/EV"; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 103.168.172.154 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 5A2EB140009D for ; Thu, 24 Jul 2025 11:46:58 -0400 (EDT) Received: from phl-imap-01 ([10.202.2.91]) by phl-compute-02.internal (MEProxy); Thu, 24 Jul 2025 11:46:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1753372018; x=1753458418; bh=MisJRKgrn7Loa5n+ptNVljhY2+5P1KFZXsTu88YZirU=; b= TWaQzVHMI0dy3E7PHPNKf12UN8jWoQRcMXbCZxbrFSDfBN11Z6f/HK97ozaXe71Y oyhQg/RdKOyhIVWZDg3ByyLfVFLdFS+hE8EE1zLuUF0cxcVolwsq0gL09CkkyFe6 4OUlGo++OF7+It5vNJIRvwSdhDbhmoB4GbgI4bWqGrt+7cclFMmXFrVjzsmo2UTj 5PHYyeZtQYq0D/wBjZcR7yYoLwSel4bhE7u7b7HVfkpFkTe9mZnw6hPItxSqlQz9 +yzb6NBbhBqE9ts3SZWPQ7mghngbo9lnsciwHat5JczQRcRT+cTQTnxXzg1arMSU WuSRBatz2CCD2yYlpUtH6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753372018; x=1753458418; bh=M isJRKgrn7Loa5n+ptNVljhY2+5P1KFZXsTu88YZirU=; b=O24/a/EVNsz4YZZQK JZxP2izZwyEm4d77SI2r4S84tV/sCVOt0BqRH/Yd9hlNbnd0Rdx+XKWrBgNBhnCV baJUglKvK/fwwuApat55CfCr6e/z3GrMGkHzFqnCtyB9pc0Bt316KftLP8w4ncc5 krKUv+s/kYxYaJ8CrVxFydwA0HQR4SThW35uMGpjPLRuTNQEfqQ1hsj7/R1cj0p4 wInHCGKaPgT5agqtxcuY6Kep3FMuk64WPseiKCdgpamyVrPbyikH1PdMCkoCqpa/ 8kJlXdPr85dCdD5Vw/FPbQlRU9UiN2LtvR1SwCbadoWII8XF9xebWy84Zh17vrBD xJU1Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekuddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepofggfffhvffkjghfufgtgfesthejredtre dttdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgrthht vghrnhepiedtfeeifeetiefffeefgfejueevffeltdehffegtdffhfefuefggfeuhfekgf dvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhho ihgusehfqdhmrdhfmhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepfhhrvggvsghsugdqtghurhhrvghnthesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 2836618C0067; Thu, 24 Jul 2025 11:46:58 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 X-ThreadId: T3dab1b2fee48896a Date: Thu, 24 Jul 2025 16:46:37 +0100 From: void To: freebsd-current Message-Id: In-Reply-To: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> References: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> Subject: Re: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-0.19 / 15.00]; NEURAL_HAM_SHORT(-0.99)[-0.993]; NEURAL_SPAM_MEDIUM(0.96)[0.955]; NEURAL_SPAM_LONG(0.94)[0.939]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.154:from]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; FREEMAIL_FROM(0.00)[f-m.fm]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4bnwNg0lqzz3rWj X-Spamd-Bar: / Formatting got mangled, sorry > > cloned_interfaces="bridge0 tap0" > ifconfig_bxe0="up" > ifconfig_bridge0="203.0.113.2/24 addm bxe0 addm tap0" > defaultrouter="203.0.113.1" > ifconfig_bridge0_ipv6="inet6 -ifdisabled auto_linklocal accept_rtadv" -- From nobody Thu Jul 24 17:46:40 2025 X-Original-To: freebsd-current@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 4bnz2q2NNfz630lR for ; Thu, 24 Jul 2025 17:46:43 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bnz2q0Pfjz3xq1; Thu, 24 Jul 2025 17:46:43 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753379203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hovArKM5mhg0bokfZTd0IXopDIfit3Y/T7UHUCBwGpU=; b=m1sP1vao9Zc49j4gD7UFAFHvLO8UVSg/WO5/4or5IrrdtBVkBO5paN9LnjYGV7WtM4Hb1E quP8QjMCZF4lO14l9zYgs5RnC97JBWHu/VwDRekn3LTtKTK9ZmyqFz5wqYoRPL6qO4wCXw CKUQPQ7AcUzx2L7K/aNHNFYMWT7v/CvFUZ+kNPfOmSQJ3W19VPwrBB+wHKX5qfstthmvBv M1w/l5YT0kTv7vlruHsdQlAsKta1DANBrwK3R9unZrOiGNJ1irsy5AKwQ7Qh7wWxwEXM5L wY+yqjzn5levWfQakNaTM46L9jd7ovBYyyuyltEhMJje+i6cBmABYB7Te8JeRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753379203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hovArKM5mhg0bokfZTd0IXopDIfit3Y/T7UHUCBwGpU=; b=aWcZ/KTeTyM6uGlEvAqJetft7tP9MwX78U5M4uFg4u1DfkPPAqyWTw+jM89VWqaYJoMHdL fBHje+rJ4+kbgE0jxa57lLkzbf5PYfcwnOTm5ZLh5kCv94cnHKv8VPAOUs8ydioSFW5HSq uPpe8siTK4jjvSI7DSdS+chjmv5WpDBoXD96LIeQR/6Jjf1nOnqU26lLwCgPU4knEKho8C CskCwYlRwbZTOOf1fEEiiWwS2lixAYUM9iR5rgAfLRDyHfv6lvq1lbOFoQqXm3SAKj2l8g l+auVK2Zw18W/V+aNDCBJnRY4HhIWKFyM/HPdoCipoqTB3zNYDEcpIDMDp5O0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753379203; a=rsa-sha256; cv=none; b=EP5QyHy2ubDdrY62strIjeGBGiuoZXhpH7tly7MFT9JMWYRTVP3zc9zhFcY5nCA2DbOI3Z mHi2mAO+2ArizApPJ9rWrRcAXnqIfE+aUpo3nHkhm9XYAR/cMxfTIX813hLPzKMofBrXpP fUggL+ARPBudtIqxIrDn/T9sGxfD5AFpJqXTpvp0N7h65D9oFtIILyApAfMfmWJt1Pj8LG sUXBTBgdrkKtQ2jWIq39+q7Aeb+ypXA3HeKJ1UYPGy7WKeFYYzzIa3KwyQkmU5CDesgctn WLhvBZGHdXe2oj5zrwHFMYNCbYlay0b3mlWE3gLfqroIEFAIkSx/9af9maXOYg== Received: from cell.glebi.us (glebi.us [162.251.186.162]) (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) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bnz2p4HdHz17YN; Thu, 24 Jul 2025 17:46:42 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Thu, 24 Jul 2025 10:46:40 -0700 From: Gleb Smirnoff To: freebsd-current@freebsd.org, src-committers@freebsd.org Subject: Re: July 2025 stabilization week Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi, On Mon, Jul 21, 2025 at 01:00:21AM -0700, Gleb Smirnoff wrote: T> This is an automated email to inform you that the July 2025 stabilization week T> started with FreeBSD/main at main-n278914-e0838f8a2e61, which was tagged as T> main-stabweek-2025-Jul. You haven't heard from me since Monday, sorry for that. At Netflix due to low man power due to vacation season and difficult merge conflicts we were not able to make our A/B testing in a timely manner. We will probably start it today and have results by tomorrow, but the advisory code freeze is going to be thawed by Friday anyway, so let's declare it thawed now. I will report on A/B testing results as soon as we have them. For the desktop/laptop/soho_router use the July 2025 stabweek snapshot didn't show any regressions for me and a few other people. I did not receive any submissions on regressions. -- Gleb Smirnoff From nobody Thu Jul 24 18:05:11 2025 X-Original-To: freebsd-current@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 4bnzS72dCyz631gV for ; Thu, 24 Jul 2025 18:05:11 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bnzS71MKBz4DcP; Thu, 24 Jul 2025 18:05:11 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753380311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pLykh0P9ASZw1khjCcFkLW8motI4XPGtK8WcQeVNQj8=; b=WPJVNpyGLWsI+gDblEZG9ztJZJFN9QLwEnMm+YMNtOkl0915Dcm8tlX3RRFirnDmylkjqY dAr4dAd3FChN11Xhu+Nnfw8u6yHzS3i+bWw+gL+EIrlNmF7+D2GEIyTsduGgFf/UJDvEJ7 CcOsQF1z2uH9C8LwQnk1VITSmFwtibjSBYA1+9hNm/R0A9aSD1nRi99zBNJ8J+en53IcrB W+T/+/gafv4/JkV2dua13m2TNnOFZ8oiVKj0MjOSQmD7txyOSSK9ZeOf5NOVSGbDA9G1gk nLwPx0mraQlqlVlirE/GU6rfOlMlexZCjz+DrJz15aUCS6Ln5YV3bWw5tJTr4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753380311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pLykh0P9ASZw1khjCcFkLW8motI4XPGtK8WcQeVNQj8=; b=WLqZ3gFTXreGLQ4rg6j1J70HZ2po819ZJpWxQqDio1+JrZw2UOUAfenTinXxmLCk0jVg0L 05+RL8gPyG8zT7XyA3G/OBlAKRR7SRuJNnw1LupRLtZAphFg2h0iLj2qgWV7b26gKWF21H M0Ca2LWuwAWRuYsjj5/oyB0UJfRQJ4Nm2ql1JYVrF6AWZxregXUa5/oMQT7Xc76cbx43hO BqCUETvKCiLxlFe3v2ZThl5vzl1m1CGdhUNRrqTyINrobNBnxfq1mY/flxsOA61JlLrrvG 07RTH6vzx1JwL/DkS1RpDLGPkzMm3OsBqovD1AtAoNxxy031VAhb8PObyAZ+iA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753380311; a=rsa-sha256; cv=none; b=xhBULwZzXY8PtLPEAPQg9iCEmQiKEfO15Poj42edM2MAGhfgZ7xyzfcvtZC7N7Q16NUfmf vx5lH+J6x0R2I1A8AZpl0y+3AhN3GgzsfvF2GMmK1wPNo8vsNYaX7bTc1u99OyYbUOJAgq /s5CLEi7XHF86lwl1GwVW2vi4UYQ84NUSEK7NB7tZQxzbGfrR5wI3COY9NOC1U1m9eHpzY nusW+mpkdFU+64EjxwmCVSlLonBluEwfM3QgI+pn1QDUXNTZhBewaH38o+9Wjuflu7mlnb +x+EKOg3nacs3Yxe5kEJNbfBtzKQiGlKp4x8bX/yQJ69SIIAzMGhMaIR3ofiNw== Received: by freefall.freebsd.org (Postfix, from userid 1532) id 27CC819984; Thu, 24 Jul 2025 18:05:11 +0000 (UTC) Date: Thu, 24 Jul 2025 19:05:11 +0100 From: Lexi Winter To: void Cc: freebsd-current Subject: Re: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging Message-ID: Mail-Followup-To: void , freebsd-current References: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Nzks94e0EeFNKF4t" Content-Disposition: inline In-Reply-To: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> --Nzks94e0EeFNKF4t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable void: > On Thu, 24 Jul 2025, at 14:08, Lexi Winter wrote: > > you should set accept_rtadvd on the bridge interface, not the member > > interface. setting it on the member interface will try to assign the > > SLAAC address to the member, which is not allowed. =20 > OK. Now the rc.conf looks like this: >=20 > cloned_interfaces=3D"bridge0 tap0" = =20 > ifconfig_bxe0=3D"up" = =20 > ifconfig_bridge0=3D"203.0.113.2/24 addm bxe0 addm tap0" = =20 > defaultrouter=3D"203.0.113.1" = =20 > ifconfig_bridge0_ipv6=3D"inet6 -ifdisabled auto_linklocal accept_rtadv" >=20 > Rebooted, same result - ipv4 has no route, ipv6 works. this looks fine to me, so i'm not immediately sure what's going wrong here. i haven't extensively tested SLAAC on bridge but i did briefly check that it worked and it did then. could you please reboot into the broken configuration and send the output of ifconfig for the bridge interface and all the member interfaces, and also the output of 'netstat -rn'? also, the relevant parts of the system boot log (/var/log/console.log, if you have that enabled) might be informative; i mean specifically the part where it configures the interfaces and adds routes. > [1] the server gets 203.0.113.2 and ipv6 address, the tap gets 203.0.113.= 3/24 > (configured internally in the vm) i.e routable ipv4 configured manually, = slaac > autoconfig for everything. Work so far is just on the server. just to confirm, when you say internally in the VM, you mean you are assigning 203.0.113.3/24 to the vtnet0 interface (or whatever) inside the VM, right? so your address plan is something like this: - 203.0.113.1: subnet router (accessible via bxe0) - 203.0.113.2: this freebsd host - 203.0.113.3: the bhyve guest (accessible via tap0) --Nzks94e0EeFNKF4t Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaIJ10QAKCRD1nT63mIK/ YDMyAP9CRkxesqiTlhOthqJR2pQtE9YiH9LUfgrE5GmGBXdrZAD+PAqsMGa7LQtI VzV6FS3KxJPxiCi/7Vl5lYz9Y+F5LwU= =vrHl -----END PGP SIGNATURE----- --Nzks94e0EeFNKF4t-- From nobody Thu Jul 24 20:13:20 2025 X-Original-To: freebsd-current@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 4bp2J31W83z6376F for ; Thu, 24 Jul 2025 20:13:23 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bp2J25JcKz3L8G; Thu, 24 Jul 2025 20:13:22 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753388002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r8UdgYWUA7QzoCiKMdhldFttaznthciN2Hhk8L0gb54=; b=Fmnek1lCyJe8lLg8zs9WzQKtWiOjrfXInUCjw4EqLcwm2WGF0Izs5T4R9yAGnnN9XrHiEm dkNNuIMnWdusnotwhsyAXyTabM9kGimIyUL6s441S+UhTPTwYESyWCsV9jExQgBHkjgog9 bV7YB16BFCSPFNHhu4HwarXOU3ptWxiVNSe9ItjG+c1k1vArrxSduSNkNa9HMljjsm6EyP d2Pt1w71VReF5ZQbV2XeZR/IDrUzmpFPWQVg/cxuFl/fMu/5/EhDEEBVdhBEpIYUweb2V9 lhWw5uoCoNIR/FjgQ9xEh3Yeg5mZGE4heNxCDVSTeI4OhC1MdntCh4zyyOh1vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753388002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r8UdgYWUA7QzoCiKMdhldFttaznthciN2Hhk8L0gb54=; b=qpQmzJMdOQOf2umaMgIelMN2XKDXTPnKZkMRmkae5RofSDibkYiwl3snYN+L9mwyUJr5ZE xGwmoN1TGZxHo6hKx1N/mqUlvhVYH/BM4nDQROFCHSsQV+7SJxT4ZxG9hcjJtfkFjpmFqc XY3fgfHe3fbH5YNZHcLbqL/YVhyCBXV3UTgDnzHgZEsB+TYAQg28g841NKY/ffP1YS3NbU yx37uQ/WLfc9hISnoGMVpg0upuEO7+idYFz9G2FbgaT05cvn2XKOZB0ZtcgILiD+xW5Ai7 spU/AF4tgeWlywJoQVFGylMKhixRLeuWqZp7KS7HaFbR/XzipG6y1gIHL1swdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753388002; a=rsa-sha256; cv=none; b=qnMdNzam73U9d3kJs2SAyy8a+ADxmBXKdMpWUWfJol/JIMoIHiK5IXUworVrHL298E85Dk rLQsDT0dSkNz90GsZCeBkMgS0s9to6LGJ4KLI6N32RDzaEhRCzIkxTiRplaxmDSmiQnARy qjPpoOr5e+4sXQMTl/Y+NbqQyhxpjUXoO+yKxVSZMDPU0aVNPOOmGaoKvbiMOXuJhfEf9l 1wByKBrmrOQ5AiwyJFY1WhA7wfGLfaAFNfkiAzFjqXdaNUMZXX95mXKqvdRBQ7WdGNiVpy RkH7GJvmKIvhod+0WVM3BAf1TraBcr9KMoDyi8FV18TZ1NX93oDfHWDJAXvFxg== Received: from ltc.des.dev (88-177-82-251.subs.proxad.net [88.177.82.251]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bp2J24BFPz19s2; Thu, 24 Jul 2025 20:13:22 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id C27B5ADDF3; Thu, 24 Jul 2025 22:13:20 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: void Cc: freebsd-current Subject: Re: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging In-Reply-To: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> (void@f-m.fm's message of "Thu, 24 Jul 2025 16:41:12 +0100") References: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Thu, 24 Jul 2025 22:13:20 +0200 Message-ID: <868qkd9wkf.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable void writes: > ifconfig_bridge0=3D"203.0.113.2/24 addm bxe0 addm tap0" missing `inet` here. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org From nobody Thu Jul 24 20:18:57 2025 X-Original-To: freebsd-current@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 4bp2QT4TYPz637VS for ; Thu, 24 Jul 2025 20:18:57 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bp2QT2DgHz3RFw; Thu, 24 Jul 2025 20:18:57 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753388337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pt/hrHL3lFtEj/FRGkUIa0gzJlcdis9FZVPXI9MTKSo=; b=hEXD7O+usqoaKg5CUu/e6gLFo30dTqZltPbx8dcyHYb5k/v7U1nzlQv8SZOjCUlmM+n/3/ hQim+vltcUpYk0jw81CUyBwzdzYTMBy3ZtTYWb6KpHwvCXxhVEVsXGuj7uGymyKaWGVGWU EhyloFocKmozK+fJ7lIAnRiaSCZQ+7uyN81CtY5c0l70behaNObDlgh4+LsqteCSwkq7i0 RxPuVPSf3BwQgv4oihqnzpfNnbQ1f3bs9D7ZA3YwPriBNzUe7nvnvipg0hQf4/c1kv52Wm V85rxr8+0x5srfbwAPTbEm73wVHCs1RK1+uB5XtgENbOifqXjGG3bmcsvZ2htA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753388337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pt/hrHL3lFtEj/FRGkUIa0gzJlcdis9FZVPXI9MTKSo=; b=JUA4GwCff8ivXqujA0+SaHmGBdV7y95vAf75qboRPRPi2M2XKdwcxsaptlDX5uopHv2qVb uToYWfCAiAuNv+Nh9kdBRvCcGwWErxxVPUQtaqT5OMZ/Fql3/Ol4snEYgcoHA90gFfLkMe rRR0FJgv3HCu29i/lBPovFx8KM+K/GF+5Wn7YPS72mULvrOq1yKbbHcZ1xmM485Oog2sSp ssA5O04Q7DNC2b+cqz1zXAttY4qUcNUJc+K+nlD0wvnZGb0tQxJPkyCgAx1MWI19snx+aR 5HOB+sx4/tUbWSsj0d3CdHuLKJo5YPMNXrkhTtny6FHhJnvl00S5riVjNHHJ9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753388337; a=rsa-sha256; cv=none; b=MDt8CcUzdTw3ySqh92CkQk5vC939phwHZYUc4O8SdZSXj5Sz/Mizt1FCO0srwjYdjesFmC BUAltRGzM0s6aG4Ma0QqAwtDE6U8zMN4aaA8ZZhIHaQsVLkWSVvSIsadQ0SH03LkrBVdjc jOlC6Q92KybfttYMc4qsL+TdhizCiYEAbMIleWPQ5sPIQEuIruwcTeXfy+1UV8++ZIIkkr 7535oSmt/JlDQQwm+E3HXXPEVnFo+l02seKkekXdpsAoAwcpf4tiLA2qv7a6ie0YUwXW20 B54a/64GRdPc4lGj+eNqVDf4w9Y2yhGOMAVQdS6C5+6EnPdk2f6hsJepMtxo4g== Received: by freefall.freebsd.org (Postfix, from userid 1532) id 448C53ABC; Thu, 24 Jul 2025 20:18:57 +0000 (UTC) Date: Thu, 24 Jul 2025 21:18:57 +0100 From: Lexi Winter To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Cc: void , freebsd-current Subject: Re: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging Message-ID: Mail-Followup-To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , void , freebsd-current References: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> <868qkd9wkf.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RnJps/ONQlZmu+19" Content-Disposition: inline In-Reply-To: <868qkd9wkf.fsf@ltc.des.dev> --RnJps/ONQlZmu+19 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dag-Erling Sm=F8rgrav: > void writes: > > ifconfig_bridge0=3D"203.0.113.2/24 addm bxe0 addm tap0" >=20 > missing `inet` here. not required. however, i think it should be. the problem is if we start requiring this it's going to break *everyone's* network configuration and i can't come up with a better reason than "it's neater this way". --RnJps/ONQlZmu+19 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaIKVLQAKCRD1nT63mIK/ YM5dAP4xsq1otRO15uASCg2i8+S3BDa9bwMMjBYnZfs8+aQK0wEA5m9jY1goE99y cyaiV9puo7lXd3v6BckWQ/RJNrVCLAg= =ncbz -----END PGP SIGNATURE----- --RnJps/ONQlZmu+19-- From nobody Thu Jul 24 21:41:17 2025 X-Original-To: freebsd-current@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 4bp4Fj6nLmz63C6s for ; Thu, 24 Jul 2025 21:41:29 +0000 (UTC) (envelope-from SRS0=YNl9=2F=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bp4Fg4s04z3JXh; Thu, 24 Jul 2025 21:41:27 +0000 (UTC) (envelope-from SRS0=YNl9=2F=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=quip.cz header.s=private header.b=RdA01Cby; dkim=pass header.d=quip.cz header.s=private header.b=vxXPoUy5; spf=none (mx1.freebsd.org: domain of "SRS0=YNl9=2F=quip.cz=000.fbsd@elsa.codelab.cz" has no SPF policy when checking 94.124.105.4) smtp.mailfrom="SRS0=YNl9=2F=quip.cz=000.fbsd@elsa.codelab.cz"; dmarc=none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 86237D7893; Thu, 24 Jul 2025 23:41:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1753393278; bh=aud2icmuklJgPhu8KhKaUggwp5PNvE9vBJKjdLC/jB8=; h=Date:Subject:To:References:From:In-Reply-To; b=RdA01CbyqbaMrlbUwqfa3QOIMuUJJWJaPCdC2SfkmWLxAulKLYbBxqwC49K4RZop5 2OLGj4/khQ2C8Q5NAandzat3DPLxQNpgrVC+8ccTYZqGFt1ovSARr5D9044zNrHuJT GMe5v3egUTpLlvmKc7ygsGYkVhmChZPPp3bKon6E= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id B18F8D788C; Thu, 24 Jul 2025 23:41:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1753393277; bh=aud2icmuklJgPhu8KhKaUggwp5PNvE9vBJKjdLC/jB8=; h=Date:Subject:To:References:From:In-Reply-To; b=vxXPoUy5YcUnx//VKPvZ2ScvqByOulyyN0JGn/LrxGvkZmeCawc129Wg2P+17xeOP gVPzhxn3IsKS+IZk6EIJJjuM2IrSM9BoUsdD5K9Q0pBsJNV0hcQMGOZHU5nNNvWiG3 X92UX9DmaofQxHmtrPCWazualFfgCekc9diMYiN8= Message-ID: <21cec060-6e1b-4ab3-b0ad-b67c5a7fc288@quip.cz> Date: Thu, 24 Jul 2025 23:41:17 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging To: =?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?= , void , freebsd-current References: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> <868qkd9wkf.fsf@ltc.des.dev> Content-Language: en-US From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.74 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_SHORT(-1.00)[-0.995]; NEURAL_HAM_MEDIUM(-0.74)[-0.745]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=YNl9=2F=quip.cz=000.fbsd@elsa.codelab.cz]; R_DKIM_ALLOW(-0.20)[quip.cz:s=private]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[quip.cz]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[freebsd.org,f-m.fm]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=YNl9=2F=quip.cz=000.fbsd@elsa.codelab.cz]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[quip.cz:+] X-Rspamd-Queue-Id: 4bp4Fg4s04z3JXh X-Spamd-Bar: -- On 24/07/2025 22:18, Lexi Winter wrote: > Dag-Erling Smørgrav: >> void writes: >>> ifconfig_bridge0="203.0.113.2/24 addm bxe0 addm tap0" >> >> missing `inet` here. > > not required. however, i think it should be. > > the problem is if we start requiring this it's going to break > *everyone's* network configuration and i can't come up with a > better reason than "it's neater this way". Well, I've never used or seen the ifconfig_XXX variable with IP in rc.conf without inet. So if somebody has it without it, it's probably wrong configuration. Similar to what has "changed" recently with IP on bridge members instead of IP on bridge. Kind regards Miroslav Lachman From nobody Thu Jul 24 21:52:17 2025 X-Original-To: freebsd-current@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 4bp4VH47YCz63CTW for ; Thu, 24 Jul 2025 21:52:23 +0000 (UTC) (envelope-from void@f-m.fm) Received: from fhigh-b6-smtp.messagingengine.com (fhigh-b6-smtp.messagingengine.com [202.12.124.157]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bp4VF6BMyz3Rjr for ; Thu, 24 Jul 2025 21:52:21 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=rCaWKsn5; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=fE0dySUY; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 202.12.124.157 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 4CFD47A00C0 for ; Thu, 24 Jul 2025 17:52:20 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Thu, 24 Jul 2025 17:52:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1753393940; x=1753480340; bh=fjdimpIec5 AReSu9iOush45KJsrvgatr6hwu6ny7xBQ=; b=rCaWKsn59GackiOhCb/+nf8ZL7 lHqnhHcW9LkV5/3va9izyz51M+OAWEtco216iU1kcdio+BCfVuz3uELcvUglkduy LjPd3mtIWt0b1zOqJFWY0J7oEUkY5tw8gQxIHOXJebdig0pufjnWTeGfSabO8lzE WzBFaAHYi0eYqNWvaAHXNSZr6S/qbtz13VE3sKgS3IOdPwT9gjNz0j6kQlN3eNke jjoujn6YExckGFn1bI+Z+a9SvjX3m0SgKHp0F/dTXDHIzrMiYh1XshIJrfk7lmiF JhSGDKZI1WSZP9VMRXMNEl8rt2teBv9k2rkNrammVvfK3GHkUHpm621bTNRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1753393940; x=1753480340; bh=fjdimpIec5AReSu9iOush45KJsrvgatr6hw u6ny7xBQ=; b=fE0dySUYkv3wsKh/n2ZJM4iHdsklX8UM9nJdXn3H5FZ+vGfsBaW BAxMbn0RclK4cvsiXfJet4qK82fWe0qhrNWzrnwKFYc+i+1elJUXUnsOdKiEnH9L mL6hmYNAk7pmTWSdoX73wj4MF32/NYEF/HukifMrFvnNMLQFPd2bp+WEo8d2KoSN tmKykiGt6LpbxI+TJ/uMI7lljZPSC5Kn9RSSWebrjDqHFjBJSEb370tocrIo8fLj /OQtu+b9h1K194PnFHo3uFepxWcJ1vjwKW3kHK9ChHD+I+ENmswFLT8YSdQPcsvf 94qciJn6wGvDYAhuGzq0CZvl6+Gd6jv5Nrw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekudejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertddttd dvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgv rhhnpeekleduvdelhfeileefgffghfffkedtheellefgudfgvdegkeejjedutdehhefgue enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehvohhi ugesfhdqmhdrfhhmpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehfrhgvvggsshguqdgtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 24 Jul 2025 17:52:19 -0400 (EDT) Date: Thu, 24 Jul 2025 22:52:17 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> <868qkd9wkf.fsf@ltc.des.dev> <21cec060-6e1b-4ab3-b0ad-b67c5a7fc288@quip.cz> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <21cec060-6e1b-4ab3-b0ad-b67c5a7fc288@quip.cz> X-Spamd-Result: default: False [-0.37 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(0.68)[0.675]; NEURAL_SPAM_LONG(0.55)[0.551]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.157:from]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bp4VF6BMyz3Rjr X-Spamd-Bar: / On Thu, Jul 24, 2025 at 11:41:17PM +0200, Miroslav Lachman wrote: > >Well, I've never used or seen the ifconfig_XXX variable with IP in >rc.conf without inet. So if somebody has it without it, it's probably >wrong configuration. Similar to what has "changed" recently with IP on >bridge members instead of IP on bridge. Fixed!!! :D This works: cloned_interfaces="bridge0 tap0" ifconfig_bxe0="up" ifconfig_bridge0="inet 203.0.113.2/24 addm bxe0 addm tap0" defaultrouter="203.0.113.1" ifconfig_bridge0_ipv6="inet6 -ifdisabled auto_linklocal accept_rtadv" TYVM everyone :D -- From nobody Thu Jul 24 23:20:37 2025 X-Original-To: freebsd-current@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 4bp6SG4dZtz623kf for ; Thu, 24 Jul 2025 23:20:46 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 "ultimatedns.net", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bp6SF6QQ4z3Dwn for ; Thu, 24 Jul 2025 23:20:45 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ultimatedns.net header.s=mx99 header.b=aheQYkJH; spf=pass (mx1.freebsd.org: domain of bsd-lists@bsdforge.com designates 24.113.41.81 as permitted sender) smtp.mailfrom=bsd-lists@bsdforge.com Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 56ONKcsI037530 for ; Thu, 24 Jul 2025 16:20:44 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ultimatedns.net; s=mx99; t=1753399244; x=1753399844; r=y; bh=DKR6CUsATRyOBB7qv9+3sLpc9fGVv8GQqP7i/721f90=; h=Date:From:To:Subject:In-Reply-To:References; b=aheQYkJHOmdlRdiV9GdMk7Jf6DrmO+Zi9Gq1tDRyomskF/mRAYdO5TJ4jLQpWOb+8 oLlFbV846VA4OYThvetDjlcMqn9GaEoJx8SFawLRwLcewQPaZ+6MFEm7lw/WydWqfR HH38mqAZWMzyW2nMleiAY8s0w4A6R6sTINnJVRCUhTCKhP9GFI0CP2pIjQVzu434HE BbqdRYtcyoF3l4ev0gSA8BeXha/3+jnJognNpAhz9cDkN4cQCa+qQEJC4mmEcDwaQ8 c5MNPjx1qkSkol9HketmLuUIjTg12wK9j4sbCMwD0vILdiFNs1+mZCAJsnmT15i949 v6I3JtJ4vYI0g== List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Date: Thu, 24 Jul 2025 16:20:37 -0700 From: Chris To: freebsd-current@freebsd.org Subject: Re: ifconfig_bxe0_ipv6="inet6 accept_rtadv" seems to break bridging In-Reply-To: References: <756d400d-fa0f-45ea-ba24-235234ee41ff@app.fastmail.com> <868qkd9wkf.fsf@ltc.des.dev> <21cec060-6e1b-4ab3-b0ad-b67c5a7fc288@quip.cz> User-Agent: UDNSMS/17.0 Message-ID: <6c28ac48ebdfca06e91347e6b514e2d5@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: multipart/mixed; boundary="=_91215c5a750500bce686ad3a09bb51b2" X-Rspamd-Queue-Id: 4bp6SF6QQ4z3Dwn X-Spamd-Bar: / X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_ip X-Spamd-Result: default: False [-0.20 / 15.00]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[ultimatedns.net:s=mx99]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; MIME_UNKNOWN(0.10)[application/pgp-keys]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[ultimatedns.net:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; HAS_ATTACHMENT(0.00)[] --=_91215c5a750500bce686ad3a09bb51b2 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2025-07-24 14:52, void wrote: > On Thu, Jul 24, 2025 at 11:41:17PM +0200, Miroslav Lachman wrote: >> >> Well, I've never used or seen the ifconfig_XXX variable with IP in rc.conf >> without inet. So if somebody has it without it, it's probably wrong >> configuration. Similar to what has "changed" recently with IP on bridge >> members instead of IP on bridge. I vote for it being required. :) > > Fixed!!! :D > > This works: > > cloned_interfaces="bridge0 tap0" > ifconfig_bxe0="up" > ifconfig_bridge0="inet 203.0.113.2/24 addm bxe0 addm tap0" > defaultrouter="203.0.113.1" > ifconfig_bridge0_ipv6="inet6 -ifdisabled auto_linklocal accept_rtadv" > > TYVM everyone :D -- sent from hardware written from and running on FreeBSD --=_91215c5a750500bce686ad3a09bb51b2 Content-Transfer-Encoding: 7bit Content-Type: application/pgp-keys; name=0xE512722F.asc Content-Disposition: attachment; filename=0xE512722F.asc; size=3074 -----BEGIN PGP PUBLIC KEY BLOCK----- mQENBGf/G0IBCADARuJc6IcwOe3jv7dQsP1X/EIHvCFExPbTmlMNFMXbMMccQUnV o8ayEn+wmTvPhw7uL3PDk7DQs16W1sN2b8UMFc804cVWNGtoG3rA+Np+TFEYlXJx eh5Q42VHptkuwzHKl+q2utkpRlS7uHyfjsInQAoHxLyi/wrsaZTHHhDbLLhJ5Ez0 arohQ2Q1w0M5e9rW8Fy5rpC7RpC6uO1SZMxcbdqURI/BBqxbiD1iW62cDWFkfFX+ dtaEXghFV7BIBMDSrgIunGoEfdMZgXys7O6bPWn8z0cuOZIPj4HrjoCYARyQ+sdc rjz/k06SLM/UvEZDorJhT4DbYrwMNvaPWJiPABEBAAG0HkNocmlzIDxic2QtbGlz dHNAYnNkZm9yZ2UuY29tPokBNQQQAQgAHwUCZ/8bQgYLCQcIAwIEFQgKAgMWAgEC GQECGwMCHgEACgkQVKBqaOUSci8bSwf/fK3QcTYXRMrv82HIp4SiGCSD7/bRmyWr ipv2vzknGFHxPBN4AEWIqF/U4j5oDXaodyU6xsy59Z47/lgbyzyZiVR6nmJVgZVf el/EgwnLt7ZuYGLLEhIN2pd9itJkB8PMPZrUHMWgIw8BxX5YFYGuyiNe9pGn0Coj 98t/v3fouhqksH+BpB4TBHJBBDSxSiMm66VTJX4Xcnpf0ZnQVP4GBuoyodnFBfdI wqftPLESsCC08lUhD2j7v2NRWwMi/q3ed8D6VCKPImBByYnBZL5gu56K5bwqaQfN itu06APuIYnG71qxgn1EPO63lovWP5NZGgOKvzs3K+JfPF79BiOUFbQjQ2hyaXMg PG1haWxvcEBocmNvbW11bmljYXRpb25zLm5ldD6JATEEEAEIABwFAmf/G0IGCwkH CAMCBBUICgIDFgIBAhsDAh4BAAoJEFSgamjlEnIvBH8H9RGwzZuU6+zvH1WjQa97 yWpEt9rC+BIBJThev2Cpls2LqBqIeIQVZPnyLAZWgFaiezL6+xbvcNt6OnfidIYa x8iRwCMC6/Bs8H2Wef9qfGxXi+jHPLYQk3juiZVmBhIK6FJZkzaW4wSiawofwzbp zqNxO8dZ0j4foaJZrNi8iqsvKjiiHoSFaJtumIThAeydI18CNLeFaS53sk5nad6I wCYeFKmJ/22dMP7DOFEgyG1iNYgY+AGREMkEsBiLpqYjJ5asK+1UdUy/TRly1hOt HHxCiX0Fh9ZYM2vLIj7sq4LKaMPGeYC3qTqBYugVeyz7LkiI2ft/BKveA5JxuYKk ZrQiQ2hyaXMgPG5hbm9nQGhyY29tbXVuaWNhdGlvbnMubmV0PokBMgQQAQgAHAUC Z/8bQgYLCQcIAwIEFQgKAgMWAgECGwMCHgEACgkQVKBqaOUSci+4Bwf8D0Ogk2/X ud/CsAgHozwzKPqfesL5SRWM14hLnU9/EHoplnZgNexbVY1wXIi2FYPo5cve9QxW Nmt3S3UTF9j2fGqv0wmeHv3EqogFUHnftLyWpbeTPOFDMIQp/BOD6ygfeXxXWxRT L6zvUkSrDtHvkQHPWGRxwP+ihWjpw9AQR/R4/qAuTAZZM0O7UnJEo4mWXatl+utF wegG2giwFTTxfF+1rMpFtUDjYCpRQ6ZmE+gC1mHUMoH7GJMQv12DbqwKrxtwGfd0 AJNO3ZDnxl24BmIfl1YqQGZQ5iIH7At4YItESbU45hoNNsG9oDrsil78EUCAtXHd UPScj+eXaeAkgrQfQ2hyaXMgPHBvcnRtYXN0ZXJAYnNkZm9yZ2UuY29tPokBMgQQ AQgAHAUCZ/8bQgYLCQcIAwIEFQgKAgMWAgECGwMCHgEACgkQVKBqaOUSci9o7Af+ Lwu5hJlI5HZNGwAll7QTIFZVW+y4OEg+amhxTDGbAAqlnSIkHC1KgkmIOOrThme3 kTFCqfIIsuP73yKxHq6kRG0zH5/7asAPNAUOfzD7B2o/gMyuTRKyG5r9f3UmACr4 6qvtFhIwROXr6+NNT2IKg3l0/8F58A0N/TR8D2PTHeo4x6jYcZQDCrCy7BAdk3cu V16k4z/1UzRa07b5McezbWL20cIaZ+dqNcCjKZpzPlTyTCGgrNNtaDpNVhoWUKMB YNcKql+tfC1IpX8l+IU6OBKcDKMkQojvO1QrZqY8MDJGo8jq/CtotQ8+IpAai3Bx dQEsxrxlcKTR4rUqvd8VGbkBDQRn/xtCAQgAv5Nv/aQN72xsLik+K73PJwpUmyhu vnI6stM6dSecylXVHjZ7C4n/m0eQEeQCl+9lByHR9N8H+WS3DtAd4pmciiIxRQLA JZiuaLYcy9ziy1h7130VoR7hhJHzo9FIhWkTGlCDX3egUZrYhMiwFUO8lNltLB8o TBvIrMSsnUzawtQjq/otv0Jf+oBPbG+gIYnAm7w6r86n/l+eVxf5eEoS7wV0DJfp b2jE5zWErWk8I/tq4e8T+1VQeVQR6wz+NrUCSxkPkpNAm19AFUHOk//yvMGWVlDW F6gr3ErN2a0w/kZ0lz3Msxsb87QT+MnJf/T3cuEqdTIoSk74BfNEAdMohQARAQAB iQEfBBgBCAAJBQJn/xtCAhsMAAoJEFSgamjlEnIvyvIH/26zytSVNDaxtprg7XtX LerIWf9RyVx8omCw/lXKRCcgkfwD7QR+nSZ0thWOGMpcnivjuReeVRkz/webUF47 BXJ/Tge07nrxdtyTIHBbp35fPIriaKaII6YWc2Ufdxwv+cD8PADS6gQWAlgrWLmn VmYtyHs4kwtiPZyUyuBdWnZal2GyYY0WVwYjvbk95eInwOaIdoTjesJ7ZhUFu155 r4hh9GlvM0uv8WJ5Mw9wvHa5fIM205I5g0IWC7yvTwwwKHlV4JQQOqMwfv569OEl 1GKqA12nSVziB1+UV+I0NqOABWi/MOi+IySPzYP+XgdPfRNx4vmoHYZwWOQ3t4Jd TEM= =oj6y -----END PGP PUBLIC KEY BLOCK----- --=_91215c5a750500bce686ad3a09bb51b2-- From nobody Fri Jul 25 06:39:08 2025 X-Original-To: freebsd-current@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 4bpJBf6QDXz62W3h for ; Fri, 25 Jul 2025 06:39:38 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bpJBf1W8rz44J4; Fri, 25 Jul 2025 06:39:38 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-e8b3cc12dceso1358020276.1; Thu, 24 Jul 2025 23:39:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753425577; x=1754030377; 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=H0SPjR0CTEteKZqT7nEnXT3kIDKGEvoplEGk9WaNQVw=; b=nsHfgER9KpS2PVv5IaIMPZ/XhWzI7hCG8ygKJPmlPWHVEFfue4HR17Wc/GD9MXh5Jn kK4oasUOR03ktzO6gFR5KV6oDhUD8NufU360pFE2NLUBI/0NisZ3Ilc1MmDTBcpSBDTC igLIrRfgeJBYo58TiJ3JoUWCJs4B8egU+9LV0A1tPPP+K4NxmF9cLeI6IxnKd6SsZpQn j/TqvRd9hGDQRVJJA8FMAHRhwP4I8ZYT60QlmjM6ZmH8+uD9BWUCBtJMhmTlSJuTfpzC KGpFmA4JNarIUCo3JcU40rxYkvLJdstv8DrVVRmannvLC7T+qN0DL1KflYPSIZN7N2Ww m0lg== X-Forwarded-Encrypted: i=1; AJvYcCX59vtjwdhtt85vbI353SjokfBvgWwt4cPNmIztIBDJzmlAt0W5nfc8FGmhAgjOPCi1MilYNV/h2Hj2PZjhmQ==@freebsd.org X-Gm-Message-State: AOJu0YwJ0O+POyyx5UgOk883RiBLuFkkVpwkpFMNYtCpwM09qjWuXODO uJWXbVUPjx8I7ajmntmt4JzsM1x+Gynjg4dj9lAvsP+LmE0Djyr5lYp6LGKDGvZc X-Gm-Gg: ASbGncsk8KEk255Cvo6Yn4zUJv2cYSD4GHQqrNUQlPYtpPX3uZG1irspPzHP8XuL8Xz WQQziiXdnlJlrcVn95V6pRC54GnZjgHMCkt1zn2XB8GMlddb/ooV5bPe4jJwZs2s13ncjCo0ez4 uv2/uhHd+ladyYp1fDZbjiNVVi2rgpCDXMy0zuh/0pdICbcIvnKKtpfO/PeyHYryyivz20twIlm 0OxMOhkr354qXqf1VYbEop0HMLi0kTgWGnCwRQTJDaMkM0UcoGa8yi0v7VqninVM54ID445DFA8 i2CNxHA/+pzM00SUo7dMza+Wn/pBETJTN0Fjp8mdpoBHC38AiVZR95b1longQwpqI0df+NjzAId jAnVID033T2XaJq5mUx1lIjXyf6SI/SAGwDJRuxcdhUNLb/bS8J9Sdr0viwIPvg== X-Google-Smtp-Source: AGHT+IGyl5rcfH/EV0dBFiPqeEKw+4Dtrp13Lurn8qvBg9iwERwTOK8uGEOz/LZZHA/ODaGQXQ5Y9A== X-Received: by 2002:a05:6902:161a:b0:e8b:6236:ef0c with SMTP id 3f1490d57ef6-e8df119cda9mr554780276.11.1753425576842; Thu, 24 Jul 2025 23:39:36 -0700 (PDT) Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com. [209.85.219.180]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e8ddf13ba9asm1008871276.7.2025.07.24.23.39.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Jul 2025 23:39:36 -0700 (PDT) Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-e8de81019d4so857844276.0; Thu, 24 Jul 2025 23:39:36 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXfX53+QBcgcFZxLPN/mjUeXNPTc0SWX0qsU9F2rKAIZMuuL1lCdJLgwfdmkFkDBdRWLmhhD+Nb09qmzVb5XA==@freebsd.org X-Received: by 2002:a05:6902:600b:b0:e8d:dc99:30a0 with SMTP id 3f1490d57ef6-e8df13892f9mr550076276.24.1753425576286; Thu, 24 Jul 2025 23:39:36 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Gleb Popov Date: Fri, 25 Jul 2025 09:39:08 +0300 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXzxpCv6-m667hJg77mcD6wvDyVMGgBatvzNDzth0IOf0HCiNLyMbY2jCdk Message-ID: Subject: Re: July 2025 stabilization week To: Gleb Smirnoff Cc: freebsd-current@freebsd.org, src-committers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bpJBf1W8rz44J4 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] On Thu, Jul 24, 2025 at 8:47=E2=80=AFPM Gleb Smirnoff = wrote: > > For the desktop/laptop/soho_router use the July 2025 stabweek snapshot di= dn't > show any regressions for me and a few other people. I did not receive an= y > submissions on regressions. +1 to that after upgrading my working horse system. From nobody Fri Jul 25 17:35:18 2025 X-Original-To: current@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 4bpZlB5gwjz627h9; Fri, 25 Jul 2025 17:35:18 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bpZlB4ybLz3NgX; Fri, 25 Jul 2025 17:35:18 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753464918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=mGuLZ3vOHKnYDeMhFAwl/66Wuu/8Tb7H6hMHke1zwTA=; b=Otw41qc8HBS7gTTo9z1pOUSbQT+zGFaQYgHAJaUAiG5tUwu78d3+ugx6fl60FYFs8roG8/ ZPDuL9RVeFJ9KfdJC4ATKW605jru5xSgagh+BsJ4KmcYU3/Bgs0mKy4k2mqv1u5f/rFBHd PE7Gk510fOqbTZq9X6OKeXyj282MqQNJqDhJjSz5GRurVZIJvAMV55SVZ+9YeUhBI74wM/ fGoV0lljsVKr00g5Qjc91m2MpWtPhNnTyuTbdB4L0Uqj7dX+DjI3iPVpChLR/OKV0DkkfL onp6Yzd3+i3kdQL4SmMQyMw/t3Mmow5CuFl8yUSpZejNI84yoynBlFkOUTnxyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753464918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=mGuLZ3vOHKnYDeMhFAwl/66Wuu/8Tb7H6hMHke1zwTA=; b=yjv3F+AZrgc5ciqncaCgiEnOp2++vxCKBlLcNkSfIGByxs55CbVb7syidmC/RLDcZ7sHxS gOKkTC+jT2e2HFyemMkrSH4G+jVWc2vaSjF6Itz4vtQhKATDnvwBJYKvKadsH9T7VeBsnk 0Hdld2q0i0pwl32zpbzrvnq3Dpc7uXnI0Hf1pSOXWCabRRAlSU7tl/vOzzLoaqcY0GRRXv jdfU7ifCFgU4Nzi1cFL6G5OYBzgj7xV9ofUhKspSyjRvaeKnPKhtGCd1FZBcHEKsIEFB3S 7tIOKzwmNa/6pWX+H34XiJuybzh+vuuWiGWwXK33VqeukEDRFfexuJ25n4gKVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753464918; a=rsa-sha256; cv=none; b=SQ35qScoblJAwLIG4SL7Q3tW40pPQ88l3Ueu3FXp6DQ8XM8IeMFJrE26VzdKuvaHMfbukN dYadURaKdOi96FQnnt4TsTlSwBqydjClK+vq1SGsZhXnqn79AuJ9+bvT5AGxbxFjyvzBM/ BgcflFBofw0SjMTo8YIk8BtItXcrm5lpFM+DLnqVsu3SZ/LFjhEzATOMYwZdma1pf0s2+c 7rf++X3YgZjCBAENBylIPOJjJEw4ZIsBZEdpuJORhNGjPeXTnCY9R5ATPxO/sxnQ8hYARD xa+bd3489oYtLkLCjS5AYNCY50zY5MiCNBxDEzw0op57qUJVII1GYdrEOVYeRw== Received: by freefall.freebsd.org (Postfix, from userid 1532) id 900BE176A9; Fri, 25 Jul 2025 17:35:18 +0000 (UTC) Date: Fri, 25 Jul 2025 18:35:18 +0100 From: Lexi Winter To: current@freebsd.org, pkgbase@freebsd.org Subject: heads up (15.0 pkgbase): gssd, kerberos Message-ID: Mail-Followup-To: current@freebsd.org, pkgbase@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9O5gTlPTR5FkhP0k" Content-Disposition: inline --9O5gTlPTR5FkhP0k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hello, the FreeBSD-gssd package has been added (76446b5aa350). the FreeBSD-kerberos-kdc-dev package has been deleted (b98d0566b2bd). manual action required: - if you use gssd, you must install the FreeBSD-gssd package when you update past 76446b5aa350. - if you have FreeBSD-kerberos-kdc-dev installed, as per my previous email, you should remove it. there is no replacement package since this package and the files it installed should never have existed. --9O5gTlPTR5FkhP0k Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaIPAUgAKCRD1nT63mIK/ YOmUAPkBC70n6GurzU6riDCp3WrUr1rW2zbQMwBUdKOVZx6kxwEA8pLwF1eH/4kq X/6M+fGUD2p00b+VsPOuVWFU30jZAQM= =f4uX -----END PGP SIGNATURE----- --9O5gTlPTR5FkhP0k-- From nobody Fri Jul 25 17:44:39 2025 X-Original-To: current@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 4bpZy02Nvwz628Bp; Fri, 25 Jul 2025 17:44:40 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bpZy00FxYz3Z54; Fri, 25 Jul 2025 17:44:40 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753465480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+WzKRNh2hqgUnCwML6nOmy8F/sVwR9qEpDhwnIsIZdc=; b=objLIBe7HNfQ1rZSniv7GS3JmKSd1tES5DophHvK3V8MPtrYecvr6F+qRvpeQFS3NZQZTU hLteD4CXaYLfo4wQRnPVjUTmcF19zY/L5IN7PmwddVJMDwMKHuanGTLaTjTopEF6LYfUA8 GjspbQ5OnoCVY0pW+6pm9kXRi8x0GXc6BIovSLmVSXocfCk7KscoVmSpFEMW6J9A4O8Aoz Rz6Nr5D3SkddtEkQWAWOIn/+nzK/T9gwBqp5sw1c7iv3fxejm8UyvofuWu+cJop4L0mcBt 1GW+4kxYsbbhKexOcZO0wbUuZjw72lhanTDkoQqHBt3gPSlrFqstb0im5CbYzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753465480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+WzKRNh2hqgUnCwML6nOmy8F/sVwR9qEpDhwnIsIZdc=; b=ExeviUsJrQ2jFuW/3VuiagTHopeCHZ41L+Ap/v9yd3XaggUcmdFAtmeERbA8WzPFxO3WrJ a79yG/monoTii2pyXOQHH+0jEkcVtJNUoZgiJO/c24ikjRtcnYOzKABZWdSuubNzQej6/Q EPeC4igNgTnKSwY590rQxYRTESUyXaKXSnkI55CHMYF8YlOXP6W/VfgMByb2KUeFLlfuzE Z3lT7HTRBsoJzNjlNVyLSYtQEUw6Fo92gCcJF2WljTcFPlmIm+tsWljXbe9iotv9/JclqF ukyixv7z6Z8Bpgvel1gtZM8CrLY2khsBWXHWxoSdj+dcAK4xeGXH8x3gjoi0Fg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753465480; a=rsa-sha256; cv=none; b=RpmlOfggQStPYW9gXSRQDc7XekWVlwEIRDmbDVSZl+yVQtx2DZwrD/vDpJaVW3Trgzcu1Y tDk+16bfe+umQQc9gyw/4MlMwEcdUS3FJxvdW0B5nT27Rkl7myhQdh3eTI3KSxAYMPx25e fuLx7FCAqftZTPpmdpsMF9/YghMr5a5/9MVE0jxhcpShcfaVkqdWKPdtT7VWoqe2LLUZNN VGmH+QFnqBoXNNYdA2MzgqiMQOqo3CnSzkyZo85f2eTwOtGj7oXMGJUtrwibLAGCZzN0dF ORrtX0DW69UHoXxbCqOrxERyCyYOBwFYjdUlaCpG/Sy+WHYj7VRajO3C4HrFjg== Received: by freefall.freebsd.org (Postfix, from userid 1532) id 022C71BF3B; Fri, 25 Jul 2025 17:44:39 +0000 (UTC) Date: Fri, 25 Jul 2025 18:44:39 +0100 From: Lexi Winter To: current@freebsd.org, pkgbase@freebsd.org Subject: Re: heads up (15.0 pkgbase): gssd, kerberos, kernel Message-ID: Mail-Followup-To: current@freebsd.org, pkgbase@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5Ywe5mTiMTd+nF4c" Content-Disposition: inline In-Reply-To: --5Ywe5mTiMTd+nF4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable sorry, i forgot to mention another change: the online manual pages in sections 4 and 9 have been moved to a new package, FreeBSD-kernel-man. if you want these manpages, you should install that package. if you install a new system using the pkgbase installer (bsdinstall) =66rom caddfcd546e0 or later, this package will not be automatically installed. you should add it manually after installation. this will be fixed soon by D51519. --5Ywe5mTiMTd+nF4c Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaIPChwAKCRD1nT63mIK/ YBE1AP9NVmJNxDYt95w4qtbPMTDMCXlAYYUavJ+GbZgoZUqzXwEAq1Ed9NaQDYDp 4UiG1CIVn6xzPbDLDm6oWG2BynXP6QU= =ZOBH -----END PGP SIGNATURE----- --5Ywe5mTiMTd+nF4c-- From nobody Fri Jul 25 21:37:11 2025 X-Original-To: freebsd-current@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 4bph6L1S9gz62N4Q for ; Fri, 25 Jul 2025 21:37:14 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bph6L04GPz3XWg; Fri, 25 Jul 2025 21:37:14 +0000 (UTC) (envelope-from glebius@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753479434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4HjnHlZQfiYKdGXRPe1TfeqpNRE6lkIePm+rVg/RLkw=; b=VoNCON9ZEEnr72t7fu9ktM75WoKOvKYf8du9isesiibix3adCWm5B1aqe70m0SRCS49BiS u1APwjrrMfCbNDNiRHZNnkGP05f0xaDrun/0W2E/f+AVo1vXc8nT2CPzFlMhEgdGJg8BuD 6gY/SHa6lvRW/vhXLpf3o8e/fIUW+fThyxdGvFgN9xccPE/QcuNtn2SCHj/RKLIBVVMcOI 2aZk3stQcrKEdLiKkOe6VIfqD0rn97AZIMVvLuPkDWhp0JVnPkuo2lzCu67/kbRRm5wT2L yDUub4BjOEzqFWHB35pdySQiQKQ9wx5ICO9/BlwvJ9vmiDG3Dh7mmhYUXx+iuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753479434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4HjnHlZQfiYKdGXRPe1TfeqpNRE6lkIePm+rVg/RLkw=; b=HcAYHxbCah/zbbhE0RA4B0JnefreGqS7pqACCPdcbPokHJTMD54+ECq9lOxrmgoqUMxe9S gwK0SNgga3b/2vcWlrganXOpash+K+M2mMb6Qffw5jocsGEbW+ryMZcdTs480YzNK3oQXw 6SxrpKvlVXunqif5v6JHDH69KFMO90uaIis7POYUYbkU7dEG3IMat3D6oCXiDk9/79Ysni ZR5chA0TDmYzpSwhgLvahlBaQznGYxr1P/obumragj6p0Hs8KXGRI/BXPNof1E6XhKmbH1 CZ3bJeHjeTfMroNVLFjIDsw+AYsmrNh3DoDKQmnPJNHtGTAcnFcqwuJ2iJrc6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753479434; a=rsa-sha256; cv=none; b=axJ1n77fHWT7ZtAY/tjJoIIrtwfGI8UpcveUepTYpdpf/99ymY51vuTntiC0CrAO1ymCaV em+K8mC+cWFM+BX+eedIPAan0xTjx/l+5R7PYvNm68JPbdu2VZ12WdCup7+qdM1gmLEYtN 8sNn483pEtVS0SyD9pS73EfgLf/EDcOSo1dpgPh84OEDKUIGtQrtPs42o2g4wLuhnYOcKj xYS5RBF2Q+dJVGDijEIjnKg92Xtw0ZevII2HlZW+DqUfn8xUprk5CcVc8HRmTadI+RZlHS bi3nAvWrT7N7Y7u6QQApkpBQhYYW0QE1RUa8X44uZVYD+UdfEblnUnDe+aDDjQ== Received: from cell.glebi.us (glebi.us [162.251.186.162]) (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) (Authenticated sender: glebius) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bph6K3byCzFJ0; Fri, 25 Jul 2025 21:37:13 +0000 (UTC) (envelope-from glebius@freebsd.org) Date: Fri, 25 Jul 2025 14:37:11 -0700 From: Gleb Smirnoff To: freebsd-current@freebsd.org, src-committers@freebsd.org Subject: Re: July 2025 stabilization week Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Jul 24, 2025 at 10:46:40AM -0700, Gleb Smirnoff wrote: T> On Mon, Jul 21, 2025 at 01:00:21AM -0700, Gleb Smirnoff wrote: T> T> This is an automated email to inform you that the July 2025 stabilization week T> T> started with FreeBSD/main at main-n278914-e0838f8a2e61, which was tagged as T> T> main-stabweek-2025-Jul. T> T> You haven't heard from me since Monday, sorry for that. At Netflix due to low T> man power due to vacation season and difficult merge conflicts we were not able T> to make our A/B testing in a timely manner. We will probably start it today T> and have results by tomorrow, but the advisory code freeze is going to be T> thawed by Friday anyway, so let's declare it thawed now. T> T> I will report on A/B testing results as soon as we have them. The A/B testing at Netflix did not discover any stability neither performance regressions. T> For the desktop/laptop/soho_router use the July 2025 stabweek snapshot didn't T> show any regressions for me and a few other people. I did not receive any T> submissions on regressions. -- Gleb Smirnoff From nobody Sat Jul 26 18:33:44 2025 X-Original-To: current@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 4bqD0J75kJz62Jrq for ; Sat, 26 Jul 2025 18:33:52 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqD0J1bccz3W2w; Sat, 26 Jul 2025 18:33:52 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=XGZdInca; spf=pass (mx1.freebsd.org: domain of ianfreislich@gmail.com designates 2607:f8b0:4864:20::b34 as permitted sender) smtp.mailfrom=ianfreislich@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yb1-xb34.google.com with SMTP id 3f1490d57ef6-e8e0d1d8939so40386276.2; Sat, 26 Jul 2025 11:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753554826; x=1754159626; darn=freebsd.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=7WUtjkV/ntvDkCJQCXHWU9b9NqGl/fBeFG4nkqYKFgY=; b=XGZdInca6Nz1poYK4HmNU3DL2qQi8QNTVo68rrRD0VbUhcbsQ4cJR8luj5w3zaYHPR PROXKk3cgyJ0fWbOb7uP07xM9Kx/2Nkp0ihYGNLDI2TTcGsuAW1xyN/I0p1zaK6+OdWH FWdAvZnhQQI73N2gPt9NJPM+M7zR7TLITpQgnTiQvifup/MFL76tD3Je/XFWVivVt1Zc vJop8WglWNuw+7qXeGt5JHQ4h4a+jTY5+eLtHScTwdkzo0OQzMLFnFavxidUaIRXSO8/ hMnsBjw5V8f/7lcTPejzBbvHRXb/HVFkxM21QLglS5SPwLj4IfR4CemUX3sZQ3DZtDm5 DTFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753554826; x=1754159626; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=7WUtjkV/ntvDkCJQCXHWU9b9NqGl/fBeFG4nkqYKFgY=; b=cuVmMDb2iYFgVR+jWbdvgaAhXJVfU+A/KRDZ0GJ1kgG5ODQdIhao9pgWLgBvSb0srh 31Myb9ehMZ40QYhkB1QHhz/lRMEwL3gsutwLVuJbUurLFVGBvjDVnCV1ma1egaoGocjL sEZ2fHfbwDR3UHEMm1wTXIfyUpF0KkIgZIKXKlzdM+CrheJKBYxZwqaCpBu3iC3SUYO+ pZnM+kvYEMdubK+38YuFCkOIDsIaxtjKMENopxdiw+djxZFxyJ/HtQVfcuiw4EgjbCK4 sFfxi3G1h3xyDTaHni7mcKHTvNlRCL4noLpaNwiusIeN9EfzPV6hqkkKDN18vPBn497g D5lg== X-Forwarded-Encrypted: i=1; AJvYcCX/qCQhec1NktpyuhlkJ7EjYk8M0+y2Qp2ERbsH/7GWDIRwDJhls35tiTHoQ1KrSwCoodJsqV81@freebsd.org X-Gm-Message-State: AOJu0YxAHwHBwknSGx5fSoO3RUUN/QKjFCeJdnQwPtyfim+M9BZHiDOQ PqmptD1zm9CfMIPTMFqFo2E8khwjRpyNfXADxt78IYoAYOL5d+1h6/fE42O5CA== X-Gm-Gg: ASbGncuW5BrOUVxRA3Mtzp0pPYjrYVyGAZH6iVeA4Pf7jU+qYcTBNv6pHIpIoQvf3Pj g4hECwtonn7VXzqQCYpGgTZaskvk98KlrQi4nmT1OHQkn9zQpMgw5lEKANjU2d8cSFi96Yr/XYF XoofWiFoDEWPP0preqCj9xNpRu0Pvn6W82cIpKGnSb1AFuJFYtO5J1IjP6uRB0SF8TJXiw1pSCa rxmrtCZfzCa7Q3+20J4/3QjVpP6W28pwYZVP3/SgrsADwRM0q+7je8FgoZLYLplpFFW0TWgJdK6 Hx+OxTKlejhFTBPzCMcR2CpPtcM+QwYZWGRQGmVEn7tWLZqr2kzdB1WTsNoFHNnOUFeASTTB/xO lDbMFEQSgXcXtTLfOvWgQPGgm71ZWmqXew2uxDOu4EKMYBwuZII9GmQmyDCStnlj7rHSo71TpPN tk X-Google-Smtp-Source: AGHT+IHditIxW0gYvGsnkrGHby5xVYBh1/ZTjf5CVDuQQtpwRRtMvIqFkJ46XuNHeQp4g1vhsIOJbw== X-Received: by 2002:a05:6902:1246:b0:e8e:8b3:a044 with SMTP id 3f1490d57ef6-e8e08b3a309mr1170281276.47.1753554825575; Sat, 26 Jul 2025 11:33:45 -0700 (PDT) Received: from ?IPV6:2600:1700:18f0:6812:129a:8666:ef01:3293? ([2600:1700:18f0:6812:129a:8666:ef01:3293]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e8df85befb8sm835449276.12.2025.07.26.11.33.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Jul 2025 11:33:44 -0700 (PDT) Message-ID: Date: Sat, 26 Jul 2025 14:33:44 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Thunderbird Daily Content-Language: en-US To: Warner Losh , FreeBSD Current From: Ian FREISLICH Subject: duplicate case value in find/printf.c Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [0.03 / 15.00]; NEURAL_SPAM_MEDIUM(0.99)[0.988]; NEURAL_SPAM_LONG(0.88)[0.883]; NEURAL_HAM_SHORT(-0.85)[-0.853]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b34:from]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bqD0J1bccz3W2w X-Spamd-Bar: / Hi during buildworld this morning. /usr/src/usr.bin/find/printf.c:272:8: error: duplicate case value '98' 272 | case 'b': /* birth time */ | ^ /usr/src/usr.bin/find/printf.c:235:8: note: previous case defined here 235 | case 'b': /* blocks used by file */ | ^ Ian From nobody Sat Jul 26 18:38:08 2025 X-Original-To: current@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 4bqD5V04sVz62KBn for ; Sat, 26 Jul 2025 18:38:22 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqD5T5HHwz3XCt for ; Sat, 26 Jul 2025 18:38:21 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-b34a6d0c9a3so3945355a12.3 for ; Sat, 26 Jul 2025 11:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753555099; x=1754159899; darn=freebsd.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=+XGb7CFJYfi+Umgqjdzaq2vLJWqSkJ4OlvVN3NjIBFE=; b=dMSzDY2shAJxyM0nq3ETtgQjYxMe+k8/2KCzgJ2C6hzXPIl2D5j9oKiy2fzA2AOn+j e9SUQ77SKOpDQDuF3mnagOTjOg8JcuIjNmMFYaR9NMZzjqDHWoidZL5NI2TrJi15egrz bKe2qLCE2PBsz3fh8KZ2Dqq0Ql1NMFIqKDDff0mgUKZ6AYmGVfiGDK9A7sZCFMiMgWKH QNVRblPjmVrk6iNMFUNE5QcxuP9eKJFU7XdZWF20rHBgMo+49BrTRD9PDlYmyzuZ8wQc sPuIzidurHpqJNoVj1I5cjXrOqLDUZZC6kgFu8IpKJu0vMKEO9wJ3+2Xt+No9ThiK0ZW lCnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753555099; x=1754159899; 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=+XGb7CFJYfi+Umgqjdzaq2vLJWqSkJ4OlvVN3NjIBFE=; b=wl6DN+7VweEdtP+APz66oryitSau8JmcC3CZDZb4cFUWtPOisevk9WtYs/DcLOKZgg yDwAMfHZUULCokOLCSY+NA3qxkHPToLeYOynvqvL6Cr2I2ZJ/xp5EOwEPk9YOeg/T5wR Smk23B4Rr4v2uy4UASGDNnfen9pBO2THwzoFqiGaXTNf/O8nD0T8RJCU919yiDmu4sLe 6kE63qRUyl9eH8Vc5r1dFMCQ5S7Vj5xO6J1Fe3WwNqwcC0TmOk+WS7BGoyqwfBp8k/V8 bjaZN81BR8bR/MIGt4f4V9XnrTlb12M0bRSnH1/f38yc6numw8jvWOoDEfIkURxnB0L8 RagA== X-Forwarded-Encrypted: i=1; AJvYcCUyCRrPKvYzHdvq5wsMhl3r8uN/oCxnsVzyL3KmNpq8BHv0TKxZ//f6nn4WEHvOiZO/SfE05gUr@freebsd.org X-Gm-Message-State: AOJu0YwHeQ90k4n9Ny0hlLoeRCgdvwpVozSAeO2Id/TaGmIzwGBBh2xk NANl/hplSVzVjKH/PELj7taREq2HW6KGlT0XSMSmVdnoSxn3a3GuCi6dtVPupNVv31h9MGTYb2P SzdAfOFDB0ca1Gg4f1RKdZYYDvEZ8Dnpv5NJ4oajAjQ== X-Gm-Gg: ASbGnctQwUcDBbnnBsRR78VzwER1Uxw2Xtgo71neTA2+4tB/skYGUnXi4Uw5wJHJ7yj 6i8WtazS0p7wzWEcq+bzRfNCEdmaN/RK79tcxG86krpqScg4Lj+RU6JtwEK+eQikdRyHjU8Az1Q +v0Gtd3gAbaP43rLpg+9d4YVkjwjc1I29duOvvUV7BfqXzl1B8sEkIy2YQfiPH8rF6aNN9MoIvf S7MFTOlYmDzzDbK1GLCjVW1D/9Csa7sACS1mR/tIejggVzpuQ4= X-Google-Smtp-Source: AGHT+IETfsxHa2B+ZUQSnaGIf43yccUwcwAqCEEv1RR6e6MqpCpm9RLvR3yh+IW/uHIB7JN13wtKwBMYsgSWpV7qJoA= X-Received: by 2002:a05:6a20:729f:b0:215:d611:5d9b with SMTP id adf61e73a8af0-23d70014103mr9406706637.12.1753555099662; Sat, 26 Jul 2025 11:38:19 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Sat, 26 Jul 2025 12:38:08 -0600 X-Gm-Features: Ac12FXxT-fq3jUntKLnbWHx44PlfkGz_HaQihPZ9x11vd64j21YvLSJLJisSftE Message-ID: Subject: Re: duplicate case value in find/printf.c To: Ian FREISLICH Cc: Warner Losh , FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000cf4c76063ad95c27" X-Rspamd-Queue-Id: 4bqD5T5HHwz3XCt X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --000000000000cf4c76063ad95c27 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yea. I know... waiting for wifi on the plane so I can push a fix... maybe I'll be able to do it on the ground... Warner On Sat, Jul 26, 2025, 12:33=E2=80=AFPM Ian FREISLICH wrote: > Hi > > during buildworld this morning. > > /usr/src/usr.bin/find/printf.c:272:8: error: duplicate case value '98' > 272 | case 'b': /* birth time */ > | ^ > /usr/src/usr.bin/find/printf.c:235:8: note: previous case defined here > 235 | case 'b': /* blocks used by file */ > | ^ > > Ian > --000000000000cf4c76063ad95c27 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yea. I know... waiting for wifi on the plane so I can pus= h a fix... maybe I'll be able to do it on the ground...

Warner

On Sat, Jul= 26, 2025, 12:33=E2=80=AFPM Ian FREISLICH <ianfreislich@gmail.com> wrote:
Hi

during buildworld this morning.

/usr/src/usr.bin/find/printf.c:272:8: error: duplicate case value '98&#= 39;
=C2=A0 =C2=A0272 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0case 'b': /* birth time=C2=A0 */
=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
/usr/src/usr.bin/find/printf.c:235:8: note: previous case defined here
=C2=A0 =C2=A0235 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0case 'b': /* blocks used by file */
=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^

Ian
--000000000000cf4c76063ad95c27-- From nobody Sat Jul 26 18:56:14 2025 X-Original-To: freebsd-current@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 4bqDVC2x3rz62Kpn for ; Sat, 26 Jul 2025 18:56:19 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqDVB18x7z3bQq for ; Sat, 26 Jul 2025 18:56:18 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b="V/KwiH0a"; spf=pass (mx1.freebsd.org: domain of ianfreislich@gmail.com designates 2607:f8b0:4864:20::b2f as permitted sender) smtp.mailfrom=ianfreislich@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-e8bc1258b2eso2211961276.2 for ; Sat, 26 Jul 2025 11:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753556175; x=1754160975; darn=freebsd.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=YHYe5N8Emt5uezKuH3Vk8qvUmADMKG99uJa8+efmbZU=; b=V/KwiH0arIOkrX/fYe3SFFqmZreXvKSX0mIk1mxD1nb91eluvRgyUKp2tDrVfNIFEw Tp42OFXoZxenEE8mowUN1swB3OSEKhBK9zN8a6wZSUINhNcdlrvazkM2tVY92b0ha9SI 68hyyjmctzPvBcS9CWK/vMR83gdP51s+q6/9E89SHSEY0hTEJ0wOuieLKd8PQgfBJH7+ rx4C6igdJUrX5lQ9vQ0MsoEdo1dKK4eDPJ5YwAGtaPWg4EV3reJto0XLvXd6WAqWmDdb OhE184apTT2GpTdv1drXs5EB1eeA670miPCBtnzkD184F4tjjytbE6BhypsVO82UwXEu b4EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753556175; x=1754160975; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=YHYe5N8Emt5uezKuH3Vk8qvUmADMKG99uJa8+efmbZU=; b=qy0lb71QPvkQ1bHDkZvCq88j7fSKl/vyocE29UPZt+n1uysIkKCuKLoYH/24dmN2yj 7L3a5AmpV3/Yv9oci6ok1LoSALBaxpksvJB67ZLu0vrVgyA3fyDZkX7MN9lJ3taeoX9s Lps2YZPi+GMD9R2P4PDiWPTPRtCDWG2HHnF4JCaGl8y1ll3QSvpF4AjaOoiXrvQ3quhO bDQaO46moJNXMGFAQuq7o5B4vbn2fORUHePt5P4ZkIP9i4QwWBWGllxwjJpEcePCA1L2 5AsuaGyMU32QlPgPhCFQnabrw7KkhHTUBlX1hrUM73aTRKvacxLz63K4pxGCYIteksAL 4t7w== X-Gm-Message-State: AOJu0YxCgT8B7p7SFBAVdPv81SWww8mnA/z61fFyHPwCc+eq4AMGoeJk Dv3m1H7sVmaqVDn7zua1kPQx/N7o3aA5gbiYiJGMLIp62xE/9l6Z99uaY510eQ== X-Gm-Gg: ASbGncv83SI/wjQK57GkEuL0M6IyxdUz6N85HVrrh/OpE0sYUqotfhS1BjbYnqsoAAy WjTfwf9r8T/0CSCdVgG2u+3DcwdP5IIg4/lo1buEXUXbXpcvD1w8xMtIvxAwKw2oWUUliikujTy E7P1ZPfWLb23zI+F7+mE9+i2vvhaRXqoGTbK2VZpm3XZJgw1uZVLFCaN/oNr9f5RoxTb6kpHmUx 9S+23dHCnTWR2jv/FTqf0Z1Yc1mA0g0Ek+s7AbTpYD7IFBmx82Aj77uApHOSxzGVShNhtiag/5a ftg70/AkGFIlz3S7EssgmWSnapNCoSgQiWpIpip0WdLMOAVX9rvBs/AddTVsnrJEVE0nY7a/kGx CgPNB68V8ELC/Z0UFSgOOCobEn/RHELROEVuHdVsaHkLTQWl8ETgwJkyRtQvz27HmUEnTVJ1FRx /n X-Google-Smtp-Source: AGHT+IGpZORzC18vLlysY/hOQMqycK2vPd++pb25bn3OKY7eZLUlkHug9aig/sN7BH3AB7xoxzEm9g== X-Received: by 2002:a05:690c:4808:b0:710:ead5:8a95 with SMTP id 00721157ae682-719e32de625mr73921977b3.14.1753556175047; Sat, 26 Jul 2025 11:56:15 -0700 (PDT) Received: from ?IPV6:2600:1700:18f0:6812:129a:8666:ef01:3293? ([2600:1700:18f0:6812:129a:8666:ef01:3293]) by smtp.gmail.com with ESMTPSA id 00721157ae682-719f21ae9c9sm5454157b3.31.2025.07.26.11.56.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Jul 2025 11:56:14 -0700 (PDT) Message-ID: <6c2b1459-8855-4e6e-84ba-c515c9d64ab7@gmail.com> Date: Sat, 26 Jul 2025 14:56:14 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Thunderbird Daily Content-Language: en-US To: "freebsd-current@freebsd.org" From: Ian FREISLICH Subject: acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus' Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [0.11 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.999]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; NEURAL_HAM_SHORT(-0.90)[-0.899]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2f:from]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bqDVB18x7z3bQq X-Spamd-Bar: / Hi I get this error compiling for UP but not SMP. /usr/src/sys/amd64/acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus' 115 | if (!CPU_ISSET(cpu, &suspended_cpus)) | ^ /usr/src/sys/amd64/acpica/acpi_wakeup.c:199:32: error: call to undeclared function 'suspend_cpus'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] 199 | if (!CPU_EMPTY(&suspcpus) && suspend_cpus(suspcpus) == 0) { | ^ /usr/src/sys/amd64/acpica/acpi_wakeup.c:272:4: error: call to undeclared function 'resume_cpus'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] 272 | resume_cpus(suspcpus); | ^ 3 errors generated. *** Error code 1 Stop. Ian From nobody Sat Jul 26 20:48:38 2025 X-Original-To: freebsd-current@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 4bqH0033L8z62SmV for ; Sat, 26 Jul 2025 20:48:48 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqGzz66tSz3nMW for ; Sat, 26 Jul 2025 20:48:47 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x72f.google.com with SMTP id af79cd13be357-7e62a1cbf82so195201285a.2 for ; Sat, 26 Jul 2025 13:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753562922; x=1754167722; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=hLx9sXKRum2nuGaBTIFXIQqMl7iCnJOTkQv3zh1U13w=; b=HPyKQjs4KBwB6MDNAG3uD0fGO16nvT0yo+UsZWBjePJdJMsyIBeuyQV2dzpQHxlrEw B3KCfOh6N2Rv11W51dHw/Gj97zLhnED4Y9eMocQeNMmr58ebVaFRhiiCmavvIZxEGno/ lsp3NA/PXjS1od7iklG0kiF4c/i0UGF2sCxyKCv0OvwelNhCYeQ3lBletaLCwGV3EDH3 dPtZb2Z+9PcMBXNTfnkNBixLRhIerirjJUdDrBxQP9TqJ+eQv7WbpUMDTMQtjccNZS79 2Qo8F6JuyPFFPN+BnuW7qLUdKKeZe1Mzfr5b1+lNMGbSTkEDnIwuUwMETKwZRdv5Ifkc I+2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753562922; x=1754167722; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hLx9sXKRum2nuGaBTIFXIQqMl7iCnJOTkQv3zh1U13w=; b=oY0CCOoA306wzNZZZkpPyF1r9UG4W4vednV6EPW28Uf3Uy73EFC3XoxpCE7jvjMCji utaNAht5W/v5Zr31XXP5d1VW1UvqlzLDzYjvSZmfiSAgrZzKkobax7nXv0d9gMqT3U01 P3j3mYp2zqbfqaxYK/qhlaHMDfBYnvp2uH8mp9dVtAfQ64y5XSqeJvXB5hHK+j3oJ1Em 3BliUCFafgASnvpH13rrOsd3Cd3DYd7e0jwc7OmiIkeORlqnME8jmaqetpT9Er5K5RMG mrW1bFhGWFPirSxyweAGrphEEVA6WzALMNYv0hc9fTeAdp/OcPzFdNn6C5noIlDI2axT aLNA== X-Gm-Message-State: AOJu0Yzy4M8XlTp5fOYVFHyAQxf/IZUrZxp6rBtdEEYQxyklZoZy7b25 mVXxwdC3pyvyleK+WpvQB7rr7cp+pcqmSDdhewhiM/mzpCTRoEtfVNDU2GzHePvt X-Gm-Gg: ASbGncsPYt+pdH/9yycuK3bJeHNTE1zs86a/Lrx7KoGBuWC4bF9ECH26piuQlLeCyUs VmvSNAcivH5jHF/TMvuXTqs2avEsaNObA+RcWjFWTyL3lf4Mwyxv0gL+hxOZMahIjBjOM3Azdrt LefV/j3Cin/o1YpzQyfi2j2XobHiT+avGc7t4LXn0br6F55F6DMkp2Wwu0hKMmwBwbdZ+mmp06h ZePxHNarMY8bhHK2S2DlSAdO4MNUbwLUJeOSKRTJXP0uDT+MlraWENCM9QjtErR98d1FFyBO7f5 K9WBWWFWli0RyJUfiTRZFXUD0puH5UgLvxzY+DdIFNkSlkBHSrYa4V/lQJqhII6enrczS4c5xB4 1WEf4Hip7d2arQv77aFrzXwcploFe5ozrI7RR X-Google-Smtp-Source: AGHT+IEX7h60VUOlvNwqxUw4wtwDWIUG/kbvQUjboEjWlfGAXpeSn2RClbIkKx8JqPFxQx5STW/rzA== X-Received: by 2002:ad4:4eeb:0:b0:707:2d2c:4785 with SMTP id 6a1803df08f44-7072d2c4923mr45865946d6.47.1753562921922; Sat, 26 Jul 2025 13:48:41 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-70729c6fa0bsm13593236d6.84.2025.07.26.13.48.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Jul 2025 13:48:41 -0700 (PDT) Date: Sat, 26 Jul 2025 16:48:38 -0400 From: Mark Johnston To: Ian FREISLICH Cc: "freebsd-current@freebsd.org" Subject: Re: acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus' Message-ID: References: <6c2b1459-8855-4e6e-84ba-c515c9d64ab7@gmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6c2b1459-8855-4e6e-84ba-c515c9d64ab7@gmail.com> X-Rspamd-Queue-Id: 4bqGzz66tSz3nMW X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Sat, Jul 26, 2025 at 02:56:14PM -0400, Ian FREISLICH wrote: > Hi > > I get this error compiling for UP but not SMP. The SMP option is mandatory on amd64 after commit fa02551dc8a029a74eb374c418dbb5401d53c2db. There is a static assertion in machdep.c that is supposed to report this, but it seems we should handle it a different way, perhaps in the kernel makefiles. > /usr/src/sys/amd64/acpica/acpi_wakeup.c:115:24: error: use of undeclared > identifier 'suspended_cpus' > 115 | if (!CPU_ISSET(cpu, &suspended_cpus)) > | ^ > /usr/src/sys/amd64/acpica/acpi_wakeup.c:199:32: error: call to undeclared > function 'suspend_cpus'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > 199 | if (!CPU_EMPTY(&suspcpus) && suspend_cpus(suspcpus) > == 0) { > | ^ > /usr/src/sys/amd64/acpica/acpi_wakeup.c:272:4: error: call to undeclared > function 'resume_cpus'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > 272 | resume_cpus(suspcpus); > | ^ > 3 errors generated. > *** Error code 1 > > Stop. > > > Ian > From nobody Sat Jul 26 21:54:58 2025 X-Original-To: freebsd-current@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 4bqJST17B9z62ms3 for ; Sat, 26 Jul 2025 21:55:05 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqJSS6KGKz3xM3; Sat, 26 Jul 2025 21:55:04 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-71a04654b82so3123337b3.2; Sat, 26 Jul 2025 14:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753566898; x=1754171698; darn=freebsd.org; h=mime-version:subject:user-agent:references:in-reply-to:message-id :date:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Fg3ef2t05FLsRDO5vWf1zP4dx6hol9Em2BfNUfQeHRI=; b=BdRrC6Ha65SBPOSAsCYhE7+Pedtcc5ZDYX+jhaVRL8eWXWQs+45J8a4tCpfLJdbtwd HwLf6UBPj0q8ZO9rdKUBnXqFEGPYbOTmxbrhtLv8Z5IftzPqhbV05tpz6iDgySvUmvtv kyMNFxT/g5nrDAUE/P1ZyZ2PYfelBQQon3lKMU5jEtpVxLsaobcOVchMOvmyQD29mx+z ALIaLE01Iu6xFE7Ce3fe7vhv6XzMrC121r7QlqIK6uRQb8YIk587jccgN9XQKV3wdgdU 9M3DMT+GQuMWvVoCtBqlBKja12uPk9q77662EQr85LJjw9X0lNqAfk1Xnjbm1hQGOzN7 BrZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753566898; x=1754171698; h=mime-version:subject:user-agent:references:in-reply-to:message-id :date:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Fg3ef2t05FLsRDO5vWf1zP4dx6hol9Em2BfNUfQeHRI=; b=mXBOmEOp7rM7PctaEOcwl5FrHMfeFnktEce1/VjJ7s8YOCxnKJOGUFtbyQ53WQ6DvR o55Vit1NYyYZpwlvfGS72RFIjXXg2PmHHQ7LvT0CrjUhu5+jVQBPh4m+NfqqKTA1u9u6 PHky6pkT9blr4CfEitKq95A7dwYekk8esxtBQwjXbGuXMFS01034p2kz86Zleh7cZlZW FcRnN8JfX2AEfoqsSmGPVrpd+rmHZQaSFNMsH0VnS4BfBX3Mteyqe0qOdSEoxGhlAljC o/tnVOda/u3s88bvRHk7uvFDExGJLo88eSfacXw3ca3DDgUaUSDHmsiXNR5ggf9AriEq F58w== X-Gm-Message-State: AOJu0YzkB08wQslwAtJetlpc6nmdWAk87QG8nmXZI+2dJZsz28aAuD8+ AvpJmL/VN+Z85SzHgVu8gMRJnlHLR805xQNOKj7cElhgilThdQok3zsjV+gnFw== X-Gm-Gg: ASbGncsQB3KE0lUayT2Y0PAoNDJY5mpM9GYdDALhQcUJUfQfVPelL/YRRz/34VWrNzB tzdOuUvjOZ8CHYsbijaqfuqL/8XYCZcyccwobn60MQGXuVeC65etnMGxnM5NZ3haL7Y4K2BeeTF uxBXO0QWpoD/m2frkiKvg66CTY2aMnxAgKqfXCI/fhvRv8vpaBjVKjvUAtASCfAgJEruOegXylg shjr+NHROjOYeGqsI95qRP8Djr94CUItv+RSAuVWVNbocAFhwly35Tz2NrAZoF+6z8ToPa+yqyu 69hcAdxnX5qFb2KSAiSaPh8QyugMYvLgnjc8I9EPe3FlLz6g3LDWNqXxyH7LN1S8aYCMrZheIzL NO4t6loAyRk+71eW1N74vyoSVlHVWfm+DTRpQ1H8LzyjkBDkQBw82lAAGmeB4N/quU2lDDkLIRJ /iag== X-Google-Smtp-Source: AGHT+IEwj7aFY5ap70HWfYJ6d4B2D+vvyTjeXz71PT6l9n1yJdaq+LX3I1qX2a0Z+oG8EjWcKUgr5g== X-Received: by 2002:a05:690c:60c2:b0:719:a4af:9639 with SMTP id 00721157ae682-719e37730a9mr74931307b3.1.1753566898310; Sat, 26 Jul 2025 14:54:58 -0700 (PDT) Received: from [10.0.0.42] (107-128-20-168.lightspeed.tukrga.sbcglobal.net. [107.128.20.168]) by smtp.gmail.com with ESMTPSA id 00721157ae682-719f23abf98sm6170437b3.53.2025.07.26.14.54.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Jul 2025 14:54:57 -0700 (PDT) From: Ian Freislich To: Mark Johnston CC: Date: Sat, 26 Jul 2025 17:54:58 -0400 Message-ID: <19848bb6750.28c3.64e08aff09ba5a21b2fc9010d26a90e5@gmail.com> In-Reply-To: References: <6c2b1459-8855-4e6e-84ba-c515c9d64ab7@gmail.com> User-Agent: AquaMail/1.55.2 (build: 105502562) Subject: Re: acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus' List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="19848bb6a9c7cb228c321abe65" X-Rspamd-Queue-Id: 4bqJSS6KGKz3xM3 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] This is a multi-part message in MIME format. --19848bb6a9c7cb228c321abe65 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 8bit On July 26, 2025 16:48:42 Mark Johnston wrote: > On Sat, Jul 26, 2025 at 02:56:14PM -0400, Ian FREISLICH wrote: >> Hi >> >> I get this error compiling for UP but not SMP. > > The SMP option is mandatory on amd64 after commit > fa02551dc8a029a74eb374c418dbb5401d53c2db. There is a static assertion > in machdep.c that is supposed to report this, but it seems we should > handle it a different way, perhaps in the kernel makefiles. Oh, thanks. I must have missed the note in UPDATING. Ian --19848bb6a9c7cb228c321abe65 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
On July 26, 2025 16:48:4= 2 Mark Johnston <markj@freebsd.org> wrote:

On Sat, Jul 26, 2025 at 02:56:14PM -0400, Ian FREISLICH w= rote:
Hi

I get this error compiling for UP but not SMP.

The SMP option is mandatory on amd64 after commit
fa02551dc8a029a74eb374c418dbb5401d53c2db.  There is = a static assertion
in machdep.c that is supposed to report this, but it seem= s we should
handle it a different way, perhaps in the kernel makefile= s.

Oh, thanks. I must have= missed the note in UPDATING.

Ian

--19848bb6a9c7cb228c321abe65-- From nobody Sat Jul 26 21:59:21 2025 X-Original-To: freebsd-current@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 4bqJYZ60bHz62mgc for ; Sat, 26 Jul 2025 21:59:30 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqJYZ3lxYz40c5 for ; Sat, 26 Jul 2025 21:59:30 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x732.google.com with SMTP id af79cd13be357-7e1f3b95449so440034685a.1 for ; Sat, 26 Jul 2025 14:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753567165; x=1754171965; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=LzyYkhjsMmQGKMZjUDCSw6XnnVCbk5ug8J7/SBaUIws=; b=S/EP7RnOmzZLCBH3NoJi7uMyJ1iHDMYSiwPIOSRe/udZiSY0fpbElKNCFX/x7I4LWz G/YYuKiW/4QhdpVKXcemCa2JmnAJhYAHTLqxjN738gNsfmam2C9iskbxbcpKIil2sVl8 w+ZQEiXyzP4NWFjg4e14wNv1K/gb+ugg6YkOjAuXGNf03pgjo5X0ELsGZV37X7T/m+7V 1SxETR1Wg56hUPJILKCQ/h3jAw9ssmhJSPotHtqYTegKqRjiTsfpFXKqJ1+YAmErxV2c hkL/zSPPQfee9ijJnRSDFdgy3KrpGLctSLvBv1YYBRzDWGC9M7b4jogOt3hRweeX5GYc eiBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753567165; x=1754171965; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LzyYkhjsMmQGKMZjUDCSw6XnnVCbk5ug8J7/SBaUIws=; b=wSwiXf2Hs7uzcuxmLpyzBzXpvrRS/T4wPR9bkrUXtlzFX/C8hSp9/3bxW65F1Tafk5 2eqIHZk0bO7UYCK+mVopLhYOmsRU7gQVLkjRq6UETvr5YihCugdpkoGMvfkqeq1168+v gPemhtCSN/TBhx6+NW14IfVrLNK2cqqB+hRj+PraIRkujJ8u9lSZxhdKN2mrO6ISB4R0 SgVJs6EsV+L/gFvLQbntL64IunKUq+5OCkYeTaCV2vUizferti7GrfQYli6QJMtbNmjP x0ApS4DfquMm+Xq+vWOdd/8WUzaxliRM+i9U3R3R7ieriBl4RQRD+fnLCntYq51Vf0k9 P1+g== X-Gm-Message-State: AOJu0Yx58F3ZHGQP/yEPz9R0X35XGt3ihaAeqyD22bwQhQ5flUbNRzkN +p6sxro/efZ3iqalpQyavpD1G1T+0e9MbbGiumtyixBVNB+4Ctv0+O4f X-Gm-Gg: ASbGnctRLY9pBqVsomKr2u/hdmOtWPaNDXqqbOzUlHYMUKM5Nwm/IPwC7q06Sgdb1vo L1zGnqQCs3QCftIrmm08fvKm2NKcPfnSpf2Z7fNYo9a0JZW89RUYwn8aE6Q9Fbuew8oslsYA1JS 2pE0p1qKEJPHZeS0qQ+vvjFj6eOjD+SxB5wBWAeuT4nXI6M3qKTk84qPkNqxMAnDxp9RddvI9me c3J1RgT9KVPo6yA/+Zp3/5eQVPi95DEVGdJwni5TJe5sRFReSvoe2lagx/qYCfKFvkXyJ0+7NGo PzIO19ghRgtCO8lFfg0tRJBtvmm3nkhaygUELDybe3bvPF0431ozrSanTNDddjq5K7+PoU19IiN AtbYW3rMXqx2aF6hypdZ45N/wmE5ZknV8MvHC X-Google-Smtp-Source: AGHT+IHWmrTdE9DMn9vXuuu7HTBlpW5tnWL1usjyOHOf4mHSoMTlgdGiuJqpJkH+yJhbn9Gy9KyfUg== X-Received: by 2002:a05:620a:f0d:b0:7e6:323f:245a with SMTP id af79cd13be357-7e633e45668mr1366634085a.20.1753567164572; Sat, 26 Jul 2025 14:59:24 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7e643878eb7sm135875085a.46.2025.07.26.14.59.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Jul 2025 14:59:24 -0700 (PDT) Date: Sat, 26 Jul 2025 17:59:21 -0400 From: Mark Johnston To: Ian Freislich Cc: freebsd-current@freebsd.org Subject: Re: acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus' Message-ID: References: <6c2b1459-8855-4e6e-84ba-c515c9d64ab7@gmail.com> <19848bb6750.28c3.64e08aff09ba5a21b2fc9010d26a90e5@gmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19848bb6750.28c3.64e08aff09ba5a21b2fc9010d26a90e5@gmail.com> X-Rspamd-Queue-Id: 4bqJYZ3lxYz40c5 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Sat, Jul 26, 2025 at 05:54:58PM -0400, Ian Freislich wrote: > On July 26, 2025 16:48:42 Mark Johnston wrote: > > > On Sat, Jul 26, 2025 at 02:56:14PM -0400, Ian FREISLICH wrote: > > > Hi > > > > > > I get this error compiling for UP but not SMP. > > > > The SMP option is mandatory on amd64 after commit > > fa02551dc8a029a74eb374c418dbb5401d53c2db. There is a static assertion > > in machdep.c that is supposed to report this, but it seems we should > > handle it a different way, perhaps in the kernel makefiles. > > Oh, thanks. I must have missed the note in UPDATING. I had failed to add one, but it's done now. From nobody Sat Jul 26 22:17:40 2025 X-Original-To: freebsd-current@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 4bqJyj1dzMz62nkR for ; Sat, 26 Jul 2025 22:17:49 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [202.12.127.228]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "R10" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqJyg5rLbz43F4 for ; Sat, 26 Jul 2025 22:17:47 +0000 (UTC) (envelope-from imb@protected-networks.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protected-networks.net header.s=201508 header.b="l WtzpdY"; spf=pass (mx1.freebsd.org: domain of imb@protected-networks.net designates 202.12.127.228 as permitted sender) smtp.mailfrom=imb@protected-networks.net; dmarc=pass (policy=reject) header.from=protected-networks.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding:content-type :content-type:subject:subject:from:from:content-language :user-agent:mime-version:date:date:message-id; s=201508; t= 1753568260; bh=dUOc1kFRpeKzbpZhLFvwtp2nwPzTSRie8T62/qxCmhE=; b=l WtzpdYJ1MWs1ypUF726TiZYKshoGlpZJ7tmvyY4tIKfkG3D5xRKNAgj2jdhQXbEM gMfu9CBWwJSA202ABZcymSsmEtCXoFjLlen3On5jj4yrcyhuzrwpBezpXycFpz1d uewx88VLi+zSlWwhvY0DvIngcDMGzUM89mX8yLI0qQ= Received: from [192.168.1.9] (d5540.auburn.protected-networks.net [192.168.1.9]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 95BF0F28A for ; Sat, 26 Jul 2025 18:17:40 -0400 (EDT) Message-ID: <940dd2e8-72dc-4828-b103-b7656229d3d5@protected-networks.net> Date: Sat, 26 Jul 2025 18:17:40 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-NZ To: freebsd-current From: Michael Butler Subject: -current mit kerberos change breaks security/p5-GSSAPI, www/squid Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.69 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; NEURAL_HAM_LONG(-0.72)[-0.718]; DMARC_POLICY_ALLOW(-0.50)[protected-networks.net,reject]; R_DKIM_ALLOW(-0.20)[protected-networks.net:s=201508]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:5716, ipnet:202.12.127.0/24, country:US]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[protected-networks.net:+] X-Rspamd-Queue-Id: 4bqJyg5rLbz43F4 X-Spamd-Bar: --- I don't seem to be able to rebuild p5-GSSAPI .. indirectly required by git with the default options through p5-Authen-SASL .. imb@d5540:/usr/ports/security/p5-GSSAPI> sudo make ===> License ART10 GPLv1+ accepted by the user ===> p5-GSSAPI-0.28_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by p5-GSSAPI-0.28_2 for building ===> Extracting for p5-GSSAPI-0.28_2 => SHA256 Checksum OK for GSSAPI-0.28.tar.gz. ===> Patching for p5-GSSAPI-0.28_2 ===> Applying FreeBSD patches for p5-GSSAPI-0.28_2 from /usr/ports/security/p5-GSSAPI/files ===> p5-GSSAPI-0.28_2 depends on package: perl5>=5.40.r<5.41 - found ===> Configuring for p5-GSSAPI-0.28_2 Welcome to GSSAPI.pm setup! (./Makefile.PL Version 0.03) run "perl Makefile.PL --help" to see further installation options ---------------------------------------------------------- Searching krb5-config command... using krb5-config command '/bin/krb5-config'. ---------------------------------------------------------- using GSSAPI implementation /bin/krb5-config does not respond libconf! at ./Makefile.PL line 116. *** Error code 2 Stop. make[1]: stopped making "/usr/ports/security/p5-GSSAPI/work/.stage_done.GSSAPI._usr_local" in /usr/ports/security/p5-GSSAPI *** Error code 1 Stop. make: stopped making "all" in /usr/ports/security/p5-GSSAPI www/squid is also broken (by default) unless the GSSAPI option is set to 'none', Michael From nobody Sat Jul 26 22:19:44 2025 X-Original-To: freebsd-current@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 4bqK136t3hz62nTg for ; Sat, 26 Jul 2025 22:19:51 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqK133QzHz446S; Sat, 26 Jul 2025 22:19:51 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-71841a48502so27754857b3.2; Sat, 26 Jul 2025 15:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753568385; x=1754173185; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/MFw7JTAgpN6urfLil0+jVoQ7ecp3J5TO40+QEcZd4Q=; b=FH3Yn+7GgbSLERiwtUs5c7GZAVbD4ybzU71CIwR0xkmCZrdhBiroFoDPU0ANnJam4M tb4g0Fv6N9fha11EEl+bg0bLCazErOJtsS0gS810Nu/e3cHKnof7BEDB+WCxtb5X0zHF cranQn2VbaiynQVrbAD5v90WDx8xTLOYH04BUU5gUJc4Gmt/5T0Wy+uJ31MUNT4/j6Wi V20uBIIsSPRmbnJe4bsVsS4WCTAcPdzqAMRVnWnWHogb+bPiQqVuTDfAPL7tGSnslqXJ isCrNOqUZmdXZihqEwhx1pCZVL9OXRTlzrUhmwZ27Ls3M7K8BxSv7LWLnpWjcHlX4eRS 0lOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753568385; x=1754173185; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/MFw7JTAgpN6urfLil0+jVoQ7ecp3J5TO40+QEcZd4Q=; b=PMSbxjYE6ozo6+53ozGHdGCnCnY0L0XjLn+/1lj6UOtuVDkHdObGX9Pno8+HOcE8An xkXB8CD3irsNJfw5xf7uweHoAK6gKIkuvMj1wa7bMjxJw846DokqlQRuc5r/BtGEqGro V34MY0tFmL7CxePioIancbb2X6fEfinxWQsa4/wC9kRf/MB81ADOj5I/9TpsyISYbqWu re80BSNyXt19B0T97CbyIG6NRUG0/SFCYHFCEVxcpX6rdLy+F3K8/+ZKCQY/vPHml25b QVM9YogcFg1HcO7vBF9BONqZ9hGuLXH5Q5VYuaTo4HEk/RGWv66Bdbe0Hc3M+Tl/gTcV vgsA== X-Gm-Message-State: AOJu0YykVQ8EBbtACtYXJBm7F55DU6fUzhOau9tHLTGNgr4aHApmH1qp /+zDi5ifKxYoWKcTJ82mmPNSQ8+vwjW8YZz9cLM0OztxD6C1Lt0AYpD4R77V7A== X-Gm-Gg: ASbGnctor0APqv9gszp7BTsmMLZptUhja4wcTHwIo/+0RFTZsQaDVTGiPS8G9XVad1n TnGnK4npmXH0pVwTSp1liY0SLmANHJ/v7a4Qg7sa2UN7gNuKnw29wj9mOXWi15J1272I3cnQfW1 lZ7F9yNtPCf1oNU5TxoZQ4VEajI9+EOvDSblhVwNXqF1L4jMmJP+jB+tgffJeoNKL1BA2kAuG+J WSzwx7UOjew01P3PbPpsMOV4/V8q/A8icH9nGXnxzNFF5uBhREHh6MAEoa9kEb4n+rK2TERw1Cz c86nXTC9HjY2fXG2M7uVg4xG3sz43wl1gzqyrsjoEq4ldgoRbZ2ibRdyq9a+1tcVvj3mHIoTlHy V7ItkaXtnJZkNUGnYeOMr8K9RCmeIKa3+5RTzajeF0SzBY55z2hRXDvT82+KW5rdd1IP7h2Hlnq f7 X-Google-Smtp-Source: AGHT+IGuBKxKmm8R/PkSnwLtnMpuHeRyNzl0ZSHpCsf+NGw5OemiHK7xq/FNvttKX+Hu4NsD5yR70A== X-Received: by 2002:a05:690c:e0a:b0:6ef:6d61:c254 with SMTP id 00721157ae682-719e348e675mr76409237b3.38.1753568385252; Sat, 26 Jul 2025 15:19:45 -0700 (PDT) Received: from ?IPV6:2600:1700:18f0:6812:129a:8666:ef01:3293? ([2600:1700:18f0:6812:129a:8666:ef01:3293]) by smtp.gmail.com with ESMTPSA id 00721157ae682-719f2154b00sm5943937b3.9.2025.07.26.15.19.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Jul 2025 15:19:44 -0700 (PDT) Message-ID: Date: Sat, 26 Jul 2025 18:19:44 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Thunderbird Daily Subject: Re: acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus' To: Mark Johnston Cc: freebsd-current@freebsd.org References: <6c2b1459-8855-4e6e-84ba-c515c9d64ab7@gmail.com> <19848bb6750.28c3.64e08aff09ba5a21b2fc9010d26a90e5@gmail.com> Content-Language: en-US From: Ian FREISLICH In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4bqK133QzHz446S X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On 2025-07-26 17:59, Mark Johnston wrote: > On Sat, Jul 26, 2025 at 05:54:58PM -0400, Ian Freislich wrote: >> On July 26, 2025 16:48:42 Mark Johnston wrote: >> >>> On Sat, Jul 26, 2025 at 02:56:14PM -0400, Ian FREISLICH wrote: >>>> Hi >>>> >>>> I get this error compiling for UP but not SMP. >>> >>> The SMP option is mandatory on amd64 after commit >>> fa02551dc8a029a74eb374c418dbb5401d53c2db. There is a static assertion >>> in machdep.c that is supposed to report this, but it seems we should >>> handle it a different way, perhaps in the kernel makefiles. >> >> Oh, thanks. I must have missed the note in UPDATING. > > I had failed to add one, but it's done now. Thanks for all your work. I'd only started compiling a single a UP kernel on this VM in the last month trying to debug a UFS panic that went away after a couple of weeks. I never went back to an SMP kernel because it only has one core. No loss going back to SMP I guess looking at your commit log. Ian From nobody Sun Jul 27 09:52:30 2025 X-Original-To: current@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 4bqcNS4DTGz62DWq for ; Sun, 27 Jul 2025 09:52:40 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bqcNQ5YC1z43ZS for ; Sun, 27 Jul 2025 09:52:38 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of phk@critter.freebsd.dk designates 130.225.244.222 as permitted sender) smtp.mailfrom=phk@critter.freebsd.dk; dmarc=none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id ABA17C4873 for ; Sun, 27 Jul 2025 09:52:30 +0000 (UTC) Received: (from phk@localhost) by critter.freebsd.dk (8.18.1/8.16.1/Submit) id 56R9qUE6043188; Sun, 27 Jul 2025 09:52:30 GMT (envelope-from phk) Message-Id: <202507270952.56R9qUE6043188@critter.freebsd.dk> To: current@freebsd.org Subject: Do we care about 32bit arm fixes any more ? From: Poul-Henning Kamp List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <43186.1753609950.1@critter.freebsd.dk> Date: Sun, 27 Jul 2025 09:52:30 +0000 X-Spamd-Result: default: False [2.05 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_MEDIUM(0.98)[0.982]; NEURAL_HAM_SHORT(-0.94)[-0.936]; FORGED_SENDER(0.30)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; FREEFALL_USER(0.00)[phk]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[freebsd.dk]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4bqcNQ5YC1z43ZS X-Spamd-Bar: ++ For instance: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265639 Or should we just close such reviews & tickets ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From nobody Sun Jul 27 10:44:42 2025 X-Original-To: current@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 4bqdXg6ybSz62GQS; Sun, 27 Jul 2025 10:44:51 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:13b:240c::25]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bqdXf5N4yz48l6; Sun, 27 Jul 2025 10:44:50 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=SJGKTXer; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 2a01:4f8:13b:240c::25 as permitted sender) smtp.mailfrom=herbert@gojira.at; dmarc=none Date: Sun, 27 Jul 2025 12:44:42 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1753613082; bh=DsJ5Yi7D2kSYFFKwbMEDH+VOV3eDUbHURMdbUFDcXzs=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=SJGKTXerMiur+RLU12y6Fc7EzfQNmyxdr8F1MMi3OsSMfro2dNyJK69CPK1wf19wY 4clmtJGpyJ4vrz4RfB0/3eDzntbLR0tW4FnKug98d+vkcbytNJoamXmgrYju5ns3U+ uE64u7kb04o4ouA1+wjkJqx0gHbAPRfa9c92jNbJ1FbHqUwPbxsOrhDDs5vv0BP3Yp i2SqUXxjqXt0wYS9qDuNBSYxuGazg/rDfDfite8rvEODMdhXPCKXjbkxyLK2L6mkrx UuNutSqW8FL3GCbcVFZqa0H3cCNR6BcV9vQCegFiT1q7ziVuT08yeFsCGyqajrZWu2 rz6886h0M5vbg== From: "Herbert J. Skuhra" To: current@freebsd.org Cc: arm@freebsd.org Subject: LLVM broken on main (arm64)? Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [-2.49 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:240c::25]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[gojira.at]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[arm@freebsd.org,current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+] X-Rspamd-Queue-Id: 4bqdXf5N4yz48l6 X-Spamd-Bar: -- Hi, after updating from main-n279078-1f2c178e5688 to main-n279105-9b3055d0d4bc (arm64) I have the following issue: $ cc PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: cc 1. Compilation construction Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 libprivatellvm.so.19 0x00000edc041485ec llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 72 1 libprivatellvm.so.19 0x00000edc041464ec llvm::sys::RunSignalHandlers() + 128 2 libprivatellvm.so.19 0x00000edc04148d48 llvm::support::detail::provider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) + 412 3 libthr.so.3 0x00000edc06bafc38 _pthread_sigmask + 1320 Segmentation fault -- Herbert From nobody Sun Jul 27 11:10:51 2025 X-Original-To: current@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 4bqf6j46bTz62J4d; Sun, 27 Jul 2025 11:10:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqf6j39Zmz4FcB; Sun, 27 Jul 2025 11:10:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753614653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i7Ht4ldDWHln8TajrMZf9ParUd9bbFZoL0FWB7dnjgk=; b=QoCfHWgk1Nh0qSHN/3JUxD9K7o81zACIt/4o3HYKIx+XwWc/X2IOp06a62qxuoN1pXIB0T im/A7JReBmWJDkRXYYjqAsSf6LMbFOVtmflMixbNsnMbQAexAGRPWGeAOrSeKbTMUAiR3H T3peJejbLrueAuZGCIr+LrLGLOU4vViNLx4Htgt+iNUOrynBx+E87cnhWNYInAld+25cwn xIydfYy+4GB3ZkQbLPVLPwJpABJZx3xQayhPOIgUzc1sicYJzw2lq2ViIg6oY7MvBbyzBu sDThKCR1LQBhXvR0T+FzDC9GkJx16HUZ4rld2rJNMDU4yxvElepPOa++dHTosw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753614653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i7Ht4ldDWHln8TajrMZf9ParUd9bbFZoL0FWB7dnjgk=; b=PPzU3k7Yr1P8OhOwSeJol16CWJptaIfNEmYXvlktFlsPx6xudnF833Ali+zW/it3x/bWXU ng11xtmRyUNHfj4pylF3Xi1PBZO8VPHnrAXLHgHSzG92H10ArWOPLOnqKyONmZ0u4KmogQ C8Bp8f5FOW3TPKiXfBkLZBVEH4j1EFrjxMuLWbsICeJCwHgYK4LrfC7hjvoVssPsPm/cz5 gTiZ+bf5VKPa+tlUqSgKfYpErroOPoaqQbma9VMMrMMDRdmi37kmEn9BoTWu2lgJsK8Bvl MaUR7ACPW3WdvPlHfidC8OxMp+MUQJ2955RpHhiZCff/hPBjbgiFHQw454vt7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753614653; a=rsa-sha256; cv=none; b=c8IhzUXy30HIgJ69ECOqmGr0M6b7K59HqJ5RKEcbFUil3LwfeV3nVbf+Jz4VY4TBSfKCMH eKZzX/WNkEhS0GO782yG4KwnjFMyydWuif0TiWwDzRNZhy8z2a1JaviuGdAJ1FeZsLyJ7y R1lXODSOsIdkOV3BAel8lmvoIYGfjQinexgN7B5g40zb92h7r4A0C8CtdMf96+6tA3RK7V hkwi/pT/t46bNdQZh+1FTIw/Z/4dSBz6laSIZ53Ce+CRR867tGRTeVUB5cPELANKqyuQEY jLnLNUu2dO/ZiMXNW601pRSUL/Wl0FS4Wv43+Frya3m4XB9AY74mTtv4eTYtAw== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R11" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bqf6j1q7bz3l5; Sun, 27 Jul 2025 11:10:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (bladnoch-wifi.home.andric.com [192.168.0.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id E2FBB5A528; Sun, 27 Jul 2025 13:10:51 +0200 (CEST) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: LLVM broken on main (arm64)? From: Dimitry Andric In-Reply-To: Date: Sun, 27 Jul 2025 13:10:51 +0200 Cc: current@freebsd.org, arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Herbert J. Skuhra" X-Mailer: Apple Mail (2.3826.600.51.1.1) On 27 Jul 2025, at 12:44, Herbert J. Skuhra wrote: >=20 > after updating from main-n279078-1f2c178e5688 to > main-n279105-9b3055d0d4bc (arm64) I have the following issue: >=20 > $ cc > PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and = include the crash backtrace, preprocessed source, and associated run = script. > Stack dump: > 0. Program arguments: cc > 1. Compilation construction > Stack dump without symbol names (ensure you have llvm-symbolizer in = your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to = it): > 0 libprivatellvm.so.19 0x00000edc041485ec = llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 72 > 1 libprivatellvm.so.19 0x00000edc041464ec = llvm::sys::RunSignalHandlers() + 128 > 2 libprivatellvm.so.19 0x00000edc04148d48 = llvm::support::detail::provider_format_adapter::format(llvm::raw_ostr= eam&, llvm::StringRef) + 412 > 3 libthr.so.3 0x00000edc06bafc38 _pthread_sigmask + 1320 > Segmentation fault That's a very short trace, with no useful information. Maybe = installworld was half-finished? -Dimitry From nobody Sun Jul 27 11:33:48 2025 X-Original-To: current@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 4bqfd90Kq8z62K50; Sun, 27 Jul 2025 11:33:49 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqfd86dGdz4JrD; Sun, 27 Jul 2025 11:33:48 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753616028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hBrmE6H4dTZTkLuDCRy/EiYPIb5DYtxDMTxqcluEWpg=; b=gWJ7WwkqB86DnQ9Ft+fjelrC3amSe3N2aHr+14z26qLNQ9+CCURCzZvvktpVeuZxjUcUQm iMNwWxiuLo8BqRezRWgA2YkAZa9+bBAWdadU7ETdGl1Vsq8rTCXd8U7/dalYES2ETBFY7N FLYrxZXOCvHOBOK4xkxUI/uefSdHDL/dvO4/VhKvph6AIz0eJx4/s1cQWj7YrD5IxXohON QGYt9vk/zhqzNFV75+ryC9ueHFwVxf9MTVplB9ufHei2TTDjh0odbzhglqVWld6CoGxMqJ 0QGZIKY03bmI1L1MQRAFwkaU4WS5Tgn7vLuPEmvzfh7O9hkYbgkCnxC5cKHLhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753616028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hBrmE6H4dTZTkLuDCRy/EiYPIb5DYtxDMTxqcluEWpg=; b=RutThuj6XIhwBNHsPVM+aVpJ7G3GRiLtHw76MUnLF5nqvLEEQPPR2vIoV8q8PM378V7NcL 5N1/sqaywwZJBKiYB81+Swt28VmlKl90Dt7Hq34nznp9Cd1tfIRrZ1GARFkjBaHtuztISq iYb0q2FJIo2wmUC8u/p9yMa0owCcteIKrcyLoc+U5hpesOBXnBlnx8iGVDcL8DwRZbPf86 y0HFOguXlesqrHUFdMr8IPOebroYNvILYuV2kMIgwU8uhYxkU8DOem+rNH0zKTwM7r2cyp vwlgl+xvSnnMc370Et+CdRhmNFJvrL/gZP69WP88p+AwBJRa1tpjjBNNlQkBLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753616028; a=rsa-sha256; cv=none; b=wZ3VdpSkkrU8sqcJxumC5reA4fGcbiBlNvgVhyCT3FkE1uGYgYhL33DCo76kioGTq7mqgC awN0GTZF9GJpv8NwLfCV3Sls75x4SNxlPXmY/P5+jQ20qZdBX7WKjPdlxDXYCW7Z9duMPd zWFjWJ2T5X6RUxTC8V/vEYUy4s0/zH+UuFd+42Zjr4nxZT0C8klHXH6MorIkgx9Nw0LeLw XVFpj69RjUsLuq5Tb/tFHtu/Gew3ru4ZTFRwGISKPJniGBlmMA093FaCUl7OlK/gO7mF3Y fRexCoVj8AvKT+ZdOYSgJa7pE2+IE76BM/fQqXSga1zObgvbWRV2RuuZxmam4w== Received: by freefall.freebsd.org (Postfix, from userid 1532) id DA86613A28; Sun, 27 Jul 2025 11:33:48 +0000 (UTC) Date: Sun, 27 Jul 2025 12:33:48 +0100 From: Lexi Winter To: Dimitry Andric Cc: "Herbert J. Skuhra" , current@freebsd.org, arm@freebsd.org Subject: Re: LLVM broken on main (arm64)? Message-ID: Mail-Followup-To: Dimitry Andric , "Herbert J. Skuhra" , current@freebsd.org, arm@freebsd.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/3JPgce4sFZDTgy9" Content-Disposition: inline In-Reply-To: --/3JPgce4sFZDTgy9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dimitry Andric: > On 27 Jul 2025, at 12:44, Herbert J. Skuhra wrote: > >=20 > > after updating from main-n279078-1f2c178e5688 to > > main-n279105-9b3055d0d4bc (arm64) I have the following issue: > >=20 > > $ cc > > PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and incl= ude the crash backtrace, preprocessed source, and associated run script. > > Stack dump: > > 0. Program arguments: cc > > 1. Compilation construction > > Stack dump without symbol names (ensure you have llvm-symbolizer in you= r PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): > > 0 libprivatellvm.so.19 0x00000edc041485ec llvm::sys::PrintStackTrace(l= lvm::raw_ostream&, int) + 72 > > 1 libprivatellvm.so.19 0x00000edc041464ec llvm::sys::RunSignalHandlers= () + 128 > > 2 libprivatellvm.so.19 0x00000edc04148d48 llvm::support::detail::provi= der_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) + 412 > > 3 libthr.so.3 0x00000edc06bafc38 _pthread_sigmask + 1320 > > Segmentation fault >=20 > That's a very short trace, with no useful information. Maybe installworld= was half-finished? i am seeing something similar on amd64 after updating past 9b3055d0d4bc: 1& 1? 172!freebsd15 ~/src/bsd/dev [lf/dev/pkgbase-toolchain]% cc PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include = the crash backtrace, preprocessed source, and associated run script. Stack dump without symbol names (ensure you have llvm-symbolizer in your PA= TH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 libprivatellvm.so.19 0x00001ca34ed8f2c9 llvm::sys::PrintStackTrace(llvm:= :raw_ostream&, int) + 57 1 libprivatellvm.so.19 0x00001ca34ed8d185 llvm::sys::RunSignalHandlers() += 85 2 libprivatellvm.so.19 0x00001ca34ed8f9d7 llvm::support::detail::provider_= format_adapter::format(llvm::raw_ostream&, llvm::StringRef) + 375 3 libthr.so.3 0x00001ca352fc88ec _pthread_sigmask + 1340 4 libthr.so.3 0x00001ca352fc7ebb pthread_signals_unblock_np + 1467 5 libthr.so.3 0x00001ca34449d2d3 pthread_signals_unblock_np + 184= 46744073462962643 6 libprivatellvm.so.19 0x00001ca34d5b28be llvm::cl::opt>::~opt() + 62 7 libc.so.7 0x00001ca35434131f __cxa_finalize + 351 [2] 5802 bus error (core dumped) cc i'm using pkgbase so unlikely to be a partial install. could it be that this change requires a clean build? --/3JPgce4sFZDTgy9 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaIYOmAAKCRD1nT63mIK/ YMbtAQDt/cLYag31Te8aIJ4damNvA1fq9CyFHE6Qe0v+59w1FwD+KOYmSFEu/a2C Q9QilofYtXUjNKQrXlS1GRCVrTApbgI= =DtW4 -----END PGP SIGNATURE----- --/3JPgce4sFZDTgy9-- From nobody Sun Jul 27 11:58:36 2025 X-Original-To: current@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 4bqg9p0MM4z62Lrk; Sun, 27 Jul 2025 11:58:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqg9n6tPRz4MlD; Sun, 27 Jul 2025 11:58:37 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753617518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SzUEtUugwM0DcNAYklc+zs6ghZ4HIkZfTWKcsSWxi6M=; b=X5d+ZiHA81Df0i47Dx9M3cLEOetZKE1MN3TqFDYMjWABQRq3eRDgTkqeTn1vpz6riuimEO 9EWhEhe/P0KfnmgajRymbb4QC4RZT0wXrDlQNZTJzt8GWT1Rd4UDFUP7HGYmpyiDa2x5IS nfOnowKSG3Ed/9OzvVzkIE0A/GfIaph4Y0nvXBIpCgXppwVSTiS9e+w1fEwzpWwoZH4HyZ OYr3YBeeorFg8br5zAcMYH7o8VlG0QXGF1B71yd3W4riCJixCfd2aWn9NZ29je16zbkRxL aMmzyI2DhzFXEZeVQAP2tlNaW+mYWcX7OPfgIPVCrM9sMwuE5qi2q6bA5jIteQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753617518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SzUEtUugwM0DcNAYklc+zs6ghZ4HIkZfTWKcsSWxi6M=; b=leHs1zlUtTW7srqYQRdhmfNHtY9r4Xn1cn3NybH+d7ynVi9o3yzmGJ8xpQgYWRw5Ni+V8f Fe8tqBX1qxEuwQ31dIwugAcMZAxTnje9wxMS/o8InuIW/sTBlBL3iwBD2QMxvHa3hvlW3X trJtvnUXiiQgu1q+HEz/vH6EMX+tyhrYSc1MVg9Uj6rU/T60XvoCKE2VC9c4a1PeFT1i0/ 4LD4RVopciTQSLrZBzQjqKbejMBUkbH65DZ77LnfrNM2yl3ijT/X1cYpwf0pil+KGljpRd QbqCs0OhaSZDJGPrFajMBydt9Ufey0YX95PxOVpdGMV9R7QGd5cQZKJ7u1rECg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753617518; a=rsa-sha256; cv=none; b=TLsynFJsmzBEjTzjlnO3VWCgi/BRwKcP+sqvZHkZdxyDQ7RywkSorx7RNuGoyVfaMoxcGn TFf3z/sRfiJMdnKx+YxvvuoTO2sLcpbY3NNRbm+hacJNYHStqdWw35Y7WlN3Vjy7qX2xRx jUeQ/I77kk80BWkPro2VMpF3DixO2ICuZr4m2CZgi7FNwLw5Zle1STLI2j/WOAHixa8YAL Tg6+gDmvugRNGRTAdlHf+jYkQmPbdd0AHXByBLJFO8mrvHKagPD/Togwj8ZRJCEGQQKQtE +HpBiM5rt1uKg5UizwdaFV4xLy8nDHqOx/l3JZKprI6K/juBwyJuXGi1/PYVHQ== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R11" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bqg9n5Vygz5mt; Sun, 27 Jul 2025 11:58:37 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (bladnoch-wifi.home.andric.com [192.168.0.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 7185E5AD44; Sun, 27 Jul 2025 13:58:36 +0200 (CEST) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: LLVM broken on main (arm64)? From: Dimitry Andric In-Reply-To: Date: Sun, 27 Jul 2025 13:58:36 +0200 Cc: "Herbert J. Skuhra" , current@freebsd.org, arm@freebsd.org, Kevin Bowling Content-Transfer-Encoding: quoted-printable Message-Id: <7F8E9486-3FF5-436F-B584-8ACB7BCF1BAD@FreeBSD.org> References: To: Lexi Winter X-Mailer: Apple Mail (2.3826.600.51.1.1) On 27 Jul 2025, at 13:33, Lexi Winter wrote: >=20 > Dimitry Andric: >> On 27 Jul 2025, at 12:44, Herbert J. Skuhra = wrote: >>>=20 >>> after updating from main-n279078-1f2c178e5688 to >>> main-n279105-9b3055d0d4bc (arm64) I have the following issue: >>>=20 >>> $ cc >>> PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and = include the crash backtrace, preprocessed source, and associated run = script. >>> Stack dump: >>> 0. Program arguments: cc >>> 1. Compilation construction >>> Stack dump without symbol names (ensure you have llvm-symbolizer in = your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to = it): >>> 0 libprivatellvm.so.19 0x00000edc041485ec = llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 72 >>> 1 libprivatellvm.so.19 0x00000edc041464ec = llvm::sys::RunSignalHandlers() + 128 >>> 2 libprivatellvm.so.19 0x00000edc04148d48 = llvm::support::detail::provider_format_adapter::format(llvm::raw_ostr= eam&, llvm::StringRef) + 412 >>> 3 libthr.so.3 0x00000edc06bafc38 _pthread_sigmask + 1320 >>> Segmentation fault >>=20 >> That's a very short trace, with no useful information. Maybe = installworld was half-finished? >=20 > i am seeing something similar on amd64 after updating past = 9b3055d0d4bc: >=20 > 1& 1? 172!freebsd15 ~/src/bsd/dev [lf/dev/pkgbase-toolchain]% cc >=20 > PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and = include the crash backtrace, preprocessed source, and associated run = script. > Stack dump without symbol names (ensure you have llvm-symbolizer in = your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to = it): > 0 libprivatellvm.so.19 0x00001ca34ed8f2c9 = llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 57 > 1 libprivatellvm.so.19 0x00001ca34ed8d185 = llvm::sys::RunSignalHandlers() + 85 > 2 libprivatellvm.so.19 0x00001ca34ed8f9d7 = llvm::support::detail::provider_format_adapter::format(llvm::raw_ostr= eam&, llvm::StringRef) + 375 > 3 libthr.so.3 0x00001ca352fc88ec _pthread_sigmask + 1340 > 4 libthr.so.3 0x00001ca352fc7ebb pthread_signals_unblock_np = + 1467 > 5 libthr.so.3 0x00001ca34449d2d3 pthread_signals_unblock_np = + 18446744073462962643 > 6 libprivatellvm.so.19 0x00001ca34d5b28be llvm::cl::opt>::~opt() + 62 > 7 libc.so.7 0x00001ca35434131f __cxa_finalize + 351 > [2] 5802 bus error (core dumped) cc >=20 > i'm using pkgbase so unlikely to be a partial install. could it be = that > this change requires a clean build? I think it's likely that Kevin's https://reviews.freebsd.org/D50388 / = https://cgit.freebsd.org/src/commit/?id=3D9b3055d0d4bc is the cause: it = flips MK_LLVM_ASSERTIONS from "yes" to "no" by default. My guess is that = some objects, libraries or binaries do not get rebuilt, leading to = inconsistencies. There probably has to be another depend-cleanup.sh hack to get over = this. Another complication is that in depend-cleanup.sh you don't have = access to the MK_xxx options from src.opts.mk. -Dimitry From nobody Sun Jul 27 15:51:09 2025 X-Original-To: freebsd-current@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 4bqmLH2hVJz62q1R for ; Sun, 27 Jul 2025 15:51:19 +0000 (UTC) (envelope-from paulf2718@gmail.com) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqmLG3FWfz3Trx for ; Sun, 27 Jul 2025 15:51:18 +0000 (UTC) (envelope-from paulf2718@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=RdaaH1xz; spf=pass (mx1.freebsd.org: domain of paulf2718@gmail.com designates 2a00:1450:4864:20::32b as permitted sender) smtp.mailfrom=paulf2718@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4563cfac19cso39026895e9.2 for ; Sun, 27 Jul 2025 08:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753631470; x=1754236270; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=PIp7ttfHRtR6SJ+dsiWszGPM6TL4QPNY87TvQ5v8Ixc=; b=RdaaH1xzBL/jnU2dCyqIsxWdBJZoUyM9MV6iwv32/YgXhr3YRqSuvpapB0plC+rytc C1LyfmUIX4OfdcN+CzuMVxwbqu4FmPpIIyZQ2uLuboHDCduu5W16AMOXY4ieUfnZsLvY j3cwkiL2ge3k4ektZcH8Up7t3XzSRMP7Hs242I9lNkg3Bz4AYRcI6ByHj2T60C9+XpbW 5nf5e19e2K+gaviM9P4mwZIRDVcRcipusoqm1ZxMUIlbEbUQS3PIdma2jMIBKCuFcDIB U4avQd/751L4O9jpy0Axg1u8yrID4um+2CLHMMU3G87pcuzm0/SXX8zzE8YsYa5bguZT kvZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753631470; x=1754236270; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PIp7ttfHRtR6SJ+dsiWszGPM6TL4QPNY87TvQ5v8Ixc=; b=v9e5MloRzO3OftB+oo2Sbf3uhXmAAxq3HQltZx+taG9YmUykOs4/LZtTJ+21jiqNHa DbZNxpBQPXSUpx4bNAfyhkqBmGeZaL5PgcBLzDKdR3/kbxZmaiRmshi/se9ri4WBIQpX BJ4GKt4G4nwwTMSOayT5h6TIN1aEAtW+P+MokS6Acq+ldb5wVnQcM2brbaZDpEQRo/2z 4cBniyq9+0YPvd400SwBTAUn0t8+yU115QagGs+3TtGaIZPAGHTGsWQbcHEZucu3H4y4 4rv382oO1A0gJyktIylGClg2Mf+W/zXpQ8lLKq1hQjYDqsV42bWZqZq1Q+OvD49Lh5wL 8dyA== X-Gm-Message-State: AOJu0YxIhV1oNIyvMcXnqYUIsr8Ho08MaBfOriMgMFKi/OdJzNaGQwOI GKwToZ5pKi+qvwFSos8hUh1HpjaEAv/rXGXzYtfzqZo0j+5MU6/pNlO1AiquiQ== X-Gm-Gg: ASbGncvts9tSph7Yq3bTA4/vQgnmvWu+KJG4zDvEvpuN0o3/gMKjaGhD6sMDIbCIsRB /u7N7m7WUr5I1DQTuZuVIoDMhqSP/LnBCdMhZV9HVBr5TK6wmgfd668jl6Q3aAxayLINinCRUnh 3CSDqdByUQe4qVs2oqIWunt6DdCDQmYEJvp2oJaIxndvDmIwfAjCads7deayOTd09FmSnRCgOPg zRUiuN1H8WWTxt3ReabuFM1BU58+JcVv10gpgOgcsYC/TiA0DWchatnQzrIiAHov2Amra+++yIH ltRsIL9cDWm4ITg3vpGnNAgO9zpSuYE+5l4PuxD/5Swb2O1dCLWyojTnp5eY0AX69//JEufeAeY o+V/ug8hUInTRk7Qf89x2GrwoP5zP12FftmICxWRTtb9raabwfUhzg76MYobHKR2wN7CnlN4= X-Google-Smtp-Source: AGHT+IG/HA4YC1urwDQEkjfUGuM/S+BB5P7KYkVn019GKCGQGXs9CC+yiUwsBlLbJd554+Ravf6+6g== X-Received: by 2002:a05:600c:529a:b0:453:2433:1c5b with SMTP id 5b1f17b1804b1-45876307420mr70883345e9.5.1753631470366; Sun, 27 Jul 2025 08:51:10 -0700 (PDT) Received: from ?IPV6:2a01:cb15:8545:7700:62cf:84ff:fe81:caec? ([2a01:cb15:8545:7700:62cf:84ff:fe81:caec]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-458705ce781sm122597265e9.31.2025.07.27.08.51.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Jul 2025 08:51:09 -0700 (PDT) Message-ID: <868037e0-007b-4c59-bd21-94ee83661ca4@gmail.com> Date: Sun, 27 Jul 2025 17:51:09 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: exterrctl usage To: freebsd-current@freebsd.org References: Content-Language: en-US From: Paul Floyd In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [0.13 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.999]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; NEURAL_HAM_SHORT(-0.86)[-0.863]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[gmail.com:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32b:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bqmLG3FWfz3Trx X-Spamd-Bar: / On 7/20/25 15:08, Konstantin Belousov wrote: > On Sun, Jul 20, 2025 at 02:24:13PM +0200, Paul Floyd wrote: > The exterrctl call is designed for internal use by FreeBSD C runtime. Hi Konstantin Thanks for confirming. Is that also the case for sys_inotify_add_watch_at and sys_inotify_rm_watch? A+ Paul From nobody Sun Jul 27 16:18:57 2025 X-Original-To: current@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 4bqmyS2Cyrz62rjn for ; Sun, 27 Jul 2025 16:19:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqmyR6nsyz3Xlr for ; Sun, 27 Jul 2025 16:19:11 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-b2c4331c50eso3154358a12.3 for ; Sun, 27 Jul 2025 09:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753633149; x=1754237949; darn=freebsd.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=9IsMssYo6t9qEzwWYsRrrCZeJ5/7TMsmWxJHj1GVhcM=; b=CtREDWOLafsPXpLOziAg7bA5X5eFPbt04eXNP+C364TbQFTQBaf7gotxAqt6TA2OQv vpl94G8biXzM0sliF5TsDSSQVXgXtxC48Ny+JQNGr6GKpY43bh318cD/lOc6RiqGuQ2X 3/W6vf6brmBddXWDDfy/iJtF6vtYmzFB8AQKENGzXg0uFNusqfHApEwKsBw+5cK/Xl7g bq/3DLA8dBnF8c6WBqrQTjSnFFX+OhzR4uvYujo4x0VlQlAczoKdeKBUdlxGwsTc4Akd sQ50mwpGEoRaQx/mAsyRQGfHrkxU9UzECXKhfUwf0h5izY6dn5H0u8pfNDkk0PaF+LcV 7AYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753633149; x=1754237949; 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=9IsMssYo6t9qEzwWYsRrrCZeJ5/7TMsmWxJHj1GVhcM=; b=ha5KcyIyp9eDIKOb755vsgA0Nojke7rXN+fX74GWTHzuX9E9lfxf/eJ6QyGHnaON7z OpZPCryRQkaEt/bBGYMl93Sa9z9A5dQOIboZOD2agcyxR/or3ZgmMahWCi92PMzd/xCf iSKVLyKdpQJRr67xeJK9zUTfyzxj4Cy0ASCW4OyE9qGiZ9GDEXNmkb//6NWKIug/gSUv 87++0CcIDNEdSeckPgSjXxFQN6H0Vhwkwz1KTDkXzQSjx8UA0EgQnPUFAHrxT150MyEF 7oi4CZuawhqL5xHOU1aQwaDG0JwyubBCHgwV6PPccGSc190GDnsBiF4U6TCdozq6FrU6 ii/g== X-Gm-Message-State: AOJu0Ywm9AU7afoHa+KdMqpaclDRGYv8kupQ0XfF4FrFDpyfyGOkM87M pvtlfAppUKXayRQ/LdL6jHv4RGqCimUzMsdVK+2F/T4RY0vakASt9Qb7SgygaucS0TQlRA9RP3/ +aM6QroVk0KkJqJiz3oTMzkYmcuTR+4eAKWsOgB+utrj10WQ/rCq1 X-Gm-Gg: ASbGncsu/QOW6eIrE7OsrcbaN7dHoyxMIPvir8H2YU8ERcQekF9dnAX9zOuFEc2JOtQ EWj7i8OUzv1quv1As/kcFopBxDagXAdMK3OJkOCmMQX98RC1sXN0knR5JFCfUkInZJBXunlMcpa xxzSGGdIIClTC2O+YcPSXifDDn8eiWWv/7kopAuqr07NyBxsU3jc0m/NEI6xldesvjj+VtkLEiX 4ZdBQKfoiy3LijFpA0CQHuv3AeAYHlHri7kR0GOqw== X-Google-Smtp-Source: AGHT+IGtOdMsC4kUb5ABA/YXl9oRGeX1Zh3pBwqnx7Ots4So9zEwcsYuHtoyv98KeWwzsR3+0vDJNoL1zVICiSNR+1c= X-Received: by 2002:a17:90b:1650:b0:313:20d2:c99b with SMTP id 98e67ed59e1d1-31e7787c856mr12396263a91.9.1753633149157; Sun, 27 Jul 2025 09:19:09 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <202507270952.56R9qUE6043188@critter.freebsd.dk> In-Reply-To: <202507270952.56R9qUE6043188@critter.freebsd.dk> From: Warner Losh Date: Sun, 27 Jul 2025 06:18:57 -1000 X-Gm-Features: Ac12FXzWKQxqzk9yL0UNCY0tpg4TaNb5wxq2FI08VB8eK2TP7aTehs2B0MGMwME Message-ID: Subject: Re: Do we care about 32bit arm fixes any more ? To: Poul-Henning Kamp Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000ec1828063aeb88cd" X-Rspamd-Queue-Id: 4bqmyR6nsyz3Xlr X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --000000000000ec1828063aeb88cd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jul 26, 2025, 11:52=E2=80=AFPM Poul-Henning Kamp wrote: > For instance: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265639 > > Or should we just close such reviews & tickets ? > We care... but the bbb is in danger of being removed. The patch in the bug, the last one, seems sensible. Warner --=20 > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetenc= e. > > --000000000000ec1828063aeb88cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, Jul 26, 2025, 11:52=E2= =80=AFPM Poul-Henning Kamp <phk@ph= k.freebsd.dk> wrote:
For ins= tance:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 htt= ps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265639

Or should we just close such reviews & tickets ?
=

We care...=C2=A0 but th= e bbb is in danger of being removed. The patch in the bug, the last one, se= ems sensible.

Warner

--
Poul-Henning Kamp=C2=A0 =C2=A0 =C2=A0 =C2=A0| UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| TCP/IP since RFC 956
FreeBSD committer=C2=A0 =C2=A0 =C2=A0 =C2=A0| BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.=

--000000000000ec1828063aeb88cd-- From nobody Sun Jul 27 19:41:13 2025 X-Original-To: current@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 4bqsRt6pWRz633gw for ; Sun, 27 Jul 2025 19:41:30 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqsRt4fPSz3xM5 for ; Sun, 27 Jul 2025 19:41:30 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-7e638975262so323962785a.0 for ; Sun, 27 Jul 2025 12:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; t=1753645285; x=1754250085; darn=freebsd.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=iPe69w4wc5o80np9jjK/RDKw12MFv9XkMcC332mgoPM=; b=ojx3Zn6s6OCqt+81J7BsiFM+SMCtu51h9a4LJOeCh57moyZ4CLdg7od5Ule3IA0p5X bjA9GtiJsmLll6WEEYvoUab7wRXj75KluxNTzrQs1B5T1uYko8YT25Im5RXJ6amH/si7 eRB9GKiHR9u2xhDcsQkGSqjscPmuLggvxChMI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753645285; x=1754250085; 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=iPe69w4wc5o80np9jjK/RDKw12MFv9XkMcC332mgoPM=; b=e9xHiHhdpRK7k2WZOKRnyFNtzalCumxpekm46hY8REjkIonUPwa5eWSttwVmKaWtNk imuG66PXoSGonUIZhMFLoaFqbpPJawcbVAbI83ZDHxxZoKPwSv8R6hPJELrPkYQoh6Wp b5fVx6YXrZ0AUqWOnvEutJAI5wgtBL0ZH3Fu69XItMBQIkyVonwy6fLhcnCqyJRjfL0n SFDbLHnTV9C9cyLp6I8qtVuyiF+V4AEnrWmceDqMornzV2hpwTOvD50gXMmoY/wEBYFg jbJiTf/6k9UcPhEbk9zXUgHSNCIdHj2q/XyKn+El9iZDwXvgIyLzyxtL6UUolRXtMo1H UcOA== X-Forwarded-Encrypted: i=1; AJvYcCU1unSKfouIF+7qOWEbCbliFds2zKIitKVg/7ngT22U4KsMGDfjH8zapQ4RqR5kmA/jFsoZCNtm@freebsd.org X-Gm-Message-State: AOJu0Yyp5gEhJEdP173B5+x2lpdqUpBmM4sMF65eL3og+47lvcEfN3// mu4ic5qJkK6sI/3CnzSYJQbPe3G8rqyIaFvQwXNDDoxCuZ0LR/fuRaXocxCsCFJVZI0x0oRTBob xh6ei7V7xE4d5N5k6PMAIEk381UJuLvwMnbg7W388 X-Gm-Gg: ASbGncsepo7KSPJxnX9TiLR7N/Rsu85Ybamjd8TtBs3ond37owatgZaZGEUSdQy8Jxb ZuFcagzdX/zjKePh4wB1Kl4FpLiHVul0AknwlG/m+NQ5dtk63mNGV1r8OnnqCDY8qBclUuDP7Wa b/7dQ+cLXbbpvB3458c8m2oRe07216ZTfH4y6KsZDtfOhf0b7xFKabq2oMqDW5pBGxrdU2XFKi2 NchyUSX X-Google-Smtp-Source: AGHT+IGZgqyIH3uI4DxXRtYhj+DFHYKa45sqDD4Efn1C2ADz7hl0yQppNNa/FpqO6gpOTxFTZfeEYGpgE/jfucaeXBI= X-Received: by 2002:a05:620a:3887:b0:7e3:28f3:893 with SMTP id af79cd13be357-7e63c1c7502mr1109063485a.35.1753645284860; Sun, 27 Jul 2025 12:41:24 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <7F8E9486-3FF5-436F-B584-8ACB7BCF1BAD@FreeBSD.org> In-Reply-To: <7F8E9486-3FF5-436F-B584-8ACB7BCF1BAD@FreeBSD.org> From: Kevin Bowling Date: Sun, 27 Jul 2025 12:41:13 -0700 X-Gm-Features: Ac12FXyxzLGcH9MI8cfQacoqYAeIJ85LqLTxOQDY94He__4BYW-MxxfC-P9-vCo Message-ID: Subject: Re: LLVM broken on main (arm64)? To: Dimitry Andric Cc: Lexi Winter , "Herbert J. Skuhra" , current@freebsd.org, arm@freebsd.org, Kevin Bowling Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bqsRt4fPSz3xM5 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Sun, Jul 27, 2025 at 4:58=E2=80=AFAM Dimitry Andric wr= ote: > > On 27 Jul 2025, at 13:33, Lexi Winter wrote: > > > > Dimitry Andric: > >> On 27 Jul 2025, at 12:44, Herbert J. Skuhra wrote: > >>> > >>> after updating from main-n279078-1f2c178e5688 to > >>> main-n279105-9b3055d0d4bc (arm64) I have the following issue: > >>> > >>> $ cc > >>> PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and in= clude the crash backtrace, preprocessed source, and associated run script. > >>> Stack dump: > >>> 0. Program arguments: cc > >>> 1. Compilation construction > >>> Stack dump without symbol names (ensure you have llvm-symbolizer in y= our PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): > >>> 0 libprivatellvm.so.19 0x00000edc041485ec llvm::sys::PrintStackTrace= (llvm::raw_ostream&, int) + 72 > >>> 1 libprivatellvm.so.19 0x00000edc041464ec llvm::sys::RunSignalHandle= rs() + 128 > >>> 2 libprivatellvm.so.19 0x00000edc04148d48 llvm::support::detail::pro= vider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) + 41= 2 > >>> 3 libthr.so.3 0x00000edc06bafc38 _pthread_sigmask + 1320 > >>> Segmentation fault > >> > >> That's a very short trace, with no useful information. Maybe installwo= rld was half-finished? > > > > i am seeing something similar on amd64 after updating past 9b3055d0d4bc= : > > > > 1& 1? 172!freebsd15 ~/src/bsd/dev [lf/dev/pkgbase-toolchain]% cc > > > > PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and incl= ude the crash backtrace, preprocessed source, and associated run script. > > Stack dump without symbol names (ensure you have llvm-symbolizer in you= r PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): > > 0 libprivatellvm.so.19 0x00001ca34ed8f2c9 llvm::sys::PrintStackTrace(l= lvm::raw_ostream&, int) + 57 > > 1 libprivatellvm.so.19 0x00001ca34ed8d185 llvm::sys::RunSignalHandlers= () + 85 > > 2 libprivatellvm.so.19 0x00001ca34ed8f9d7 llvm::support::detail::provi= der_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) + 375 > > 3 libthr.so.3 0x00001ca352fc88ec _pthread_sigmask + 1340 > > 4 libthr.so.3 0x00001ca352fc7ebb pthread_signals_unblock_np += 1467 > > 5 libthr.so.3 0x00001ca34449d2d3 pthread_signals_unblock_np += 18446744073462962643 > > 6 libprivatellvm.so.19 0x00001ca34d5b28be llvm::cl::opt>::~opt() + 62 > > 7 libc.so.7 0x00001ca35434131f __cxa_finalize + 351 > > [2] 5802 bus error (core dumped) cc > > > > i'm using pkgbase so unlikely to be a partial install. could it be tha= t > > this change requires a clean build? > > I think it's likely that Kevin's https://reviews.freebsd.org/D50388 / htt= ps://cgit.freebsd.org/src/commit/?id=3D9b3055d0d4bc is the cause: it flips = MK_LLVM_ASSERTIONS from "yes" to "no" by default. My guess is that some obj= ects, libraries or binaries do not get rebuilt, leading to inconsistencies. > > There probably has to be another depend-cleanup.sh hack to get over this.= Another complication is that in depend-cleanup.sh you don't have access to= the MK_xxx options from src.opts.mk. That would not be fun because the idea is to allow someone to easily toggle both directions, and not blow up the noclean build time for everyone unconditionally whacking libprivatellvm.so or the like unless there is a trivial way to detect the change. I am inclined to back this out if someone can confirm simply setting WITH_LLVM_ASSERTIONS fixed the issue. > > -Dimitry > > From nobody Sun Jul 27 21:26:29 2025 X-Original-To: freebsd-current@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 4bqvnP2dklz637s2 for ; Sun, 27 Jul 2025 21:26:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqvnM6V32z3Cwc for ; Sun, 27 Jul 2025 21:26:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="T/FKiIgN"; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1753651605; bh=bwdfZztYreullS+Xf/3AcT64fydOj48w91PI+gm34zs=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=T/FKiIgN46W95kaSjUXjdxiQgfGnhZ3Hb/qY1W597MFT2yK/JfUHuEbCk1bTYQaYtPsawfJlem/xkHeqdCazRexFZ2tGU5/tzx0+lAKzAStf7SuUlzEnLuPzC0VFbCqoyCxAQcRBtqMaW9NPTp2TVh1Pe2Gppx3cLHNSVgEpAgVx0AxHE18LAybrIbtGuuImSHkJ/rkA06X7BtGay6gNzJG5wR/QBs8JDTIkKEHzKeosH9ZzJWiH4a1lWEix7VM35hzkl1Q6Eb01QK/WDnO9VcNu6SytHv1zJkcnTdAoY/oBgB0vQ7i1YB+INSFRHNZBK8ZeX8dMpKOIjz7lsv/lZA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1753651605; bh=6r/JLegUl1IO1wyZXV6LR0qWV9Uz1zwN/kZUS5uslGr=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=jhUO1ug2CwFGAKekj0PwrP6FPoM7zGdSz3hZzS4jAJaJbfe50JAVRrHyiGdySgSjERqZlOL37VXrij+c1pwYd57C0jO+LMMZj85rmy7/Bs8vK+WgAPIkCdG5BO3NHAxKOO8Ns4VhiNqzEz6YBJn0zPyvsDdPfHY6y/k/qRtjOIVk5ecPHGv2qNu5ahAHGTZHDExI2agstAHDKdDj372O9jasekKnvRa3xHlK3yg0p1g+WUhAbrhkHE/bK4mm32t7rBR/IVqSmlRp6PnJUlVoWIauO+46rOzJcXd3QtFaK/hDbngc4mZXW3vniOHbYAGy3YYo4QhscbsYyxUwDLjXPg== X-YMail-OSG: gRzYsIMVM1k5ryQTo4bBqAsIevSYPiFSEnfqlXaacUiy9mbadov7E.7FFHdyWFU WAIzzpTCu75DWRqZbUvN_N6WVlYznd05Up1dFGuEmdy1FNuufozfAsRzNBkRsSkHgVZqpUBHKptu A.gnEqSJgS._lsXaZ1QRzApAKZn0IJY59CkiuchT2zVc3Gj0_J1NdGhBGbKRJSsse9t1__vavxnT NA5XDygCyBODTnwo.UKyuHKCEktZiklyHG7cqijXhk2DIGtsK5O9Z2fdDdFDVDzIt_es9MRH16lF BkEHQkayj3Lo7sLPAY3xqiS4E3Wpis7NmVeV6684j.XathRg_Pxi7YISQCT8unsRLGFcPSObUPVo 2Saa2U8O9Vuys1N_E9KgvkY995vhrGkWZBk7SApHYu6JiTUZ74jpKiJ32KNGJzN9b5sTCsiFpVBm _1ES0f83krg3irUhHrSYm4o8UJSHXX_ZL.fZxhRqMK4arLY3AeXv6rl3nBgJaGgFICH9jSVd6rDq gf070HtQEMQCtaXCFmrlLt06x_PBzYL7nTcNotzpNg.cWmGUy2y1dKUpunfREvUDSp9lSa8mawP. QaFBhFgWnpQ5sN7e9Fw3c43ZKssMSgO.bGr874G8tc4LPhC4TR9S2WrrUqUHbLPhAVRzMZ7SNxT9 m4pZYIkAD6612zTQsGEZoIdW_G5I1.NyZ7ClEd_qt.wB2qu7ixHvABZHvByJXWYHBFwADCm8xavE lu9KJrmm76Jeb.gm0U5U3BpzKVkB0VSboBFSNE4XaIlZAeQZYFhlDv3dqgnbzNfcAHUk2CNIWfhC eSqceq3JlNGt_rxvszLeSj7C6.679dAcD2B3PFWN3HhVEJdMyxCrgrad5owCB0iMhSStLSV4CF.Q p96WdmB7_TlCrRfYKpJUiczxucwsILI5R.i71i7FkrRAcKQvmxdzcVM_u70ssuxrLX719NFHCIE3 UungtIknSsFWHf4763GQlsj.tg3ncENGSzkvpRHmvkls6YsG.As5WhXx2M7e4SQ_42NzzZGfrS8b Us4ZSQD8boiMt7Fr7JAV1V2RSBUJ81k3AYJ70SmceAppOJLYHxc_eilWg.bsGBT0Eq22bqc0ETKC FENyfR5fQGXi0pJcQD1nvuAygabEat9tN1rkMXf5cxxS5ld1X4j4MbPJTJsaEHANVZw1P3gmcMd3 c7eObU9RQMXG8eBe.2hee4APfEWHXXmO_hS2I1yfOpkQzo8xUbTX6VBwmEAUzrTFzH1pZ2t0FsBA 6OOETDU0sbD_FV4H568daVDvgLviiVRFpsKIggV8v8b0E1d9rwQWdFOvKjnR0.6qozDmGfHlBUZP cCYztcQKGhnihXGigivPpafvLnbXhrX2j72JToxt7buphX9WT1RbQ0eblvJqA4pFnq6GiiLVx09r Ueiyhzv2fPrzzrtfCaLcKrWiWC4Lv5CdBIxx2HdGrtYXagsqEsZcZ6xCjzLytFKQNbo73gqCN.1j ZAqVNY0N6.U4RKWfgymTL.cRaXQC9fqa3xPQR1I6lHY71pq03VVlw7etnVtmLm2MKqaUaQtG70RH RXp9g9YHGkyY60OyQh9uRbaruTOhKupxfSPmYvorgrE5aUaGqB_QsaQDj6O87AF28yxvmfe8LVMH _f0GvD1rZ49V0R0is1nKhbJf.4S_3Z1vf02ZfWXcoMn7.nqpFqbdYvj7EApAbRigjvyvxgEnnjVG HkxFE.qrX7hJxHq6V2bYmrndNBum_2pFwzITvcB5rUW_Jp62HfV8WhwAgDXatTjxmtmtXX7u0NOM g.Q.wkKzDXel6u1l89ql6heLNQEh.EtWpVBlc70uQZVo6wr2w1FWjb2masE3F9gFYbCJ8DTIBDEB 1XPX5jOANveAzSTIbvgZJCr.EQxRdlv2oTPiHyo3QT5SuPf5DyFSM4nVwOR9EAFldxq_eFMxXALp IJ_Vt7z0gs703wTpNyMdy4tOsNc5XKHW6o9jDsPwGdfDnX5o7As6sHIvgzcBMF5QTzLNRGn7krB6 rorMKR6YHW9UaV00oyvONp1pYiDslEbPXNCMJXKaNd6zTxrjjAXeV23tKk95kSJCgBHOZv69kiTv v9h5Igq6jYR..ge.1U0bnvgxhcK3VDGxy8TIdgYY0hXXsNw.pCjSBkdYWnv9C3ixKQpiOENGPuVj 0hauDYWdDGKzpgfkdh1eHrakTx9zeQqPItbR3oglnceviEpA_MMV_nx8cVrYZdhpXmaFrvk4sLju RppaVyUMqfLtCyqFXpgK0F6i5LpKRTZVJUbzjWF2zDIhAs3A4GcvcEgJRrF_i8Sq_ X-Sonic-MF: X-Sonic-ID: 70f0f7e1-c23e-49b1-92c6-853fbb0765b9 Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sun, 27 Jul 2025 21:26:45 +0000 Received: by hermes--production-gq1-74d64bb7d7-s6s6l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c9e03270ba43fff923414cf626364371; Sun, 27 Jul 2025 21:26:40 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: A panic by vm_pageout_scan_active activity, some details in case they might help Message-Id: Date: Sun, 27 Jul 2025 14:26:29 -0700 To: FreeBSD Current X-Mailer: Apple Mail (2.3826.600.51.1.1) References: X-Spamd-Result: default: False [-1.46 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.51)[-0.507]; SUBJECT_ENDS_SPACES(0.50)[]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.05)[0.049]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_DN_ALL(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bqvnM6V32z3Cwc X-Spamd-Bar: - I tried a poudriere(-devel) bulk -Ca on the amd64 system that I have access to and a package build used up much of the RAM+SWAP =3D=3D 704 GiBytes before a panic happened. Past examples OOM'd without panics, although I did not know the context until examining this crash dump. # uname -apKU FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT = main-n278320-3a33e39edd48 GENERIC-NODEBUG amd64 amd64 1500048 1500048 That is an official PkgBase installation of the boot-kernel and boot-world, not a personal build. The dump materials had references for doxygen and for dot to : /usr/local/poudriere/data/.m/main-ZNV4-bulk_a-alt/06/dev that let me track this to the [06] builder running at the time of the crash: [2D:01:22:29] [06] [00:00:00] Building graphics/sdl2_gpu | = sdl2_gpu-0.12.0 It was running doxygen, which in turn was running mulitple dot's. =46rom /var/crash/core.txt.4 : UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT = TIME COMMAND . . . 0 79229 40923 4 59 0 23524 4148 wait D - = 0:00.00 [sh] 0 79230 79229 5 59 0 14208 172 wait Ds - = 0:00.01 [make] 0 79233 79230 4 59 0 14668 176 wait D - = 0:00.00 [sh] 0 79234 79233 5 59 0 14668 176 wait D - = 0:00.00 [sh] 0 79235 79234 12 0 0 16284 356 select D - = 0:00.01 [ninja] 0 79236 79235 28 59 0 223048 1052 uwait D - = 0:00.44 [doxygen] 0 79272 79236 25 59 0 157589964 41424308 pfault D - = 3:25.33 [dot] 0 79279 79236 31 59 0 157601740 41513520 pfault D - = 3:23.41 [dot] 0 79289 79236 14 59 0 157589964 41361600 pfault D - = 3:22.72 [dot] 0 79301 79236 18 49 0 157667276 41208476 pfault D - = 3:24.32 [dot] . . . . . . #14 No locals. #15 vm_pageout_scan_active (vmd=3D0xffffffff81c22380 , page_shortage=3D102849) at /home/pkgbuild/worktrees/main/sys/vm/vm_pageout.c:1264 ss =3D {bq =3D {bq_pa =3D {0xfffffe0030a1e500, = 0xfffffe00a8798110, 0xfffffe00e3083e30, 0xfffffe00a47a4228, = 0xfffffe002b6d8ef8, 0xfffffe0065cf29a0, 0xfffffe007a1b83b8, = 0xfffffe008cf7b3c0, 0xfffffe005cd565e0, 0xfffffe0048ced5d8, = 0xfffffe00c761d488, 0xfffffe008a5efe90, 0xfffffe00cf341738, = 0xfffffe00413f97b8, 0xfffffe005270cc68, 0xfffffe00a5d9d690, = 0xfffffe00294329e0, 0xfffffe005ef52f00, 0xfffffe0020dff308, = 0xfffffe00ce1e9a40, 0xfffffe007ec47618, 0xfffffe005d1ba7e8, = 0xfffffe0032d73470, 0xfffffe0030835e88, 0xfffffe009969c438, = 0xfffffe00f151b0c8, 0xfffffe0063916fe8, 0xfffffe00dac0b778, = 0xfffffe0016267348, 0xfffffe00b74a5fe0, 0xfffffe003434ef80, = 0xfffffe009e31e840, 0xfffffe00530f6408, 0xfffffe00e0649508, = 0xfffffe0102e87ad8, 0xfffffe0092c52848, 0xfffffe00ba829618, = 0xfffffe008bf0fd10, 0xfffffe00550708c0, 0xfffffe00eedc67b8, = 0xfffffe00d45f8210, 0xfffffe00b89a8698, 0xfffffe0082ffb310, = 0xfffffe00accd53c0, 0xfffffe0091c8f5d8, 0xfffffe004e20f180, = 0xfffffe004dfb4f90, 0xfffffe00a437fbb0, 0xfffffe00218cb698, = 0xfffffe004ee5d278, 0xfffffe00a9e845a0, 0xfffffe0025d4a7c8, = 0xfffffe0037612ac8, 0xfffffe005c7d3da8, 0xfffffe00d307c1b8, = 0xfffffe00ee416538, 0xfffffe0043747508, 0xfffffe00ef30b508, = 0xfffffe00c04de600, 0xfffffe008c0e3040, 0xfffffe0071a97b40, = 0xfffffe005b644ad8, 0xfffffe00dd5da3b0}, bq_cnt =3D 39}, pq =3D 0xffffffff81c22400 , marker =3D 0xffffffff81c22778 , maxscan =3D = 37165731, scanned =3D 15440544} marker =3D 0xffffffff81c22778 pq =3D 0xffffffff81c22400 old =3D scan_tick =3D min_scan =3D m =3D 0xfffffe00eedc67b8 object =3D 0x2b6c70f000 refs =3D new =3D ps_delta =3D act_delta =3D max_scan =3D nqueue =3D _v =3D _tid =3D _v =3D _tid =3D _v =3D _v =3D _tid =3D _v =3D . . . =46rom the /usr/src/sys/ for the PkgBase installation in use, there is = in vm_pageout_scan_active : /home/pkgbuild/worktrees/main/sys/vm/vm_pageout.c: unmodified, readonly: = line 1264 of 2416 [52%] /* * Check to see "how much" the page has been used. * * Test PGA_REFERENCED after calling = pmap_ts_referenced() so * that a reference from a concurrently destroyed = mapping is * observed here and now. * * Perform an unsynchronized object ref count check. = While * the page lock ensures that the page is not = reallocated to * another object, in particular, one with unmanaged = mappings * that cannot support pmap_ts_referenced(), two races = are, * nonetheless, possible: * 1) The count was transitioning to zero, but we saw a = non- * zero value. pmap_ts_referenced() will return zero * because the page is not mapped. * 2) The count was transitioning to one, but we saw = zero. * This race delays the detection of a new reference. = At * worst, we will deactivate and reactivate the page. */ refs =3D object->ref_count !=3D 0 ? = pmap_ts_referenced(m) : 0; I am unlikely to be able to replicate the panic. I hope that this is of some use. Note: I linked /home/pkgbuild/worktrees/main/sys to /usr/sys/src so that such paths work in my context. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sun Jul 27 21:30:48 2025 X-Original-To: current@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 4bqvt868qLz638Jr; Sun, 27 Jul 2025 21:30:56 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bqvt82WGJz3FQh; Sun, 27 Jul 2025 21:30:56 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; none Date: Sun, 27 Jul 2025 23:30:48 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1753651849; bh=6FQHK2uvyoXshiq6VWmw4jXDwfLs64eAKr3BpMZlSXs=; h=Date:Message-ID:From:To:Cc:Subject:MIME-Version:Content-Type; b=vOFeBrRwzYrBQdPAigAxMvenHbI+FxlBJ39p+wrA/470Vmx3VjRHpkCaFb7ikgn5s 7FSgM+Wp9poNA7IPTly8ZnfY+p2Q+YvCTeuciw6NkRk6/AjoDfcttmfg4NVMvGoOEp bGBwillxomuTMwS7UoBMKjo66jFwu3WNpHid9BcD6gC0FV7kGH/gbOtksH6W831AFl JQz7t9FEJdIHBZsYXn0KrluGWnqvyYXCzZA+/Fie0T1NSczcqvSPU8A+AHzcIYKXRD JS0yth3KnPjQOpSOZLHhwN5zjoEg6rhN9dc+4hon6StEgv4bbBGezaeLaYG2nUtcmZ 8MqwmvBUmchFg== Message-ID: <87v7nde2yf.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: Kevin Bowling Cc: Dimitry Andric , Lexi Winter , current@freebsd.org, arm@freebsd.org, Kevin Bowling Subject: Re: LLVM broken on main (arm64)? In-Reply-To: References: <7F8E9486-3FF5-436F-B584-8ACB7BCF1BAD@FreeBSD.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/31.0 Mule/6.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bqvt82WGJz3FQh X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE] On Sun, 27 Jul 2025 21:41:13 +0200, Kevin Bowling wrote: >=20 > On Sun, Jul 27, 2025 at 4:58=E2=80=AFAM Dimitry Andric = wrote: > > > > On 27 Jul 2025, at 13:33, Lexi Winter wrote: > > > > > > Dimitry Andric: > > >> On 27 Jul 2025, at 12:44, Herbert J. Skuhra wrot= e: > > >>> > > >>> after updating from main-n279078-1f2c178e5688 to > > >>> main-n279105-9b3055d0d4bc (arm64) I have the following issue: > > >>> > > >>> $ cc > > >>> PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and = include the crash backtrace, preprocessed source, and associated run script. > > >>> Stack dump: > > >>> 0. Program arguments: cc > > >>> 1. Compilation construction > > >>> Stack dump without symbol names (ensure you have llvm-symbolizer in= your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it= ): > > >>> 0 libprivatellvm.so.19 0x00000edc041485ec llvm::sys::PrintStackTra= ce(llvm::raw_ostream&, int) + 72 > > >>> 1 libprivatellvm.so.19 0x00000edc041464ec llvm::sys::RunSignalHand= lers() + 128 > > >>> 2 libprivatellvm.so.19 0x00000edc04148d48 llvm::support::detail::p= rovider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) + = 412 > > >>> 3 libthr.so.3 0x00000edc06bafc38 _pthread_sigmask + 1320 > > >>> Segmentation fault > > >> > > >> That's a very short trace, with no useful information. Maybe install= world was half-finished? > > > > > > i am seeing something similar on amd64 after updating past 9b3055d0d4= bc: > > > > > > 1& 1? 172!freebsd15 ~/src/bsd/dev [lf/dev/pkgbase-toolchain]% cc > > > > > > PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and in= clude the crash backtrace, preprocessed source, and associated run script. > > > Stack dump without symbol names (ensure you have llvm-symbolizer in y= our PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): > > > 0 libprivatellvm.so.19 0x00001ca34ed8f2c9 llvm::sys::PrintStackTrace= (llvm::raw_ostream&, int) + 57 > > > 1 libprivatellvm.so.19 0x00001ca34ed8d185 llvm::sys::RunSignalHandle= rs() + 85 > > > 2 libprivatellvm.so.19 0x00001ca34ed8f9d7 llvm::support::detail::pro= vider_format_adapter::format(llvm::raw_ostream&, llvm::StringRef) + 375 > > > 3 libthr.so.3 0x00001ca352fc88ec _pthread_sigmask + 1340 > > > 4 libthr.so.3 0x00001ca352fc7ebb pthread_signals_unblock_np= + 1467 > > > 5 libthr.so.3 0x00001ca34449d2d3 pthread_signals_unblock_np= + 18446744073462962643 > > > 6 libprivatellvm.so.19 0x00001ca34d5b28be llvm::cl::opt>::~opt() + 62 > > > 7 libc.so.7 0x00001ca35434131f __cxa_finalize + 351 > > > [2] 5802 bus error (core dumped) cc > > > > > > i'm using pkgbase so unlikely to be a partial install. could it be t= hat > > > this change requires a clean build? > > > > I think it's likely that Kevin's > > https://reviews.freebsd.org/D50388 / > > https://cgit.freebsd.org/src/commit/?id=3D9b3055d0d4bc is the cause: > > it flips MK_LLVM_ASSERTIONS from "yes" to "no" by default. My > > guess is that some objects, libraries or binaries do not get > > rebuilt, leading to inconsistencies. > > > > There probably has to be another depend-cleanup.sh hack to get > > over this. Another complication is that in depend-cleanup.sh you > > don't have access to the MK_xxx options from src.opts.mk. >=20 > That would not be fun because the idea is to allow someone to easily > toggle both directions, and not blow up the noclean build time for > everyone unconditionally whacking libprivatellvm.so or the like unless > there is a trivial way to detect the change. >=20 > I am inclined to back this out if someone can confirm simply setting > WITH_LLVM_ASSERTIONS fixed the issue. I updated two amd64 systems without any issues. After fixing my arm64 system with llvm19 from ports I tried the following: - Disable WITH_CCACHE_BUILD in /etc/src.conf - Wipe /usr/obj - Build and install 92dfc3fbcd79 and reboot - Build and install 6c4771c73470 and reboot Result: no issues So I guess the problem was caused by ccache but I have no idea why it only failed on arm64. I also use ccache on the other systems. -- Herbert From nobody Sun Jul 27 22:00:48 2025 X-Original-To: freebsd-current@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 4bqwXp2dYBz639qv for ; Sun, 27 Jul 2025 22:00:58 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqwXp0SgBz3KGY for ; Sun, 27 Jul 2025 22:00:58 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-7e33d36491dso562395185a.3 for ; Sun, 27 Jul 2025 15:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753653652; x=1754258452; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=1sFjaNUXZAmlKbvZjIf+Yb2EppKt/8recDQi5k0sq8Q=; b=Zeo2Ek2+JVerMvBDS54DF+cdSMtbq9oIi2JNFm9Bhbo04zBrBQP1m8txw/Z8E/sCBO uu1MlAM1C8Oy9AVElUA0bDlfNqsLP3DV5HsA7gVq+mrLAgtlA7P+DL3/2RGPVXAaZSMa g4g7dmavQZxIwoTruHbCZ9p82AN7HiFcXEq8AVXcquaLg6TyO7+DY4kCqH2kJfECr84U Bb3k/YyKslN+FLYUq4j0ZOi+VcTJ8fvfWazAXEun3GKoLj+W6/aHslqQSbBU57sNJc0i cUgiF9MaXOd9Xw9Uf+72Jo+RloOtw/y1hnwQKmoz850oeF0fW8IKlm3aZsJ76bKKJWvN ip1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753653652; x=1754258452; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1sFjaNUXZAmlKbvZjIf+Yb2EppKt/8recDQi5k0sq8Q=; b=OQ2Ip3dfRufnXEgR7Y0cA30+2FD1cgop4MVAIgJ+I5MTf9CgcZtwRlbfEvr6cmScGs jn//TyeMC7BCXWX8Y+614kV5JXBqFIHia8t/PNQBAgj4ncCbRycZO0eaVTy+9H6VhP0m KtCH/pioPuUJWPhobuK3CI7ALmjc4OJ208Sx61JDZ3S4ZVH3fg3xULwVG2AugRanPjJ5 EyAu1nbSYAjs9xh9/cyuYo59RAv1H1pSp4SzpkmtRtq2MWs3ioH5+DFvkizsS22fV6kJ DeKYC27YWELN0QKGMuy3eTyIpC2SZz0GeN1kaeUV+Cat22x653xjnQjJiWfPCMH4n2+4 o7Bw== X-Gm-Message-State: AOJu0Yyi2CTfhljwxHJb0EnMlT5doW+0m1dYM8uZQErqkkAmsHj3RR4M f9hYb2bBJ8QawcJKCg8CQvAOEN8FjIeLbHpDHdwcY6Ku0+rO8QeRpewy X-Gm-Gg: ASbGncvZP96tZM3cBi8IN5R4MQuufwTYaIzlCzfn8nXt6NlG3HwVB5GTxg6cHE1VH3k lLWGlmhwX0gTGJF3hjPCUyv4PRIGNKAUdmY+lHrKuno6/ykHQWaWj05XlaQ2H73Y0Sk45iOBXl7 pOlRXicCLckv9ucSvCgXidkYGhGTA05fjfbWWBChYnK9xaGxZMtoV57z6TKD/ckrR2S6eUOxoUg 7+9ybR2YyebCUXA3mmvY+6w5yAZWYv/za2Hn0LlsD1IjwaSsrfYojmx5KacgWr4WPeKYfUv2k7u iGPEHM9T1IDQPUjwYzEHKShahlHNcHMhecnKOyaFsDH8U0yA5vtctYA/xUiqxiW/NqP50g1lkJL qpO73RhwkwmcJj1jb/Qbnp6iLK6BA3TBeEOMP X-Google-Smtp-Source: AGHT+IGBYmIuHASMEvbHEFaMi5TOxG0DWSg5EKwdzEeffygK4oI5mkd3Nc+w9drCSwxe4GoCXU+TmA== X-Received: by 2002:a05:620a:25c9:b0:7e2:fbf7:f2c8 with SMTP id af79cd13be357-7e63c1b77afmr1140365185a.52.1753653652010; Sun, 27 Jul 2025 15:00:52 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7e64387a1a8sm230984485a.52.2025.07.27.15.00.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Jul 2025 15:00:51 -0700 (PDT) Date: Sun, 27 Jul 2025 18:00:48 -0400 From: Mark Johnston To: Mark Millard Cc: FreeBSD Current Subject: Re: A panic by vm_pageout_scan_active activity, some details in case they might help Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4bqwXp0SgBz3KGY X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Sun, Jul 27, 2025 at 02:26:29PM -0700, Mark Millard wrote: > I tried a poudriere(-devel) bulk -Ca on the amd64 system that > I have access to and a package build used up much of the > RAM+SWAP == 704 GiBytes before a panic happened. Past examples > OOM'd without panics, although I did not know the context until > examining this crash dump. What is the panic string? Could you please open a report on bugzilla and include the full core.txt.4? > # uname -apKU > FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT main-n278320-3a33e39edd48 GENERIC-NODEBUG amd64 amd64 1500048 1500048 > > That is an official PkgBase installation of the boot-kernel and > boot-world, not a personal build. > > The dump materials had references for doxygen and for dot to : > > /usr/local/poudriere/data/.m/main-ZNV4-bulk_a-alt/06/dev > > that let me track this to the [06] builder running at the time > of the crash: > > [2D:01:22:29] [06] [00:00:00] Building graphics/sdl2_gpu | sdl2_gpu-0.12.0 > > It was running doxygen, which in turn was running mulitple dot's. > > From /var/crash/core.txt.4 : > > UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND > . . . > 0 79229 40923 4 59 0 23524 4148 wait D - 0:00.00 [sh] > 0 79230 79229 5 59 0 14208 172 wait Ds - 0:00.01 [make] > 0 79233 79230 4 59 0 14668 176 wait D - 0:00.00 [sh] > 0 79234 79233 5 59 0 14668 176 wait D - 0:00.00 [sh] > 0 79235 79234 12 0 0 16284 356 select D - 0:00.01 [ninja] > 0 79236 79235 28 59 0 223048 1052 uwait D - 0:00.44 [doxygen] > 0 79272 79236 25 59 0 157589964 41424308 pfault D - 3:25.33 [dot] > 0 79279 79236 31 59 0 157601740 41513520 pfault D - 3:23.41 [dot] > 0 79289 79236 14 59 0 157589964 41361600 pfault D - 3:22.72 [dot] > 0 79301 79236 18 49 0 157667276 41208476 pfault D - 3:24.32 [dot] > . . . > > . . . > #14 > No locals. > #15 vm_pageout_scan_active (vmd=0xffffffff81c22380 , > page_shortage=102849) > at /home/pkgbuild/worktrees/main/sys/vm/vm_pageout.c:1264 > ss = {bq = {bq_pa = {0xfffffe0030a1e500, 0xfffffe00a8798110, > 0xfffffe00e3083e30, 0xfffffe00a47a4228, 0xfffffe002b6d8ef8, > 0xfffffe0065cf29a0, 0xfffffe007a1b83b8, 0xfffffe008cf7b3c0, > 0xfffffe005cd565e0, 0xfffffe0048ced5d8, 0xfffffe00c761d488, > 0xfffffe008a5efe90, 0xfffffe00cf341738, 0xfffffe00413f97b8, > 0xfffffe005270cc68, 0xfffffe00a5d9d690, 0xfffffe00294329e0, > 0xfffffe005ef52f00, 0xfffffe0020dff308, 0xfffffe00ce1e9a40, > 0xfffffe007ec47618, 0xfffffe005d1ba7e8, 0xfffffe0032d73470, > 0xfffffe0030835e88, 0xfffffe009969c438, 0xfffffe00f151b0c8, > 0xfffffe0063916fe8, 0xfffffe00dac0b778, 0xfffffe0016267348, > 0xfffffe00b74a5fe0, 0xfffffe003434ef80, 0xfffffe009e31e840, > 0xfffffe00530f6408, 0xfffffe00e0649508, 0xfffffe0102e87ad8, > 0xfffffe0092c52848, 0xfffffe00ba829618, 0xfffffe008bf0fd10, > 0xfffffe00550708c0, 0xfffffe00eedc67b8, 0xfffffe00d45f8210, > 0xfffffe00b89a8698, 0xfffffe0082ffb310, 0xfffffe00accd53c0, > 0xfffffe0091c8f5d8, 0xfffffe004e20f180, 0xfffffe004dfb4f90, > 0xfffffe00a437fbb0, 0xfffffe00218cb698, 0xfffffe004ee5d278, > 0xfffffe00a9e845a0, 0xfffffe0025d4a7c8, 0xfffffe0037612ac8, > 0xfffffe005c7d3da8, 0xfffffe00d307c1b8, 0xfffffe00ee416538, > 0xfffffe0043747508, 0xfffffe00ef30b508, 0xfffffe00c04de600, > 0xfffffe008c0e3040, 0xfffffe0071a97b40, 0xfffffe005b644ad8, > 0xfffffe00dd5da3b0}, bq_cnt = 39}, > pq = 0xffffffff81c22400 , > marker = 0xffffffff81c22778 , maxscan = 37165731, > scanned = 15440544} > marker = 0xffffffff81c22778 > pq = 0xffffffff81c22400 > old = > scan_tick = > min_scan = > m = 0xfffffe00eedc67b8 > object = 0x2b6c70f000 > refs = > new = > ps_delta = > act_delta = > max_scan = > nqueue = > _v = > _tid = > _v = > _tid = > _v = > _v = > _tid = > _v = > . . . > > From the /usr/src/sys/ for the PkgBase installation in use, there is in > vm_pageout_scan_active : > > /home/pkgbuild/worktrees/main/sys/vm/vm_pageout.c: unmodified, readonly: line 1264 of 2416 [52%] > > /* > * Check to see "how much" the page has been used. > * > * Test PGA_REFERENCED after calling pmap_ts_referenced() so > * that a reference from a concurrently destroyed mapping is > * observed here and now. > * > * Perform an unsynchronized object ref count check. While > * the page lock ensures that the page is not reallocated to > * another object, in particular, one with unmanaged mappings > * that cannot support pmap_ts_referenced(), two races are, > * nonetheless, possible: > * 1) The count was transitioning to zero, but we saw a non- > * zero value. pmap_ts_referenced() will return zero > * because the page is not mapped. > * 2) The count was transitioning to one, but we saw zero. > * This race delays the detection of a new reference. At > * worst, we will deactivate and reactivate the page. > */ > refs = object->ref_count != 0 ? pmap_ts_referenced(m) : 0; > > I am unlikely to be able to replicate the panic. > > I hope that this is of some use. > > Note: > > I linked /home/pkgbuild/worktrees/main/sys to > /usr/sys/src so that such paths work in my > context. > > === > Mark Millard > marklmi at yahoo.com > > From nobody Sun Jul 27 22:25:37 2025 X-Original-To: freebsd-current@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 4bqx5Y6yW6z63Bl0 for ; Sun, 27 Jul 2025 22:25:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic.asd.mail.yahoo.com (sonic304-25.consmr.mail.gq1.yahoo.com [98.137.68.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqx5Y4Gjhz3N0F for ; Sun, 27 Jul 2025 22:25:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1753655151; bh=0saad6Bpc+h0mAJ0kf57gX5WEDVXx8dBZuuYofmLSdE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=gJbNZqkmKOVZGMS1pUt3IUTEjsFP0kJhFnmtqKJRjimE6znRa4zL26LZH9N1pMURcM8P+Ar3k+OTQx+TyM2tiNAcRJIdNfZ8yb81aaWAdkRRonUZKE65LVFo3qqprcCUlB996uKN2OFpRKmEtQx9zgZnAaaQSeUPxD/tT+mX5M+JSOzudcIO3rieyq9O3Ildq9VdCdppHCt0J4Rt6ArGYtQoXblNRJ6hVARf/N/f/KWNLqm3gvE3TqzP177DAuzhFj0HUdWgvUXEm9dwCl3o8xQ/FlPPGXL2KYN8LZzgnVHH3JJgHYw+SvK2yA/wwP0GSn43SkyfCWHNhCO27KC9uw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1753655151; bh=LfVKqJXzhklHFJ6DjrMEs/S/v1tq12QlpxzA+Qc7u8Z=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=hPMk7uNuqc17tMTCQIaBnYe0qD57X6yproWSsiuZlvsgMXacvODDjNnWgKxL4MSgUhd1B1roneOSFmaWMJVVLXqADW2q61q9DVKnToHduKdXAiSMedsT2kdrFqa7W9PTUVwT0DZMsjXdCsielMp/f9Lp/Wl7ik9nyMMAIIazpOUBXbokv2dvD3pAxg/fIHtfS/V+65xC8r7nQ3n7Rr+CnllaC3tAC4DYe/+hxzfgrgRDaNLCw0Gz7CVvRQNiYcwkmlWjmh7S+DJYfrdHKTN0tSyuhbHHLIYygQBrmbPXkSQG9qT1uznO3zN6ITNgOIIGI2+uZtl8LFWxCdVKIJc6Eg== X-YMail-OSG: 59kGWHsVM1lPNCVKupXTehfOr5CtrXyXqQMKpT2u8qrrqvU1v5LXfZUI7jrOpvq Jzq7eLWrjUoe_TztN7x4xJz74ofBRORFiBleMQiQ_gO0d9vLXSOWL_fY5rzYyOlaMRRluJf9dHCZ TwVx_2SKNmA9qgTL3bYbVlOggv5b.LVJTQfrdrG9_KxcHbtdzyJpYQptVqHb.TQCUn86kDJohKoX G.C5QBSRpEjWFT2IaTECafvYzhRDkC4kOmUUOTY_JLaIaqNsr46giFxHv8J41sdjq8bTBGRdjuFU uEYNXxeyTBqSlE4qEwr5tOTNUEKx8NfWp_IY5RsPyIVvR3gxjJhMf.9KafnnjeGkQcRYN1R5Cl6c Q9fWPTs3RFrut0PiXesU_rSFARAUC6ty.04WTdw8HgM4DzaM3U7U9iNc_3nhhKxwQ2jBOM4.8BBc 55d9FAZufcf2tw0hscg0kWVNB3XvFEY2THrAYDPnU2R4176ga_5FssTNFk3_fuZdQ_sqkqFECuSG awTw2Y3z4oiBtlox_oIsQmmoYMn4tclmE3_OVbhdSzTdqE5JZDW9ws8WsNeWcAbJMrGxZCD8UlTb Z2OnZnIvPYJIrueKIZgVZVq7i6E6lYtJ3oEDQas9B.cE3QbIv.ah6CwihorXp4_WiMCk5bzTNfyW 9JcG_9qHpTNK7Kx.93OX3z67wmNtlTUH_yYaP4aJRK4q_c7X42uXNKEubxLhJ4qDtadXVIZ9nYbN LBVT.OU4HashXWQCWrzk7d8cMzpLFkGh_wwS7hz2KgkKuurOiTHmJNz5F33tv8ohK4yfUA.JXOwP N7RCtyKkyyK7zEc93oOmAqZxueRrZKI4AdlVH7Mic7rgztOuaKEsLwTlUd6hYqfktxmTlABukz3M 72qoLMRdOIqVs7ODDdrCpQcpcjX0Ck6av2WINWXbfza5q48p0ofFv5EMSp1cuQdiGumOgL87roTD GlHrMeH4DBgx2nGDjTLgP3g8SBQ6d1pC5pvcWojIYE33BN6AgB5MDrdJavz7K96goIwotA68Tcph 7yV8F9DskLLmZzJG5FU4BE7SJAei1aWNOIBiEqA6A8Jr9mGGPuExOKM0JUPoM.xenX7od4AByaGG 5sHWMl8BjyPSqOA6XFZbnTCEguF_fVqTqjLkbW8CF7HEc2FezjGaX2G_Le6Z6LUVvYVtQoC4yqeO mKqcr2JV08b1AaTcun3r0S5viVcOhwPf8YvQIV8IuXqpYpBqno_lfGM6fh54XLR4HTLT7D32IL0I YRWLtRw0Z1sUALC9S5ZKUymNMtkLBngchJi2190oOUZk0ij8m._Nglid.lAYbaWGTmSk34W.hjCK _eqOuXQD4kUfy55aOFwQMUmPQvyHMDKDBu.h0bLpwOmCAwuTIwxkprOvRzPcbfAyz3YSjzoTexOW IHG6oCnRK.tT_xn0ysjoZQmLDrzhQgD3iRxY3x1mkqKAQhh0x0e4JJlTZ261FFOwp1.vDpSdpfps GrnoGWatROHtpgx0QtoB_Pnt2YdWCk9hFFN33yG4RPsb31G6VvWIQWO8m6kSHN51dTDfI7Rw1idB Bucu3_j.sKB1M3DaPGh0pRXvTkPXqKjMSuYf.IQpyjeRe3V90k2Q9C0T91l_YbeJvHgvngcYEVFt bTs2NnMLCd4Ocv9eoLLec2DA1csBbIc3CueOHDfts3yrnItg7UhI7mqmHIwLwNP81TQ7GTDkX0cu jq7sfovbLhKzJGQYg64g4UfT.AvLxPfbtDq2mvyg8ElhMznVJ7pDaysKoNT_i2rcSNfH3l0rKy7g YYc_3z9xcH_jg.A_4HZWsBENojOUwO_Gkf7_pJUHyr.80rV7JVH5zzYhcyxFj7HukG2YZ1LR1qBU 9TMejiBuCw2Ma.4DX9PErFnWMx7CtBVqOhfpO1QKzBvdvaSViUG16NurGipMNONeL5udUgvrLnwT QuCEEn0.6122KfMMMKSDRUUl_FTz5WONSk3OZbYJ4aRgP9VBTC64gPNN.zQOUdmWXyjGJKJYIFQE 2vFigGr8MWpfiJyqCP0i2PsgsRWh285uXWSrXwvdCYd9H7P1NoFC6quxCjx3gE8tSLrdHqRfOrnJ QDsmHnZZI1_ZUS9WaobQum5y3C0Gtvzjr4155YR8AAanTbfgpU39zNC.TACOERGfnJMQi8o7Nalw y1DEnln.RK8.mGLS2Rp_okj41Ve8N0A5tZB5NrK4.hv5DdPczK1_z8XkFg0zmr1A8J4ZKDzea3w3 wBaJsy97s72KiNsduDQw6F.d8M39FXQ-- X-Sonic-MF: X-Sonic-ID: 1d889b5d-fb86-4ef1-b241-740fa46448ba Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Sun, 27 Jul 2025 22:25:51 +0000 Received: by hermes--production-gq1-74d64bb7d7-fddgg (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2bb667d84bd44947c6dd588065a6e759; Sun, 27 Jul 2025 22:25:48 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: A panic by vm_pageout_scan_active activity, some details in case they might help From: Mark Millard In-Reply-To: Date: Sun, 27 Jul 2025 15:25:37 -0700 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Mark Johnston X-Mailer: Apple Mail (2.3826.600.51.1.1) X-Rspamd-Queue-Id: 4bqx5Y4Gjhz3N0F X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] On Jul 27, 2025, at 15:00, Mark Johnston wrote: >=20 > On Sun, Jul 27, 2025 at 02:26:29PM -0700, Mark Millard wrote: >> I tried a poudriere(-devel) bulk -Ca on the amd64 system that >> I have access to and a package build used up much of the >> RAM+SWAP =3D=3D 704 GiBytes before a panic happened. Past examples >> OOM'd without panics, although I did not know the context until >> examining this crash dump. >=20 > What is the panic string? The picture I took shows: Fatal Trap 12: page fault while in kernel mode # more /var/crash/info.4 Dump header from device: /dev/gpt/OptBswp364 Architecture: amd64 Architecture Version: 2 Dump Length: 20258381824 Blocksize: 512 Compression: none Dumptime: 2025-07-26 18:56:16 -0700 Hostname: 7950X3D-ZFS Magic: FreeBSD Kernel Dump Version String: FreeBSD 15.0-CURRENT main-n278320-3a33e39edd48 = GENERIC-NODEBUG Panic String: page fault Dump Parity: 668710208 Bounds: 4 Dump Status: good > Could you please open a report on bugzilla > and include the full core.txt.4? Okay. >> # uname -apKU >> FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT = main-n278320-3a33e39edd48 GENERIC-NODEBUG amd64 amd64 1500048 1500048 >>=20 >> That is an official PkgBase installation of the boot-kernel and >> boot-world, not a personal build. >>=20 >> The dump materials had references for doxygen and for dot to : >>=20 >> /usr/local/poudriere/data/.m/main-ZNV4-bulk_a-alt/06/dev >>=20 >> that let me track this to the [06] builder running at the time >> of the crash: >>=20 >> [2D:01:22:29] [06] [00:00:00] Building graphics/sdl2_gpu | = sdl2_gpu-0.12.0 >>=20 >> It was running doxygen, which in turn was running mulitple dot's. >>=20 >> =46rom /var/crash/core.txt.4 : >>=20 >> UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT = TIME COMMAND >> . . . >> 0 79229 40923 4 59 0 23524 4148 wait D - = 0:00.00 [sh] >> 0 79230 79229 5 59 0 14208 172 wait Ds - = 0:00.01 [make] >> 0 79233 79230 4 59 0 14668 176 wait D - = 0:00.00 [sh] >> 0 79234 79233 5 59 0 14668 176 wait D - = 0:00.00 [sh] >> 0 79235 79234 12 0 0 16284 356 select D - = 0:00.01 [ninja] >> 0 79236 79235 28 59 0 223048 1052 uwait D - = 0:00.44 [doxygen] >> 0 79272 79236 25 59 0 157589964 41424308 pfault D - = 3:25.33 [dot] >> 0 79279 79236 31 59 0 157601740 41513520 pfault D - = 3:23.41 [dot] >> 0 79289 79236 14 59 0 157589964 41361600 pfault D - = 3:22.72 [dot] >> 0 79301 79236 18 49 0 157667276 41208476 pfault D - = 3:24.32 [dot] >> . . . >>=20 >> . . . >> #14 >> No locals. >> #15 vm_pageout_scan_active (vmd=3D0xffffffff81c22380 , >> page_shortage=3D102849) >> at /home/pkgbuild/worktrees/main/sys/vm/vm_pageout.c:1264 >> ss =3D {bq =3D {bq_pa =3D {0xfffffe0030a1e500, = 0xfffffe00a8798110, >> 0xfffffe00e3083e30, 0xfffffe00a47a4228, = 0xfffffe002b6d8ef8, >> 0xfffffe0065cf29a0, 0xfffffe007a1b83b8, = 0xfffffe008cf7b3c0, >> 0xfffffe005cd565e0, 0xfffffe0048ced5d8, = 0xfffffe00c761d488, >> 0xfffffe008a5efe90, 0xfffffe00cf341738, = 0xfffffe00413f97b8, >> 0xfffffe005270cc68, 0xfffffe00a5d9d690, = 0xfffffe00294329e0, >> 0xfffffe005ef52f00, 0xfffffe0020dff308, = 0xfffffe00ce1e9a40, >> 0xfffffe007ec47618, 0xfffffe005d1ba7e8, = 0xfffffe0032d73470, >> 0xfffffe0030835e88, 0xfffffe009969c438, = 0xfffffe00f151b0c8, >> 0xfffffe0063916fe8, 0xfffffe00dac0b778, = 0xfffffe0016267348, >> 0xfffffe00b74a5fe0, 0xfffffe003434ef80, = 0xfffffe009e31e840, >> 0xfffffe00530f6408, 0xfffffe00e0649508, = 0xfffffe0102e87ad8, >> 0xfffffe0092c52848, 0xfffffe00ba829618, = 0xfffffe008bf0fd10, >> 0xfffffe00550708c0, 0xfffffe00eedc67b8, = 0xfffffe00d45f8210, >> 0xfffffe00b89a8698, 0xfffffe0082ffb310, = 0xfffffe00accd53c0, >> 0xfffffe0091c8f5d8, 0xfffffe004e20f180, = 0xfffffe004dfb4f90, >> 0xfffffe00a437fbb0, 0xfffffe00218cb698, = 0xfffffe004ee5d278, >> 0xfffffe00a9e845a0, 0xfffffe0025d4a7c8, = 0xfffffe0037612ac8, >> 0xfffffe005c7d3da8, 0xfffffe00d307c1b8, = 0xfffffe00ee416538, >> 0xfffffe0043747508, 0xfffffe00ef30b508, = 0xfffffe00c04de600, >> 0xfffffe008c0e3040, 0xfffffe0071a97b40, = 0xfffffe005b644ad8, >> 0xfffffe00dd5da3b0}, bq_cnt =3D 39}, >> pq =3D 0xffffffff81c22400 , >> marker =3D 0xffffffff81c22778 , maxscan =3D = 37165731, >> scanned =3D 15440544} >> marker =3D 0xffffffff81c22778 >> pq =3D 0xffffffff81c22400 >> old =3D >> scan_tick =3D >> min_scan =3D >> m =3D 0xfffffe00eedc67b8 >> object =3D 0x2b6c70f000 >> refs =3D >> new =3D >> ps_delta =3D >> act_delta =3D >> max_scan =3D >> nqueue =3D >> _v =3D >> _tid =3D >> _v =3D >> _tid =3D >> _v =3D >> _v =3D >> _tid =3D >> _v =3D >> . . . >>=20 >> =46rom the /usr/src/sys/ for the PkgBase installation in use, there = is in >> vm_pageout_scan_active : >>=20 >> /home/pkgbuild/worktrees/main/sys/vm/vm_pageout.c: unmodified, = readonly: line 1264 of 2416 [52%] >>=20 >> /* >> * Check to see "how much" the page has been used. >> * >> * Test PGA_REFERENCED after calling = pmap_ts_referenced() so >> * that a reference from a concurrently destroyed = mapping is >> * observed here and now. >> * >> * Perform an unsynchronized object ref count check. = While >> * the page lock ensures that the page is not = reallocated to >> * another object, in particular, one with unmanaged = mappings >> * that cannot support pmap_ts_referenced(), two races = are, >> * nonetheless, possible: >> * 1) The count was transitioning to zero, but we saw = a non- >> * zero value. pmap_ts_referenced() will return = zero >> * because the page is not mapped. >> * 2) The count was transitioning to one, but we saw = zero. >> * This race delays the detection of a new = reference. At >> * worst, we will deactivate and reactivate the = page. >> */ >> refs =3D object->ref_count !=3D 0 ? = pmap_ts_referenced(m) : 0; >>=20 >> I am unlikely to be able to replicate the panic. >>=20 >> I hope that this is of some use. >>=20 >> Note: >>=20 >> I linked /home/pkgbuild/worktrees/main/sys to >> /usr/sys/src so that such paths work in my >> context. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sun Jul 27 23:23:32 2025 X-Original-To: freebsd-current@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 4bqyNP5kGJz63FMP for ; Sun, 27 Jul 2025 23:23:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic.asd.mail.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqyNN2rKMz3SdR for ; Sun, 27 Jul 2025 23:23:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=hoCvv8Sk; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1753658625; bh=n0jiK5alAL8p2Vf33tqdJhzT80DqLvv2RRNP3QhgLac=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=hoCvv8SkkeG8QNcZLM3mHwzaHinkGQYgm5dBA5QLDCb1MmyONQBF2y7iMFKw5aKkZ2LF83Zdru6/1Dq/eLN8HX1hdBfianfd1pZCxjrC77W1nFTPKzQnkVGsCO3cMaTagllKcLcpaMW9IAx+vCS0c3vifgPT5T6caYuO/jakP454uXKk1nq5X3AINw9QFi4Ey1TqhhDjU6YoXL7QNFUJ016Qh63H4QPWgLEonh1ZQN+RMjdTrf88oNudQds+91JTysIZLT/Drdf0gJBJrPyCAY7ys2bMf6L27Zra5WHdw7pkH0S/Yd5ya2zr3PgyvVM2Go0RjQqJZG0gVzBczLZcsA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1753658625; bh=MaI+F3EM9ULswISugezZ1xVv5Af1ipSdeVXc2G2Ix06=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=FNG7RiZIDCpIzpv/Y3FS2AwqYg+yO4ziMhsgeh/IePkPaQ7Zh1zEa31JCshLkve/UNlb72iHbeLnZrlKlxWnEtrq4v672WJhh2yxx8GVhiRMeVW7/VLJMzrQTYNCOq91Bk6dXy05GKkncuE4WGCBDG4fEW+TMKe+uU7+/JvsUNgpuX4VqmYU+3FKF5EZUaGPQ65r4+ayaBFKQl1ZSm4KwNG0TBbvw+Am3ICoPXB9QbQEtiU/AdRPtBhdgqB3xNzp7VrEniBA0GXbFdKRJ1YYF8/DiSy+SPBjUJaDA2ZxEuU5d93xd0X9fxfpggdB4NrOE10vCtVKXMNPcGk3BNLy8g== X-YMail-OSG: JcbaqfYVM1kq0tM2VRCiicxEuLHjclTb.yq5u_HALSZE8lfsOsUdlbjTjho8exP vcyYRhqhj4P5e9KsnAOdRkvKdOJQi.gVbegCirB1xtYC1b6Pk0737BKdTrVAfVaxJQKchvczu_Rw 04_H.b3AVBLwiCegsrZpGGzlbS53rmjL6BLIcU7bi_RhSCCSAJaQlr8PvyMQeOk.1bkplTLxUyzU d7GqmJg4I1BZ_UhuK1cVd2sSoTu56HhLIgXQEODeytTaEMX0hxUJGl8hkCnhWlFJDov.Urt6tfIh qardM5UWbu3iHx2v8j5V3xtO7LXnONc6LBujrQJ5EpiZmHL_ewQHnmyBUjra3xt1YUcFc5xGhy5W piZpmDzNMdrcU4GZ8Fm8.CFoxFKvxuzSRhKTAYeW_u.QkZFoYJ0xrHlrIklh_UmIrAqUzFaePpOn Lya4H7ox1xAaxSgq62AXGQpEuaO0.w9str.Qe.nEeT5YrNkwG.7cCtNR3lg3YRE_X2yiJffeVS.G DuAOIlv5.tp.ybS73V9qF7IKsBLL18F7N1KNThLsqAVfsU.PFxivYoyxtcvKxnIDgLazpRNsJ9aG .NZh0Gcs6Wg0PAMdfPbOHjAcVr_P_38EKf8Oa55LKEEylFKIUfeKPhUN3repsuZ5CtDvmPJSnuhT 6G19Z.JCoDMMH5VVLQa41kyVht.j6WwoeAH6d91Ua4vea1I7jar0U5.dsgSCvO7woDRrmlPKH85x H_ky96XMo47sTJpMIni2kVWibtLWtYZ7QSgLkovW0BU8Vu6y34MWKL1xuQnzXkxBe7cUQji2Bu_p oBRr_wcLvFoDVHaqvAw.p5_c1sfxztn5JcVig20C4dMzePES_uzeA7ROecgZ88o6ewEMj1WF7cSf mXcwzxn5ZCEOdVjw_klb6dNGysnCP1oAt719EyGzn4Ja_UDtroF4KJD_FCyn6fOHeLSV619RgjjQ hue_oDm66t8NWXAtZ5buZgBgnXDFYIad57wKrxLEGOCV8uXOqlpez36heWAoJuQiiaqs.iqfxhZL 0E20JvPMCdpNOgbfrYP6a0_zBYi_TJAOi76oUViIOivkRyiQKvyHOpUv6eL5LIC78q6.bgE1S5Do XL4RgLD4Tk6vxr0.ZlJGnx8MES2Qp9h1cTG874J4MfsfLHNLDhlUxrWFhjRYNJI.IBi37_ovFgdx KE39xRd03CPoK9OPp9UCnJj1YRdRFQpyZBqp7pdnyTtkfaq8BbspCorj2fJMqr4somgrBCtdGg9f RB3Yops7W3Z0WJqkLhz5g1Sk3EkEhda.VcnOG8QmQ7sqwZMCxq1XUsiA5PLz8itFulLb9p3KkSk7 SA8pO13O4hB09l6fxV1XhZCW3DfiyvzUE70k8Bx4Xdl4JOTMTKTdfCMyahEYAJtlR08cVgl98.kV I5B2clQhpgbA5ivxfEd8f2gxIxPNZnHIzw4iBVEqOKCdZoXUblEOKTRznETyLnJab_0gPDuAxtaS d2tVWNglUTNkWS1DXMpx8LkqlWVpQOkIuiwKtj.mv6jNr8.87m3B_z.vm1L1cnsd2iQcRzZWV38O Ar0uWXWqmt6UxE0D1y8UW1GwOR2XgGRHIylF2BfwPRL9S.Z.uJvcLe4FZ2wrQ_n.websSATSl.2c o9rk5LWUeudWiUPqziwwAnLid.1qn0av2OTiOB.ezDiMndQvh6hz2Abl6WWs_SD6Dr_pvBDTl7Ai bqWQNsz_ygqsfZkuUku3dnVK.fgI_StXsDzMeUBgcXOBysoX.eypq59zrSdzRqG4meisDN_nGRkZ YV5xvPJyY__RR6jj6fgJbQhiIpZc3a8f4k_e9XulrVYIKhV.iQpW9Vc2M9pjQTNw7txQ9abiKwvy bMok87GhkchVDuaOprW9yi_imDtvVqiZ9zbzg9_GjrphfgGh8fS_6aZMvzpjRczhToxLHJZVcftA SZTwqtDrgQMXoXJEeNZ5wx_yWk5lssh0Oht_sY5T6O0PluO.o1YzeiNd9toPAGWaLNufHUX_IEYf YIXUFp7hzl2Mww6cmBOV4ObsTUOv67RPNl_j7k807f3sQYk9pCKUjM1b5X2NRj_ugPmyqJsPZAUG 4lhEvc5OSuQds0nN6rDW7lOtiIY57Z2vC2WkM6yqVPHGIXjkzG2sEYefcZVQW0WG.6Y0V9wbuggE Ec5Kd6eBErFs43lr8XJNYso_XBXMbCbkq45NNAxXhh8K6rHDqL93kCs7ww1njIQz_hClMiNa.8xD wsLDmiovVyNpas.B9BtM8139FGAE.kNJ8vtgmsBFy5aAduYb.owx9JKNELLywBZ8rFt4W3PQX2Er CYw-- X-Sonic-MF: X-Sonic-ID: 1f3f297e-cfd8-4eb6-9215-262f8084525d Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sun, 27 Jul 2025 23:23:45 +0000 Received: by hermes--production-gq1-74d64bb7d7-lwch7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6dd7211a376a957899d4fd6c401deaf5; Sun, 27 Jul 2025 23:23:43 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: A panic by vm_pageout_scan_active activity, some details in case they might help From: Mark Millard In-Reply-To: Date: Sun, 27 Jul 2025 16:23:32 -0700 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Mark Johnston X-Mailer: Apple Mail (2.3826.600.51.1.1) X-Spamd-Result: default: False [-1.89 / 15.00]; NEURAL_HAM_SHORT(-0.84)[-0.840]; NEURAL_HAM_LONG(-0.81)[-0.813]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; NEURAL_SPAM_MEDIUM(0.26)[0.261]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.32:from]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.32:from]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bqyNN2rKMz3SdR X-Spamd-Bar: - On Jul 27, 2025, at 15:25, Mark Millard wrote: > On Jul 27, 2025, at 15:00, Mark Johnston wrote: >>=20 >> On Sun, Jul 27, 2025 at 02:26:29PM -0700, Mark Millard wrote: >>> I tried a poudriere(-devel) bulk -Ca on the amd64 system that >>> I have access to and a package build used up much of the >>> RAM+SWAP =3D=3D 704 GiBytes before a panic happened. Past examples >>> OOM'd without panics, although I did not know the context until >>> examining this crash dump. >>=20 >> What is the panic string? >=20 > The picture I took shows: >=20 > Fatal Trap 12: page fault while in kernel mode >=20 > # more /var/crash/info.4 > Dump header from device: /dev/gpt/OptBswp364 > Architecture: amd64 > Architecture Version: 2 > Dump Length: 20258381824 > Blocksize: 512 > Compression: none > Dumptime: 2025-07-26 18:56:16 -0700 > Hostname: 7950X3D-ZFS > Magic: FreeBSD Kernel Dump > Version String: FreeBSD 15.0-CURRENT main-n278320-3a33e39edd48 = GENERIC-NODEBUG > Panic String: page fault > Dump Parity: 668710208 > Bounds: 4 > Dump Status: good >=20 >> Could you please open a report on bugzilla >> and include the full core.txt.4? >=20 > Okay. Done: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288507 >>> # uname -apKU >>> FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT = main-n278320-3a33e39edd48 GENERIC-NODEBUG amd64 amd64 1500048 1500048 >>>=20 >>> That is an official PkgBase installation of the boot-kernel and >>> boot-world, not a personal build. >>>=20 >>> The dump materials had references for doxygen and for dot to : >>>=20 >>> /usr/local/poudriere/data/.m/main-ZNV4-bulk_a-alt/06/dev >>>=20 >>> that let me track this to the [06] builder running at the time >>> of the crash: >>>=20 >>> [2D:01:22:29] [06] [00:00:00] Building graphics/sdl2_gpu | = sdl2_gpu-0.12.0 >>>=20 >>> It was running doxygen, which in turn was running mulitple dot's. >>>=20 >>> =46rom /var/crash/core.txt.4 : >>>=20 >>> UID PID PPID C PRI NI VSZ RSS MWCHAN STAT TT = TIME COMMAND >>> . . . >>> 0 79229 40923 4 59 0 23524 4148 wait D - = 0:00.00 [sh] >>> 0 79230 79229 5 59 0 14208 172 wait Ds - = 0:00.01 [make] >>> 0 79233 79230 4 59 0 14668 176 wait D - = 0:00.00 [sh] >>> 0 79234 79233 5 59 0 14668 176 wait D - = 0:00.00 [sh] >>> 0 79235 79234 12 0 0 16284 356 select D - = 0:00.01 [ninja] >>> 0 79236 79235 28 59 0 223048 1052 uwait D - = 0:00.44 [doxygen] >>> 0 79272 79236 25 59 0 157589964 41424308 pfault D - = 3:25.33 [dot] >>> 0 79279 79236 31 59 0 157601740 41513520 pfault D - = 3:23.41 [dot] >>> 0 79289 79236 14 59 0 157589964 41361600 pfault D - = 3:22.72 [dot] >>> 0 79301 79236 18 49 0 157667276 41208476 pfault D - = 3:24.32 [dot] >>> . . . >>>=20 >>> . . . >>> #14 >>> No locals. >>> #15 vm_pageout_scan_active (vmd=3D0xffffffff81c22380 , >>> page_shortage=3D102849) >>> at /home/pkgbuild/worktrees/main/sys/vm/vm_pageout.c:1264 >>> ss =3D {bq =3D {bq_pa =3D {0xfffffe0030a1e500, = 0xfffffe00a8798110, >>> 0xfffffe00e3083e30, 0xfffffe00a47a4228, = 0xfffffe002b6d8ef8, >>> 0xfffffe0065cf29a0, 0xfffffe007a1b83b8, = 0xfffffe008cf7b3c0, >>> 0xfffffe005cd565e0, 0xfffffe0048ced5d8, = 0xfffffe00c761d488, >>> 0xfffffe008a5efe90, 0xfffffe00cf341738, = 0xfffffe00413f97b8, >>> 0xfffffe005270cc68, 0xfffffe00a5d9d690, = 0xfffffe00294329e0, >>> 0xfffffe005ef52f00, 0xfffffe0020dff308, = 0xfffffe00ce1e9a40, >>> 0xfffffe007ec47618, 0xfffffe005d1ba7e8, = 0xfffffe0032d73470, >>> 0xfffffe0030835e88, 0xfffffe009969c438, = 0xfffffe00f151b0c8, >>> 0xfffffe0063916fe8, 0xfffffe00dac0b778, = 0xfffffe0016267348, >>> 0xfffffe00b74a5fe0, 0xfffffe003434ef80, = 0xfffffe009e31e840, >>> 0xfffffe00530f6408, 0xfffffe00e0649508, = 0xfffffe0102e87ad8, >>> 0xfffffe0092c52848, 0xfffffe00ba829618, = 0xfffffe008bf0fd10, >>> 0xfffffe00550708c0, 0xfffffe00eedc67b8, = 0xfffffe00d45f8210, >>> 0xfffffe00b89a8698, 0xfffffe0082ffb310, = 0xfffffe00accd53c0, >>> 0xfffffe0091c8f5d8, 0xfffffe004e20f180, = 0xfffffe004dfb4f90, >>> 0xfffffe00a437fbb0, 0xfffffe00218cb698, = 0xfffffe004ee5d278, >>> 0xfffffe00a9e845a0, 0xfffffe0025d4a7c8, = 0xfffffe0037612ac8, >>> 0xfffffe005c7d3da8, 0xfffffe00d307c1b8, = 0xfffffe00ee416538, >>> 0xfffffe0043747508, 0xfffffe00ef30b508, = 0xfffffe00c04de600, >>> 0xfffffe008c0e3040, 0xfffffe0071a97b40, = 0xfffffe005b644ad8, >>> 0xfffffe00dd5da3b0}, bq_cnt =3D 39}, >>> pq =3D 0xffffffff81c22400 , >>> marker =3D 0xffffffff81c22778 , maxscan =3D = 37165731, >>> scanned =3D 15440544} >>> marker =3D 0xffffffff81c22778 >>> pq =3D 0xffffffff81c22400 >>> old =3D >>> scan_tick =3D >>> min_scan =3D >>> m =3D 0xfffffe00eedc67b8 >>> object =3D 0x2b6c70f000 >>> refs =3D >>> new =3D >>> ps_delta =3D >>> act_delta =3D >>> max_scan =3D >>> nqueue =3D >>> _v =3D >>> _tid =3D >>> _v =3D >>> _tid =3D >>> _v =3D >>> _v =3D >>> _tid =3D >>> _v =3D >>> . . . >>>=20 >>> =46rom the /usr/src/sys/ for the PkgBase installation in use, there = is in >>> vm_pageout_scan_active : >>>=20 >>> /home/pkgbuild/worktrees/main/sys/vm/vm_pageout.c: unmodified, = readonly: line 1264 of 2416 [52%] >>>=20 >>> /* >>> * Check to see "how much" the page has been used. >>> * >>> * Test PGA_REFERENCED after calling = pmap_ts_referenced() so >>> * that a reference from a concurrently destroyed = mapping is >>> * observed here and now. >>> * >>> * Perform an unsynchronized object ref count check. = While >>> * the page lock ensures that the page is not = reallocated to >>> * another object, in particular, one with unmanaged = mappings >>> * that cannot support pmap_ts_referenced(), two races = are, >>> * nonetheless, possible: >>> * 1) The count was transitioning to zero, but we saw = a non- >>> * zero value. pmap_ts_referenced() will return = zero >>> * because the page is not mapped. >>> * 2) The count was transitioning to one, but we saw = zero. >>> * This race delays the detection of a new = reference. At >>> * worst, we will deactivate and reactivate the = page. >>> */ >>> refs =3D object->ref_count !=3D 0 ? = pmap_ts_referenced(m) : 0; >>>=20 >>> I am unlikely to be able to replicate the panic. >>>=20 >>> I hope that this is of some use. >>>=20 >>> Note: >>>=20 >>> I linked /home/pkgbuild/worktrees/main/sys to >>> /usr/sys/src so that such paths work in my >>> context. >>=20 =3D=3D=3D Mark Millard marklmi at yahoo.com