From nobody Mon Aug 5 16:12:38 2024 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 4Wd1gQ6Nzqz5SHKX; Mon, 05 Aug 2024 16:12:50 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2001:41d0:700:4a43:a25:de0:0:13]) (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 4Wd1gN0fqgz4YjD; Mon, 5 Aug 2024 16:12:47 +0000 (UTC) (envelope-from freebsd@omnilan.de) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@omnilan.de designates 2001:41d0:700:4a43:a25:de0:0:13 as permitted sender) smtp.mailfrom=freebsd@omnilan.de Received: from mh0.gentlemail.de (mh0.gentlemail.de [135.125.173.218]) by mx0.gentlemail.de (8.18.1/8.18.1) with ESMTP id 475GCdXF029029; Mon, 5 Aug 2024 16:12:39 GMT (envelope-from freebsd@omnilan.de) Received: from [172.21.3.1] (s1.omnilan.de [217.91.127.234]) (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) by mh0.gentlemail.de (Postfix) with ESMTPSA id 660821CBC; Mon, 05 Aug 2024 16:12:39 +0000 (UTC) Content-Type: multipart/mixed; boundary="------------radhHtt5qIt0nPYoCwSlwKnA" Message-ID: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> Date: Mon, 5 Aug 2024 18:12:38 +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 To: freebsd-current@freebsd.org Content-Language: en-US, de-DE Cc: virtualization@FreeBSD.org From: Harry Schmalzbauer Subject: RFC: rc(8) script for bhyve(8) on FreeBSD Organization: OmniLAN X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.17 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.984]; R_SPF_ALLOW(-0.20)[+mx]; MIME_UNKNOWN(0.10)[application/x-xz]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; XM_UA_NO_VERSION(0.01)[]; NEURAL_HAM_SHORT(-0.00)[-0.000]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[virtualization@FreeBSD.org,freebsd-current@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[omnilan.de]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4Wd1gN0fqgz4YjD This is a multi-part message in MIME format. --------------radhHtt5qIt0nPYoCwSlwKnA Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello, two years elapsed since I last deployed a FreeBSD machine that utilizd bhyve(8), which already had bhyve_config(5) support back then. I was astonished that I still couldn't find bhyve in /etc/rc.d in 14.1-stable as of last week. Since I utilize ng_bridge(8) and do some more things differently than vm-bhyve / iocage and the like, I wanted to have something straight forward, capable of making use of the wonderful bhyve_config(5) feature, for use cases where /usr/share/examples/bhyve/vmrun.sh isn't suitable. Please find attached my first approch, which currently covers the following features: - auto-preload FreeBSD guest using bhyveload(8) in case config file doesn't define lpc.bootrom - Allows referencing %(youname_somevar) in config file if defined as bhyve_youname_somevar in rc.conf(5).   (For example:     bhyve_vmdisk_default_pool="myppol2"     bhyve_vmdisk_default_dataset="bhyveVOL/sys"     and pci.0.3.0.path=/dev/zvol/%(vmdisk_default_pool)/%(vmdisk_default_dataset)/%(name) in bhyve_config(5) file   ) - Adaptive handling of start/stop requests depending on 'AUTO' 'ALL' or specific list of VM names, depending on the non-bhyve_cfg(5) 'autostart' option. - Hopefully balanced amount of messages about what's going on, to be user friendly but not spamming. There's a lot of room for improvements (selectable pre-jail/post-jail order, bootdisk detection, priority handling, a useful 'status' implementation, style) and for sure some bugs, but this version works well for my current setup. Happy to contribute if useful for others, feedback welcome. -harry --------------radhHtt5qIt0nPYoCwSlwKnA Content-Type: application/x-xz; name="rc.d_bhyve.shar.xz" Content-Disposition: attachment; filename="rc.d_bhyve.shar.xz" Content-Transfer-Encoding: base64 /Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4GvdHWRdABGIBwfhw1yThtZ2sz5Fr9mQItv5uTLk PQSaKqQPIZHSVDzNkkvbHU/aBQhkMfrFeoa2BSAtL7AzX52TBhBuzJ4E3N+Sjo7QW6VKK3uZ B5jPpPkMiJ7FR8isvwbhAZesJ8CgDbSfccjEF9QRO8jPd0M2ws1wN7rQmm4rAiqZKVrchnva l7OM8g2vTGaWZS1UOHD9qyK++bns8ydnUT6vCfuz8HjapajLhdARsWynB9n+gzVbiHO4VPun A+W912MqlFKH+lN/hlxUZ/ShmgrWZ7picDRAmuqW91lK2NJ2r3o+mYv8LYkMCPD3Ccb6HyLH Tum446Qxoyt9uPogtwhI39XOy9GozQJrvrn0SlAGG1mtIppiZ8OzGILZmH95bFWHpV2JjvHX XtEsc08s82W1EwJcgv+1y3XvS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AAAAARZWg== --------------radhHtt5qIt0nPYoCwSlwKnA-- From nobody Mon Aug 5 16:50:53 2024 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 4Wd2WV4mnDz5SLgV for ; Mon, 05 Aug 2024 16:51:02 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (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 (P-256) client-digest SHA256) (Client CN "mail.oetec.com", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wd2WT5R6tz4fTK for ; Mon, 5 Aug 2024 16:51:01 +0000 (UTC) (envelope-from dclarke@blastwave.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=jPq8sm3v; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org Received: from [172.16.35.3] (pool-99-253-118-250.cpe.net.cable.rogers.com [99.253.118.250]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.17.1) with ESMTPSA id 475Gos8P066738 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 5 Aug 2024 12:50:55 -0400 (EDT) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1722876655; bh=q1EHZre9iwjooDgG97V4dMD4lNqmcTxDJ0iCUHqVkQg=; h=Date:Subject:To:References:From:In-Reply-To; b=jPq8sm3veeAU1ztdYeHFOfh5POMTuUd8JYYoTIEWNYyQbQPonm//IFey4XH6/6pGF HaG+nQKmiMJf4GrK+U4bmhGlWuMwpYi/yseOgY/NYSlsdOleAA00y48+Mh4flB5j7m rF3vdOcSc6/BrY5utqKX1UAc+p5bspVr6Djz6VQoaozS46VacIpQu+SbTcL9rG/BHH K6mJkxlLXY217nSrwVuprF+VAhB/HCfg6lUu9ISWfF2AUS4+Ki8QyqOOMtWDUJogW4 1vJ2JnWPuyrURvI+9jE8V4WjH7iTGvVTQ/t8MzTyk1kl3IbRkhLhRnI5+7STsFCJh3 v4khjYlK8Hucg== Message-ID: Date: Mon, 5 Aug 2024 12:50:53 -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 Subject: Re: RFC: rc(8) script for bhyve(8) on FreeBSD Content-Language: en-CA To: freebsd-current@freebsd.org References: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> From: Dennis Clarke Organization: GENUNIX In-Reply-To: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 475Gos8P066738 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org X-Spam-Status: No X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4Wd2WT5R6tz4fTK On 8/5/24 12:12, Harry Schmalzbauer wrote: > Hello, > > two years elapsed since I last deployed a FreeBSD machine that utilizd > bhyve(8), which already had bhyve_config(5) support back then. > This may feel slightly off topic but I assure you that it is of great benefit. Have a look at the brilliant creation of Steve Wills that I know and love as "cirrina" : https://gitlab.com/swills/cirrina/-/releases It is very much in active development and does a neat job of handling a pile of stuff related to bhyve. Not the least of which is the creation and configuration and management of a whole slew of VMs. It is actively being tested and developed and I have been using it while testing PCI device passthru of NVidia Quadro GPUs for the purpose of CUDA dev work. I also am motivated to write up a pile of documentation related to cirrina given that it really does feel like a Swiss Army Knife which can do damn near everything I ever wanted with bhyve. Have a long hard stare at it. -- -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken From nobody Mon Aug 5 17:04:28 2024 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 4Wd2ql692Wz5SM7g; Mon, 05 Aug 2024 17:05:07 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 4Wd2ql4NR3z4hhk; Mon, 5 Aug 2024 17:05:07 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2cd5e3c27c5so7363173a91.3; Mon, 05 Aug 2024 10:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722877506; x=1723482306; 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=LxpX7umltLmborJx1yxVtPEthZ4/adBRYru7143jDjE=; b=epLOOV9CEWmzSxJEeK6sasYYDn2PsufinmV/CQ3AEOewk2Cxopguc9wfE1DKprdCgl +Ctm8MVKndgGxfmJaWH72zvqkyL4uRxR/bnw3RGYlbf40pzYT51dgnw1x1KISpxdWsXL Zr/he0zOPnZ7EnQFa8Os2t4gHsUqlhASg7G/7KgUJed6qA0x3lLHQZ5xJHjudX8AJocM dgrI4viB89xOH1LupPe03C8EsGh+7A80k/z7tIk6fv3eXPsJlsAlLv0p6Khvd7pFKywN sYld8xl1Kjjy5WvQ9Z5Y5iKu8guuCU0kV7H/jqTdMg7Wt5ECgAUN/n03AgoSmDnyhmoW aA5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722877506; x=1723482306; 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=LxpX7umltLmborJx1yxVtPEthZ4/adBRYru7143jDjE=; b=KIU4G4sdlY7VozLfOOd3JjtRgdkjRZNVukCsF5d3wW146qJy5CYULNRhaXBVUnD2yu icq6pE4r5WAXuFV3hhpSGF1t/0jqiYyRpOHayt+dRRWUkRdUHHO4/XfxMNU+oPr+9nGU 1UWxmXrWiBgWk/yCVtlAzmhVoXVpiq2g2aDP/ODIsOZRxar74khc9X60wktqXHTTB5yg fHaPbEQhmKSvYqV7ZJMHdWC+Gzzw8yt2kQQaSS/shUnsuOp6IcsYQgCcX3kZgCgVJQmP CQ/28t3TknI2U8mFQTBiqCjag6CGjSZA74KVI7uIWHfchwGn5ZG1WKV/C4UlrgRaRRwd gtsA== X-Forwarded-Encrypted: i=1; AJvYcCWXqyvkreoZge9gNjx2PlB41Bsko6JITvC0roVFhUbPYgEczQQT63Dk4CZnYEPdJ9NW2MdymSH0FfC6aWKlRNu3C6vtPV9h3+9DxQ== X-Gm-Message-State: AOJu0YyV69ngvc3DBUtOsL8aHGROPX4UoNF/2e9gAm0nAMPNs4w9WHvq UbAD5910cnZWTHfUx6Ge1l8I529mS2J064rafXWLTemLF6yXrMHgSX/uklP0sFFj2SL3b58RO38 FIbo7I9tsO34dOIB2pMSkuJDe2THd36LS X-Google-Smtp-Source: AGHT+IGB2FG7pLnGgwysyrP9sIlVk1KeS/A921M+8va43t9O5TiiFrBIn2GQPPcjXSUFt6HZUyfb3tpPSh4k7xR7iQQ= X-Received: by 2002:a17:90a:fa85:b0:2cd:410a:b010 with SMTP id 98e67ed59e1d1-2cff93c59fdmr10923089a91.2.1722877505570; Mon, 05 Aug 2024 10:05:05 -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: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> In-Reply-To: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> From: Mario Marietto Date: Mon, 5 Aug 2024 19:04:28 +0200 Message-ID: Subject: Re: RFC: rc(8) script for bhyve(8) on FreeBSD To: Harry Schmalzbauer Cc: freebsd-current@freebsd.org, virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b60fa5061ef2ad73" 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] X-Rspamd-Queue-Id: 4Wd2ql4NR3z4hhk --000000000000b60fa5061ef2ad73 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello. I'm also interested in writing a script to manage the bhyve vms. Even if I suspect that my approach will be different. My idea is to ask the user what he wants to do and then the script will configure the vm getting the information provided by the user. I will give a look at /etc/rc.d/bhyve,but I don't think I will study cirrina,it seems very complicated. On Mon, Aug 5, 2024 at 6:13=E2=80=AFPM Harry Schmalzbauer wrote: > Hello, > > two years elapsed since I last deployed a FreeBSD machine that utilizd > bhyve(8), which already had bhyve_config(5) support back then. > > I was astonished that I still couldn't find bhyve in /etc/rc.d in > 14.1-stable as of last week. > Since I utilize ng_bridge(8) and do some more things differently than > vm-bhyve / iocage and the like, I wanted to have something straight > forward, capable of making use of the wonderful bhyve_config(5) feature, > for use cases where /usr/share/examples/bhyve/vmrun.sh isn't suitable. > > Please find attached my first approch, which currently covers the > following features: > > - auto-preload FreeBSD guest using bhyveload(8) in case config file > doesn't define lpc.bootrom > - Allows referencing %(youname_somevar) in config file if defined as > bhyve_youname_somevar in rc.conf(5). > (For example: > bhyve_vmdisk_default_pool=3D"myppol2" > bhyve_vmdisk_default_dataset=3D"bhyveVOL/sys" > and > pci.0.3.0.path=3D/dev/zvol/%(vmdisk_default_pool)/%(vmdisk_default_datase= t)/%(name) > > in bhyve_config(5) file > ) > - Adaptive handling of start/stop requests depending on 'AUTO' 'ALL' or > specific list of VM names, depending on the non-bhyve_cfg(5) 'autostart' > option. > - Hopefully balanced amount of messages about what's going on, to be > user friendly but not spamming. > > There's a lot of room for improvements (selectable pre-jail/post-jail > order, bootdisk detection, priority handling, a useful 'status' > implementation, style) and for sure some bugs, but this version works > well for my current setup. > Happy to contribute if useful for others, feedback welcome. > > -harry > > > --=20 Mario. --000000000000b60fa5061ef2ad73 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

I'm also interest= ed in writing a script to manage the bhyve vms. Even if I suspect that my a= pproach will be different. My idea is to ask the user what he wants to do a= nd then the script will configure the vm getting the information provided b= y the user.
I will give a look at /etc/rc.d/bhyve,but I don&= #39;t think I will study cirrina,it seems very complicated.
=
On Mon= , Aug 5, 2024 at 6:13=E2=80=AFPM Harry Schmalzbauer <freebsd@omnilan.de> wrote:
Hello,

two years elapsed since I last deployed a FreeBSD machine that utilizd
bhyve(8), which already had bhyve_config(5) support back then.

I was astonished that I still couldn't find bhyve in /etc/rc.d in
14.1-stable as of last week.
Since I utilize ng_bridge(8) and do some more things differently than
vm-bhyve / iocage and the like, I wanted to have something straight
forward, capable of making use of the wonderful bhyve_config(5) feature, for use cases where /usr/share/examples/bhyve/vmrun.sh isn't suitable.<= br>
Please find attached my first approch, which currently covers the
following features:

- auto-preload FreeBSD guest using bhyveload(8) in case config file
doesn't define lpc.bootrom
- Allows referencing %(youname_somevar) in config file if defined as
bhyve_youname_somevar in rc.conf(5).
=C2=A0=C2=A0 (For example:
=C2=A0=C2=A0=C2=A0=C2=A0 bhyve_vmdisk_default_pool=3D"myppol2" =C2=A0=C2=A0=C2=A0=C2=A0 bhyve_vmdisk_default_dataset=3D"bhyveVOL/sys&= quot;
=C2=A0=C2=A0 =C2=A0 and
pci.0.3.0.path=3D/dev/zvol/%(vmdisk_default_pool)/%(vmdisk_default_dataset)= /%(name)
in bhyve_config(5) file
=C2=A0=C2=A0 )
- Adaptive handling of start/stop requests depending on 'AUTO' '= ;ALL' or
specific list of VM names, depending on the non-bhyve_cfg(5) 'autostart= '
option.
- Hopefully balanced amount of messages about what's going on, to be user friendly but not spamming.

There's a lot of room for improvements (selectable pre-jail/post-jail <= br> order, bootdisk detection, priority handling, a useful 'status' implementation, style) and for sure some bugs, but this version works
well for my current setup.
Happy to contribute if useful for others, feedback welcome.

-harry




--
Mario.
--000000000000b60fa5061ef2ad73-- From nobody Mon Aug 5 17:19:58 2024 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 4Wd38x0xbLz5SNjV; Mon, 05 Aug 2024 17:20:01 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2001:41d0:700:4a43:a25:de0:0:13]) (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 4Wd38w5CMxz4kWs; Mon, 5 Aug 2024 17:20:00 +0000 (UTC) (envelope-from freebsd@omnilan.de) Authentication-Results: mx1.freebsd.org; none Received: from mh0.gentlemail.de (mh0.gentlemail.de [135.125.173.218]) by mx0.gentlemail.de (8.18.1/8.18.1) with ESMTP id 475HJxgn032505; Mon, 5 Aug 2024 17:19:59 GMT (envelope-from freebsd@omnilan.de) Received: from [172.21.3.1] (s1.omnilan.de [217.91.127.234]) (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) by mh0.gentlemail.de (Postfix) with ESMTPSA id 63EE419FE; Mon, 05 Aug 2024 17:19:59 +0000 (UTC) Message-ID: <053f3382-7191-4ced-82d4-1278d5d98223@omnilan.de> Date: Mon, 5 Aug 2024 19:19:58 +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: RFC: rc(8) script for bhyve(8) on FreeBSD To: Mario Marietto Cc: freebsd-current@freebsd.org, virtualization@freebsd.org References: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> Content-Language: en-US, de-DE From: Harry Schmalzbauer Organization: OmniLAN In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Queue-Id: 4Wd38w5CMxz4kWs On 2024-08-05 19:04, Mario Marietto wrote: > Hello. > > I'm also interested in writing a script to manage the bhyve vms. Even if > I suspect that my approach will be different. My idea is to ask the user > what he wants to do and then the script will configure the vm getting > the information provided by the user. > I will give a look at /etc/rc.d/bhyve,but I don't think I will study > cirrina,it seems very complicated. To avoid misunderstandings: /etc/rc.d/bhyve is not meant to 'manage' bhyve(8) VMs in the sense of configuring bhyve(8) or the host which runs the guest operating system. It's just to start/stop already defined VMs at boot time. Managing VM's means utlizing $EDITOR /etc/bhyve.d/yourvm.cfg to me. bhyve_config(5) is what /etc/rc.d/bhyve relies on and where the VM config happens. cirrina seems to be a completely different tool. From the page: »Only UEFI boot is supported, no bhyveload.« Another showstopper for me: »./cirrinactl switch set-uplink -n bridge0 -u em0« (I never use if_bridge(4) for HyperVisor networking) All you can do with /etc/rc.d/bhyve is service bhyve start [vmname] [...] service bhyve stop [vmname] [...] and expect to have all VMs running after rebooting, which you wrote a config file for and placed it into /etc/bhyve.d/ Best, -harry From nobody Mon Aug 5 18:22:32 2024 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 4Wd4YG685Vz5ST7J for ; Mon, 05 Aug 2024 18:22:42 +0000 (UTC) (envelope-from SRS0=er0e=PE=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 4Wd4YG1PsRz4rGD for ; Mon, 5 Aug 2024 18:22:41 +0000 (UTC) (envelope-from SRS0=er0e=PE=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 942A4D7890; Mon, 5 Aug 2024 20:22:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1722882154; bh=vk9mSsujY6/m9JGk44a+ZTPnv3moJuSt20Vsm7UaCyU=; h=Date:Subject:To:References:From:In-Reply-To; b=LSZe4h026tgw1Qh/WmOKS5350vml+ONEQph7M02PNrLotnk+pYZIK032cmXsay/EM Z6sQPuoeD+GGsZPGX1xfYq3V9wQ7JshS3tIH8W7+dcs9jx1RfU2K7JH1b8gBDSGsEp wphyuSCGPhV0WReWjhbOIvb2CijQ4HGGoWC56ykE= 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 622A1D788C; Mon, 5 Aug 2024 20:22:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1722882153; bh=vk9mSsujY6/m9JGk44a+ZTPnv3moJuSt20Vsm7UaCyU=; h=Date:Subject:To:References:From:In-Reply-To; b=BhIzaiYq0fjfuI8wrIpAuWmTTGG+j2iXVI6DUih/uODlT8/HQN5ROok5ESpORiZ3e p7VER3Xhe8YC88MiHAJRY7KaGrNk8q5ZH++59ayTIzyGDBRv/eZ6yuNU7K/l+bisZk 7KqPenREyeTTPmoJ6KkTSsVifgmVa58FQwihAQjY= Message-ID: Date: Mon, 5 Aug 2024 20:22:32 +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: RFC: rc(8) script for bhyve(8) on FreeBSD To: Dennis Clarke , freebsd-current@freebsd.org References: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> 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-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:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4Wd4YG1PsRz4rGD On 05/08/2024 18:50, Dennis Clarke wrote: > On 8/5/24 12:12, Harry Schmalzbauer wrote: >> Hello, >> >> two years elapsed since I last deployed a FreeBSD machine that utilizd >> bhyve(8), which already had bhyve_config(5) support back then. >> > > This may feel slightly off topic but I assure you that it is of great > benefit. Have a look at the brilliant creation of Steve Wills that I > know and love as "cirrina" : > >     https://gitlab.com/swills/cirrina/-/releases > > It is very much in active development and does a neat job of handling a > pile of stuff related to bhyve. Not the least of which is the creation > and configuration and management of a whole slew of VMs. It is actively > being tested and developed and I have been using it while testing PCI > device passthru of NVidia Quadro GPUs for the purpose of CUDA dev work. > > I also am motivated to write up a pile of documentation related to > cirrina given that it really does feel like a Swiss Army Knife which > can do damn near everything I ever wanted with bhyve. I have seen cirrina some time ago. I was interested in GUI. Main page shows: Run Clients GUI Start weasel Create switch Create VM Add Disk Add NIC Upload ISO Select VM, click edit, add disk, iso and nic to VM Start VM But what is weasel / how can I start it? I see only cirrinad and cirrinactl. Kind regards Miroslav Lachman From nobody Mon Aug 5 18:52:04 2024 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 4Wd5CM44M3z5SWQp for ; Mon, 05 Aug 2024 18:52:15 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (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 (P-256) client-digest SHA256) (Client CN "mail.oetec.com", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wd5CL71mbz4vs5 for ; Mon, 5 Aug 2024 18:52:14 +0000 (UTC) (envelope-from dclarke@blastwave.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=OdTBQSqw; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org Received: from [172.16.35.3] (pool-99-253-118-250.cpe.net.cable.rogers.com [99.253.118.250]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.17.1) with ESMTPSA id 475Iq4CE068994 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 5 Aug 2024 14:52:05 -0400 (EDT) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1722883926; bh=hBfjQL30J8qDxQGrrjGI6oETCq/L9d14Dq9Kq17gQ88=; h=Date:Subject:To:References:From:In-Reply-To; b=OdTBQSqwK+TCJbElA/vtIGirLtquBWLG8aldMSZ/dKwmV3fAugEmb4xffWyUgv4/A 3rZ3UUKZYQErlJroMkZfPqSPNWK0Zb7Aa6mzwkOiDokls7YX6YypzUzhAAaGYBX3pM 0qmGIfLjdVOXZX6rCgIoDm9TxWbq0TBuofkuTbbNPJycxKjZsWddmimOw1ne9EYgIb CeFL+ZAhvsLjX5Qf2QNyfJi+oBaL4/BJrEkb3NFoMK5X1G5GOmBsvz1Zwe4cz82wVQ NtSRtHAEpwOoeQzDagdhcfOITqvBpG1HCDKKPXXAYWFfHopnjVhR6SP3RA1oDEH1uB YHXeX+FSSpv8A== Message-ID: Date: Mon, 5 Aug 2024 14:52:04 -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 Subject: Re: RFC: rc(8) script for bhyve(8) on FreeBSD Content-Language: en-CA To: freebsd-current@freebsd.org References: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> From: Dennis Clarke Organization: GENUNIX In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 475Iq4CE068994 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org X-Spam-Status: No X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+mx:c]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4Wd5CL71mbz4vs5 On 8/5/24 14:22, Miroslav Lachman wrote: > On 05/08/2024 18:50, Dennis Clarke wrote: >> On 8/5/24 12:12, Harry Schmalzbauer wrote: >>> Hello, >>> >>> two years elapsed since I last deployed a FreeBSD machine that >>> utilizd bhyve(8), which already had bhyve_config(5) support back then. >>> >> >> This may feel slightly off topic but I assure you that it is of great >> benefit. Have a look at the brilliant creation of Steve Wills that I >> know and love as "cirrina" : >> >>      https://gitlab.com/swills/cirrina/-/releases >> >> It is very much in active development and does a neat job of handling a >> pile of stuff related to bhyve. Not the least of which is the creation >> and configuration and management of a whole slew of VMs. It is actively >> being tested and developed and I have been using it while testing PCI >> device passthru of NVidia Quadro GPUs for the purpose of CUDA dev work. >> >> I also am motivated to write up a pile of documentation related to >> cirrina given that it really does feel like a Swiss Army Knife which >> can do damn near everything I ever wanted with bhyve. > > I have seen cirrina some time ago. I was interested in GUI. A GUI with bells and whistles like VMware Workstation is a long way off. Feel free to drop a few million US dollars and I am sure a prototype would be available in six months. It may even work. Sorry but cirrina(d) is just great from the command line for now. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken From nobody Mon Aug 5 19:13:41 2024 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 4Wd5hq4m24z5SY5D for ; Mon, 05 Aug 2024 19:14:19 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (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 4Wd5hq0tpMz502p for ; Mon, 5 Aug 2024 19:14:19 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2cfd1b25aaaso4805599a91.0 for ; Mon, 05 Aug 2024 12:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722885257; x=1723490057; 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=tG59Y3R8rFap8++xcMPJzcPOaDSf5DgdwKimxzCicnE=; b=bnCPnRHtJOvC+L6MZWJB67+LOuNvNZzv4Y9vczSifQsIpk9shJfUtS4ixyliamOkM9 CObzJJAbiDVsPYqGfGFBoUZvkD+pLwGSNQFWfP8dhIbJute3Fgfy2ekTSq9wGzcMkNMQ SjMRhEvOpppEzLoe58OyZ9/4IOWIK4q7gKx9c95PBCGLpg4BYFtJibwpCVA0F1eZ9FEb PUArbk+d2VH4jWWIDxnmk3oQSebVs6U+1L+6pQlHWyI53OowoZl/Rtye7shZ9O3T3shX C2l47tlTVBuUz5YyyDOjSz0dLKcnFeL7POV90cMU3CdWqh0iWfY06Y87Gzwj8hm28EDt //nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722885257; x=1723490057; 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=tG59Y3R8rFap8++xcMPJzcPOaDSf5DgdwKimxzCicnE=; b=fXeyswqhaqfiGvsiHnzgqjmom061KL080UCOIXLUe/y6sQnoPcPBVOrJRfNMvwXo/R Ho38K+X4nlG+1r6GLabgq8arEgHiXWarM53pAH1auVsc2ejjtxOauQMQ4sTdXdWwPlGC prIJ994xHOWZBC96o90DCUTYF4atL+bZhxw2Frw32m27kTqDtc9VmI7OwLD2cez4bVwg fTMi6JdU4+8YERBATsPu4OcpW3dNN0HC8jLypNwB16Q1X7IC2pdw/uU8/wEcKGssbmuH PLIJbg5zQZ6nH8ocCkXlT4OL7xAg8RFC1J/nJlooVkfio6k13GpNy0M/jjGviZrzipJK rrEg== X-Gm-Message-State: AOJu0YyW/qnfmv5lOnp/FvaGHFpsjdclhwGycY1hO7XFVXguf4OlSsJh oAWhF0ZWEoA5EtqlIEC58FCMuysfAzrosgpZiNlWRDF3Z489c9BBAADlZQQ+j+Cq0gXGwd/chyF hIZ8ggBuRZGu52Gxk9nMbhMSC7XOYJ0qP X-Google-Smtp-Source: AGHT+IEUMChZSfTnhuvm+uLJXbS5+XlSNLfFnUDpCzcMK9F4i0QTaxlmfMsSKAiwju2lYXNrKSOJU59g5nrTL9XSpJM= X-Received: by 2002:a17:90a:6c8f:b0:2cf:c9ab:e727 with SMTP id 98e67ed59e1d1-2cff951730cmr11281455a91.31.1722885257458; Mon, 05 Aug 2024 12:14:17 -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: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> In-Reply-To: From: Mario Marietto Date: Mon, 5 Aug 2024 21:13:41 +0200 Message-ID: Subject: Re: RFC: rc(8) script for bhyve(8) on FreeBSD To: Dennis Clarke Cc: freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="000000000000c2825e061ef47bcd" 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] X-Rspamd-Queue-Id: 4Wd5hq0tpMz502p --000000000000c2825e061ef47bcd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I don't want a GUI for bhyve. I want to manage everything by creating a script in bash. On Mon, Aug 5, 2024 at 8:52=E2=80=AFPM Dennis Clarke wrote: > On 8/5/24 14:22, Miroslav Lachman wrote: > > On 05/08/2024 18:50, Dennis Clarke wrote: > >> On 8/5/24 12:12, Harry Schmalzbauer wrote: > >>> Hello, > >>> > >>> two years elapsed since I last deployed a FreeBSD machine that > >>> utilizd bhyve(8), which already had bhyve_config(5) support back then= . > >>> > >> > >> This may feel slightly off topic but I assure you that it is of great > >> benefit. Have a look at the brilliant creation of Steve Wills that I > >> know and love as "cirrina" : > >> > >> https://gitlab.com/swills/cirrina/-/releases > >> > >> It is very much in active development and does a neat job of handling = a > >> pile of stuff related to bhyve. Not the least of which is the creation > >> and configuration and management of a whole slew of VMs. It is activel= y > >> being tested and developed and I have been using it while testing PCI > >> device passthru of NVidia Quadro GPUs for the purpose of CUDA dev work= . > >> > >> I also am motivated to write up a pile of documentation related to > >> cirrina given that it really does feel like a Swiss Army Knife which > >> can do damn near everything I ever wanted with bhyve. > > > > I have seen cirrina some time ago. I was interested in GUI. > A GUI with bells and whistles like VMware Workstation is a long way off. > Feel free to drop a few million US dollars and I am sure a prototype > would be available in six months. It may even work. > > Sorry but cirrina(d) is just great from the command line for now. > > -- > Dennis Clarke > RISC-V/SPARC/PPC/ARM/CISC > UNIX and Linux spoken > > > --=20 Mario. --000000000000c2825e061ef47bcd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't want a GUI for bhyve. I want to manage everyth= ing by creating a script in bash.

<= div dir=3D"ltr" class=3D"gmail_attr">On Mon, Aug 5, 2024 at 8:52=E2=80=AFPM= Dennis Clarke <dclarke@blastwa= ve.org> wrote:
On 8/5/24 14:22, Miroslav Lachman wrote:
> On 05/08/2024 18:50, Dennis Clarke wrote:
>> On 8/5/24 12:12, Harry Schmalzbauer wrote:
>>> Hello,
>>>
>>> two years elapsed since I last deployed a FreeBSD machine that=
>>> utilizd bhyve(8), which already had bhyve_config(5) support ba= ck then.
>>>
>>
>> This may feel slightly off topic but I assure you that it is of gr= eat
>> benefit. Have a look at the brilliant creation of Steve Wills that= I
>> know and love as "cirrina" :
>>
>> =C2=A0=C2=A0=C2=A0=C2=A0 https://gitlab.com/swi= lls/cirrina/-/releases
>>
>> It is very much in active development and does a neat job of handl= ing a
>> pile of stuff related to bhyve. Not the least of which is the crea= tion
>> and configuration and management of a whole slew of VMs. It is act= ively
>> being tested and developed and I have been using it while testing = PCI
>> device passthru of NVidia Quadro GPUs for the purpose of CUDA dev = work.
>>
>> I also am motivated to write up a pile of documentation related to=
>> cirrina given that it really does feel like a Swiss Army Knife whi= ch
>> can do damn near everything I ever wanted with bhyve.
>
> I have seen cirrina some time ago. I was interested in GUI.
A GUI with bells and whistles like VMware Workstation is a long way off. Feel free to drop a few million US dollars and I am sure a prototype
would be available in six months. It may even work.

Sorry but cirrina(d) is just great from the command line for now.

--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken




--
Mario.
--000000000000c2825e061ef47bcd-- From nobody Tue Aug 6 10:26:26 2024 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 4WdTxW0jp4z5T93f for ; Tue, 06 Aug 2024 10:26:39 +0000 (UTC) (envelope-from eduardo@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WdTxW09pmz4Nsp for ; Tue, 6 Aug 2024 10:26:39 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722939999; 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=29GLkXl0+ZQBKE7gzdzF/upbHbFiCxC4rssDruyJa8Y=; b=WIAk0lxHIhxN5zb9JsRlIf3HzYNv5fHX+JHUm/ON1gH/bbmP3XtGryOOV8LnbVtlihWn19 W2odDT2LT+EIfOqqan7nAqr2rFxeMqOYtA+hhvfJYImRC6ZKPU5udz++8wJI8mzsTL9yc+ DOyg8yz1w7QF2oKhPi6iBh6CriqdjWRz9fqNAELz9LpeuVa7nLo/78IhRaJT2jW3AwyLg2 OKhFdkqXPxZRXFXlsmDuJoX9qhfXTChPFloQmMA/cpxqYTkiYRm1IM80xNb2wTk8yPagAv svCWmuhAyenkY0kpHVZcH69GxDShKrF+Zqp4GDXG8uwBSOZo0xpYB/jGktn8cg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722939999; a=rsa-sha256; cv=none; b=DhaHEmvddksAGOqz9EjhtF6Kf3+96yUZuD/Y7jEUZ0QPY8dTELKSRtsqw3I6NTMcvkbH0p v3nOLtfkhh81wyxnxmILSUwUKkXyXMNRE64vWrZbp8PosdW31RSf4gUtDlxSiyUMexJ0r2 zjeu6qGruUGVolF8WRenzNOEFLKByM+MJQG6pqcrqAvdJfCBOHLgYii2ZLtjp1EkTptHQd upemiZj+oFTZHVQ59XUj5NmreZuEpIlvbkYdiyZ18LSMfPYsepvyu14N1man7FzQJhgZ45 /96CRYRlcXZjCnELys5eclHCEM3B02EVkwOXLPcrqycPHSyMxyr9WwER8Qcfxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722939999; 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=29GLkXl0+ZQBKE7gzdzF/upbHbFiCxC4rssDruyJa8Y=; b=LEw/8xwV5Nj7d9VW72uFa5e9hhejKK+gONdjg3t1QIaze959xPsjFcWiThiQokkuf3hE3S 4hpJf2RUYXn4WhnMLe9XlKGiBdt1Urp4YiE8NR5cLKPZQenZ6P9JkSXEO0ZvUD/Hl+qNJ7 b5XNpfzuEOqbxl8RuYe/eLv6ZC62xoigPeFoenraborFiIM+x0nb6xIdtXVhyIn8hr9eoD mQaKlh/Qg5ZjZaX2p7u5alEbFpEa3jVTixDLil3XmR0edZd8xmBf+loU9kQAWHkT3FcHAF nIytwapzenQhdK5fm/rr5dhTaOhxtSKnw9W5Vi4vtJJHf9cFjn3TajheNODFtQ== 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)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WdTxV6mGyz17S1 for ; Tue, 6 Aug 2024 10:26:38 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-e0885b4f1d5so364946276.1 for ; Tue, 06 Aug 2024 03:26:38 -0700 (PDT) X-Gm-Message-State: AOJu0YxQlHHhyKbniT6cjUCISMn9b81xVM7RrZfnM6Flw7pXzLJxi6Fp uFN818+zScOUWjNSYQDoL6T3d1Lkl7TNQkDwiZRf6aRR7doKSqJ87k9a5RN67y0ilGZo2UBYWGX QFwv2YeQVSF/OmaX7UMd6la8K7wc= X-Google-Smtp-Source: AGHT+IHzW9b4bIELGirzBfwht+oYPcf/uV0uyyDxk/tVHm1iz4sMpKUvabImqyCjJ29SIbRSf2qkV742tIDvcx4Nox0= X-Received: by 2002:a25:bdd3:0:b0:e0b:dbba:4be9 with SMTP id 3f1490d57ef6-e0bde2c206emr14706390276.7.1722939997831; Tue, 06 Aug 2024 03:26:37 -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: Nuno Teixeira Date: Tue, 6 Aug 2024 11:26:26 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Fall back to fast_float when C++ stdlib doesn't provide from_chars for floats To: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="0000000000008a53b8061f013a01" --0000000000008a53b8061f013a01 Content-Type: text/plain; charset="UTF-8" Hello all, On deskutils/treesheets port, upstream did some updated that broke build. After investigating it upstream says we are building with an outdated C++ standard lib. To fix it, I'm using a fall back to fast_float as we see in main PR: https://github.com/aardappel/treesheets/issues/686 As I don't have skills to understand why this fix works, I'd like to have some expert opinion on this fix since I don't know if this will be supported in the furure. Resuming we added __FreeBSD__ to fall back in code already present: template T parse_float(string_view sv, const char **end = nullptr) { // FIXME: Upgrade compilers for these platforms on CI. - #if defined(__APPLE__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) + #if defined(__APPLE__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__FreeBSD__) auto &term = *(char *)(sv.data() + sv.size()); auto orig = term; term = 0; auto v = (T)strtod(sv.data(), (char **)end); term = orig; return v; #else T val = 0; auto res = from_chars(sv.data(), sv.data() + sv.size(), val); if (end) *end = res.ptr; return val; #endif } Commit is https://cgit.freebsd.org/ports/commit/?id=4ffd449f0cfdbef7d1c78442ad3ea0be9ab12ea3 Thanks, -- Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --0000000000008a53b8061f013a01 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

On deskutils/tree= sheets port, upstream did some updated that broke build.
After in= vestigating it upstream says we are building with an outdated C++ standard = lib.

To fix it, I'm using a fall back to fast_= float as we see in main PR:


As I don= 9;t have skills to understand why this fix works, I'd like to have some= expert opinion on this fix since I don't know if this will be supporte= d in the furure.

Resuming we added __FreeBSD__= to fall back in code already present:

<snip>= ;
template<typename T> T parse_float(string_view sv, co= nst char **end =3D nullptr) {
=C2=A0 =C2=A0 // FIXME: Upgrade compilers = for these platforms on CI.
- =C2=A0 =C2=A0#if defined(__APPLE__) || defi= ned(__ANDROID__) || defined(__EMSCRIPTEN__)
+ =C2=A0 =C2=A0#if defined(_= _APPLE__) || defined(__ANDROID__) || defined(__EMSCRIPTEN__) || defined(__F= reeBSD__)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 auto &term =3D *(char *)(sv.da= ta() + sv.size());
=C2=A0 =C2=A0 =C2=A0 =C2=A0 auto orig =3D term;
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 term =3D 0;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 auto= v =3D (T)strtod(sv.data(), (char **)end);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 t= erm =3D orig;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 return v;
=C2=A0 =C2=A0 #el= se
=C2=A0 =C2=A0 =C2=A0 =C2=A0 T val =3D 0;
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 auto res =3D from_chars(sv.data(), sv.data() + sv.size(), val);
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 if (end) *end =3D res.ptr;
=C2=A0 =C2=A0 =C2=A0= =C2=A0 return val;
=C2=A0 =C2=A0 #endif
}
Thanks,

--
Nuno= Teixeira
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--0000000000008a53b8061f013a01-- From nobody Thu Aug 8 17:56:50 2024 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 4Wfvr96LHNz5TL9s for ; Thu, 08 Aug 2024 17:56:57 +0000 (UTC) (envelope-from tamelingdaniel@gmail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 4Wfvr86hrnz4WWF for ; Thu, 8 Aug 2024 17:56:56 +0000 (UTC) (envelope-from tamelingdaniel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=HZP+Yg5i; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of tamelingdaniel@gmail.com designates 2a00:1450:4864:20::42b as permitted sender) smtp.mailfrom=tamelingdaniel@gmail.com Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3687ea0521cso890949f8f.1 for ; Thu, 08 Aug 2024 10:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723139813; x=1723744613; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=E487wUlo5EWlT+In7z96VdXs+9+wqyCPUUsAcl+DhiY=; b=HZP+Yg5iG6b0P9GNNvjzWHzo47bcwLhPNi3G7GJqX9y0KZ28+Pk90AI0kcqnz/u4Ey UsmtTIY3l6etpxOcsa1pdbdKD+YWPNcWNB/rzpyhj3QzuDz/THrITvWcfnUaKoDkRgxV 9KxfX6p3XSPeFyHDlBHykX6QqXKQHcBREDLk80aZps8fQGw6hKbI5buxS/ZxKNWsCrPH rHiTZNHewUs6brixphatRQm+WoOxZZjx2HG6HB2PTnWWwr2p3Eufz9RultIkYnWKyM+E JdHEm1ZJJXihdJp7quyCtf8hXM7LuufaHPn8r+teWXmrDo6BH8zXlHM2ln9ZcRMfXYnZ EKIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723139813; x=1723744613; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=E487wUlo5EWlT+In7z96VdXs+9+wqyCPUUsAcl+DhiY=; b=hZx6p0R9p9OF3npO/7zRjldx5hiCP4IAZyp8d9UeeIGjQ1AVzDufag8cQxuKl+Q1Sx du5DNSC8gPVwvPvPSyAACos4HQ2K5pQmXz5bYFysulJot/CB9txqTtojy31gN5W18+dw pU7Cn4Dl89ti/1qH2lvU27y6r0Qt4h6pkeAcf35SW1CbAr0B3i4w/7jXpK5oFVVgJfpF eXA0ZlOkoTB6LMEUnd9vRZIPp9ActB9EXNa66zNzMriaJuGvScLGrxoRLbupY67M5QoL ZmR6aHhvFcj2Ti7KpMztZVDp9DWLaF353PJsuB9VZYZMwrPN42nb1fSBwKiX3dMSEa7n 51SA== X-Gm-Message-State: AOJu0YyU7Wcg3oJppggMHfb7pKnezBOg+pMMT6fetlOct5BEWKjMYVrz 8tGeTu38WhnE5bwet+doZOER3mXliYLlXUEaKPKvMV0OdzevRrS4/5GjTAHi X-Google-Smtp-Source: AGHT+IFsZli+Bh+aNbV+SFD+9+evePN+26HdQGM+3imvrDRJTV9l9x6iF3k+3E68doV3sxVEhWGmWw== X-Received: by 2002:a05:6000:1ace:b0:368:4489:8efb with SMTP id ffacd0b85a97d-36d27580d86mr2992658f8f.40.1723139812727; Thu, 08 Aug 2024 10:56:52 -0700 (PDT) Received: from localhost ([2001:9e8:c428:5600:5fb:243b:36a4:d2c7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36d27156c8asm2648132f8f.24.2024.08.08.10.56.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Aug 2024 10:56:52 -0700 (PDT) Date: Thu, 8 Aug 2024 19:56:50 +0200 From: Daniel Tameling To: freebsd-current@freebsd.org Subject: Re: Fall back to fast_float when C++ stdlib doesn't provide from_chars for floats 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=utf-8 Content-Disposition: inline In-Reply-To: X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; 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]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; MISSING_XM_UA(0.00)[]; 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)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42b:from] X-Rspamd-Queue-Id: 4Wfvr86hrnz4WWF On Tue, Aug 06, 2024 at 11:26:26AM +0100, Nuno Teixeira wrote: > > As I don't have skills to understand why this fix works, I'd like to have > some expert opinion on this fix since I don't know if this will be > supported in the future. Not an expert, but here is my opinion: the workaround uses the strtod function instead of the from_chars function. The latter got added in c++17 and the former is still in the latest standard, and I don't think it will be removed any time soon. So as long as it is supported by upstream, it should be save to use the workaround. You might want to raise the issue with toolchain@FreeBSD.org to get a reaction from the real experts. Maybe there is a better solution to your problem. -- Best regards, Daniel From nobody Thu Aug 8 19:00:19 2024 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 4WfxFL62bDz5S131 for ; Thu, 08 Aug 2024 19:00:22 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WfxFL5V83z4gmQ; Thu, 8 Aug 2024 19:00:22 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723143622; 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=+w05ckM3pN7gNMNG7txdyR++PTAh+FGSc63iQv2IMGY=; b=YAztfnPfjWvN3QUPDLPVtyFzJPsoq+YGl9/T4M200EUWyJbZwp6q7HaiylvacR1qgWIJBV I/j3zzAPcTrffvt1BxLylFf2/g2ZMbgucLlAu8GY6b5avb3CVsaB5/JUluaJYLXsF2CQax e+bDisKG1WZkXSlRlUZhilMULoL43R0Ka0LBBmWFX1RTXZ5PzvTP3QV9zlQMtonpDY5k2B ecy0zBIt29mobsezWQwBG6EJjgV470IYGDNyL8njTjOQPApJLKjiHlKIBG44Fl7RmRVjem 1otpSVoagbV3g4tv8qOu4czWPAAHhrpdq7TNyx72xvAIidnKD9RAubqk5BwkFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723143622; a=rsa-sha256; cv=none; b=rngqB19CjQeCvnl/cSaNJIXSeVIlvDXXQ/DdOqVJYSyMkkouV+Fcc/fquZABKYp22cCETU 7XEMAXJ2Qp610ctFC7NwhiBpRX+0Puy5RB9vWSf+D6+wg8iNyGul9XS6e0vE4+VlLOqMFZ vBCS7aJVB1zlszT0FZtr8/undTsMcAIVTvK/IWgK0eT6lc6uUy5Z9VJvnAHET4GxkqaMCC LJwYbhScpZ9z/2+mqX7WKfI5Jr+UfIE03MyiW9Dgb8S5ARhfHwKJA496pPmb+0cd7pvi0I 7YYfU+XLytKOW0TQuoi6GQdLY5siO2ytR5oxa1MbybDe3oyHJ+WS5LnacWUWhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723143622; 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=+w05ckM3pN7gNMNG7txdyR++PTAh+FGSc63iQv2IMGY=; b=PBXax+mXn5jWwU8lzojQnkNuJfKfep6w0S2j0cZIsaUxZkgM8Ihu7fmt1ZmfedEEsaDRUG uUd80bHEIo/ZTGweqqbY0JZhOsNJkICPQKgHOkDYjfB5nvG6FTpqHAQT6nNzGP/qkA1p8F y4SX4rR9BgidiKgFbpCAdco+SQqTEeu6SUwjoeHKUFrHPZVLSObv7y8QMKgg/vMIYfgLB5 ipBT7+8R6GtjUjvsd8Liolg1G56/OGxjxakifFYGy6iBcx6QV+UoAVOq92dGD0NZjC6zqk psKSlks2rhgW4wcccJYLDSolDUMAAx+ubS9Be1Y8p6ezcAXm714aHZ6WrMPADw== 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 4WfxFL4PkPz1KMy; Thu, 8 Aug 2024 19:00:22 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow-wifi.home.andric.com [192.168.0.18]) (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 2ED005880F; Thu, 08 Aug 2024 21:00:20 +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 \(3731.700.6.1.2\)) Subject: Re: Fall back to fast_float when C++ stdlib doesn't provide from_chars for floats From: Dimitry Andric In-Reply-To: Date: Thu, 8 Aug 2024 21:00:19 +0200 Cc: freebsd-current@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <9C549977-BC84-4B46-9F11-2EE70CF4CF27@FreeBSD.org> References: To: Daniel Tameling X-Mailer: Apple Mail (2.3731.700.6.1.2) On 8 Aug 2024, at 19:56, Daniel Tameling wrote: > > On Tue, Aug 06, 2024 at 11:26:26AM +0100, Nuno Teixeira wrote: >> >> As I don't have skills to understand why this fix works, I'd like to have >> some expert opinion on this fix since I don't know if this will be >> supported in the future. > > Not an expert, but here is my opinion: the workaround uses the strtod > function instead of the from_chars function. The latter got added in > c++17 and the former is still in the latest standard, and I don't > think it will be removed any time soon. So as long as it is supported > by upstream, it should be save to use the workaround. > > You might want to raise the issue with toolchain@FreeBSD.org to get a > reaction from the real experts. Maybe there is a better solution to > your problem. At the moment, from_chars is only implemented for integers, in libc++. I'm unsure what the reason is for not implementing it for floating point types. So for now, just use strtod() or the equivalent. -Dimitry From nobody Fri Aug 9 11:10:22 2024 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 4WgLml48dxz5TQxZ; Fri, 09 Aug 2024 11:10:31 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2001:41d0:700:4a43:a25:de0:0:13]) (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 4WgLmk4PM3z4FXQ; Fri, 9 Aug 2024 11:10:30 +0000 (UTC) (envelope-from freebsd@omnilan.de) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@omnilan.de designates 2001:41d0:700:4a43:a25:de0:0:13 as permitted sender) smtp.mailfrom=freebsd@omnilan.de Received: from mh0.gentlemail.de (mh0.gentlemail.de [135.125.173.218]) by mx0.gentlemail.de (8.18.1/8.18.1) with ESMTP id 479BAMNs051701; Fri, 9 Aug 2024 11:10:22 GMT (envelope-from freebsd@omnilan.de) Received: from [172.21.3.1] (s1.omnilan.de [217.91.127.234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 644532167; Fri, 09 Aug 2024 11:10:22 +0000 (UTC) Message-ID: <7145655d-2548-4c45-ae70-c8bb35472b13@omnilan.de> Date: Fri, 9 Aug 2024 13:10:22 +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: RFC: rc(8) script for bhyve(8) on FreeBSD From: Harry Schmalzbauer To: freebsd-current@freebsd.org Cc: virtualization@FreeBSD.org References: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> Content-Language: en-US, de-DE Organization: OmniLAN In-Reply-To: <178d585e-2ce0-4b69-a017-8af7f9b78a57@omnilan.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[virtualization@FreeBSD.org,freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[omnilan.de]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4WgLmk4PM3z4FXQ On 2024-08-05 18:12, Harry Schmalzbauer wrote: > ... > I was astonished that I still couldn't find bhyve in /etc/rc.d in > 14.1-stable as of last week. Please find updated version at https://reviews.freebsd.org/D46250 I'm new to phabricator, please excuse formal mistakes - I didn't specify any reviewer for example.  I don't know the usual procedure (yet, mentorship appreciated!) > -harry From nobody Sat Aug 10 04:12:57 2024 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 4WgnSp2B5rz5TJPD for ; Sat, 10 Aug 2024 04:13:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-19.consmr.mail.gq1.yahoo.com (sonic305-19.consmr.mail.gq1.yahoo.com [98.137.64.82]) (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 4WgnSn33xjz4Gpn for ; Sat, 10 Aug 2024 04:13:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=j30OqDHk; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.82 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723263190; bh=yXJKR6rUJS+csbDoneONU/upw34iTnxCHWWHzYCifhA=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=j30OqDHk4WDvpJ2xQIvb8szT7+JfmZiC+2+fjVdtSG4Ba75RmSCu/YVv8dEuWGlyrq5VdYZuXoafES6ugkS1PN6uTSxTOJ361r/i+MmNoIAhduBeO2zLcAaIHzQ7z2Omzb8M02XcG+BFGVIHp53VXZ1joGX7lduHbsJ5YPmL/bmVME4fSWMBcYju+bPvR36zuHq4IDP+bYie7HyolcMBOJvF7PuR2ndrtrTu9VSoUCXmin6drgQeZMOAqeotyTZ5+9JJhoCVfdawpuWqrpb5No30qtraAv1POrYYMC0Z8PXTXyCE9oQPtLUvQDr86rd5H2LbU+y/2efy4+XznycM2Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723263190; bh=W5eaSYz2wycsDuxGXoef7K20pleiGlHyEHdzkLzjC15=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=SCpusz+kc/hiyv300s+G4ercU5S2k6mfspuAsZk8ShS/C3Fo+E1eYNj6mgDOZCdd4C96YzKTcn5Osggv5XyLFD9Wry6SgquQdLw5IzMC0UtrgbxbbVzNzb4eAaD/FVe7VnT1tXB5HNpWqZPadZNjb+XPBvknQG49BCDxwlBR6tamar5ySSmZFQ5S4qQTcAtjN5YfRmd5v++OAHb6RnINsZu2fO/zEEj6qcOzTVDpmeREj57hB08ly562rC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8N31ZD7Hp_ch3pKpw_8O427dP3nkyYQfKT5QD4gWlCMbISxx4khj_ea8vNl jEfKFJAj3k2Zv.tD1yd3GFQmLJg0Q7WH16VA2AD.8wIGeTyABWoNt8dVkQnucJSsOHV.9H20dJfO BZYZh86JAjGPnzdkhivI5OXi02j3VLMeRiCLonPGUFSe2n6lrnHqXgMPyf8IMNarB31b8jAulvMU daMbDL3wHzu2oMLfxQFe6wHGD2zKbyvF_1GLAo3..qdo7Y56bur8xWM7O6sEA221QNeaxvS2QvwJ 1ipNZyN.RkZxAbellBA-- X-Sonic-MF: X-Sonic-ID: aef6b833-5fc2-462a-a368-d38516aa2322 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sat, 10 Aug 2024 04:13:10 +0000 Received: by hermes--production-gq1-5d95dc458-sd55t (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID eea9b0a6666fcbf7e69bd005b3397247; Sat, 10 Aug 2024 04:13:08 +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 \(3774.600.62\)) Subject: FreeBSD media boots Windows DevKit 2023 but VHDX copied from the media does not boot under Win11Pro Hyper-V Message-Id: <09BDEA65-1191-43D2-836C-A82BA794C620@yahoo.com> Date: Fri, 9 Aug 2024 21:12:57 -0700 To: FreeBSD ARM List , Current FreeBSD X-Mailer: Apple Mail (2.3774.600.62) References: <09BDEA65-1191-43D2-836C-A82BA794C620.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.82:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.82:from] X-Rspamd-Queue-Id: 4WgnSn33xjz4Gpn I took a 224 GiByte or so FreeBSD boot media that boots the Windows DevKit 2023 just fine: =46rom gpart show -p from such a boot: =3D> 40 468862048 da0 GPT (224G) 40 32728 - free - (16M) 32768 532480 da0p1 efi (260M) 565248 7864320 da0p2 freebsd-swap (3.8G) 8429568 524288 - free - (256M) 8953856 8388608 da0p3 freebsd-swap (4.0G) 17342464 8388608 da0p4 freebsd-swap (4.0G) 25731072 440401920 da0p5 freebsd-ufs (210G) 466132992 2729096 - free - (1.3G) =46rom gpart show -pl from the boot: =3D> 40 468862048 da0 GPT (224G) 40 32728 - free - (16M) 32768 532480 da0p1 PBefi (260M) 565248 7864320 da0p2 PBswp3p75 (3.8G) 8429568 524288 - free - (256M) 8953856 8388608 da0p3 PBswp4a (4.0G) 17342464 8388608 da0p4 PBswp4b (4.0G) 25731072 440401920 da0p5 PBsmallUFS (210G) 466132992 2729096 - free - (1.3G) It has both package base kernels and personal builds: # strings -f /boot/kernel*/kernel | grep ": FreeBSD [0-9][0-9]\.[0-9]-" = | sort -k4,5 | sed -e "s@: @% @" | tr % "\n" /boot/kernel.CA76-NODBG.old/kernel FreeBSD 15.0-CURRENT #2 main-n268827-75464941dc17-dirty: Sun Mar 17 = 18:44:08 PDT 2024 /boot/kernel.CA76-DBG.good/kernel FreeBSD 15.0-CURRENT #6 main-n271165-cb18ba9df52d-dirty: Fri Jul 12 = 11:09:16 PDT 2024 /boot/kernel.CA76-NODBG.good/kernel FreeBSD 15.0-CURRENT #6 main-n271165-cb18ba9df52d-dirty: Fri Jul 12 = 11:09:16 PDT 2024 /boot/kernel.CA76-DBG/kernel FreeBSD 15.0-CURRENT #7 main-n271413-1f7df7570174-dirty: Sat Jul 27 = 09:11:21 PDT 2024 /boot/kernel.CA76-NODBG/kernel FreeBSD 15.0-CURRENT #7 main-n271413-1f7df7570174-dirty: Sat Jul 27 = 09:11:21 PDT 2024 /boot/kernel.GENERIC-DEBUG.good/kernel FreeBSD 15.0-CURRENT main-n271137-d68d12481778 GENERIC /boot/kernel.GENERIC-NODEBUG.good/kernel FreeBSD 15.0-CURRENT main-n271137-d68d12481778 GENERIC-NODEBUG /boot/kernel/kernel FreeBSD 15.0-CURRENT main-n271408-4fab5f005482 GENERIC /boot/kernel.GENERIC-MMCCAM/kernel FreeBSD 15.0-CURRENT main-n271408-4fab5f005482 GENERIC-MMCCAM /boot/kernel.GENERIC-NODEBUG/kernel FreeBSD 15.0-CURRENT main-n271408-4fab5f005482 GENERIC-NODEBUG The boot world is a package base world. I used the Windows 11 tool that can make a VHDX copy of physical media to make such a copy. Attempting to boot the result gets as far as showing the EFI framebuffer information, which looks reasonable. But the mask line is the last output in the console window. All the kernel selections from the loader do that. Is this expected? Is there a known potential work round? Note: the context is for ssh based use, not video based use. But it is go to see console messages if any occur. Why Hyper-V? It is the context that I've usually used to test (smaller) RAM and core-count combinations that I do not have examples of. But I've done such on amd64 historically, not aarch64, other than possibly one prior time. On amd64 the drive was internal PCI hardware and no production of a VHDX file was required. On aarch64 with the USB based drive, direct use of the drive is blocked, thus the use of a VHDX file produced from the original media. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Aug 10 16:02:13 2024 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 4Wh5C058ZRz5SRRn for ; Sat, 10 Aug 2024 16:02:20 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (pdx.rh.CN85.dnsmgr.net [65.75.216.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wh5C00DtBz4TYb for ; Sat, 10 Aug 2024 16:02:19 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=gndrsh.dnsmgr.net; spf=pass (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net designates 65.75.216.6 as permitted sender) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 47AG2Er9065702; Sat, 10 Aug 2024 09:02:14 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 47AG2DfH065701; Sat, 10 Aug 2024 09:02:13 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202408101602.47AG2DfH065701@gndrsh.dnsmgr.net> Subject: Re: A few good ports on release iso images ? In-Reply-To: <202407302052.46UKqu6w015380@critter.freebsd.dk> To: Poul-Henning Kamp Date: Sat, 10 Aug 2024 09:02:13 -0700 (PDT) CC: Shawn Webb , current@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.80 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gndrsh.dnsmgr.net,none]; R_SPF_ALLOW(-0.20)[+ip4:65.75.216.0/23:c]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10494, ipnet:65.75.216.0/23, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[current@FreeBSD.org]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Queue-Id: 4Wh5C00DtBz4TYb > Shawn Webb writes: > > > While probably less efficient than just running the tools outright, I > > usually just set up a tmpfs that I chroot into and install those kinds > > of packages. > > Yeah, I do something similar, with the footnote that I more often than > not have no internet connection, so I have to remember to bring the > packages. Build yourself a full release on USB and just be done with it. The project keeps deleting stuff from base I find very useful, I have given up on releases as a tool, I build a stick install and tweak all the things I need, image it "just in case" and keep it around for emergencies, and daily special use. A new stick is created for each release. -- Rod Grimes rgrimes@freebsd.org From nobody Sun Aug 11 00:42:55 2024 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 4WhJlz2g71z5TVpF for ; Sun, 11 Aug 2024 00:43:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (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 4WhJlx4qn7z4NpP for ; Sun, 11 Aug 2024 00:43:09 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=PwwwFgw8; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723336987; bh=V7KVzLI+5FJ9t3ex49rY1a+hbeagYXtqsu8FoYCGE5U=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=PwwwFgw8O6KaRkU7gH+Fg10IGNGU/CXGokpEfMKs+RJEh8sUdpZsUrGudrUQyDscR9u8VrmoI+hTa2/xdM5xattAj3XE1/A94NbagQcdllOLFvDaVUVNXXazaDMjBEDstO0JI/4YyK6EpxwoM0MfFnFvwbD/9lX7D8FN/9WjdC2wwKP7ZVPM48c/sr0ORs4jEaDIU7fmnKL+jN0U90lS1i/zCld1JAHhqiqPgfEF9xod6PCYE/maBt2cUSiofF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t74urYeSIvrH0Ylcdj5pEuWI5UBJdztWsASXw5nHMw_CMXbdvXdky2Nc I7mFWLfYEAq9tmMW5Elsa.TCcu1sJCSviDbZWKO3V4M1aHL0gSu78cX5NA0INFY7L7fb_uolcPy3 cGTO0fADsaT2qV_HizK0VVWmYCvDv_8gkTKF32eNbRP10DDgewj7egQLWTd9irV5vU2TIPT42wPZ agtl5njiB.5pZFwRZzwQZ_No97Yv0MPducZhETVJo0nS7Tx.ZnxcPsAkgPX_RqYPGyZ7EMEUbhN8 lgwWtFDWK.qOLxgtVLMSca8nK314_9vejOfHl1KKBFnhkx8lCQqYcH_1LRcQ7s.5PD6zui9tXIeT 9tcaJV.DASFwOWnRRowSuTMkMIuAqQ4y7QQCTB0L4GvymtRtAehRayt0tUOaH2K0fVo2C.7Jxby3 RLOITfQjC5lJebyD4aRptgw6dJeUptGITmmb0iPGbbvl_swcvIv0W7T_Cx9gIyLQnVr.oRKFSZQc mrPvVWSNirxUg9Cp9ZrqtQEK4AWo_aJMynBItF0BguqYeLwmfpsjIGWIMwzoxV12kCU.T1VWRDei il_.RE0zkK1rQs4iv_79edRlSc7onfaG0sWftrWAW0zZeXXh3ZUeb.NLMPtM83GxweqSbT7LVamq 79tg1oBn4o7akrw3pPC2uT4irG7we4k4cxXIkQovHeDT9o.6ZuswX7BabXffud72Z3eJtEOrEnaN e44gQEOWJktJEW2ATtd_lEe0XqMIkbRrtWPYsWUXZhFjH8ZBlCVwZVyPAWiex_Ic8Z8jOwKks1qv Xqo30a.GI_xj.s2JlBIROc0yQUKLTfx6Z5HI- X-Sonic-MF: X-Sonic-ID: 7e297bfc-e574-4658-8332-3fff2281dd69 Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Sun, 11 Aug 2024 00:43:07 +0000 Received: by hermes--production-gq1-5d95dc458-sd55t (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2345c4ae55d395986c3dbf45ad66998a; Sun, 11 Aug 2024 00:43:05 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=utf-8 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 \(3774.600.62\)) Subject: RE: git: ce4dcb97ca43 - main - zfs: merge openzfs/zfs@9c56b8ec7 Message-Id: Date: Sat, 10 Aug 2024 17:42:55 -0700 To: Martin Matuska , dev-commits-src-main@freebsd.org, Current FreeBSD X-Mailer: Apple Mail (2.3774.600.62) References: X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.84:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.84:from] X-Rspamd-Queue-Id: 4WhJlx4qn7z4NpP Martin Matuska wrote on Date: Sat, 10 Aug 2024 10:47:35 UTC : > The branch main has been updated by mm: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3Dce4dcb97ca433b2a2f03fbae957dae0f= f16f6f51 >=20 > commit ce4dcb97ca433b2a2f03fbae957dae0ff16f6f51 > Merge: 54a543d5ea3a 9c56b8ec7855 > Author: Martin Matuska > AuthorDate: 2024-08-10 09:15:30 +0000 > Commit: Martin Matuska > CommitDate: 2024-08-10 09:43:43 +0000 >=20 > zfs: merge openzfs/zfs@9c56b8ec7 > . . . [I'm just copying a notice to be associated with lists dev-commits-src-main@ and freebsd-current@ . I've not updated myself.] Flox on discord (storage) is reporting that after updating . . . : =20 =E2=80=A2 [2:12 PM]Flox: getting this error in ZFS since recent = update in HEAD =E2=80=A2 [2:12 PM]Flox: sysctl_warn_reuse: can't re-use a leaf = (kstat.zfs.zroot.dataset.objset-0x204.zil_itx_metaslab_slog_alloc)! pid 58 (zpool) is attempting to use unsafe AIO requests - not logging = anymore =E2=80=A2 [2:13 PM]Flox: FreeBSD fbsd15.localdomain 15.0-CURRENT FreeBSD 15.0-CURRENT #0 = main-aea9dba46b: Sat Aug 10 16:48:02 EDT 2024 = mike@fbsd15.localdomain:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG = amd64 =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sun Aug 11 02:15:05 2024 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 4WhLp56ZP9z5SCL2; Sun, 11 Aug 2024 02:15:09 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WhLp54SNhz4b28; Sun, 11 Aug 2024 02:15:09 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id cnDKsDvOLMArNcy6usCeDJ; Sun, 11 Aug 2024 02:15:08 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id cy6ssmshlGvSVcy6tsbJVO; Sun, 11 Aug 2024 02:15:08 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=FpSm/Hrq c=1 sm=1 tr=0 ts=66b81eac a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=yoJbH4e0A30A:10 a=CjxXgO3LAAAA:8 a=Lwl8wKxvAAAA:8 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=5e91a_V0DqOi1s5GgA4A:9 a=CjuIK1q_8ugA:10 a=Za8mMQHw4i5CH-zva56t:22 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 2F16ABA9; Sat, 10 Aug 2024 19:15:06 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 04996DB; Sat, 10 Aug 2024 19:15:06 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Mark Millard cc: Martin Matuska , dev-commits-src-main@freebsd.org, Current FreeBSD Subject: Re: git: ce4dcb97ca43 - main - zfs: merge openzfs/zfs@9c56b8ec7 In-reply-to: References: Comments: In-reply-to Mark Millard message dated "Sat, 10 Aug 2024 17:42:55 -0700." 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 Date: Sat, 10 Aug 2024 19:15:05 -0700 Message-Id: <20240811021506.04996DB@slippy.cwsent.com> X-CMAE-Envelope: MS4xfN629wQcQ/QiSsffR6NzIT6C73PEXjbC7emYuoDjATi4f6BFClJlCoRQuIwpRJKfQisLufEuia6QAwgdZ3gLdTOoY8wP3ox13FoiFA7zobYjDkrCaWVU c/O6oUU6rvOvs562XtB1/+6cFTG09zF7HL7nZC1HFwdBQ97WExHFCBII1fjB+6J+FNOP9HFoKHyHr1JKIj86/Z9d+1A/+vOTQ7TFGgOKfxYEkfyJnIZhBDIW Iq4GlWcuHjNYWdUaA/i3D6X6eTHt9yvdh/PMl0xYxZeCskmG9KM+cOlBJa7F0R567dNmOCfvncpaSmK+JqeJ3Q== 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:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4WhLp54SNhz4b28 In message , Mark Millard write s: > Martin Matuska wrote on > Date: Sat, 10 Aug 2024 10:47:35 UTC : > > > The branch main has been updated by mm: > >=20 > > URL: = > https://cgit.FreeBSD.org/src/commit/?id=3Dce4dcb97ca433b2a2f03fbae957dae0f= > f16f6f51 > >=20 > > commit ce4dcb97ca433b2a2f03fbae957dae0ff16f6f51 > > Merge: 54a543d5ea3a 9c56b8ec7855 > > Author: Martin Matuska > > AuthorDate: 2024-08-10 09:15:30 +0000 > > Commit: Martin Matuska > > CommitDate: 2024-08-10 09:43:43 +0000 > >=20 > > zfs: merge openzfs/zfs@9c56b8ec7 > > . . . > > [I'm just copying a notice to be associated with lists > dev-commits-src-main@ and freebsd-current@ . I've not > updated myself.] > > Flox on discord (storage) is reporting that after updating . . . : > =20 > =E2=80=A2 [2:12 PM]Flox: getting this error in ZFS since recent = > update in HEAD > =E2=80=A2 [2:12 PM]Flox: > sysctl_warn_reuse: can't re-use a leaf = > (kstat.zfs.zroot.dataset.objset-0x204.zil_itx_metaslab_slog_alloc)! > pid 58 (zpool) is attempting to use unsafe AIO requests - not logging = > anymore > > =E2=80=A2 [2:13 PM]Flox: > FreeBSD fbsd15.localdomain 15.0-CURRENT FreeBSD 15.0-CURRENT #0 = > main-aea9dba46b: Sat Aug 10 16:48:02 EDT 2024 = > mike@fbsd15.localdomain:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG = > amd64 Yeah. I'm getting tons of these on all my machines as well. sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.cwsys.dataset.objset-0x2cc d.zil_itx_metaslab_slog_alloc)! -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Sun Aug 11 02:25:54 2024 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 4WhM2w2gL7z5SF5N for ; Sun, 11 Aug 2024 02:26:16 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4WhM2v5Rbzz4chn for ; Sun, 11 Aug 2024 02:26:15 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (123-1-21-232.area1b.commufa.jp [123.1.21.232]) (authenticated bits=0) by www121.sakura.ne.jp (8.17.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 47B2PsZb079746; Sun, 11 Aug 2024 11:25:56 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1723343165; bh=0gqVNd1hWgpIbyWRtJnXw3IGMNn74D3scteuycUDtKk=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Ga1KhQ85Rs1z65jQM3vX/vXpcnbmgn/06ByMSOh/FIWZdJyvktHtGDAZn6nboPKDL 4pURFULSqhe2o6TjjdiyLVBnoyamkEYinQkSyUCKUR3WvG2uieOMjAS7NlWA2nE15v oGj6yip21ZMUe1AbWdqq5a58hrPGTMlrDi/HZVek= Date: Sun, 11 Aug 2024 11:25:54 +0900 From: Tomoaki AOKI To: "Rodney W. Grimes" Cc: Poul-Henning Kamp , Shawn Webb , current@FreeBSD.org Subject: Re: A few good ports on release iso images ? Message-Id: <20240811112554.a303e5165097d1b0cfeb7e58@dec.sakura.ne.jp> In-Reply-To: <202408101602.47AG2DfH065701@gndrsh.dnsmgr.net> References: <202407302052.46UKqu6w015380@critter.freebsd.dk> <202408101602.47AG2DfH065701@gndrsh.dnsmgr.net> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.1) 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-Transfer-Encoding: 7bit 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:7684, ipnet:153.125.128.0/18, country:JP] X-Rspamd-Queue-Id: 4WhM2v5Rbzz4chn On Sat, 10 Aug 2024 09:02:13 -0700 (PDT) "Rodney W. Grimes" wrote: > > Shawn Webb writes: > > > > > While probably less efficient than just running the tools outright, I > > > usually just set up a tmpfs that I chroot into and install those kinds > > > of packages. > > > > Yeah, I do something similar, with the footnote that I more often than > > not have no internet connection, so I have to remember to bring the > > packages. > > Build yourself a full release on USB and just be done with it. > The project keeps deleting stuff from base I find very useful, > I have given up on releases as a tool, I build a stick install > and tweak all the things I need, image it "just in case" and > keep it around for emergencies, and daily special use. > > A new stick is created for each release. > > > -- > Rod Grimes rgrimes@freebsd.org Currently, IIRC, DVD image contains at least some of pkgs, while other images contains none. What would be useful for ALL images would be: *ports-mgmt/pkg, *All (at least, network interface ones) kmod ports which are allowed by their license and built with exactly the same src tree as the release itself. In some cases, any of kmod ports are needed to get internet access working, especially relatively new notebooks. What's important is, as already noted above, the bundled kmod ports SHALL be built with the kernel to be installed, exactly. For *.0 releases, there should be no problem with official pkgs. But for *.1 and later, official pkgs are built against oldest supported release of the corresponding stable branch, thus cause failing to kldload. Basically, my opinion is to force kmod ports to be always built from ports and stop providing official pkgs for them, but the above is the only exception. Internet access is needed to obtain/sync ports tree and distfiles to build. So kmods for "bootstrapping" would be important. For example, I've recently found this thread on forums.freebsd.org. [1] [1] https://forums.freebsd.org/threads/new-system-hardware-supported.93574/ -- Tomoaki AOKI From nobody Sun Aug 11 05:52:45 2024 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 4WhRdH72tmz5SdXP for ; Sun, 11 Aug 2024 05:52:51 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (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 (P-256) client-digest SHA256) (Client CN "mail.oetec.com", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WhRdG3rNQz40sY for ; Sun, 11 Aug 2024 05:52:50 +0000 (UTC) (envelope-from dclarke@blastwave.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=CVp9d0Dd; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org Received: from [172.16.35.3] (pool-99-253-118-250.cpe.net.cable.rogers.com [99.253.118.250]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.17.1) with ESMTPSA id 47B5qjgL041751 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sun, 11 Aug 2024 01:52:47 -0400 (EDT) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1723355567; bh=w7nHwfDi+VLb2P1KayIlZiOPAnd9txb1NTMEXEv7dHw=; h=Date:Subject:To:References:From:In-Reply-To; b=CVp9d0DdyHlxtEPgJ1O7zbuwBFhEjh0QfsayzssSb6aglIf0RNABT46YKLwGIjJKJ l/RZlzZ6CaTNGxVgf3iiarZc9G/8VR1yyoNfaLwLtERfxIRC6CByu/BGQH6IT1svYP IJzyNT90BelWrpJqd9xVfBpbXRqfHL5u/+xMR+dehyCYczAU9X1VecvZ9cTUd5fflg 69S+/LEhfs/kzhy0PKPb0Y1oszrGus+ZeBDrh3THBqX6dNSJeUhaD4Nwwry7aVyjU1 eVjyCDyqzbPJYeh8W2qQCVSjhoOXuE1dDshuR3KOBWMlS8xU2DQBV57BP7oevijHWw 0Fd9M/evwPDag== Message-ID: <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org> Date: Sun, 11 Aug 2024 01:52:45 -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 Subject: Re: git: ce4dcb97ca43 - main - zfs: merge openzfs/zfs@9c56b8ec7 Content-Language: en-CA To: freebsd-current@freebsd.org References: <20240811021506.04996DB@slippy.cwsent.com> From: Dennis Clarke Organization: GENUNIX In-Reply-To: <20240811021506.04996DB@slippy.cwsent.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 47B5qjgL041751 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org X-Spam-Status: No X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4WhRdG3rNQz40sY On 8/10/24 22:15, Cy Schubert wrote: > In message , Mark Millard > write > s: >> =E2=80=A2 [2:12 PM]Flox: getting this error in ZFS since recent = >> update in HEAD >> =E2=80=A2 [2:12 PM]Flox: >> sysctl_warn_reuse: can't re-use a leaf = >> (kstat.zfs.zroot.dataset.objset-0x204.zil_itx_metaslab_slog_alloc)! >> pid 58 (zpool) is attempting to use unsafe AIO requests - not logging = >> anymore >> >> =E2=80=A2 [2:13 PM]Flox: >> FreeBSD fbsd15.localdomain 15.0-CURRENT FreeBSD 15.0-CURRENT #0 = >> main-aea9dba46b: Sat Aug 10 16:48:02 EDT 2024 = >> mike@fbsd15.localdomain:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG = >> amd64 > > Yeah. I'm getting tons of these on all my machines as well. > > sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.cwsys.dataset.objset-0x2cc > d.zil_itx_metaslab_slog_alloc)! > > Yep. Seems to be a real thing just pouring out all over the console here too : sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x4b0.zil_itx_metaslab_slog_alloc)! Just a tad uncomfortable to see. -- -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken From nobody Sun Aug 11 13:41:19 2024 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 4Whf1t5xDSz5SqMv for ; Sun, 11 Aug 2024 13:41:22 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Whf1t5Bylz54PR for ; Sun, 11 Aug 2024 13:41:22 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTPS id d4nVstrCOkYKFd8ozsagUP; Sun, 11 Aug 2024 13:41:21 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id d8oyspY6oKHV8d8ozs8EvB; Sun, 11 Aug 2024 13:41:21 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=XeEqz555 c=1 sm=1 tr=0 ts=66b8bf81 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=yoJbH4e0A30A:10 a=0depPUPBAAAA:8 a=CjxXgO3LAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=TNIv5-NpN9UG_CwSjcsA:9 a=CjuIK1q_8ugA:10 a=uu40koo1Yu1oziLcvR5q:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id CA04B5A5; Sun, 11 Aug 2024 06:41:19 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 91DD57F; Sun, 11 Aug 2024 06:41:19 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Dennis Clarke cc: freebsd-current@freebsd.org Subject: Re: git: ce4dcb97ca43 - main - zfs: merge openzfs/zfs@9c56b8ec7 In-reply-to: <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org> References: <20240811021506.04996DB@slippy.cwsent.com> <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org> Comments: In-reply-to Dennis Clarke message dated "Sun, 11 Aug 2024 01:52:45 -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 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Aug 2024 06:41:19 -0700 Message-Id: <20240811134119.91DD57F@slippy.cwsent.com> X-CMAE-Envelope: MS4xfA0AKFS0y4HQhvQcZh1NUcfprfmZpyzf9KaM39x8B2MMrny9+gQU/7tzVbr0VDS15mWPjSq7LcnGb3UUm+anh64F++XR4jDEdKUdXtmyrss2pYevJo1l dgR+WTTNcU1wK8GEBUWy5CjLk5hQubWrPSMicKKujo7OfeBhOZTmuxEbKzedxHkVGPnAtjI0oxLLJDpfAfNuuyCoNzCuLuwp2LlZbcQVu/zifcYArZbIIJY/ SOKZU86Ymzj3jv3ozBCa9w== 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:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4Whf1t5Bylz54PR In message <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org>, Dennis Clarke writes: > On 8/10/24 22:15, Cy Schubert wrote: > > In message , Mark Millard > > write > > s: > > >> =E2=80=A2 [2:12 PM]Flox: getting this error in ZFS since recent = > >> update in HEAD > >> =E2=80=A2 [2:12 PM]Flox: > >> sysctl_warn_reuse: can't re-use a leaf = > >> (kstat.zfs.zroot.dataset.objset-0x204.zil_itx_metaslab_slog_alloc)! > >> pid 58 (zpool) is attempting to use unsafe AIO requests - not logging = > >> anymore > >> > >> =E2=80=A2 [2:13 PM]Flox: > >> FreeBSD fbsd15.localdomain 15.0-CURRENT FreeBSD 15.0-CURRENT #0 = > >> main-aea9dba46b: Sat Aug 10 16:48:02 EDT 2024 = > >> mike@fbsd15.localdomain:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG = > >> amd64 > > > > Yeah. I'm getting tons of these on all my machines as well. > > > > sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.cwsys.dataset.objset-0x2c > c > > d.zil_itx_metaslab_slog_alloc)! > > > > > > > Yep. Seems to be a real thing just pouring out all over the console here > too : > > > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x4b0.zil_itx_metaslab_slog_alloc)! This only happens on import: when the system boots and when any pools are imported later on. > > > Just a tad uncomfortable to see. Uncomfortable but harmless. > > > > > -- > -- > Dennis Clarke > RISC-V/SPARC/PPC/ARM/CISC > UNIX and Linux spoken > > I haven't looked at this too closely but could dataset_kstats_create() be called more than once for each dataset? We should probably also check to verify the leaf nodes are removed when a pool is exported as well. I don't have any time to test this hypothesis today but maybe tomorrow sometime. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0 From nobody Sun Aug 11 14:14:34 2024 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 4WhfmS378Xz5SvGV for ; Sun, 11 Aug 2024 14:14:48 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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 "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WhfmQ5W0Mz59Fp for ; Sun, 11 Aug 2024 14:14:46 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=fklGAEAa; dmarc=pass (policy=quarantine) header.from=plan-b.pwste.edu.pl; spf=pass (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl designates 2001:678:618::40 as permitted sender) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl Received: from [192.168.7.70] (dom.potoki.eu [62.133.140.50]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.18.1/8.17.2) with ESMTPSA id 47BEEYC3052037 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sun, 11 Aug 2024 16:14:35 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1723385675; bh=6Pf5zMUThTPZQ9KwAQDoWLjsSuWD++6niHMix/h3rL4=; h=Date:Subject:To:References:From:In-Reply-To; b=fklGAEAaIwxpwKb9wWLzQYX5ZiPx+08CimdWTZI9OVfSs42cr7JCwIgVreoSf/aJh M//ckuL28MFTAr1btN9CLrGdYPLcx0PTRsSVpDnvz08cose/NjNt7NQreYdiVJUqhH c+p32Jij/yawdHZSj/N2PqzGLxg+I/nhFKu7VD+ATijZbnigxZ5c5e5J6pCAJinV3u VOFb6/QEkCjeDH5BKC2yzGzw6FTpzrsAfBi3afU5faQhsjvPZGtC6cxZO7/tUA/BHt OOQymLP6pUWqRGj1XiQP57fzWtBAIyja+DN9spLavPthCN9r28Hgu1XLPtjuEmUCXQ CdG2lOnbp18Ag== X-Authentication-Warning: plan-b.pwste.edu.pl: Host dom.potoki.eu [62.133.140.50] claimed to be [192.168.7.70] Message-ID: Date: Sun, 11 Aug 2024 16:14:34 +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: git: ce4dcb97ca43 - main - zfs: merge openzfs/zfs@9c56b8ec7 To: freebsd-current@freebsd.org References: <20240811021506.04996DB@slippy.cwsent.com> <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org> <20240811134119.91DD57F@slippy.cwsent.com> Content-Language: en-US From: Marek Zarychta Autocrypt: addr=zarychtam@plan-b.pwste.edu.pl; keydata= xsBNBFfi3cMBCADLecMTFXad4uDXqv3eRuB4qJJ8G9tzzFezeRnnwxOsPdytW5ES2z1ibSrR IsiImx6+PTqrAmXpTInxAi7yiZGdSiONRI4CCxKY9d1YFiNYT/2WyNXCekm9x29YeIU7x0JB Llbz0f/9HC+styBIu2H+PY/X98Clzm110CS+n/b9l1AtiGxTiVFj7/uavYAKxH6LNWnbkuc5 v8EVNc7NkEcl5h7Z9X5NEtzDxTOiBIFQ/kOT7LAtkYUPo1lqLeOM2DtWSXTXQgXl0zJI4iP1 OAu4qQYm2nXwq4b2AH9peknelvnt1mpfgDCGSKnhc26q6ibTfMwydp+tvUtQIQYpA6b9ABEB AAHNN01hcmVrIFphcnljaHRhIChQbGFuLWIpIDx6YXJ5Y2h0YW1AcGxhbi1iLnB3c3RlLmVk dS5wbD7CwHcEEwEIACEFAlfi4LkCGwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQHZW8 vIFppoJXdgf8D9X3VRFSNaR9lthSx/+uqas17J3FJKBo1xMQsC2a+44vzNvYJSuPGLLJ+LW2 HPVazjP/BWZJbxOYpliY4zxNRU0YCp0BLIVLibc//yax+mE42FND/+NiIZhqJscl6MLPrSwo sIwXec4XYkldkyqW/xBbBYXoIkBqdKB9j5j42Npy1IV/RizOSdmvTWY27ir8e/yGMR1RLr4F 8P5K3OWTdlGy2H2F/3J8bIPBLG6FpaIyLQw4dHSx8V02PYqDxK1cNo2kAOnU8PnZL/AGuMOH iv3MN1VYL8ehcmpBBsrZGebQJxrjY2/5IaTSgp9xHYT70kshuU6Qb97vk1mOjNZxgc7ATQRX 4t3DAQgA10h6RCXuBLMHxq5B8X/ZIlj9sgLoeyfRdDZEc9rT2KUeUJVHDsbvOFf4/7F1ovWY hJbA6GK/LUZeHHTjnbZcH1uDYQeHly4UOLxeEvhGoz4JhS2C7JzN/uRnwbdOAUbJr8rUj/IY a7gk906rktsc/Ldrxrxh7O6WO0JCh2XO/p4pDfEwwB37g4xHprSab28ECYJ9JMbtA8Sy4M55 g3+GQ28FvSlGnx48OoGXU2BZdc1vZKSQmNOlikB+9/hDX8zdYWVfDaX1TLQ8Ib4+xTUmapza mV/bxIsaZRBw+jFjLQHhTbIMfPEU+4mxFDvTdbKPruKPqVf1ydgMnPZWngowdwARAQABwsBf BBgBCAAJBQJX4t3DAhsMAAoJEB2VvLyBaaaC6qkIAJs9sDPqrqW0bYoRfzY6XjDWQ59p9tJi v8aogxacQNCfAu+WkJ8PNVUtC1dlVcG5NnZ80gXzd1rc8ueIvXlvdanUt/jZd8jbb3gaDbK3 wh1yMCGBl/1fOJTyEGYv1CRojv97KK89KP5+r8x1P1iHcSrunlDNqGxTMydNCwBH23QcOM+m u4spKnJ/s0VRBkw3xoKBZfZza6fTQ4gTpAipjyk7ldOGBV+PvkKATdhK2yLwuWXhKbg/GRlD 1r5P0gxzSqfV4My+KJuc2EDcrqp1y0wOpE1m9iZqCcd0fup5f7HDsYlLWshr7NQl28f6+fQb sylq/j672BHXsdeqf/Ip9V4= In-Reply-To: <20240811134119.91DD57F@slippy.cwsent.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.89 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+] X-Rspamd-Queue-Id: 4WhfmQ5W0Mz59Fp W dniu 11.08.2024 o 15:41, Cy Schubert pisze: > In message <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org>, Dennis > Clarke > writes: >> On 8/10/24 22:15, Cy Schubert wrote: >>> In message , Mark Millard >>> write >>> s: >>>> =E2=80=A2 [2:12 PM]Flox: getting this error in ZFS since recent = >>>> update in HEAD >>>> =E2=80=A2 [2:12 PM]Flox: >>>> sysctl_warn_reuse: can't re-use a leaf = >>>> (kstat.zfs.zroot.dataset.objset-0x204.zil_itx_metaslab_slog_alloc)! >>>> pid 58 (zpool) is attempting to use unsafe AIO requests - not logging = >>>> anymore >>>> >>>> =E2=80=A2 [2:13 PM]Flox: >>>> FreeBSD fbsd15.localdomain 15.0-CURRENT FreeBSD 15.0-CURRENT #0 = >>>> main-aea9dba46b: Sat Aug 10 16:48:02 EDT 2024 = >>>> mike@fbsd15.localdomain:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG = >>>> amd64 >>> Yeah. I'm getting tons of these on all my machines as well. >>> >>> sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.cwsys.dataset.objset-0x2c >> c >>> d.zil_itx_metaslab_slog_alloc)! >>> >>> >> >> Yep. Seems to be a real thing just pouring out all over the console here >> too : >> >> >> sysctl_warn_reuse: can't re-use a leaf >> (kstat.zfs.t1.dataset.objset-0x4b0.zil_itx_metaslab_slog_alloc)! > This only happens on import: when the system boots and when any pools are > imported later on. > >> >> Just a tad uncomfortable to see. > Uncomfortable but harmless. So tons of the messages like below could be ignored? sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.zhgst.dataset.objset-0x5f6.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.zhgst.dataset.objset-0x5f6.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.zhgst.dataset.objset-0x5f6.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.zvol.dataset.objset-0x66b.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.zvol.dataset.objset-0x66b.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.zvol.dataset.objset-0x66b.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.zvol.dataset.objset-0x54.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.zvol.dataset.objset-0x54.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.zvol.dataset.objset-0x54.zil_itx_metaslab_slog_alloc)! BTW, thank you for bringing this up. > I haven't looked at this too closely but could dataset_kstats_create() be > called more than once for each dataset? > > We should probably also check to verify the leaf nodes are removed when a > pool is exported as well. I don't have any time to test this hypothesis > today but maybe tomorrow sometime. > > -- Marek Zarychta From nobody Sun Aug 11 16:29:18 2024 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 4Whjll6sWLz5T9H5 for ; Sun, 11 Aug 2024 16:29:23 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (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 (P-256) client-digest SHA256) (Client CN "mail.oetec.com", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Whjll0yqcz49YL for ; Sun, 11 Aug 2024 16:29:22 +0000 (UTC) (envelope-from dclarke@blastwave.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=diIjWWeI; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org Received: from [172.16.35.3] (pool-99-253-118-250.cpe.net.cable.rogers.com [99.253.118.250]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.17.1) with ESMTPSA id 47BGTIWu052216 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sun, 11 Aug 2024 12:29:19 -0400 (EDT) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1723393760; bh=B6/hG2K12N514B+ewTiJ3Eox+uOVMKttLvLVbXFoRrY=; h=Date:Subject:To:References:From:In-Reply-To; b=diIjWWeI0xWxYByBzlP9rflTaKejGBwgpalA31CvCqLYYtjW0ps2rWj9T0jAEAQlK CXNBygD0qtOCgeTpvGoA1RidOlQPFxofyKGG0dm/JSsAB4ihOq6C1BtWFkpJl5IDvC aU7Err/kRd2PRxa+811NtgJULgUyc88+p7YPseDvKLBrv84LvnyK/XB/kHeTuaDTm1 0kTFJ8559mYnJsUBBzHwdPN5hJ8YvnB+3mp1sfe9pRz/S2Cv75NSiCSeJjrwy+MQzJ W+yic+Jnq+Wsrkr3VL4PQLE56MFZx/QZhQ+OFYCWIHdCoT+7T5RKmBDRXgpV7HOpGx Sx44U2SBrj1mQ== Message-ID: <47f96d89-e1d1-43a8-b456-7b30240d1fad@blastwave.org> Date: Sun, 11 Aug 2024 12:29:18 -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 Subject: Re: git: ce4dcb97ca43 - main - zfs: merge openzfs/zfs@9c56b8ec7 Content-Language: en-CA To: freebsd-current@freebsd.org References: <20240811021506.04996DB@slippy.cwsent.com> <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org> <20240811134119.91DD57F@slippy.cwsent.com> From: Dennis Clarke Organization: GENUNIX In-Reply-To: <20240811134119.91DD57F@slippy.cwsent.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 47BGTIWu052216 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org X-Spam-Status: No X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+mx:c]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4Whjll0yqcz49YL On 8/11/24 09:41, Cy Schubert wrote: > In message <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org>, Dennis > Clarke > writes: >> On 8/10/24 22:15, Cy Schubert wrote: >>> In message , Mark Millard >>> write >>> s: >> >>>> =E2=80=A2 [2:12 PM]Flox: getting this error in ZFS since recent = >>>> update in HEAD >>>> =E2=80=A2 [2:12 PM]Flox: >>>> sysctl_warn_reuse: can't re-use a leaf = >>>> (kstat.zfs.zroot.dataset.objset-0x204.zil_itx_metaslab_slog_alloc)! >>>> pid 58 (zpool) is attempting to use unsafe AIO requests - not logging = >>>> anymore >>>> >>>> =E2=80=A2 [2:13 PM]Flox: >>>> FreeBSD fbsd15.localdomain 15.0-CURRENT FreeBSD 15.0-CURRENT #0 = >>>> main-aea9dba46b: Sat Aug 10 16:48:02 EDT 2024 = >>>> mike@fbsd15.localdomain:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG = >>>> amd64 >>> >>> Yeah. I'm getting tons of these on all my machines as well. >>> >>> sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.cwsys.dataset.objset-0x2c >> c >>> d.zil_itx_metaslab_slog_alloc)! >>> >>> >> >> >> Yep. Seems to be a real thing just pouring out all over the console here >> too : >> >> >> sysctl_warn_reuse: can't re-use a leaf >> (kstat.zfs.t1.dataset.objset-0x4b0.zil_itx_metaslab_slog_alloc)! > > This only happens on import: when the system boots and when any pools are > imported later on. > Sadly .. nope ... that is not the case : triton# uptime 4:27PM up 11:33, 2 users, load averages: 2.76, 0.93, 0.37 triton# triton# sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x639a.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x639a.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x639a.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x6508.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x6508.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x6508.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x5e74.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x5e74.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x5e74.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x6603.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x6603.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x6603.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x5e7c.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x5e7c.zil_itx_metaslab_slog_alloc)! sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.t1.dataset.objset-0x5e7c.zil_itx_metaslab_slog_alloc)! So seems to be a thing when the machine is running and doing things like a poudriere bulk build etc etc .. I have not seen it when the machine is just twiddling its thumbs pondering an existential crisis. Yet. >> >> >> Just a tad uncomfortable to see. > > Uncomfortable but harmless. > In that case let's make it go away .. mmmkay ? -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken From nobody Sun Aug 11 16:56:12 2024 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 4WhkLx6VmJz5TCby for ; Sun, 11 Aug 2024 16:56:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-oo1-xc2d.google.com (mail-oo1-xc2d.google.com [IPv6:2607:f8b0:4864:20::c2d]) (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 4WhkLx41khz4GFf for ; Sun, 11 Aug 2024 16:56:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oo1-xc2d.google.com with SMTP id 006d021491bc7-5d608060241so2243003eaf.1 for ; Sun, 11 Aug 2024 09:56:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1723395384; x=1724000184; 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=0vo0u2hHN9G1ytXY5FYH6CXgYjUSwtB4TU2OqJsaSqk=; b=EI4of/Qrhs94mn39MlQcEOFxlaH+NJMhbSqC2eOmeL7g5yI2LWN3An3HOD4lTg2N8d 4Mj33N7Uv4MR3B15rQFYcHqQZIEUU5Iw/QrtOEG6HLYTZrdXbphB2ODII37oaU+nJtvC gnZVcYgKhFj5MeEq58+RZTQw+T6KoLzm7fCIdJFpeI3HXAYiVWUpqGcUvg5J4njIkzxd FnF/eMHAbHOuGcNjbz403CInBj/1ig0kIITIHiH/9RCsOgQ3d3DEo9sQvjn2SWV63zsg UHnnUpokQlYx0IxbrW4w02CKfZGxZPf0CIPFndnGOj7p74mQAzWXOI3jtoonoLRKKrTi VyVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723395384; x=1724000184; 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=0vo0u2hHN9G1ytXY5FYH6CXgYjUSwtB4TU2OqJsaSqk=; b=o9dZqz7icrctRxinV/dK2D+ADfSYgVIGp4C2sGlvutcNjct86s3A2BMgtgwM46iN3Y g8itmJGqbM1PNHO8r2KPQn84+Tnw7mIIwLQUpm2a7SaJ5hUJ/Nvncd0ZNxZKzi8RSUYV mK87K309W6zQmcTMQ85IzFOWm+xKBqDiadcc4yPFnP5PSVOuYNskbKEzfAxjqzY5RfPI XswbUCdVRmbCqMkB/oCpbIfa0V7qpzJpRzbaCSSIaGTJ4t/TRfpl5SoqXvG0was7nZn7 nA4uOGJARtvsvAVZaGqYoYaUiXzv0yhWh0XWIN/12vjUQ/jWCEyMAjtjkXQ4tyt7WTWQ EsgA== X-Gm-Message-State: AOJu0YzuSwJAMspWl14zn8Hd43wdyD+3lSRUUX27BMI6XpiJZDwhndPo UhAqTQGK7VBhPoiW7TNy39FQfOR+MeSmvmH2HyCIoUtA9gE2eBkvgXpfas9rcycpuFBvrzI5Kex 6WbQAHgqhM7ub/IF+rcERQM3TdpUWdoWEQE/ThY+a4vreLqYb X-Google-Smtp-Source: AGHT+IF37+fwiKm+0cOX5EWjKZ1TqThMYNgrxpFoKlyln0ouGbei9muhDg1zDo1wkQ7HNA8A0RlkJLS13xLdvAQoD+Q= X-Received: by 2002:a05:6358:5f1a:b0:1ac:f3df:3bda with SMTP id e5c5f4694b2df-1b176edf716mr1078388555d.1.1723395384009; Sun, 11 Aug 2024 09:56: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: <20240811021506.04996DB@slippy.cwsent.com> <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org> <20240811134119.91DD57F@slippy.cwsent.com> <47f96d89-e1d1-43a8-b456-7b30240d1fad@blastwave.org> In-Reply-To: <47f96d89-e1d1-43a8-b456-7b30240d1fad@blastwave.org> From: Warner Losh Date: Sun, 11 Aug 2024 10:56:12 -0600 Message-ID: Subject: Re: git: ce4dcb97ca43 - main - zfs: merge openzfs/zfs@9c56b8ec7 To: Dennis Clarke Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000ac0338061f6b4144" 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] X-Rspamd-Queue-Id: 4WhkLx41khz4GFf --000000000000ac0338061f6b4144 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Aug 11, 2024, 10:29=E2=80=AFAM Dennis Clarke wrote: > On 8/11/24 09:41, Cy Schubert wrote: > > In message <54076f5e-cd6d-40d6-b4b7-495cf8e67572@blastwave.org>, Dennis > > Clarke > > writes: > >> On 8/10/24 22:15, Cy Schubert wrote: > >>> In message , Mark > Millard > >>> write > >>> s: > >> > >>>> =3DE2=3D80=3DA2 [2:12 PM]Flox: getting this error in ZFS since= recent > =3D > >>>> update in HEAD > >>>> =3DE2=3D80=3DA2 [2:12 PM]Flox: > >>>> sysctl_warn_reuse: can't re-use a leaf =3D > >>>> (kstat.zfs.zroot.dataset.objset-0x204.zil_itx_metaslab_slog_alloc)! > >>>> pid 58 (zpool) is attempting to use unsafe AIO requests - not loggin= g > =3D > >>>> anymore > >>>> > >>>> =3DE2=3D80=3DA2 [2:13 PM]Flox: > >>>> FreeBSD fbsd15.localdomain 15.0-CURRENT FreeBSD 15.0-CURRENT #0 =3D > >>>> main-aea9dba46b: Sat Aug 10 16:48:02 EDT 2024 =3D > >>>> mike@fbsd15.localdomain:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NOD= EBUG > =3D > >>>> amd64 > >>> > >>> Yeah. I'm getting tons of these on all my machines as well. > >>> > >>> sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.cwsys.dataset.objset-0x2c > >> c > >>> d.zil_itx_metaslab_slog_alloc)! > >>> > >>> > >> > >> > >> Yep. Seems to be a real thing just pouring out all over the console he= re > >> too : > >> > >> > >> sysctl_warn_reuse: can't re-use a leaf > >> (kstat.zfs.t1.dataset.objset-0x4b0.zil_itx_metaslab_slog_alloc)! > > > > This only happens on import: when the system boots and when any pools a= re > > imported later on. > > > > Sadly .. nope ... that is not the case : > > triton# uptime > 4:27PM up 11:33, 2 users, load averages: 2.76, 0.93, 0.37 > triton# > triton# sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x639a.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x639a.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x639a.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x6508.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x6508.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x6508.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x5e74.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x5e74.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x5e74.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x6603.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x6603.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x6603.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x5e7c.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x5e7c.zil_itx_metaslab_slog_alloc)! > sysctl_warn_reuse: can't re-use a leaf > (kstat.zfs.t1.dataset.objset-0x5e7c.zil_itx_metaslab_slog_alloc)! > > So seems to be a thing when the machine is running and doing things like > a poudriere bulk build etc etc .. > Poudriere does a lot of ZFS dataset manipulation, so this isn't surprising. Warner I have not seen it when the machine is just twiddling its thumbs > pondering an existential crisis. Yet. > > >> > >> > >> Just a tad uncomfortable to see. > > > > Uncomfortable but harmless. > > > > In that case let's make it go away .. mmmkay ? > > -- > Dennis Clarke > RISC-V/SPARC/PPC/ARM/CISC > UNIX and Linux spoken > > > --000000000000ac0338061f6b4144 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Aug 11, 2024, 10:29=E2=80=AFAM Dennis Clarke &= lt;dclarke@blastwave.org> w= rote:
On 8/11/24 09:41, Cy Schubert= wrote:
> In message <54076f5e-cd6d-40d6-b4b7= -495cf8e67572@blastwave.org>, Dennis
> Clarke
> writes:
>> On 8/10/24 22:15, Cy Schubert wrote:
>>> In message <FB135AEB-1B52-42F3-= 93F4-2B1B67FC1395@yahoo.com>, Mark Millard
>>> write
>>> s:
>>
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0=3DE2=3D80=3DA2 [2:12 PM]Flox: g= etting this error in ZFS since recent =3D
>>>> update in HEAD
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0=3DE2=3D80=3DA2 [2:12 PM]Flox: >>>> sysctl_warn_reuse: can't re-use a leaf =3D
>>>> (kstat.zfs.zroot.dataset.objset-0x204.zil_itx_metaslab_slo= g_alloc)!
>>>> pid 58 (zpool) is attempting to use unsafe AIO requests - = not logging =3D
>>>> anymore
>>>>
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0=3DE2=3D80=3DA2 [2:13 PM]Flox: >>>> FreeBSD fbsd15.localdomain 15.0-CURRENT FreeBSD 15.0-CURRE= NT #0 =3D
>>>> main-aea9dba46b: Sat Aug 10 16:48:02 EDT 2024 =3D
>>>> mike@fbsd15.localdomain:/usr/obj/usr/src/amd64.amd64/sys/G= ENERIC-NODEBUG =3D
>>>> amd64
>>>
>>> Yeah. I'm getting tons of these on all my machines as well= .
>>>
>>> sysctl_warn_reuse: can't re-use a leaf (kstat.zfs.cwsys.da= taset.objset-0x2c
>> c
>>> d.zil_itx_metaslab_slog_alloc)!
>>>
>>>
>>
>>
>> Yep. Seems to be a real thing just pouring out all over the consol= e here
>> too :
>>
>>
>> sysctl_warn_reuse: can't re-use a leaf
>> (kstat.zfs.t1.dataset.objset-0x4b0.zil_itx_metaslab_slog_alloc)! >
> This only happens on import: when the system boots and when any pools = are
> imported later on.
>

Sadly .. nope ... that is not the case :

triton# uptime
=C2=A0 4:27PM=C2=A0 up 11:33, 2 users, load averages: 2.76, 0.93, 0.37
triton#
triton# sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x639a.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x639a.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x639a.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x6508.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x6508.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x6508.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x5e74.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x5e74.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x5e74.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x6603.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x6603.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x6603.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x5e7c.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x5e7c.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.t1.dataset.objset-0x5e7c.zil_itx_metaslab_slog_alloc)!

So seems to be a thing when the machine is running and doing things like a poudriere bulk build etc etc ..

Poudriere does a lot of ZFS dataset manipu= lation, so this isn't surprising.=C2=A0

Warner

I have not seen it when the machine is just twiddling its thumbs
=C2=A0 pondering an existential crisis. Yet.

>>
>>
>> Just a tad uncomfortable to see.
>
> Uncomfortable but harmless.
>

In that case let's make it go away .. mmmkay ?

--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken


--000000000000ac0338061f6b4144-- From nobody Sun Aug 11 20:33:41 2024 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 4Whq9d5mDDz5S7Nl for ; Sun, 11 Aug 2024 20:33:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Whq9d4N9Pz4fwQ for ; Sun, 11 Aug 2024 20:33:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723408421; a=rsa-sha256; cv=none; b=m9xubmJok6MpJd7dYgGIM4GGVXOB1LMR2lcIm0Ogu4WMDnX/I9MHjLNE1a+2gqlN8aHZyB lK4yHCaTLO2gpSsFftU8JsYW1+enIeMsXJQw2AX2uyVaLgqTGluArgJRbXPrRPob+jqOEX 2kEae9TaleCN6L1qrUGPcuCgz9JbhVg/QR5CXDgRNzYY0a1xqE7NTo4sdoHzBHY26UY/Lb +5cF/iC/PJugDc/H/A5QWdnoPfHXYCTXyJCqdndVB4rTC2JECpDTuT1UPnSDWgoS4TdIZC ti47MeDB1gFO9eL2g9tO3B9YhOg/JUy9V8+9B7ieeDFGQ27sW/tzUmVZ68CDZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723408421; 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=vI8BrS5tq4vJd0bYlh1Dmu+Dp+M206qamAQzMIB1oxE=; b=H8kdCnhBIB+QFBG/wbxcQu9sImBJferbYps4UrXnyZMSO67MtAvTbiwVqkCa8sRVeJNll/ wOp4hQk7yQmijMOqJVH1EMgecAswNiayhK/p3e9yaoMXjY/ydHABUYu0HP0VEEb1hdOG/l 92ZcY6O4V+TzAGEzwWHdNk7VO6dk+NMhm2/osNBsgWSmSlrHuO0ar93Gk6ylpTjp7GVqmj z0QwoiiNbxgi3rSWxCo3gpTQLoDMRk5BiVDcn5CjBYbx62VP3+SbN897F31zCUW2LsfPRA hqMasS/FMS4DvCEp6i02ql+1+qtEICQX+2p0qHnSF3l7lFM4LzpNNKyVGVz2qw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Whq9d3yydzyRp for ; Sun, 11 Aug 2024 20:33:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47BKXfTH076489 for ; Sun, 11 Aug 2024 20:33:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47BKXfIN076488 for current@FreeBSD.org; Sun, 11 Aug 2024 20:33:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: current@FreeBSD.org Subject: [Bug 194744] [PATCH] allow to specify custom keymap when kbdmux used Date: Sun, 11 Aug 2024 20:33:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: datloveyouvt1210@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emaste@freebsd.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194744 L=C3=AA Qu=E1=BB=91c =C4=90=E1=BA=A1t changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |datloveyouvt1210@gmail.com --- Comment #6 from L=C3=AA Qu=E1=BB=91c =C4=90=E1=BA=A1t --- Comment on attachment 148901 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D148901 0001-HBSD-allow-to-specify-custom-keymap-to-kbdmux.patch 148901 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Aug 11 20:33:42 2024 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 4Whq9g06GTz5S7GS for ; Sun, 11 Aug 2024 20:33:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Whq9f4mJ7z4ftP for ; Sun, 11 Aug 2024 20:33:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723408422; a=rsa-sha256; cv=none; b=B38gqXvobEKTVDd+SQoKqMwWhyCfL84QTTefvZWnEZ7pBnKDzn1ZSfNY6N5ieStfVlpEhb a7yThQdAuCsd/2M/bDvwT/lpqrFLK9acFRXhMVn+Z4y5r5lx8amEhFjBJyKBdNzVhvybBb ykwbyv8FefkLBatMQbvyOTH/xSpOu3zelKm/PTuxwXINElOVB6wPMwPPFev0WL7ehQQF49 4QHLqB+UWjAi3z+QP1brzoo4cwHVuM10DfzncROIKV6hxBp82DE9pfjP23lUJ2seHCtHq6 DmUVDnwmd/Jqm3Ud7igFApYcAtXB2LuFVsI9r/bglURxi3Tiffa0HTusCKQqcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723408422; 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=IGGUL4Ez36tk6DgDkdDR/cCSYTm5AVfC8VPh1UDXwDo=; b=DIcvCHldz+DHnxRgIgZxCJIEMuQ+TiGJk5RxHRo/GIb7aRAgfRBPmJKLBURBcWLyOoKpdk R9k3ZSx1z/l7D8p+/h8IVq5DoAE2YU3rwx0wXXKSksMKvnlWzH5pyVpj1NpIPH4yI2sk8d urgrEOKcGLuCki63tLaYmND0lZ6WHkpaM6S9dRjG6qa7NvFNsvqXAJDlPouqB+kqBLYnZ+ mpmBsLNdzLw8Ypi1IEfYPuxNKlEUYOjjVuEvAyAJLleb2Br7f7r4USgaNnq0LcbtF7nH33 yh+YmlYmfhxXTcaaYhOBV23K7avxp5xvXyIbApVjk/zJJ9jALQ4pqp7/GGh02w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Whq9f47hTzyRq for ; Sun, 11 Aug 2024 20:33:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47BKXgoj076561 for ; Sun, 11 Aug 2024 20:33:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47BKXgFw076559 for current@FreeBSD.org; Sun, 11 Aug 2024 20:33:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: current@FreeBSD.org Subject: [Bug 194744] [PATCH] allow to specify custom keymap when kbdmux used Date: Sun, 11 Aug 2024 20:33:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: datloveyouvt1210@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emaste@freebsd.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194744 --- Comment #7 from L=C3=AA Qu=E1=BB=91c =C4=90=E1=BA=A1t --- Comment on attachment 148901 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D148901 0001-HBSD-allow-to-specify-custom-keymap-to-kbdmux.patch 148901 --- Comment #8 from L=C3=AA Qu=E1=BB=91c =C4=90=E1=BA=A1t --- Comment on attachment 148901 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D148901 0001-HBSD-allow-to-specify-custom-keymap-to-kbdmux.patch 148901 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Aug 11 20:33:42 2024 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 4Whq9g2hJKz5S79k for ; Sun, 11 Aug 2024 20:33:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Whq9g0Bwsz4fwV for ; Sun, 11 Aug 2024 20:33:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723408423; a=rsa-sha256; cv=none; b=n5Yx6zCB6mHlrnIwtDc06x88MEOB6UKT0g95+zUkNsgaAIOwVDxBOH9J9YRsIcDSv1FSv+ qFTZgCV1MQ1vXS3BHArUD6W2CUZ9Ap6pJifaUn1Ebd+K1QFCkvFyf65ZayNkx0X3Zwb4M7 ng6ssVDgqBeOq1OAvNloJlPuO32LjDGQsewMT0KIAAxAlah3XEcb84U3vJBSNnTh3XBFFi 6HWMUPqcQ7tAG/IfZ+3zFeiYqilnBOK5caLAUI6Eo3q/ir4bDkspe4jsXYY1EkWfMzauY1 FSnqcl/jLGzzG4KB6ZYKXCecQFvYYBk0n5g7grwnVSB7bN4DlJqD2+hfYsmmTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723408423; 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=8N5ddvfj/NJwARPwTT1OdGdExvqxYZuRDDaa9Izej9A=; b=AATzZbRYDZRFLqoPapUVrOGjU4CwFSs/zTCNA1W4g1mu9Q9ZH6aZui+eY2EqKYfBAFqRHO EfT/vJf8Ps7Re8HeMjHtsq6yUQQkChoSanrxvQN1aCO6CP6IjxXjHndEpMY9RAgB9L0TJD heUqesmvjcO2Z/msjiK74/1rocz4sq1chssYruNpS7f4btrDWDMltAsgigBpxy5jLJtsa9 Uf2AuKEnILJLBw/fFFujgfre78ClSrcIcaiJblej2zBGo9Iq7Wmq6oM8N7+jrtePSDzNRK vkTmS5tWjAXJuZEqwkAMmWzUyTAM1KzdseBcroCW+oEzmlT82mIgcuT4N9GMaA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Whq9f5H1lzygG for ; Sun, 11 Aug 2024 20:33:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47BKXgPZ076578 for ; Sun, 11 Aug 2024 20:33:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47BKXgrK076577 for current@FreeBSD.org; Sun, 11 Aug 2024 20:33:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: current@FreeBSD.org Subject: [Bug 194744] [PATCH] allow to specify custom keymap when kbdmux used Date: Sun, 11 Aug 2024 20:33:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: datloveyouvt1210@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emaste@freebsd.org X-Bugzilla-Flags: mfc-stable10? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194744 --- Comment #7 from L=C3=AA Qu=E1=BB=91c =C4=90=E1=BA=A1t --- Comment on attachment 148901 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D148901 0001-HBSD-allow-to-specify-custom-keymap-to-kbdmux.patch 148901 --=20 You are receiving this mail because: You are on the CC list for the bug.=