From nobody Fri Jul 21 17:57:51 2023 X-Original-To: freebsd-hackers@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 4R6y2f5dkZz4dQXC for ; Fri, 21 Jul 2023 17:58:02 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (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 "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R6y2d56Z6z3rDK for ; Fri, 21 Jul 2023 17:58:01 +0000 (UTC) (envelope-from ml@netfence.it) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it; dmarc=pass (policy=none) header.from=netfence.it Received: from [10.1.2.18] (mailserver.netfence.it [78.134.96.152]) (authenticated bits=0) by soth.netfence.it (8.17.2/8.17.1) with ESMTPSA id 36LHvpBv049377 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 21 Jul 2023 19:57:51 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host mailserver.netfence.it [78.134.96.152] claimed to be [10.1.2.18] Message-ID: <0a8cdab8-5c7a-4bf2-31d0-7069ee759902@netfence.it> Date: Fri, 21 Jul 2023 19:57:51 +0200 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: new laptop ASUS vivobook max X541SA problem Content-Language: en-US To: Wojciech Puchar , freebsd-hackers@freebsd.org References: <5e5458d7-216e-cb39-3bfc-8ce8eb81d329@puchar.net> From: Andrea Venturoli In-Reply-To: <5e5458d7-216e-cb39-3bfc-8ce8eb81d329@puchar.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.86 X-Spamd-Result: default: False [-3.80 / 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)[netfence.it,none]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4R6y2d56Z6z3rDK X-Spamd-Bar: --- _On 7/20/23 17:37, Wojciech Puchar wrote: > everything works under FreeBSD except touchpad > i can use this computer without problem after connecting external USB > mouse but > it's not how i like it ;) > iicbus0: on ig4iic0 > iichid0: at addr 0x15 on iicbus0 > iichid0: Interrupt setup failed > > how to fix it? thank you > Hello. I know nothing about your laptop, so this is a shot in the dark... but I'll compare with mine (StarLite). First, I get "Interrupt setup failed"; actually, I get "Interrupt setup failed. Fallback to sampling". In spite of this, my touchpad (partially) works. This is just to say that, maybe, you're looking in the wrong place. Have you tried kldloading the hmt driver? Or hms? Also check dev.hconf.0.input_mode. See hconf(4): _ 3 means your device will behave as touchpad (i.e. you can use multitouch, but in my case I was never able to get right-button working); _ 0 means mouse (no multitouch, but standard mouse buttons). You might want to try both. There's also the "synaptic" way, which in my case works too, but I failed to see any improvement over the above. I think there are two ways to achieve this: _ as Mario suggested (although I read "WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0); _ with x11-drivers/xf86-input-synaptics port. HTH. bye av. From nobody Sun Jul 23 12:39:30 2023 X-Original-To: freebsd-hackers@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 4R82tQ3HpQz4nbFH for ; Sun, 23 Jul 2023 12:39:42 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (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 4R82tN32YCz4X71 for ; Sun, 23 Jul 2023 12:39:40 +0000 (UTC) (envelope-from wojtek@puchar.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=puchar.net header.s=default header.b=WRPik7hp; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net; dmarc=none Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.17.1) with ESMTPS id 36NCdVCX074127 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 23 Jul 2023 14:39:32 +0200 (CEST) (envelope-from wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1690115972; bh=u9vXIOzoo0OckAppEtFJYGT11Ud847I0MYPaY4uPLJE=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=WRPik7hpaGR4wqtkFcKUqDz3gHxZC9/SLxQ0xUW0ukDK98bwzSveyfuzDNiV841Y7 c7knoTJF9+Ly20SNxJVTmtICbznOKaS1sfdyVkBePwAt9+34GRqgfVoUYXtBQaYIMe T3IeU4xenTYYFNfinlReYwqYbS5dTnbbLbJ2nugQ= Received: from wojtek.intra (localhost [127.0.0.1]) by wojtek.intra (8.16.1/8.16.1) with ESMTP id 36NCdV7v001582; Sun, 23 Jul 2023 14:39:31 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.intra (8.16.1/8.16.1/Submit) with ESMTP id 36NCdUUb001579; Sun, 23 Jul 2023 14:39:31 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.intra: wojtek owned process doing -bs Date: Sun, 23 Jul 2023 14:39:30 +0200 (CEST) From: Wojciech Puchar To: Andrea Venturoli cc: freebsd-hackers@freebsd.org Subject: Re: new laptop ASUS vivobook max X541SA problem In-Reply-To: <0a8cdab8-5c7a-4bf2-31d0-7069ee759902@netfence.it> Message-ID: References: <5e5458d7-216e-cb39-3bfc-8ce8eb81d329@puchar.net> <0a8cdab8-5c7a-4bf2-31d0-7069ee759902@netfence.it> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[puchar.net:+]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; BLOCKLISTDE_FAIL(0.00)[194.1.144.90:server fail]; HAS_XAW(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; DMARC_NA(0.00)[puchar.net]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4R82tN32YCz4X71 X-Spamd-Bar: --- for hms or hmt working at first iichid must work but doesn't. anyway i tried loading what you specified - no effect. > _On 7/20/23 17:37, Wojciech Puchar wrote: >> everything works under FreeBSD except touchpad >> i can use this computer without problem after connecting external USB mouse >> but >> it's not how i like it ;) >> iicbus0: on ig4iic0 >> iichid0: at addr 0x15 on iicbus0 >> iichid0: Interrupt setup failed >> >> how to fix it? thank you >> > > Hello. > > I know nothing about your laptop, so this is a shot in the dark... but I'll > compare with mine (StarLite). > > > > First, I get "Interrupt setup failed"; actually, I get "Interrupt setup > failed. Fallback to sampling". the problem is that it doesn't fallback to sampling i think. what i found in sources #ifdef IICHID_SAMPLING device_printf(sc->dev, "Interrupt setup failed. Fallback to sampling\n"); sc->sampling_rate_slow = IICHID_SAMPLING_RATE_SLOW; #else added options IICHID_SAMPLING compiled kernel and works now. iichid0: at addr 0x15 on iicbus0 iichid0: Interrupt setup failed. Fallback to sampling hidbus0: on iichid0 hms0: on hidbus0 works completely, no problems. thank you very much From nobody Sun Jul 23 14:27:15 2023 X-Original-To: freebsd-hackers@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 4R85HK1lkGz4p80J; Sun, 23 Jul 2023 14:27:57 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R85HJ0SyNz416K; Sun, 23 Jul 2023 14:27:56 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=iWgh9SZ0; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5222bc916acso230709a12.3; Sun, 23 Jul 2023 07:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690122473; x=1690727273; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IQxgiKSikYiN0jE4zgAq4Sd0scbuAu93HPzmQZSa8E4=; b=iWgh9SZ0oX8ns964/kIbADCBP2fwg9aErxezXvsY3H+iRScOXhujXLDGcv8Miyzbce x9b08AmtYxdPtvANiJDo5ZvXhGGC4SEgOZOXem7KZ3SZzfU+uKpApm6OKdsmTS1m90t6 en4afHGyslMlusEEgqM6Qj9co3lQyMyfYnbmBMjrkY9ELgYcyiQwQRxKYVW1a5EiQSQr lIhrh8dFEUslRdRHuFWECH2E8tn58wIcu13EwZNB6pBwCBpjw1ztnGgORXQx6Unlxc8C T+cCUWOq1glQQOIeXK3sjyhab1g/vWPSo/DNCqIqAj6dV3YQeeTsIRcdf5vJh03Gs1gT rCMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690122473; x=1690727273; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IQxgiKSikYiN0jE4zgAq4Sd0scbuAu93HPzmQZSa8E4=; b=bGmBeQ/Ivl2vG9W+/OewS6ZAUQ03CXbJ6YqNKjlyvuAoCOWaE9Zod2rX34TxE/eQGr FioBGyEwj1o4yrjU8mkcRI93a2Aw7WT7ipbt+9tcdM+30ynHSg2uYUiM7q/TDpyRgwzy 41PkUceb4Si4B88UlhuskXDtNXRwV7sI+Xi6Z+kMHoL348WEvM6fjANEB1lN5VCmQBdi g2bSbJV6QZyO8U+lEawWnaan73LHje0QobjZjL+sPbKWqiKGJlyLUGvln6J9nvJzCoOE fDuTLMeo568eTKpGh2CFgcxrsmIRGIVT5ePtgkaZOWLkL8cuuDAfShQI6N4WXDT+eUyS uCfA== X-Gm-Message-State: ABy/qLbAYFiGWwaB42beYI2XMS1bwS3QvDNEmlU5Vou4tiVgxfIeGZ+e xF0P3uNksvd3zllQOJUYvjNKHpCDQhZcBV54zBQvYKt98M+G3ExY X-Google-Smtp-Source: APBJJlGlF88fGORG3hK+/0MTNdr3szKkOhP/nzcYGhpsOOBvwpUU2iVthtirZMPHzWe8Kra8mHRhQi/sGggg+ciJKnk= X-Received: by 2002:a17:907:2c74:b0:96f:d345:d0f7 with SMTP id ib20-20020a1709072c7400b0096fd345d0f7mr5756845ejc.62.1690122472200; Sun, 23 Jul 2023 07:27:52 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 From: Mario Marietto Date: Sun, 23 Jul 2023 16:27:15 +0200 Message-ID: Subject: Virtual GPU for FreeBSD as guest virtualized with qemu / kvm -- best alternative ? Cirrus ? To: freebsd-x11@freebsd.org, FreeBSD virtualization , FreeBSD Mailing List , freebsd-hackers , freebsd-drivers@freebsd.org Content-Type: multipart/related; boundary="000000000000953fbb0601284de5" X-Spamd-Result: default: False [-2.30 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.72)[-0.719]; NEURAL_HAM_MEDIUM(-0.59)[-0.586]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/related,multipart/alternative,text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52a:from]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-x11@freebsd.org,freebsd-virtualization@freebsd.org,freebsd-questions@freebsd.org,freebsd-hackers@freebsd.org,freebsd-drivers@freebsd.org]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~,5:~]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4R85HJ0SyNz416K X-Spamd-Bar: -- --000000000000953fbb0601284de5 Content-Type: multipart/alternative; boundary="000000000000953fba0601284de4" --000000000000953fba0601284de4 Content-Type: text/plain; charset="UTF-8" Hello to everyone. I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for Windows). I've end up with the following parameters which are working : I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine q35 \ -cpu Westmere,vendor=GenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check \ -m 8G -vga qxl -audiodev dsound,id=snd0 -device ich9-intel-hda -device \ hda-duplex,audiodev=snd0 \ -hda "I:\OS\ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb "I:\OS\qemu\Linux\FreeBSD.img" -rtc base=localtime \ -device nec-usb-xhci,id=xhci -device usb-tablet -device usb-kbd \ -global nec-usb-xhci.msi=off -smbios type=2 -nodefaults -netdev user,id=net0 \ -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:11:22:33 \ -device ich9-ahci,id=sata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined.fd" Now I'm trying to configure Xorg and the xfce4 desktop environment. Since I'm using qemu,there are a lot of display devices available to try,but I don't know which one is good for FreeBSD. In the website below there is a good list of all options available : https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ On FreeBSD I have installed the package drm-kmod and it suggests to me to add to the rc.conf file one of these parameters : 1. for amdgpu : kld_list="amdgpu" 2. for intel : kld_list="i915kms" 3. for radeonkms : kld_list="radeonkms" qemu does not cover any of those. I don't know which option is decent for my case. I would like to try with the cirrus display driver. Maybe this one : https://www.freshports.org/x11-drivers/xf86-video-cirrus/ So,I have installed this package : pkg install xf86-video-cirrus I've rebooted and I have changed -vga qxl to -vga cirrus FreeBSD recognized it at 0:1:0 [image: 2023-07-23 15_21_33-QEMU.png] I have created xorg.conf with this content : Section "Device" Identifier "Device0" Driver "cirrus" BusID "PCI:0:1:0" Screen 0 EndSection error : no screens found. This is the reason why it does not work : [image: 2023-07-23 15 49 44.png] but the module seems to be there : cd /usr/local/lib/xorg/modules/drivers/ ls*cirrus_drv.so* ; modesetting_drv.so ; scfb_drv.so ; vesa_drv.so ; What should I do ? -- Mario. --000000000000953fba0601284de4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello to everyone.


I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for Windows)= .=20 I've end up with the following parameters which are working :


I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -=
machine q35 \
-cpu Westmere,vendor=3DGenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,=
+xsave,+xsaveopt,check \
-m 8G -vga qxl -audiodev dsound,id=3Dsnd0 -device ich9-intel-hda -device \
hda-duplex,audiodev=3Dsnd0 \
-hda "I:\OS\ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \
-hdb "I:\OS\qemu\Linux\FreeBSD.img" -rtc base=3Dlocaltime \
-device nec-usb-xhci,id=3Dxhci -device usb-tablet -device usb-kbd \
-global nec-usb-xhci.msi=3Doff -smbios type=3D2 -nodefaults -netdev user,id=
=3Dnet0 \
-device virtio-net-pci,netdev=3Dnet0,id=3Dnet0,mac=3D52:54:00:11:22:33 \
-device ich9-ahci,id=3Dsata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVM=
F_combined.fd"


Now I'm trying to configure Xorg and=20 the xfce4 desktop environment. Since I'm using qemu,there are a lot of= =20 display devices available to try,but I don't know which one is good for= =20 FreeBSD. In the website below there is a good list of all options=20 available :


https://www.kraxel.org/blog/2= 019/09/display-devices-in-qemu/


On FreeBSD I have= installed the package drm-kmod and it suggests to me to add to the rc.conf= file one of these parameters :


  1. for amdg= pu : kld_list=3D"amdgpu"

  2. for intel : kld_list= =3D"i915kms"

  3. =

    for radeonkms : kld_list=3D"= ;radeonkms"

qemu does not cover any of= those. I don't know which option is=20 decent for my case. I would like to try with the cirrus display driver. May= be this one :


https://www.freshports.org/x11-drivers/xf86-= video-cirrus/


So,I have installed thi=
s package : pkg install xf86-video-cirrus

I've rebooted and I have ch= anged -vga qxl to -vga= cirrus

FreeBSD recognized it at 0:1:0




I h= ave created xorg.conf with this content :

=09 =09
=09
Section "Device&qu=
ot;
Identifier "Device0"
Driver "cirrus"
BusID "PCI:0:1:0"
Screen 0
EndSection

error : no screens found.
=09
=C2=A0
This is the reason why it does not work :




but the module seems to be there :

=09 =09
=09
cd /usr/local/lib/xorg/=
modules/drivers/
ls
cirrus_drv.so ; modesetting_drv.so ; scfb_drv.so ; vesa_drv.so ;

What should I do ?

--
Mario.
--000000000000953fba0601284de4-- --000000000000953fbb0601284de5 Content-Type: image/png; name="2023-07-23 15_21_33-QEMU.png" Content-Disposition: inline; filename="2023-07-23 15_21_33-QEMU.png" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: ii_lkfj63bw0 iVBORw0KGgoAAAANSUhEUgAAAzMAAABSCAIAAADviR2DAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAASdEVYdFNvZnR3YXJlAEdyZWVuc2hvdF5VCAUA ABVZSURBVHhe7dpbguOwrQTQ7H9Td2uXQxbQsECWIFF2u5M6X1LhQdoTJ/2R/4iIiIiIiIiIiIiI iIiI/EX/9wqpQWqQ1mDGIDVIDdIazBikBbn50njFjYWP3KG45PHPe1u7yYD3i3YG782OQYf07+Of 5fOftH+7P5AapAapQWqQGqQGqUFqkNZgxiA1SA3SV6ucGNsiFAxSg7RD9Aq1M+gOUDBIDdJXq5wY 2w5Q+2+ET2iQGqQBCgapQdodXodpONX3/UD6nHfsbPhtefXT8lViwqvcb23mdmaLbix85A7FJY9/ 3h07l/nwbB75qm9yB/8gH/6Y/Hv+rWr27OaW5HAqtuWRnSq3s3ma5PDUjZE/7fB5+WsTk9PqoSEn K7mtOFj3+ELHN7/v3Mv4t8yr3G9t5nZmi24sfPwOxCfPOrVzmQ/P5pGv+iZ3fNUH4d/zb1WzBzeP 19w2Vd98tcrtbD4k4zW3nbox8qfxb3K/6snhlcttxcG6xxc6vvl9517Gv2Ve5X5rM7czW3Rj4eN3 ID551qmdy3x49qu+t2d9+X8kYn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uHpL4 ylcdjOb6+Kp66VARERGRr3DvL5tWzVDr4uuhxPVNy1XZqsqnRERERL7Rvb9sKn/3jJ6rfyHl/ns3 uXquiIiIyFeY/hFz7++haPRc/Qsp98eEV93VQ0VERES+xY0/bt73FxLf/L5zRURERL5F8S+eqDVE SF+tcm4sdEgNUoM0mIYiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIvJF/vOf/wdz7+wL faKAcgAAAABJRU5ErkJggg== --000000000000953fbb0601284de5 Content-Type: image/png; name="2023-07-23 15 49 44.png" Content-Disposition: inline; filename="2023-07-23 15 49 44.png" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: ii_lkfj78w12 iVBORw0KGgoAAAANSUhEUgAABAYAAABpCAIAAAAm1bYSAAAQ7UlEQVR42u2da7KsqBJG6aGdkdfU bkdX3Io6pUI+AdO1fu1dKiQpYH7K458GJXi9Xn/+/JmceCfT46HTkw1m91Me5ivMMdWfM8trLo7H UUKrPEdtN6jvOlUx5UlpvZGX79U5sfdLW6LOCaqeJ/YuyLNY1UK/L8y+g5O9EWJMVCsDeA7/rDYA YpgvCUIewCFPZfkjx/OQWMU+kmBOWFCjRIZ8DdeG1Pbw8hqy0/pqq1q3VhJEWbXDXcgrb8i1AOVB EhTh3y7s/UdsR/ZJ9pj4z6HhCdrvDJ2j/ZQ9Nud50szwEdsvjqdEwzvYSblvmPkO5nmy/2Mb1avh m++ON4Zm23zl/CDmT1noiu/E5cHZad1T2Xz8ftjxc9PUdlW+IS7NrrGTvWGzyvPESepzAO4FkgAA YCq8g4RvqA8AsANIAgCAqRACAgDAbiAJAAByYVgCAABsDpIAAAAAAODRIAkAAAAAAB4NkgAAwEvU Gp1QD+oGANwCJAEAgBfCPriCugEAtwBJUITU1fSX7A8gLK82Zc9621Hush11btabzTDuce7Pqjq/ TZ/CGxL2adfaP54QXurb7fa9mzENSQAANwFJUIS8J81VgDVhr1BDYaP2kU2KX/OORl1i5riB2jGu nSMJJhf8tPhR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AAA9UASFGGVJHCO214iCQzjoJyO2kQSNFPIGJKytjhX swJivwNElVdr8y0kAQIAAOBRIAmKsEQSqMLuTSSBP1o1XBg+TDzEV0gCJIHNGAAAqAeSoAjzJYE2 gpkTBnmyC/EnkiCqRCFBsPxaT3k9Ns/0xmSbAQDgRiAJivAZ+xv7hH5pVj1v+jXgQ6ZUylOWjJD2 e1Iyu7T9PQJeYlXIQKb+0HztK/ZOiSRDs/qZGu5+3lyCfnm1Njdlresc7d8FicHClEPWBgAAgG1B EgAAAAAAPBokAQAAAADAo0ESAAAAAAA8GiQBAAAAAMCjQRIAAAAAADwaJAEAAAAAwKNBEgAAAAAA PBokQRGS9iX4JG7YH8Czp4G8vNqUh6utV9qXAAAAAEACkqAIeSHjO2CN3TnVs49s/+SofGvsXgwA AAAgAUlQhKR48Z2sMMydIwm04TWSAAAAAKAPkqAIqfFiuCTw2K8t6UxJYEstr+wAAAAAEpAERZgv Cfqn/VxyNfrIYHzsyUgCAAAAACRBEXaWBJ3RRwbjj5NxPdE2kgAAAAAASVCE5ZLg+Fng/e/xD6fl gYN/olSKxJLvf+VLM4VYBQAAANAHSVCEtZLgKkzvj+O3WR4lCaLe3Gdb4rcKAAAAoA+SoAgLJcHV 5ON22BBAuxSPMLuMRX6QBAAAAPAckARFWCUJ5EHwPpLAMA7K6SgkAQAAAOwMkqAISySBecswj9nO lLM3AWBfAgAAALgdSIIi7LAvQf9oVKzsSXnC+3gkAQAAANwOJEERPqvWxEaNncVwjouB9k8IHFFj Tnloc4gnT0VLJ1+hVegBAAAASAJJAAAAAADwaJAEAAAAAACP5n91g2iz9cYhmQAAAABJRU5ErkJg gg== --000000000000953fbb0601284de5-- From nobody Mon Jul 24 01:58:35 2023 X-Original-To: freebsd-hackers@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 4R8NcW1M5Qz4p0Pd for ; Mon, 24 Jul 2023 01:58:51 +0000 (UTC) (envelope-from ksrdhrbsd@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8NcT5fPFz3Mwg for ; Mon, 24 Jul 2023 01:58:49 +0000 (UTC) (envelope-from ksrdhrbsd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=svF1o41+; spf=pass (mx1.freebsd.org: domain of ksrdhrbsd@gmail.com designates 2a00:1450:4864:20::22e as permitted sender) smtp.mailfrom=ksrdhrbsd@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b701dee4bfso54745551fa.0 for ; Sun, 23 Jul 2023 18:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690163927; x=1690768727; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=+EI3Mo/Fef2wBgUblntAkC9zRVMtduQ4CsyrBMDiQQw=; b=svF1o41+mCQ2Y/zH4lnF7jK/xlXIgiqyyk6I5a7ObX0eo8x0QVqCpnuQZSrzrwWVA3 H1h4HLpDIIPUadXg9EiVd6gl9zRrjPJwOjPUqkxBJ9BZdapTRE5GBlHnZce9hGJgLl3i SDdJNlAoAk62IvFQ0pIQk1zpsSykSLq+VzBd9aDKRc8ksNikJYXK6UKrLfI1X5Xb0Fj0 z4f+e5+yxYjbat+pjI/NwaftrCn63hDKVkVm+Cms4AltQfPaljchovnoLyAz9FsM3CeA k8s4BM9wUQgARJ4FcrYMRtBg/6sLLQO7NLhby7DSEEOLeU7P3nLwPju4Wm1uKkfQY/S1 dFEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690163927; x=1690768727; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+EI3Mo/Fef2wBgUblntAkC9zRVMtduQ4CsyrBMDiQQw=; b=Ub4OgnbizcpsRw96NH1oElRIpnDzkit3SEOuTOChXGsoqGQjrUgMs33k2Y3Mz9v+OZ qG8lugR/TyaTK3HvRR0MlDtLyJqaXzAIYdfZ33nEo5tSqhJcs+C9xiKjbIxfIiC0F7hb me4Fxsr0H9M1UZK4FXUF7m81XR1GpJIKzHBTgWQt1qLSdlytZIg1DZvhRqDlmxjol8DG oZ51kkqyDqceAXz7N5sJHRE5jKuIlnEIACU6Rast7NM63nVVsXeBUDsTXWiLxS4Wpk9V FiDni6exDIIA5WF+e/SDt3ub0ru+MdPV5Qeul7Ck0togYL/BxPobZoMojufG3DfIJBeK Amug== X-Gm-Message-State: ABy/qLbgT3jFvBQyOQV4i/wkhIOLQRCbdjEkaAC0TWutisnfyY6LbGL1 FPmMEVHjTKHIuZKDL2cSREDhj1n/SazpjPeQVLHcrXVN7g== X-Google-Smtp-Source: APBJJlFJmzkavaS1XnQZt4YHoc3WIU8AfsXh30OB+7bVGZXXf1hjXTYwaNC70ns7RGG04A42feNP/EzP2VPbx2UI1d0= X-Received: by 2002:a2e:9058:0:b0:2b7:4078:13e0 with SMTP id n24-20020a2e9058000000b002b7407813e0mr5368091ljg.43.1690163926796; Sun, 23 Jul 2023 18:58:46 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: k sridhar Date: Sun, 23 Jul 2023 21:58:35 -0400 Message-ID: Subject: Contributing to one of the projects in the Ideas page To: freebsd-hackers@freebsd.org Content-Type: multipart/alternative; boundary="000000000000780dc0060131f4ef" X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; NEURAL_HAM_MEDIUM(-0.96)[-0.959]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2a00:1450:4864:20::22e:server fail]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22e:from]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4R8NcT5fPFz3Mwg X-Spamd-Bar: --- --000000000000780dc0060131f4ef Content-Type: text/plain; charset="UTF-8" Hello, I was browsing the Ideas page for ways to contribute to BSD. I came across this (which does not have any contact, I think). If it is still open, I wanted to check if I could try to do this. Briefly - I am in IT, and have been using UNIX since grad school in the early 90s (Solaris, briefly Ultrix/Aix and then different Linuxes and MacOS). C/C++/Java programming, scripting, installs, etc... and various other stuff. I want to give it a shot if you all think that is ok. Thanks a lot k.sridhar (U.S resident in Virginia) *Improve cron(8) and atrun(8)* *Currently, cron(8) and atrun(8) are outdated in their implementation. Here are some directions for improvement:* - *Update cron(8) to ISC cron with security fixes from OpenBSD.* - *Integrate the atrun(8) functionality into cron(8), as it was done in NetBSD.* *Requirements* - *Strong knowledge of the C language and Unix API.* --000000000000780dc0060131f4ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello,

I wa= s browsing the Ideas page for ways to contribute to BSD.
I came a= cross this (which does not have any contact, I think).

=
If it is still open, I wanted to check if I could try to do this.
<= /div>

Briefly - I am in IT, and have been using UNIX sin= ce grad school in the early 90s (Solaris, briefly Ultrix/Aix and then diffe= rent Linuxes and=C2=A0MacOS). C/C++/Java programming, scripting, installs, = etc... and various other stuff.=C2=A0

I want to give= it a shot if you all think that is ok.

Thanks a l= ot
k.sridhar (U.S resident in Virginia)

Improve cron(8) and atrun(8)<= /h2>

Currently, cron(8) and atrun(8) are outdated in their implement= ation. Here are some directions for improvement:

  • Update cron(8) to ISC cron with security fix= es from OpenBSD.
  • Integrate the a= trun(8) functionality into cron(8), as it was done in NetBSD.

Requirements
    Strong knowledge of the C language and Unix API.<= /font>
--000000000000780dc0060131f4ef-- From nobody Mon Jul 24 02:04:24 2023 X-Original-To: freebsd-hackers@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 4R8NlB3k9Rz4p4lX for ; Mon, 24 Jul 2023 02:04:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8NlB0cW9z3Qrx for ; Mon, 24 Jul 2023 02:04:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5222b917e0cso903433a12.0 for ; Sun, 23 Jul 2023 19:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20221208.gappssmtp.com; s=20221208; t=1690164276; x=1690769076; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MFfG1ltfi0aql/F9Amo5cc/3zWILxUj3GhLqJX/byig=; b=jfqntS6BDTxAPUFGy23fp9RLLn5/DwzmKqIHH0GvJKGsajGbA7VgKjseBgmBVMClxi J5P7XGafQ6yTSuYFOi7cAstq4LZVoL6umwnwxZ9Neb1UhJ5FMTg9aRYjk8Bxwjdcpko5 o+qo9Iw5nlDwPAz++3U8eblfKiqsQNaPBzUw0ZpKvSHCDe1Le+VycBZuvrOXEr676SlN pX/DgJkjUHldUw0u3DZFKiVtFa58CNs093E5alwZqjxz3Mq1u/hp/TGLoOoFWbIYxyUK lBEdBcisr3eWhoUG1kfzBeih7F0kgxSmD1TfGrmBUvDgSp5SPV8jUPPptzMLUKRtTIep 8Nog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690164276; x=1690769076; 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=MFfG1ltfi0aql/F9Amo5cc/3zWILxUj3GhLqJX/byig=; b=FIPRCtbRnR9z+Ro4xbPMB+zthfjGKlt6ZNyxEIDsdpTiTO5Om4x4pjGNHWo1VChamI xJGBxbLIUkputT6w/AeI12XLWJkAT0LUjE3EP+tc1JzR/MT5J3o9sO5Wcg6Pjxrv25XL UTFOo2Pj+f5u/ddEXn8ZbRqDJqJK9kK/bNEx/yzudRKtY1grpG7jpfvvp8aczQq9BgRl WbCXFn9Nv+TwZIVp8ATHYM75gYhRJE0U7mt0V5GIwXxMgkyoDM7vFHuGzDHbckSS57IN v/XnUNW70bvF7UTvEl4A+pzq7pofZ+6gmcwbwMkDuVM7qO1hdZy8ttkcroxB2PoBSV9W 5Vlg== X-Gm-Message-State: ABy/qLaXk62zfF5A0fHpkdp8VUyGmXN1/ZdEGEz6e3ESib7R+IwMEIaI t0GP7/JD1ga5TTEdHbUDYjPehoeqaI9/bsNGdj0hnA== X-Google-Smtp-Source: APBJJlGE6P7r7x+vfuyMOoDAKPE6hAJJz7jcmuwcGCb0vwCEp+8IG/STEHx4TRuu8YAlk0D9e/lAbdvgYjQgpadBKB8= X-Received: by 2002:aa7:d991:0:b0:521:d83e:8db2 with SMTP id u17-20020aa7d991000000b00521d83e8db2mr7786396eds.39.1690164275744; Sun, 23 Jul 2023 19:04:35 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Sun, 23 Jul 2023 20:04:24 -0600 Message-ID: Subject: Re: Contributing to one of the projects in the Ideas page To: k sridhar Cc: FreeBSD Hackers Content-Type: multipart/alternative; boundary="00000000000044a73c0601320992" X-Rspamd-Queue-Id: 4R8NlB0cW9z3Qrx X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --00000000000044a73c0601320992 Content-Type: text/plain; charset="UTF-8" On Sun, Jul 23, 2023, 7:59 PM k sridhar wrote: > > Hello, > > I was browsing the Ideas page for ways to contribute to BSD. > I came across this (which does not have any contact, I think). > > If it is still open, I wanted to check if I could try to do this. > > Briefly - I am in IT, and have been using UNIX since grad school in the > early 90s (Solaris, briefly Ultrix/Aix and then different Linuxes > and MacOS). C/C++/Java programming, scripting, installs, etc... and various > other stuff. > > I want to give it a shot if you all think that is ok. > Nobody is working on this. Might be best to see what openbsd and netbsd have done first and start from there. It will be the first question people ask when you start the review process. I think yhey have some fixes and a newer vixie cron import, but I'm not sure. Happy coding Warner Thanks a lot > k.sridhar (U.S resident in Virginia) > *Improve cron(8) and atrun(8)* > > *Currently, cron(8) and atrun(8) are outdated in their implementation. > Here are some directions for improvement:* > > - *Update cron(8) to ISC cron with security fixes from OpenBSD.* > - *Integrate the atrun(8) functionality into cron(8), as it was done > in NetBSD.* > > *Requirements* > > - *Strong knowledge of the C language and Unix API.* > > --00000000000044a73c0601320992 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Jul 23, 2023, 7:59 PM k sridhar <ksrdhrbsd@gmail.com> wrote:

Hello,
<= /div>

I was browsing the Ideas page for ways to contribu= te to BSD.
I came across this (which does not have any contact, I= think).

If it is still open, I wanted to check if= I could try to do this.

Briefly - I am in IT,= and have been using UNIX since grad school in the early 90s (Solaris, brie= fly Ultrix/Aix and then different Linuxes and=C2=A0MacOS). C/C++/Java progr= amming, scripting, installs, etc... and various other stuff.=C2=A0
=
I want to give it a shot if you all think that is ok.
<= /div>
Nobody is working on this. Might be best to see wh= at openbsd and=C2=A0 netbsd have done first and start from there. It will b= e the first question people ask when you start the review=C2=A0process.=C2= =A0 I think yhey have some fixes and a newer vixie cron import, but I'm= =C2=A0not sure.=C2=A0

Ha= ppy coding

Warner
<= div dir=3D"auto">
Thanks a lot
k.sridhar (= U.S resident in Virginia)

Improve cron(8) and atrun(8)

Currently, cron(8) and a= trun(8) are outdated in their implementation. Here are some directions for = improvement:

  • Update cron(8) to ISC cron with securi= ty fixes from OpenBSD.
  • Integrate the atrun(8) functionality into cron(8), as it was do= ne in NetBSD.<= /li>

Re= quirements
  • Strong knowledge of the C language and Unix API.
--00000000000044a73c0601320992-- From nobody Mon Jul 24 02:06:39 2023 X-Original-To: freebsd-hackers@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 4R8Nnp5z8sz4p67x for ; Mon, 24 Jul 2023 02:06:54 +0000 (UTC) (envelope-from ksrdhrbsd@gmail.com) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8Nnn5Vl4z3hmf for ; Mon, 24 Jul 2023 02:06:53 +0000 (UTC) (envelope-from ksrdhrbsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f95bf5c493so5516416e87.3 for ; Sun, 23 Jul 2023 19:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690164411; x=1690769211; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oBUBrrwZfCPZfQuvq2LlaCi/ZiK6n/eXQWulhhhZQ2E=; b=gmXGhpaJxJ27yqwQYacAYS3m7W0IJlE4pk+ew3416Wjn5Gv6WAxm3no9v+8ksaxKxh yDd8fSGprI9fcI9985daHfldNI7lOYvYUqnQJkGT9VkUwdVZP/GMPLpCPcm0TlLLan91 RIk5239X1YlW9PwEQ5BViJsbJdNO878LaDfT2oKIvvbk7flUolB3LXhaZFjf9POkxMJ2 8e9Hfm8JibzFecam9taLn0YAugU6Kk9H6QNmQ3mLVv/R62PVjn8KFuPITCBk+smIhZ4A GJzU0ylLm6vjiZusBuc1mI3Awni9Rm8PeYS3QdH+NDHKJclYwI9/kY3mYEmMBd30nHER cIbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690164411; x=1690769211; 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=oBUBrrwZfCPZfQuvq2LlaCi/ZiK6n/eXQWulhhhZQ2E=; b=LeVHgbYDJECOBtcP66e6e8EzqeLYFsI9mmj46PvTS99gTM93zpW6avD76MuFJB4fwu 1vttU5QiBveDnbztq8ixJV/l2v1dG4THkejgIlaIqBxCZXWCPeUoKTHT6AtTbqpuT3NU mtBkKmkSMxXsz2xgYCf1RmI4lqNJ9Tm+Gf+f1KWjkdJBWbe4z0FjK+p1wuGDDTxOP3Mc K34ilLoHhIMCPxvhwYP4dsqwbQqiFVUb4wCTLZSrjR/GfXcqgE9iXdtVMXXoYBXCRv3W 00VMQpjiNnmVj8WKOZsoVrFRVXVaIVej0wi9OmvQE8QrjI0okNZ7z+1FwjwbFjORaRQK f0/A== X-Gm-Message-State: ABy/qLaQDe1EG8NA0CamFTV0k4Ytjn7Zcj91vOtHaZEClo/0Fcc0QRjR wQNpLCyxJ0mpGR+z1vmKDHlAwaN0NVepP4VCHtfsoHQY2Q== X-Google-Smtp-Source: APBJJlHdhyT2CgE1IawqGL7FifWWTjQ2b5OREWOV3sxyJjs543iEgODSSKcvdxWe1rN9LZWR9kLTzbooC8mAy4teX4I= X-Received: by 2002:a05:6512:3b27:b0:4fd:d016:c2e8 with SMTP id f39-20020a0565123b2700b004fdd016c2e8mr2077130lfv.43.1690164411170; Sun, 23 Jul 2023 19:06:51 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: k sridhar Date: Sun, 23 Jul 2023 22:06:39 -0400 Message-ID: Subject: Re: Contributing to one of the projects in the Ideas page To: imp@bsdimp.com Cc: FreeBSD Hackers Content-Type: multipart/alternative; boundary="00000000000057027506013211dc" X-Rspamd-Queue-Id: 4R8Nnn5Vl4z3hmf X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --00000000000057027506013211dc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sure, I will start by reviewing what OpenBSD and NetBSD have done. Thanks a lot. On Sun, Jul 23, 2023 at 10:04=E2=80=AFPM Warner Losh wrote= : > > > On Sun, Jul 23, 2023, 7:59 PM k sridhar wrote: > >> >> Hello, >> >> I was browsing the Ideas page for ways to contribute to BSD. >> I came across this (which does not have any contact, I think). >> >> If it is still open, I wanted to check if I could try to do this. >> >> Briefly - I am in IT, and have been using UNIX since grad school in the >> early 90s (Solaris, briefly Ultrix/Aix and then different Linuxes >> and MacOS). C/C++/Java programming, scripting, installs, etc... and vari= ous >> other stuff. >> >> I want to give it a shot if you all think that is ok. >> > > Nobody is working on this. Might be best to see what openbsd and netbsd > have done first and start from there. It will be the first question peopl= e > ask when you start the review process. I think yhey have some fixes and = a > newer vixie cron import, but I'm not sure. > > Happy coding > > Warner > > Thanks a lot >> k.sridhar (U.S resident in Virginia) >> *Improve cron(8) and atrun(8)* >> >> *Currently, cron(8) and atrun(8) are outdated in their implementation. >> Here are some directions for improvement:* >> >> - *Update cron(8) to ISC cron with security fixes from OpenBSD.* >> - *Integrate the atrun(8) functionality into cron(8), as it was done >> in NetBSD.* >> >> *Requirements* >> >> - *Strong knowledge of the C language and Unix API.* >> >> --00000000000057027506013211dc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sure, I will start by reviewing what OpenBSD and NetBSD ha= ve done.

Thanks a lot.

On Sun, Jul 23, 2023 at 10:0= 4=E2=80=AFPM Warner Losh <imp@bsdimp.c= om> wrote:


On Sun, Jul 23, 2023, 7:59 PM k sridhar <ksrdhrbsd@gmail.com&g= t; wrote:

Hello,

I was brow= sing the Ideas page for ways to contribute to BSD.
I came across = this (which does not have any contact, I think).

I= f it is still open, I wanted to check if I could try to do this.
<= div>
Briefly - I am in IT, and have been using UNIX since gra= d school in the early 90s (Solaris, briefly Ultrix/Aix and then different L= inuxes and=C2=A0MacOS). C/C++/Java programming, scripting, installs, etc...= and various other stuff.=C2=A0

I want to give it a = shot if you all think that is ok.

Nobody is = working on this. Might be best to see what openbsd and=C2=A0 netbsd have do= ne first and start from there. It will be the first question people ask whe= n you start the review=C2=A0process.=C2=A0 I think yhey have some fixes and= a newer vixie cron import, but I'm=C2=A0not sure.=C2=A0

Happy coding
<= br>
Warner

Thanks a lot
k.sridhar (U.S resident in = Virginia)

Improve cron(8) and atrun(8)

<= /span>

Currently, cron(8) and atrun(8) are outdated in t= heir implementation. Here are some directions for improvement:<= /span>

  • Update cron(8) to I= SC cron with security fixes from OpenBSD.
  • Integrate the atrun(8)= functionality into cron(8), as it was done in NetBSD.

Requirements
  • Strong knowledge of the C language and Unix API.
--00000000000057027506013211dc-- From nobody Mon Jul 24 02:44:10 2023 X-Original-To: freebsd-hackers@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 4R8Pd51TZMz4nhSy for ; Mon, 24 Jul 2023 02:44:25 +0000 (UTC) (envelope-from bakul@iitbombay.org) Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8Pd40crdz3xLY for ; Mon, 24 Jul 2023 02:44:23 +0000 (UTC) (envelope-from bakul@iitbombay.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1bba2318546so4447465ad.1 for ; Sun, 23 Jul 2023 19:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20221208.gappssmtp.com; s=20221208; t=1690166662; x=1690771462; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=Djr6Wzrnjn4V4knzNzVsx2uLWvIkcXYGZUB8ZodqXrw=; b=sKOrR6Pukww/g/m0/LxFiJ/UBqNwJXbe1udUkowwLRMmUVjuebpA4OaV5+9LK37rle T5BIqonGCrHNw63HwIvNxWAotAvgMwpX0OfV+7DWr9iP/xPpFpObtsZx44eXdfhpF73R 8Gil9m2oxYf2Rq1/KJvIg3OC2RyL9fV9c0bUspEE+R8OvIeWRtEffQM5YQMmzOv1lpxs suQS/DemRxDnfUFPKJEL9s87ApTPZX3KLgotBHVEh249ujzdgLIJ/U1ltPPxgPW6jD0H K3x+ftk9sXvB177MmLrEL+cEX3U8Ub6MjXHz9/+6bKjy6S20D9qV2vEc+Kntba7m+C6x tY7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690166662; x=1690771462; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Djr6Wzrnjn4V4knzNzVsx2uLWvIkcXYGZUB8ZodqXrw=; b=B3LYfmxQy2sXUnoKtFvD2CwyyceII7blGEhl7D6Z+R7mNs/oRSBC8RNUNyz0WNogcV sPog1IoueMsJz2XNm52UemHIuxvtCcAKgP9llYEGd3dNtmQ9pqmySPnzmzjWcx9B9AYW wVhbzVEkbMyZb28XeHCL5zl95e1ziQ29A2nRsxrWI0jUjDUH0VPjCMuWCTUyH7dcCc0g /JgFAGi3iuKvWzQvLFqL6kq1Ftr6MJdZhkR5mX6wgs7T0Dx0GGzCxkuxGAIoglVbpoaS I6iwRrj4VeJ4fEG+4HXvQXy1wBAbsTC8gk2ew3rdoANQdCeWo85U1S6jYv3xhwBSjhe0 Tj0g== X-Gm-Message-State: ABy/qLa8mR4r053vVQDikW/u7KC1kPnkDr10umjUrvOrXdQ8QwEZD0Mx 7RtAcG4fo/TIWUiyckKX/QNto2Y6+p6/VeNj794= X-Google-Smtp-Source: APBJJlEyy/FUx9vsqtmgQuoRXNchD8GJhr3FhVI3tLDl4tlgVG7p45CMiZ/vTZbo/DIuy67lXsh61w== X-Received: by 2002:a17:903:32c3:b0:1b0:f8:9b2d with SMTP id i3-20020a17090332c300b001b000f89b2dmr11838876plr.29.1690166661963; Sun, 23 Jul 2023 19:44:21 -0700 (PDT) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id j4-20020a170902c3c400b001aaecc0b6ffsm7566430plj.160.2023.07.23.19.44.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jul 2023 19:44:21 -0700 (PDT) From: Bakul Shah Message-Id: <5EBDAA39-3512-4AA9-A4E2-72741FAE414C@iitbombay.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_207BFE15-2476-48AF-89C3-BA8CBFD3A375" List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: Contributing to one of the projects in the Ideas page Date: Sun, 23 Jul 2023 19:44:10 -0700 In-Reply-To: Cc: imp@bsdimp.com, FreeBSD Hackers To: k sridhar References: X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4R8Pd40crdz3xLY X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated --Apple-Mail=_207BFE15-2476-48AF-89C3-BA8CBFD3A375 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Note that NetBSD seems to have the same version as FreeBSD's = ports/sysutils/isc-cron (modulo replacing sprintf, strcpy, strcat etc = with safer versions). Paul seems to be maintaining the original at = https://github.com/vixie/cron.git with a few fixes this year. Though his = CRON_VERSION says V4.999 compared to ports/isc-cron that has V5.0! I = would suggest keeping in sync with Paul's version at github and may be = feeding back improvements. > On Jul 23, 2023, at 7:06 PM, k sridhar wrote: >=20 > Sure, I will start by reviewing what OpenBSD and NetBSD have done. >=20 > Thanks a lot. >=20 > On Sun, Jul 23, 2023 at 10:04=E2=80=AFPM Warner Losh > wrote: >>=20 >>=20 >> On Sun, Jul 23, 2023, 7:59 PM k sridhar > wrote: >>>=20 >>> Hello, >>>=20 >>> I was browsing the Ideas page for ways to contribute to BSD. >>> I came across this (which does not have any contact, I think). >>>=20 >>> If it is still open, I wanted to check if I could try to do this. >>>=20 >>> Briefly - I am in IT, and have been using UNIX since grad school in = the early 90s (Solaris, briefly Ultrix/Aix and then different Linuxes = and MacOS). C/C++/Java programming, scripting, installs, etc... and = various other stuff.=20 >>>=20 >>> I want to give it a shot if you all think that is ok. >>=20 >>=20 >> Nobody is working on this. Might be best to see what openbsd and = netbsd have done first and start from there. It will be the first = question people ask when you start the review process. I think yhey = have some fixes and a newer vixie cron import, but I'm not sure.=20 >>=20 >> Happy coding >>=20 >> Warner >>=20 >>> Thanks a lot >>> k.sridhar (U.S resident in Virginia) >>> Improve cron(8) and atrun(8) >>>=20 >>> Currently, cron(8) and atrun(8) are outdated in their = implementation. Here are some directions for improvement: >>>=20 >>> Update cron(8) to ISC cron with security fixes from OpenBSD. >>> Integrate the atrun(8) functionality into cron(8), as it was done in = NetBSD. >>>=20 >>> Requirements >>>=20 >>> Strong knowledge of the C language and Unix API. --Apple-Mail=_207BFE15-2476-48AF-89C3-BA8CBFD3A375 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Note that = NetBSD seems to have the same version as FreeBSD's = ports/sysutils/isc-cron (modulo replacing sprintf, strcpy, strcat etc = with safer versions).

Paul seems to be maintaining = the original at https://github.com/vixie/cron.git with a few fixes this = year. Though his CRON_VERSION says V4.999 compared to ports/isc-cron = that has V5.0! I would suggest keeping in sync with Paul's version at = github and may be feeding back improvements.

On Jul 23, 2023, at 7:06 PM, k sridhar = <ksrdhrbsd@gmail.com> wrote:

Sure, I will = start by reviewing what OpenBSD and NetBSD have = done.

Thanks a lot.

On Sun, Jul = 23, 2023 at 10:04=E2=80=AFPM Warner Losh <imp@bsdimp.com> = wrote:


On Sun, Jul = 23, 2023, 7:59 PM k sridhar <ksrdhrbsd@gmail.com> = wrote:

Hello,

I was browsing the = Ideas page for ways to contribute to BSD.
I came across this = (which does not have any contact, I think).

If = it is still open, I wanted to check if I could try to do = this.

Briefly - I am in IT, and have been = using UNIX since grad school in the early 90s (Solaris, briefly = Ultrix/Aix and then different Linuxes and MacOS). C/C++/Java = programming, scripting, installs, etc... and various other = stuff. 

I want to give it a shot if you all = think that is = ok.

Nobody is working on this. = Might be best to see what openbsd and  netbsd have done first and = start from there. It will be the first question people ask when you = start the review process.  I think yhey have some fixes and a = newer vixie cron import, but I'm not sure. 

Happy coding

Warner

Thanks a = lot
k.sridhar (U.S resident in Virginia)

Improve cron(8) and = atrun(8)

Currently, cron(8) and atrun(8) are = outdated in their implementation. Here are some directions for = improvement:

  • Update cron(8) to ISC cron with = security fixes from OpenBSD.
  • Integrate the atrun(8) functionality into cron(8), as it was = done in NetBSD.

Requirements
  • Strong knowledge of the C language = and Unix API.

= --Apple-Mail=_207BFE15-2476-48AF-89C3-BA8CBFD3A375-- From nobody Mon Jul 24 10:17:53 2023 X-Original-To: freebsd-hackers@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 4R8bhf62NZz4nk4B for ; Mon, 24 Jul 2023 10:18:10 +0000 (UTC) (envelope-from parodper@gmail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8bhf1DMzz3kKT for ; Mon, 24 Jul 2023 10:18:10 +0000 (UTC) (envelope-from parodper@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=eUhikzro; spf=pass (mx1.freebsd.org: domain of parodper@gmail.com designates 2a00:1450:4864:20::32a as permitted sender) smtp.mailfrom=parodper@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3fbd33a57b6so40258365e9.2 for ; Mon, 24 Jul 2023 03:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690193888; x=1690798688; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=RtHCsQfakdpxJuerdWSwsfx890hhQM2lHSX1Y2UxfFM=; b=eUhikzroTk6Q2TC/Cn7V/XT9K32uuY+DR0JlyuaH8ArpnLP3We9+9CUmgnaKUs1ZjU ASciYZb/iIzIY5GyLvkgx6FhvY/5Ykfhk6fFnqA4MBAf4OLEoow0EAkBIjpkCRohjMay aCBvIRd34AEvQ3bVYe9/WSml6UCzAIVd7KsLU02SsVOenzJirGgSGd9ioL+VtwekOywl Crb9iuofC+vVFBpP07tHoH224kb7Vh6H8+Qi/jnFuYZS5oHg97Afoq+cHNMiJp7l5ogt iwLy5ERHWTiJpd8hpCtlh594ElZObtWnppjoXUOUUdsZF8W8URf8vuv8GXNAPNmDVsFh X3/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690193888; x=1690798688; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=RtHCsQfakdpxJuerdWSwsfx890hhQM2lHSX1Y2UxfFM=; b=XVtTYFUxWuf3+guva1MvkkQiWU4qfNkrC1QI2F76JY8svj/zZbRhlbOhXojOQns5EO Tg5UxINaoPJVzR6SRlngthGpBYyi4ntAI3AN0ADBgNyYcPTf7DGvo4HN63evi/XS60ms hslmuY0V+OKXS+BIVPoxh+LGQ2N0e//cQ+Zci021411OVBsjIo+GG9aZu2iHMie5gFzT XeNVY+i0nGObVkwmQ/Vn6MGLmwuS/YCi9lvK/UaJe7Xh2T4aSzPLglVMe80E/fVPCyYm 6LGEd+1TUeS3jUbzA9Lu5xB42RPDnlodDirr1DoqzegA4N+qvJnOU+AGXFasNMPirCIR A6ow== X-Gm-Message-State: ABy/qLYnbOJljdaJL1QR3tX6kRwP3tLR51C6q4NX5IW/qLmAo5uOe3b2 3u9SNqChJmqktVeFwqRHDHQxrjFXdLI= X-Google-Smtp-Source: APBJJlGRoodfKYBNtMZ//wiJmxYCluF1Rb7lhtlPkhYJUAviRYOXwr1wNaBxUHbqJj5QYUMQku9hjg== X-Received: by 2002:a1c:ed11:0:b0:3fb:b9b7:fb0c with SMTP id l17-20020a1ced11000000b003fbb9b7fb0cmr7905061wmh.31.1690193888061; Mon, 24 Jul 2023 03:18:08 -0700 (PDT) Received: from ?IPV6:2001:470:1f21:411::2? ([2001:470:1f21:411::2]) by smtp.gmail.com with ESMTPSA id w3-20020a05600c014300b003fc05b89e5bsm9679895wmm.34.2023.07.24.03.18.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jul 2023 03:18:07 -0700 (PDT) Message-ID: <8f477ccc-e5db-9e73-2bfa-d3706a400ab2@gmail.com> Date: Mon, 24 Jul 2023 12:17:53 +0200 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: freebsd-hackers@freebsd.org Content-Language: en-US From: Parodper Subject: Creating socket with socat Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-1.54 / 15.00]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_MEDIUM(-0.48)[-0.483]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.10)[-0.096]; NEURAL_SPAM_SHORT(0.04)[0.035]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32a:from]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-Rspamd-Queue-Id: 4R8bhf1DMzz3kKT X-Spamd-Bar: - I'm trying to make a remote socket local by using socat. The idea would be Remote: socket -socat-> TLS Local: TLS -socat-> socket When I run: socat UNIX-LISTEN:remote.socket,unlink-early OPENSSL-CONNECT:remote.. on the local FreeBSD 13.2 machine, it appears to wait for connections, but when I try to do nc -U remote.socket it fails with: E setsockopt(7, 41, 27, {1}, 4): Invalid argument The remote, for their part, doesn't even register the connection. From nobody Mon Jul 24 13:34:36 2023 X-Original-To: freebsd-hackers@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 4R8h3R224Mz4pRBj for ; Mon, 24 Jul 2023 13:34:43 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8h3P726dz46pn for ; Mon, 24 Jul 2023 13:34:41 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=eLfEh2Ep; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=t5+ZmdNUljeKyu/BpSsT8VlvChpzazf3ljoKZWPlJvo=; b=eLfEh2Ep12cuU7Xr8m+rzqzYxz ddC0ffXfv6CxHb1LWsM+vv3jvAhFOhOwZcLR/cbEqhCvVrwFPRP4HmxQGI5UaqzIjUgPxs1kqzFkx tqf9TpHsYjEQffe7LwO49aoc3l2uKj2xSU3bS9DzliYTVum/KN3aWICYIS+3u9UTJmEQvesGw0R8w Z6+4p4xnfKf/6+ZqLCGJV0zzn5+wTOvcfmz0MVm87BeC/LjSCbV7VlHK9vrPyasbVTvJ3PQj0v9KT u9VmxSja0iZKz5e7/oRNHVKItNq6OkXbRuePG0e+YSWJQiLzw99eM0BxdXaSS9ymbh8SEEuCToyzF ZKZ2er/Q==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qNvht-008GKY-6r for freebsd-hackers@freebsd.org; Mon, 24 Jul 2023 15:34:37 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qNvhs-000PCZ-2u for freebsd-hackers@freebsd.org; Mon, 24 Jul 2023 13:34:36 +0000 Date: Mon, 24 Jul 2023 15:34:36 +0200 From: Felix Palmen To: freebsd-hackers@freebsd.org Subject: Re: Creating socket with socat Message-ID: Mail-Followup-To: freebsd-hackers@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <8f477ccc-e5db-9e73-2bfa-d3706a400ab2@gmail.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i7eutj7kaeer62ke" Content-Disposition: inline In-Reply-To: <8f477ccc-e5db-9e73-2bfa-d3706a400ab2@gmail.com> User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-7.50 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; TO_DOM_EQ_FROM_DOM(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4R8h3P726dz46pn X-Spamd-Bar: ------- --i7eutj7kaeer62ke Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Parodper [20230724 12:17]: > I'm trying to make a remote socket local by using socat. > [...] > E setsockopt(7, 41, 27, {1}, 4): Invalid argument I'm not entirely sure I fully understand the scenario and the error. But if your goal is to access some local unix domain socket on a remote machine, I have my own pet tool for exactly that purpose here: Maybe you find it useful. The FreeBSD port linked there isn't really polished, so far I didn't expect anyone would want to see that tool in the official ports tree :) Also, I hope I can release some update soon that would finally also support a config file instead of entirely relying on command line arguments. --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --i7eutj7kaeer62ke Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZL59318UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MXGtAQCc0WoeAt3a6Gg47bnxwRfKbgmOv45/OFz6KS+75eGOLgD8COVz3qktUZy4 WW5DI3cYPRjqw6KcFt5uX3UGs62LggI= =Sfe5 -----END PGP SIGNATURE----- --i7eutj7kaeer62ke-- From nobody Mon Jul 24 19:37:37 2023 X-Original-To: freebsd-hackers@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 4R8r6F0Hrlz4pcCn for ; Mon, 24 Jul 2023 19:37:41 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8r6C6sy0z4Cm6 for ; Mon, 24 Jul 2023 19:37:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=washington.edu (policy=none) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.17.1/8.17.1) with ESMTPS id 36OJbbNp097518 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 24 Jul 2023 12:37:37 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.17.1/8.17.1/Submit) id 36OJbbo7097517 for freebsd-hackers@freebsd.org; Mon, 24 Jul 2023 12:37:37 -0700 (PDT) (envelope-from sgk) Date: Mon, 24 Jul 2023 12:37:37 -0700 From: Steve Kargl To: freebsd-hackers@freebsd.org Subject: how to compare branches? Message-ID: Reply-To: sgk@troutmask.apl.washington.edu List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [-1.99 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.99)[-0.991]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; BLOCKLISTDE_FAIL(0.00)[128.95.76.21:server fail]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu] X-Rspamd-Queue-Id: 4R8r6C6sy0z4Cm6 X-Spamd-Bar: - It has been brought to my attention that a few fixes to libm in main have not been merged to at least the 13 branch. To check on the level of missing changes, I would to compare ther lib/msun on main to lib/msun on stable/13. What is the git command needed for such a task? My attempts of modifying results from a google search of "git diff between branches" has been entertaining but fruitless. -- Steve From nobody Mon Jul 24 19:43:30 2023 X-Original-To: freebsd-hackers@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 4R8rF5344Sz4pgZM for ; Mon, 24 Jul 2023 19:43:37 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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 4R8rF51PRhz4GB7 for ; Mon, 24 Jul 2023 19:43:37 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Authentication-Results: mx1.freebsd.org; none Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 1DDA33C0199; Mon, 24 Jul 2023 19:43:30 +0000 (UTC) Date: Mon, 24 Jul 2023 19:43:30 +0000 From: Brooks Davis To: Steve Kargl Cc: freebsd-hackers@freebsd.org Subject: Re: how to compare branches? Message-ID: References: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4R8rF51PRhz4GB7 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Mon, Jul 24, 2023 at 12:37:37PM -0700, Steve Kargl wrote: > It has been brought to my attention that a few fixes to libm > in main have not been merged to at least the 13 branch. To > check on the level of missing changes, I would to compare ther > lib/msun on main to lib/msun on stable/13. What is the git > command needed for such a task? My attempts of modifying results > from a google search of "git diff between branches" has been > entertaining but fruitless. git diff stable/13..main lib/msun or you can see individual commits graphically on mfc.freebsd.org with the filter @lib/msun/ -- Brooks From nobody Mon Jul 24 19:52:12 2023 X-Original-To: freebsd-hackers@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 4R8rR26nGRz4nYXY for ; Mon, 24 Jul 2023 19:52:14 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8rR24WCPz4Kxs; Mon, 24 Jul 2023 19:52:14 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Authentication-Results: mx1.freebsd.org; none Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.17.1/8.17.1) with ESMTPS id 36OJqCjQ097728 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 24 Jul 2023 12:52:12 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.17.1/8.17.1/Submit) id 36OJqCVL097727; Mon, 24 Jul 2023 12:52:12 -0700 (PDT) (envelope-from sgk) Date: Mon, 24 Jul 2023 12:52:12 -0700 From: Steve Kargl To: Brooks Davis Cc: freebsd-hackers@freebsd.org Subject: Re: how to compare branches? Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4R8rR24WCPz4Kxs X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Mon, Jul 24, 2023 at 07:43:30PM +0000, Brooks Davis wrote: > On Mon, Jul 24, 2023 at 12:37:37PM -0700, Steve Kargl wrote: > > It has been brought to my attention that a few fixes to libm > > in main have not been merged to at least the 13 branch. To > > check on the level of missing changes, I would to compare ther > > lib/msun on main to lib/msun on stable/13. What is the git > > command needed for such a task? My attempts of modifying results > > from a google search of "git diff between branches" has been > > entertaining but fruitless. > > git diff stable/13..main lib/msun > > or you can see individual commits graphically on mfc.freebsd.org with > the filter @lib/msun/ > Thanks! The command you showed is the one variation I didn't try. Hmmm, I must be missing something. % cd /usr/src % git diff stable/13..main lib/msun fatal: ambiguous argument 'stable/13..main': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' % git status On branch main Your branch is up to date with 'freebsd/main' -- Steve From nobody Mon Jul 24 19:59:46 2023 X-Original-To: freebsd-hackers@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 4R8rbn3r0zz4nh0t for ; Mon, 24 Jul 2023 19:59:49 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8rbm0c8nz4PGb; Mon, 24 Jul 2023 19:59:48 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=washington.edu (policy=none) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.17.1/8.17.1) with ESMTPS id 36OJxkQY097786 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 24 Jul 2023 12:59:46 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.17.1/8.17.1/Submit) id 36OJxkU2097785; Mon, 24 Jul 2023 12:59:46 -0700 (PDT) (envelope-from sgk) Date: Mon, 24 Jul 2023 12:59:46 -0700 From: Steve Kargl To: Brooks Davis Cc: freebsd-hackers@freebsd.org Subject: Re: how to compare branches? Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-2.00 / 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)[-0.998]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM,none]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; R_DKIM_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu] X-Rspamd-Queue-Id: 4R8rbm0c8nz4PGb X-Spamd-Bar: - On Mon, Jul 24, 2023 at 12:52:12PM -0700, Steve Kargl wrote: > On Mon, Jul 24, 2023 at 07:43:30PM +0000, Brooks Davis wrote: > > On Mon, Jul 24, 2023 at 12:37:37PM -0700, Steve Kargl wrote: > > > It has been brought to my attention that a few fixes to libm > > > in main have not been merged to at least the 13 branch. To > > > check on the level of missing changes, I would to compare ther > > > lib/msun on main to lib/msun on stable/13. What is the git > > > command needed for such a task? My attempts of modifying results > > > from a google search of "git diff between branches" has been > > > entertaining but fruitless. > > > > git diff stable/13..main lib/msun > > > > or you can see individual commits graphically on mfc.freebsd.org with > > the filter @lib/msun/ > > > > Thanks! The command you showed is the one variation I didn't try. > Hmmm, I must be missing something. > > % cd /usr/src > % git diff stable/13..main lib/msun > fatal: ambiguous argument 'stable/13..main': unknown revision or path > not in the working tree. > Use '--' to separate paths from revisions, like this: > 'git [...] -- [...]' > % git status > On branch main > Your branch is up to date with 'freebsd/main' > So, it seems I used the info from https://docs.freebsd.org/en/books/handbook/mirrors/#git to clone freebsd. I need to include the freebsd/ in the command. This works % git diff freebsd/stable/13..freebsd/main -- lib/msun -- Steve From nobody Mon Jul 24 22:41:33 2023 X-Original-To: hackers@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 4R8wBX0nHBz4nn9w for ; Mon, 24 Jul 2023 22:41:40 +0000 (UTC) (envelope-from yuri@aetern.org) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8wBW48fFz3D03 for ; Mon, 24 Jul 2023 22:41:39 +0000 (UTC) (envelope-from yuri@aetern.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aetern.org header.s=fm2 header.b=h4EAesCa; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=V2oGarQ4; spf=pass (mx1.freebsd.org: domain of yuri@aetern.org designates 64.147.123.25 as permitted sender) smtp.mailfrom=yuri@aetern.org Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 3FCB53200312 for ; Mon, 24 Jul 2023 18:41:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 24 Jul 2023 18:41:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aetern.org; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm2; t=1690238496; x=1690324896; bh=aX ADc5oLlgSam989FIDqVxfM7uuqOG5FzpBsVBGkgcc=; b=h4EAesCazOl+5k0nMB lphQN/H1Xoj0W/icVur49XMvFF5374M2TOi+s+UTqtp4XSyJ+QvSbwR4ATwbZLul 7rW5FkBO+QcgcWj3ZOFYm+4Q6AMSvvallsOLGxkd1wTrWMpoQHnd/n7cFb4V340U wPrd5XJ6PZCTnCT48k9L9atNG8sVD86bFM5TpQXpSSTm/UXWOmQS6kr31+AFOmmM uz+oxXn+9or0MA3jORRZRKp7UrdLZlSy6OtJZGV7M+g9XzXsCRsPG/k8mkSn+Hnc 3JOAQzffGw+46Jj1PE05XoiK2c9klVtwQ9zJVsDmAOEJLjP2S3JD8CLmr/GRdkOj pF5g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1690238496; x=1690324896; bh=aXADc5oLlgSam 989FIDqVxfM7uuqOG5FzpBsVBGkgcc=; b=V2oGarQ4AcZwt6G/nWwd11RIuMco2 Gi9qeBbINm+OfStBN5cBSXTr9MaZXQA/8Yejdfk2lH4D//ccS1T1VVdZK71UO8u0 w2f0cpYlcH8Az5NmwmLevclqiT+iEPZtxx0n+V8YYVltW6vOIibbPi6RRgWOs/Ug 55Ijy/3q6fHZrNneMgUqVmWAMGfu3zzzybDQMUsaZEdnng+FkBdD1Y/Kq3JlxkM4 aYmshQ7BWLEhDIBXgItKl2WZi0uqI/86x1NrsaxWyrmUfU8VJ9DxiAzdRiO27x3j eeGyhVaPV9TgMON1RUOTc3v0bUVzG/QPZQqqNaEcm7Gmf5L8R+Fbeuc+w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrheelgddufecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfvffhufgtgfesthejredttd dvjeenucfhrhhomhepjghurhhiuceohihurhhisegrvghtvghrnhdrohhrgheqnecuggft rfgrthhtvghrnhepgeevkeegueefudehjeelledtvdefiedvvdefhfdvjefgfeejleeghe ehudettdeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhephihurhhisegrvghtvghrnhdrohhrgh X-ME-Proxy: Feedback-ID: i0d79475b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 24 Jul 2023 18:41:36 -0400 (EDT) Message-ID: <6194cbf1-0466-7155-353d-0cd3c2ae74c6@aetern.org> Date: Tue, 25 Jul 2023 00:41:33 +0200 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: hackers@freebsd.org From: Yuri Subject: make: empty() does not seem to work for loop variables Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4R8wBW48fFz3D03 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.39 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; R_DKIM_ALLOW(-0.20)[aetern.org:s=fm2,messagingengine.com:s=fm3]; XM_UA_NO_VERSION(0.01)[]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; local_wl_from(0.00)[yuri@aetern.org]; DKIM_TRACE(0.00)[aetern.org:+,messagingengine.com:+]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_from Given the Makefile below, I get the following output: --- $ make make: "/home/yuri/tmp/Makefile" line 3: warning: check0 make: "/home/yuri/tmp/Makefile" line 11: warning: check2 --- Makefile: --- FOO= bar .if !empty(FOO:Mbar) .warning check0 .endif .for i in foo bar baz .if !empty(i:Mbar) .warning check1 .endif .if ${i:Mbar} != "" .warning check2 .endif .endfor all: --- So it looks like empty() does not work when applied to loop variable? Or am I missing something here? From nobody Tue Jul 25 00:27:25 2023 X-Original-To: freebsd-hackers@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 4R8yXt3qM3z4pJV5 for ; Tue, 25 Jul 2023 00:27:42 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8yXr3f2lz469s; Tue, 25 Jul 2023 00:27:40 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-4f9fdb0ef35so7673205e87.0; Mon, 24 Jul 2023 17:27:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690244857; x=1690849657; 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=Aqa8vGiuz2fZRz/33NU2sHscP/mcEJomoJpxmMdIGKk=; b=dshJtMohUwtzKyweMr03Qk23tOsm4tSL0wkpWt8K1BOJFWckYdWPWRhg4l7so+hj1/ TfG8X+xnCqMFbJchPj8qCr9+oMJgAWDXJFguFHWq5QbMJMSqUwKkHN4JmaEblxloPVrJ agiETV3kfGm657PSRwTTEfksz/5ATYEmyhRIGCZCv9AcjOC4W8mmariggbQWobFAxGVL AfvAfRhCo7zNVQtban1Eppksq5vN+Ag4J8EVd3mBQbVlorWgOA0fYAz/uA+YRWcd1Jh6 uulxp4bHfoVPUguKfVyumERQMV06i8MUK86ENpoJMyTeeo/YBWAFCfavF9zQWvUGPZ1N Sq3A== X-Gm-Message-State: ABy/qLaktSHIvEKs01O/EXeEYXaj2HRiJ8SJajbp7Nr7hV8lFe+YFf+K bSnJzQiem5KAnBLVjC9Kgr/pEmrzuuJVXM6sclT1lu7X5ExH7A== X-Google-Smtp-Source: APBJJlGV2haRCW9A5TqRHMhCAk+L55Y6ftNBnytrGyMIsbaUuFtwbZOO7lO2Kd54pimxM30xdRg+COlJkWVeTVxcZMw= X-Received: by 2002:a05:6512:31cd:b0:4fb:8ee0:b8a5 with SMTP id j13-20020a05651231cd00b004fb8ee0b8a5mr6289768lfe.46.1690244857074; Mon, 24 Jul 2023 17:27:37 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Mon, 24 Jul 2023 20:27:25 -0400 Message-ID: Subject: Re: how to compare branches? To: Brooks Davis Cc: Steve Kargl , freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4R8yXr3f2lz469s X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Mon, 24 Jul 2023 at 15:43, Brooks Davis wrote: > > or you can see individual commits graphically on mfc.freebsd.org with > the filter @lib/msun/ We also have a tool in the base system which will list the unmerged commits: % sh tools/tools/git/mfc-candidates.sh -a lib/msun 34cc08e33698 Save all fpcr/fpsr bits in the AArch64 fenv_t 7702d940ec9a Avoid -pedantic warnings about using _Generic in __fp_type_select 2b9a828c9949 Set default SPE FP environment 292815eac623 Fix powf(). 3550a49f6814 msun: Add copyright notices 455b2ccda3df * lib/msun/Makefile: . Disconnect b_exp.c and b_log.c from the build. 03a88e3de9c6 * lib/msun/Makefile b/lib/msun/Makefile: . Disconnect imprecise.c from the build. This file can be deleted. . Add b_tgammal.c to the build for ld80 and ld128 targets. The ld128 is a 'git mv' of imprecise.c to ld128/b_tgammal.c. b94b8bf7027e mips: Remove msun support 56f5947a7102 Remove checks for __GNUCLIKE_ASM assuming it is always true. c44ca4c227f7 msun/Makefile: Fix conditional and unbreak the build. Approved by:imp Fixes: 20adba8bc1beb125d5e5ed8f12e747ae79ca6a10 ae902a5be9b8 libc: Simplify soft-float on 32-bit arm 4d846d260e2b spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD Should all of these be merged to stable/13? From nobody Tue Jul 25 02:19:21 2023 X-Original-To: freebsd-hackers@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 4R911n2DWCz4pVs3 for ; Tue, 25 Jul 2023 02:19:25 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R911m68M5z3LTf; Tue, 25 Jul 2023 02:19:24 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Authentication-Results: mx1.freebsd.org; none Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.17.1/8.17.1) with ESMTPS id 36P2JMV2099369 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 24 Jul 2023 19:19:22 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.17.1/8.17.1/Submit) id 36P2JLCp099368; Mon, 24 Jul 2023 19:19:21 -0700 (PDT) (envelope-from sgk) Date: Mon, 24 Jul 2023 19:19:21 -0700 From: Steve Kargl To: Ed Maste Cc: Brooks Davis , freebsd-hackers@freebsd.org Subject: Re: how to compare branches? Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4R911m68M5z3LTf X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Mon, Jul 24, 2023 at 08:27:25PM -0400, Ed Maste wrote: > On Mon, 24 Jul 2023 at 15:43, Brooks Davis wrote: > > > > or you can see individual commits graphically on mfc.freebsd.org with > > the filter @lib/msun/ > > We also have a tool in the base system which will list the unmerged commits: > > % sh tools/tools/git/mfc-candidates.sh -a lib/msun > 34cc08e33698 Save all fpcr/fpsr bits in the AArch64 fenv_t > 7702d940ec9a Avoid -pedantic warnings about using _Generic in __fp_type_select > 2b9a828c9949 Set default SPE FP environment > 292815eac623 Fix powf(). This ... > 3550a49f6814 msun: Add copyright notices > 455b2ccda3df * lib/msun/Makefile: . Disconnect b_exp.c and b_log.c This ... > from the build. > 03a88e3de9c6 * lib/msun/Makefile b/lib/msun/Makefile: . Disconnect > imprecise.c from the build. This file can be deleted. . Add > b_tgammal.c to the build for ld80 and ld128 targets. The ld128 is > a 'git mv' of imprecise.c to ld128/b_tgammal.c. This ... > b94b8bf7027e mips: Remove msun support > 56f5947a7102 Remove checks for __GNUCLIKE_ASM assuming it is always true. > c44ca4c227f7 msun/Makefile: Fix conditional and unbreak the build. > Approved by:imp Fixes: 20adba8bc1beb125d5e5ed8f12e747ae79ca6a10 > ae902a5be9b8 libc: Simplify soft-float on 32-bit arm > 4d846d260e2b spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, > drop -FreeBSD > > Should all of these be merged to stable/13? fix bugs or provide missing implementations of math functions. The other patches either touch target-specific code (arm, aarch64) that I don't have and can't easily test or are cosmetic (e.g., BSD 2-Clause). I haven't seen any new libm bug reports, so likely all of the above can be merge. Note, Paul Zimmermann (a MPFR developer) that FreeBSD is only OS that he's aware that supplies sinpi, cospi, and tanpi functions. While testing, he found a few issues with these, reported them to me, and I have a patch under going test. I'll submit it shortly. te -- Steve From nobody Tue Jul 25 02:35:03 2023 X-Original-To: freebsd-hackers@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 4R91N40t26z4nmfH for ; Tue, 25 Jul 2023 02:35:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R91N40J6Vz3j0Z for ; Tue, 25 Jul 2023 02:35:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-51bece5d935so7555928a12.1 for ; Mon, 24 Jul 2023 19:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20221208.gappssmtp.com; s=20221208; t=1690252515; x=1690857315; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jn5FTsbdhdAQvMbRwgdxvaPZfJKhQr7JT1VWk1FxYfU=; b=coZwlTp1GGh6cyCeDwKKxFcFULPPAYsBjfEJ4mW+wuhLV16S7QK9yq70QX4K96ONgN 6RY4zo55dJp/OZfIrCGkQg0aVHCSr//9EssCFH3PF85bFJl4GYgeh2JmkOvXBWq/Rj8A OspN9ZMSTsdKaiPbmNKdFux2juwvmVt9vfHlaH8+Kb9JiHFMUrSbGQGD8Hbh3N8vAY07 Nzk3H/dE9gXbrxOfl2KVXSOgijSqdd4fa2sVbNKrlX/temgGQYpJZuXU5Z4LuSx/W42g yt7vbdptbPU98jOSEGCdqIbUY0kSUWDLYZGK8Jt9otCWB5fERgNt2yEWsoLCkiHuJ/az JQjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690252515; x=1690857315; 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=jn5FTsbdhdAQvMbRwgdxvaPZfJKhQr7JT1VWk1FxYfU=; b=QIRjpTzHpPqUKyvwca0FRzqLAWjvhEiDEZAJ9eWpMGbAfkfN6x0jVy41P/wNVZF7i6 L6TTAYQu86cXzxjTdQWeQ2nkkcvfcAZzruQa56ap6x5y4IYtBsIh4BsDzHgJO7oNgxth 9VtfsKWpEZqbzb3h+j/Pp5cq6bS0wf9YgotvRnFteOlXfLci9QiUW9cVi0cu3CQUxFzF KQsbFFt3rf5UJRcBYVfu3SvYWNkcBMKGezYlK0L4Q7ZMlq1KdaEJoIUIn6IaPIZ07rBH vMRm/9zERw4ZcPyBKp6WxX5ZonOJcn0UqE+DS8MSDu7Za4WPtNUw/iVfrtQJPoeHpYb0 ApCQ== X-Gm-Message-State: ABy/qLZmxwEggAHkdnB0b8uPsokpWHphOWmxKm3RXsutZAeXUNFdAXdz hbVjCFWGWipYmfkfs79KvCm7g4129DBG1o2iOjK3SPaQptAVT8OA X-Google-Smtp-Source: APBJJlHJvMmA/Aly6zI0Uu3ynavaLOagnoRSKeuo7dwy82IrqFreWQvtBoiiObhEh8Bmkf9zEtoYUSYRGEiu8ieeyRc= X-Received: by 2002:aa7:d315:0:b0:522:38f9:e653 with SMTP id p21-20020aa7d315000000b0052238f9e653mr2372346edq.30.1690252514742; Mon, 24 Jul 2023 19:35:14 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 24 Jul 2023 20:35:03 -0600 Message-ID: Subject: Re: how to compare branches? To: Steve Kargl Cc: Ed Maste , Brooks Davis , FreeBSD Hackers Content-Type: multipart/alternative; boundary="000000000000b8e6ff06014694b3" X-Rspamd-Queue-Id: 4R91N40J6Vz3j0Z X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --000000000000b8e6ff06014694b3 Content-Type: text/plain; charset="UTF-8" On Mon, Jul 24, 2023, 8:19 PM Steve Kargl wrote: > On Mon, Jul 24, 2023 at 08:27:25PM -0400, Ed Maste wrote: > > On Mon, 24 Jul 2023 at 15:43, Brooks Davis wrote: > > > > > > or you can see individual commits graphically on mfc.freebsd.org with > > > the filter @lib/msun/ > > > > We also have a tool in the base system which will list the unmerged > commits: > > > > % sh tools/tools/git/mfc-candidates.sh -a lib/msun > > 34cc08e33698 Save all fpcr/fpsr bits in the AArch64 fenv_t > > 7702d940ec9a Avoid -pedantic warnings about using _Generic in > __fp_type_select > > 2b9a828c9949 Set default SPE FP environment > > 292815eac623 Fix powf(). > > This ... > > > 3550a49f6814 msun: Add copyright notices > > 455b2ccda3df * lib/msun/Makefile: . Disconnect b_exp.c and b_log.c > > This ... > > > from the build. > > 03a88e3de9c6 * lib/msun/Makefile b/lib/msun/Makefile: . Disconnect > > imprecise.c from the build. This file can be deleted. . Add > > b_tgammal.c to the build for ld80 and ld128 targets. The ld128 is > > a 'git mv' of imprecise.c to ld128/b_tgammal.c. > > This ... > > > b94b8bf7027e mips: Remove msun support > > 56f5947a7102 Remove checks for __GNUCLIKE_ASM assuming it is always true. > > c44ca4c227f7 msun/Makefile: Fix conditional and unbreak the build. > > Approved by:imp Fixes: 20adba8bc1beb125d5e5ed8f12e747ae79ca6a10 > > ae902a5be9b8 libc: Simplify soft-float on 32-bit arm > > 4d846d260e2b spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, > > drop -FreeBSD > I'm merging this tomorrow or Wednesday. > Should all of these be merged to stable/13? > > fix bugs or provide missing implementations of math functions. The > other patches either touch target-specific code (arm, aarch64) that > I don't have and can't easily test or are cosmetic (e.g., BSD 2-Clause). > I haven't seen any new libm bug reports, so likely all of the above > can be merge. > Ignore the bsd 2 clause stuff. Life got too busy for me.... Warner Note, Paul Zimmermann (a MPFR developer) that FreeBSD is only OS > that he's aware that supplies sinpi, cospi, and tanpi functions. > While testing, he found a few issues with these, reported them > to me, and I have a patch under going test. I'll submit it > shortly. > > te > > -- > Steve > > --000000000000b8e6ff06014694b3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Jul 24, 2023, 8:19 PM Steve Kargl <sgk@troutmask.apl.washington.e= du> wrote:
On Mon, Jul 24, 2= 023 at 08:27:25PM -0400, Ed Maste wrote:
> On Mon, 24 Jul 2023 at 15:43, Brooks Davis <brooks@freebsd.org&= gt; wrote:
> >
> > or you can see individual commits graphically on mfc.free= bsd.org with
> > the filter @lib/msun/
>
> We also have a tool in the base system which will list the unmerged co= mmits:
>
> % sh tools/tools/git/mfc-candidates.sh -a lib/msun
> 34cc08e33698 Save all fpcr/fpsr bits in the AArch64 fenv_t
> 7702d940ec9a Avoid -pedantic warnings about using _Generic in __fp_typ= e_select
> 2b9a828c9949 Set default SPE FP environment
> 292815eac623 Fix powf().

This ...

> 3550a49f6814 msun: Add copyright notices
> 455b2ccda3df * lib/msun/Makefile:=C2=A0 =C2=A0. Disconnect b_exp.c and= b_log.c

This ...

> from the build.
> 03a88e3de9c6 * lib/msun/Makefile b/lib/msun/Makefile:=C2=A0 =C2=A0. Di= sconnect
> imprecise.c from the build.=C2=A0 This file can be deleted.=C2=A0 =C2= =A0. Add
> b_tgammal.c to the build for ld80 and ld128 targets.=C2=A0 The ld128= =C2=A0 =C2=A0 =C2=A0is
> a 'git mv' of imprecise.c to ld128/b_tgammal.c.

This ...

> b94b8bf7027e mips: Remove msun support
> 56f5947a7102 Remove checks for __GNUCLIKE_ASM assuming it is always tr= ue.
> c44ca4c227f7 msun/Makefile: Fix conditional and unbreak the build.
> Approved by:imp Fixes:=C2=A0 =C2=A0 =C2=A0 =C2=A020adba8bc1beb125d5e5e= d8f12e747ae79ca6a10
> ae902a5be9b8 libc: Simplify soft-float on 32-bit arm
> 4d846d260e2b spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, > drop -FreeBSD

=
I'm merging this tomorrow or Wednesday.=C2=A0


> Should all of these be merged to stable/13?

fix bugs or provide missing implementations of math functions.=C2=A0 The other patches either touch target-specific code (arm, aarch64) that
I don't have and can't easily test or are cosmetic (e.g., BSD 2-Cla= use).
I haven't seen any new libm bug reports, so likely all of the above
can be merge.

Ignore the bsd 2 clause stuff. Life got too busy for me....

Warner

Note, Paul Zimmermann (a MPFR developer) that FreeBSD is only OS
that he's aware that supplies sinpi, cospi, and tanpi functions.
While testing, he found a few issues with these, reported them
to me, and I have a patch under going test.=C2=A0 I'll submit it
shortly.

te

--
Steve

--000000000000b8e6ff06014694b3-- From nobody Thu Jul 27 03:27:41 2023 X-Original-To: freebsd-hackers@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 4RBGRr4BP5z4nn0L for ; Thu, 27 Jul 2023 03:27:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RBGRp4pLrz3FRv; Thu, 27 Jul 2023 03:27:50 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=washington.edu (policy=none) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.17.1/8.17.1) with ESMTPS id 36R3RfCq025380 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 26 Jul 2023 20:27:42 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.17.1/8.17.1/Submit) id 36R3Rf9I025379; Wed, 26 Jul 2023 20:27:41 -0700 (PDT) (envelope-from sgk) Date: Wed, 26 Jul 2023 20:27:41 -0700 From: Steve Kargl To: Ed Maste Cc: Brooks Davis , freebsd-hackers@freebsd.org Subject: Re: how to compare branches? Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-1.99 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; BLOCKLISTDE_FAIL(0.00)[128.95.76.21:server fail]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_SOME(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu] X-Rspamd-Queue-Id: 4RBGRp4pLrz3FRv X-Spamd-Bar: - On Mon, Jul 24, 2023 at 08:27:25PM -0400, Ed Maste wrote: > On Mon, 24 Jul 2023 at 15:43, Brooks Davis wrote: > > > > or you can see individual commits graphically on mfc.freebsd.org with > > the filter @lib/msun/ > > We also have a tool in the base system which will list the unmerged commits: > Ed, Warner, Thanks for the merges! -- Steve From nobody Thu Jul 27 15:37:48 2023 X-Original-To: freebsd-hackers@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 4RBZf51cJRz4pTmN; Thu, 27 Jul 2023 15:37:49 +0000 (UTC) (envelope-from salvadore@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RBZf50Hzrz3vLd; Thu, 27 Jul 2023 15:37:49 +0000 (UTC) (envelope-from salvadore@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690472269; 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; bh=IovPxAeKhIgzLHnGcVjxqZN8pgchgpLyzMkFWCa0pzU=; b=QRNtt0x56UIZ8jWayMMwt9OxVDi55xWHRwdLxrRsqSuo7VHlc4P0YUeEVrtZ+CUr2kUoTU 9C601eT1IA8mY6gxTlBOHpqQTRo1irbLT2V/Fe2oNl1RA/ClMr1tIZXd/qIWSeL3U1K201 Q4VCv01Ok9oodwlo3Pd0zH0x7sH5OBBoAPXfK8cJN2l1vNIZGroSuG/wa4Sd/SdveP3nrQ yQRI+ZCarG7TapuP6l4wPq8bH61ifAc0QVizTg5SZHR1wX0oKbicpNkLgGqSY74CvDMISG 5HEpGIH1xROrpLRAGE1qM9u+lrsWTRNY/0DTSGRmzfH2yPb7u7l+q4EXmG7D0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690472269; 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; bh=IovPxAeKhIgzLHnGcVjxqZN8pgchgpLyzMkFWCa0pzU=; b=L1LQBGgx8dRE62QqLYviRTdjgZn1cIxQX+ClJ8Vlm7cIAN/1K2qq5xrSkcimU8Mkb8/x11 TJqeps00L5KUHm9WgW6OInpkx0tALH2cgm1NBl0kkZvpog4lMp+O7XG1drs+VZH9SGJqsf KrlljWW5YeRpaCDD1wVn7KiLj1Y/ltHDjWvfaGeNU0l8PMGNhk3Eph/AVqF4TOkhTvP7vR nlI8gf9hQPNL/2R9h9sF6+r7dIEOkZJPgJpXN/4VEVHzW6ZoJRrXyPZ25w6+lZweEcpzq0 DHP8edB7KENBfG9/AHgCzBngxNWLwxemouvur9+zGjkQ6STRftXgYaO4kOdnkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690472269; a=rsa-sha256; cv=none; b=RQ22XbnM9cN+lYex+P9Afd4wnmjecI2481sUBv4E8vPLExA+loGshC29BExnINLyFmqbIg CvAYKZImdWaLK0X7XH6ZwS+H8brDtZYwXUogMZaRFClCctc4fFTJvz7ovy4PFs+d0w+yby ygodQSvwtwjJF/8cthVQa8wKF9aF6RtaREGVHBSQtzYpY/TQaGOPT3WOWIjUWkAlnUN/GQ 3Q67/hCSc151DXM1rZWCM5ZQN42KxPveGEwpSXRjpfzTcAhotyzw11yrnnHGyuJClDfuMx o1WugdZ2uHgBBBxAezSgnIQ3dkz5SeTpo+y2TsnmsCSwGJYhDezGkPG8OXktbg== Received: by freefall.freebsd.org (Postfix, from userid 1472) id DD86E6A33; Thu, 27 Jul 2023 15:37:48 +0000 (UTC) Date: Thu, 27 Jul 2023 15:37:48 +0000 From: Lorenzo Salvadore To: freebsd-hackers@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: FreeBSD Status Report - Second Quarter 2023 Message-ID: List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit FreeBSD Status Report Second Quarter 2023 Here is the second 2023 status report, with 37 entries. As you might notice, we have several more reports than last quarter. This is a great news and shows how much the FreeBSD community is active and always working on providing high quality software. In particular, please note that Summer has started and do not miss the amazing projects shared by our Google Summer of Code students. Have a nice read. Lorenzo Salvadore, on behalf of the Status Team. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ A rendered version of this report is available here: https://www.freebsd.org/status/report-2023-04-2023-06/ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Table of Contents • FreeBSD Team Reports □ FreeBSD Core Team □ FreeBSD Foundation □ FreeBSD Release Engineering Team □ Cluster Administration Team □ Continuous Integration □ Ports Collection • Projects □ Cirrus-CI □ BATMAN support in the FreeBSD kernel □ FreeBSD support on LinuxBoot • Userland □ OpenSSL 3 in base □ Linux compatibility layer update □ Service Jails — automatic jailing of rc.d services □ Security Sandboxing Using ktrace(1) □ NVMe over Fabrics • Kernel □ Boot Performance Improvements □ CI Test Harness For Bootloader □ Physical memory compaction for the FreeBSD kernel □ Increasing MAXCPU □ SquashFS port for FreeBSD kernel □ Pf Improvements □ Network Interface API (IfAPI) □ Making Netgraph Lock-Free • Architectures □ SIMD enhancements for amd64 □ Integrate mfsBSD into the release building tools • Cloud □ FreeBSD as a Tier 1 cloud-init Platform □ OpenStack on FreeBSD □ FreeBSD on Microsoft HyperV and Azure □ FreeBSD on EC2 • Documentation □ Documentation Engineering Team • Ports □ KDE on FreeBSD □ GCC on FreeBSD □ Puppet □ MITRE Caldera on FreeBSD □ Wazuh on FreeBSD • Third Party Projects □ PkgBase.live □ Containers and FreeBSD: Pot, Potluck and Potman ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FreeBSD Team Reports Entries from the various official and semi-official teams, as found in the Administration Page. FreeBSD Core Team Contact: FreeBSD Core Team The FreeBSD Core Team is the governing body of FreeBSD. DevSummit 202305 The Core Team has presented the status update at the FreeBSD Developer Summit, 17th–18th May. Slides are available at https://wiki.freebsd.org/DevSummit/ 202305. FreeBSD 14 The Core Team is working with other teams to ensure that FreeBSD 14.0-RELEASE will be of the highest quality. The Core Team has no objection to mark riscv64sf (64-bit RISC-V soft-float) as unsupported in 14. Meetings with The FreeBSD Foundation The Core Team and The FreeBSD Foundation continue to meet regularly to discuss the next steps to take for the management, development, and future of FreeBSD. The Core Team had two meetings with the Board of Directors of, and employees of, the Foundation. They discussed how the Foundation can help the Core Team and the Project in general. Matrix IM solution One of the major items in the Core Team updates in DevSummit 202305 was proposing a new project communication solution. There is currently a testing instance at matrix-dev.FreeBSD.org setup by clusteradm. All developers can access the instance with their kerberos credentials, and some public rooms can be joined through Matrix’s federation feature. Please note this instance is for testing and evaluating so no backup or availability is guaranteed. The Core Team is still discussing the scope and administration of this service, and collecting feedback from the community. Code of Conduct Committee Code of Conduct Committee (conduct@) is managed by the Core Team now. Commit bits Core approved the src commit bit for Christos Margiolis (christos@). ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FreeBSD Foundation Links: FreeBSD Foundation URL: https://www.freebsdfoundation.org Technology Roadmap URL: https://freebsdfoundation.org/blog/technology-roadmap/ Donate URL: https://www.freebsdfoundation.org/donate/ Foundation Partnership Program URL: https://freebsdfoundation.org/our-donors/ freebsd-foundation-partnership-program/ FreeBSD Journal URL: https://www.freebsdfoundation.org/journal/ Foundation News and Events URL: https://www.freebsdfoundation.org/ news-and-events/ Contact: Deb Goodkin The FreeBSD Foundation is a 501(c)(3) non-profit organization dedicated to supporting and promoting the FreeBSD Project and community worldwide. Donations from individuals and corporations are used to fund and manage software development projects, conferences, and developer summits. We also provide travel grants to FreeBSD contributors, purchase and support hardware to improve and maintain FreeBSD infrastructure, and provide resources to improve security, quality assurance, and release engineering efforts. We publish marketing material to promote, educate, and advocate for the FreeBSD Project, facilitate collaboration between commercial vendors and FreeBSD developers, and finally, represent the FreeBSD Project in executing contracts, license agreements, and other legal arrangements that require a recognized legal entity. Happy 30th birthday, FreeBSD! For more than 23 years, we have proudly backed this remarkable operating system and its vibrant community, and we eagerly anticipate supporting them for many more years. In this update, we will outline our contributions to FreeBSD across multiple domains. We will touch upon project development initiatives, some of which have detailed reports of their own. Additionally, we will showcase our advocacy for FreeBSD, our efforts to foster community engagement, and our expansion of partnership endeavors. Lastly, we will delve into our ongoing work to secure increased funding, enabling us to allocate additional resources to address any gaps within the Project. Fundraising During this quarter, we made significant progress in engaging with commercial FreeBSD users. To enhance our partnerships with existing and potential commercial users, we hired Greg Wallace as the Director of Partnerships and Research. His primary objective is to expand our collaborations with commercial users. Since assuming this position, Greg has hit the ground running, meeting with numerous companies in just one quarter. These interactions have provided valuable insights into how FreeBSD is being utilized, the challenges faced by users, and areas where the Project can improve. By understanding these aspects, we can make informed decisions on where to allocate our funding and recognize FreeBSD’s unique strengths. Additionally, the role involves conducting research to identify target markets, explore new opportunities for FreeBSD, and ensure our voice is heard in relevant discussions. For more details on Greg’s objectives and accomplishments, you can refer to his status update below. The Foundation extends its heartfelt gratitude to everyone who made financial contributions to support our work. Besides many individual contributions, we were pleased to receive larger donations from NetApp and Blackberry. In addition, we received FreeBSD Developer Summit sponsorships from Tarsnap, iXsystems, and LPI. These sponsorships greatly assist in offsetting our expenses and enable us to offer affordable registration fees to attendees. This year our budget is around $2,230,000, which includes increased spending toward FreeBSD advocacy and software development. More than half of our budget is allocated toward work directly related to improving FreeBSD and keeping it secure. By having a dedicated individual focused on partnerships, we can effectively emphasize the significance of investing in our efforts and underscore the long-term viability of the Project to companies. Your support plays a crucial role in our mission, and we deeply appreciate your commitment to the FreeBSD community. Please consider making a donation toward our 2023 fundraising campaign! https://www.freebsdfoundation.org/donate/ For more prominent commercial donors we have the FreeBSD Foundation Partnership Program, which was established in 2017. Partnership Program Hello FreeBSD community. My name is Greg Wallace. I joined the Foundation as Director of Partnerships and Research in early April. This blog introduced me and the role. For Partnerships, I am focused on building connections with companies that use FreeBSD. I have met with several companies to learn about how they use FreeBSD. Some of these meetings have generated discussions about potential partnership. I continue to find out about interesting companies using FreeBSD and I am reaching out to them. My objective is to get in touch with every company building with and using FreeBSD to listen to their stories. If this is you and we have not yet connected, please schedule a call on my calendar. Some other partnership-related activities this quarter: • I created these slides about how partnering with the Foundation helps advance FreeBSD. If you have ideas for how I can improve these slides, or would like me to present them to your organization, please send me an email , or schedule a call. And please feel free to share the presentation liberally, in whole or in part. • I worked with my Foundation colleagues to create a number of industry-specific use case slides for a presentation to an industry analyst. • I am also pursuing grant opportunities with bodies including: □ NSF Secure and Trustworthy Cyberspace (SaTC) □ Sovereign Tech Fund □ NGI. In terms of research, my broad aim is to make sure that all of the expertise in this community is reflected in the global conversations on computing performance, security, and energy efficiency. As a community, we have much to bring to this work. So far, I have been tracking and plugging into the following threads: • Open Forum Europe • CHIPS Research and Development. If you have research ideas or are interested in working together in this area, please send me an email, or schedule a call. OS Improvements During the second quarter of 2023, 339 src, 155 ports, and 20 doc tree commits identified The FreeBSD Foundation as a sponsor. Some of this and other Foundation-sponsored work is described in separate report entries: • Continuous Integration • FreeBSD as a Tier 1 cloud-init Platform • OpenSSL 3 in base • OpenStack on FreeBSD • Security Sandboxing Using ktrace(1) • SIMD enhancements for amd64 Here is a sampling of other Foundation-sponsored work: • Bug fixes for fsck_ffs(8) • Bug fixes for killpg(2) • Improvements to hwpmc • Improvements to vmm • Port fixes and workarounds for LLVM 16 and OpenSSL 3.0 • Port kinst to RISC-V and related DTrace work • Update of libfido2 to version 1.9.0 • Various LinuxKPI 802.11 improvements • Various RISC-V improvements • Vendor import and update of tcpdump from version 4.9.3 to version 4.99.4. The status of current and past Foundation-contracted work can be viewed on the Foundation Projects page. Members of the Foundation’s technology team presented at the Developer Summit held in Ottawa, Canada from May 17-18. This included hosting the GSoC, FreeBSD Foundation Technical Review, and Workflow working group sessions. Pierre Pronchery spoke about driver harmony between the BSDs and En-Wei Wu discussed wtap work completed under contract with the Foundation. Continuous Integration and Quality Assurance The Foundation provides a full-time staff member and funds projects to improve continuous integration, automated testing, and overall quality assurance efforts for the FreeBSD project. You can read more about CI work in a dedicated report entry. Advocacy Much of our effort is dedicated to the FreeBSD Project advocacy. This may involve highlighting interesting FreeBSD work, producing literature and video tutorials, attending events, or giving presentations. The goal of the literature we produce is to teach people FreeBSD basics and help make their path to adoption or contribution easier. Other than attending and presenting at events, we encourage and help community members run their own FreeBSD events, give presentations, or staff FreeBSD tables. The FreeBSD Foundation sponsors many conferences, events, and summits around the globe. These events can be BSD-related, open source, or technology events geared towards underrepresented groups. We support the FreeBSD-focused events to help provide a venue for sharing knowledge, working together on projects, and facilitating collaboration between developers and commercial users. This all helps provide a healthy ecosystem. We support the non-FreeBSD events to promote and raise awareness of FreeBSD, to increase the use of FreeBSD in different applications, and to recruit more contributors to the Project. We are grateful to be back to attending events mostly in person. In addition to attending and planning events, we are continually working on new training initiatives and updating our selection of how-to guides to facilitate getting more folks to try out FreeBSD. Check out some of the advocacy and education work we did: • Helped to organize and attended the May 2023 Developer Summit which took place May 17-18, 2023 in Ottawa, Ontario • Hosted a table and was the Tote Bag Sponsor of BSDCan, May 17-20, 2023 in Ottawa, Ontario □ Trip reports can be found on the blog • Celebrated the Project’s 30th Birthday at BSDCan with cake and printed copies of the special 30th Anniversary Edition of the FreeBSD Journal • Secured a FreeBSD Workshop and Talk at FOSSY, July 13-16, 2023, in Portland, Oregon • Secured our Silver Sponsorship for EuroBSDCon 2023 taking place September 14-17, 2023 in Coimbra, Portugal • Secured our booth for All Things Open, October 15-17, 2023 in Raleigh, North Carolina • Began planning the FreeBSD Fall Vendor Summit • Welcomed two New Team Members: Greg Wallace and Pierre Pronchery • Published April and June Newsletters • Celebrated the FreeBSD Day and the Project’s 30th Anniversary on June 19 and through the week with special videos and blog posts • Additional Blog Posts: □ EuroBSDcon 2023 Travel Grant Application Now Open - Note: Applications close August 2, 2023 □ AsiaBSDcon Trip Report • FreeBSD in the News: □ InfoWorld: Happy 30th FreeBSD!. We help educate the world about FreeBSD by publishing the professionally produced FreeBSD Journal. As we mentioned previously, the FreeBSD Journal is now a free publication. Find out more and access the latest issues at https:// www.freebsdfoundation.org/journal/. You can find out more about events we attended and upcoming events at https:// www.FreeBSDfoundation.org/news-and-events/. Legal/FreeBSD IP The Foundation owns the FreeBSD trademarks, and it is our responsibility to protect them. We also provide legal support for the core team to investigate questions that arise. Go to https://www.freebsdfoundation.org to find more about how we support FreeBSD and how we can help you! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FreeBSD Release Engineering Team Links: FreeBSD 13.2-RELEASE schedule URL: https://www.freebsd.org/releases/13.2R/ schedule/ FreeBSD 14.0-RELEASE schedule URL: https://www.freebsd.org/releases/14.0R/ schedule/ FreeBSD releases URL: https://download.freebsd.org/releases/ISO-IMAGES/ FreeBSD development snapshots URL: https://download.freebsd.org/snapshots/ ISO-IMAGES/ Contact: FreeBSD Release Engineering Team The FreeBSD Release Engineering Team is responsible for setting and publishing release schedules for official project releases of FreeBSD, announcing code freezes and maintaining the respective branches, among other things. During the second quarter of 2023, the Team continued work on 13.2-RELEASE. The 13.2 cycle had closely followed the set schedule, with the addition of three additional RC builds at the end, and the final RELEASE build and announcement in mid-April. In coordination with various teams within the Project management, the FreeBSD Release Engineering Team reconsidered the original schedule for the upcoming 14.0-RELEASE, primarily due to work that was in progress. The updated schedule was discussed and adjusted slightly to account for some concerns, and ultimately published on the FreeBSD Project website. The new schedule targets 14.0-RELEASE for October, 2023. The Team continued providing weekly development snapshot builds for the main, stable/13, and stable/12 branches. Note, there will no longer be snapshot builds against stable/12 moving forward. Sponsor: Tarsnap Sponsor: The FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Cluster Administration Team Links: Cluster Administration Team members URL: https://www.freebsd.org/administration /#t-clusteradm Contact: Cluster Administration Team FreeBSD Cluster Administration Team members are responsible for managing the machines the Project relies on to synchronise its distributed work and communications. In this quarter, the team has worked on the following: • Regular support for FreeBSD.org user accounts. • Regular disk and parts support (and replacement) for all physical hosts and mirrors. • Enable mirroring of https://www.FreeBSD.org and https://docs.FreeBSD.org in the FreeBSD project-managed mirrors. • Cluster refresh, upgrading all hosts and jails to the most recent versions of 14-CURRENT, 13-STABLE, and 12-STABLE. Work in progress • Large-scale network upgrade at our primary site. □ New Juniper switches arrived at our primary site to replace the former ones. We thank Juniper for the donation. • Replace old servers in our primary site and a few mirrors. □ Besides the broken CI servers, we have a few old servers with broken disks and faulty PSUs. This task is in conjunction with The FreeBSD Foundation and donors/sponsors. • Install new CI (Continuous Integration) machines repurposed from the package builders. • Review the backup configuration of the services running in the FreeBSD cluster. FreeBSD Official Mirrors Overview Current locations are Australia, Brazil, Germany, Japan (two full mirror sites), Malaysia, South Africa, Taiwan, United Kingdom (full mirror site), United States of America — California, New Jersey (primary site), and Washington. The hardware and network connection have been generously provided by: • Bytemark Hosting • Cloud and SDN Laboratory at BroadBand Tower, Inc • Department of Computer Science, National Yang Ming Chiao Tung University • Equinix • Internet Association of Australia • Internet Systems Consortium • INX-ZA • KDDI Web Communications Inc • Malaysian Research & Education Network • Metapeer • NIC.br • Your.Org • 365 Data Centers The Frankfurt single server mirror is the primary Europe mirror in bandwidth and usage. We are still looking for an additional full mirror site (five servers) in Europe to replace old servers in the United Kingdom full mirror site. We see a good pattern in having single mirrors in Internet Exchange Points worldwide (Australia, Brazil, and South Africa); if you know or work for some of them that could sponsor a single mirror server, please get in touch. United States (West Coast) and Europe (anywhere) are preferable places. See generic mirrored layout for full mirror site specs and tiny-mirror for a single mirror site. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Continuous Integration Links: FreeBSD Jenkins Instance URL: https://ci.FreeBSD.org FreeBSD CI artifact archive URL: https://artifact.ci.FreeBSD.org FreeBSD Jenkins wiki URL: https://wiki.FreeBSD.org/Jenkins Hosted CI wiki URL: https://wiki.FreeBSD.org/HostedCI 3rd Party Software CI URL: https://wiki.FreeBSD.org/3rdPartySoftwareCI Tickets related to freebsd-testing@ URL: https://bugs.freebsd.org/bugzilla/ buglist.cgi?bug_status=open&email1=testing%40FreeBSD.org&emailassigned_to1=1& emailcc1=1&emailtype1=equals FreeBSD CI Repository URL: https://github.com/freebsd/freebsd-ci dev-ci Mailing List URL: https://lists.FreeBSD.org/subscription/dev-ci Contact: Jenkins Admin Contact: Li-Wen Hsu Contact: freebsd-testing Mailing List Contact: IRC #freebsd-ci channel on EFNet In the second quarter of 2023, we worked with the project contributors and developers to address their testing requirements. Concurrently, we collaborated with external projects and companies to enhance their products by testing more on FreeBSD. Important completed tasks: • FreeBSD-stable-13-amd64-gcc12_build job has been added. • Build environment of main and stable/13 branches has been changed to 13.2-RELEASE, and stable/12 has been changed to 12.4-RELEASE. • *-build jobs using gcc12 are sending failure reports to dev-ci Mailing List . • Present Testing/CI Status Update in BSDCan 2023 Developer Summit Work in progress tasks: • Designing and implementing pre-commit CI building and testing (to support the workflow working group) • Designing and implementing use of CI cluster to build release artifacts as release engineering does • Simplifying CI/test environment setting up for contributors and developers • Setting up the CI stage environment and putting the experimental jobs on it • Organizing the scripts in freebsd-ci repository to prepare for merging to src repository • Improving the hardware test lab and adding more hardware for testing • Merge https://reviews.freebsd.org/D38815 • Merge https://reviews.freebsd.org/D36257 Open or queued tasks: • Collecting and sorting CI tasks and ideas • Setting up public network access for the VM guest running tests • Implementing use of bare-metal hardware to run test suites • Adding drm ports building tests against -CURRENT • Planning to run ztest tests • Helping more software get FreeBSD support in its CI pipeline (Wiki pages: 3rdPartySoftwareCI, HostedCI) • Working with hosted CI providers to have better FreeBSD support Please see freebsd-testing@ related tickets for more WIP information, and do not hesitate to join the effort! Sponsor: The FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Ports Collection Links: About FreeBSD Ports URL:https://www.FreeBSD.org/ports/ Contributing to Ports URL: https://docs.freebsd.org/en/articles/contributing/# ports-contributing FreeBSD Ports Monitoring URL: http://portsmon.freebsd.org/ Ports Management Team URL: https://www.freebsd.org/portmgr/ Ports Tarball URL: http://ftp.freebsd.org/pub/FreeBSD/ports/ports/ Contact: René Ladan Contact: FreeBSD Ports Management Team The Ports Management Team is responsible for overseeing the overall direction of the Ports Tree, building packages, and personnel matters. Below is what happened in the last quarter. Currently there are just over 34,400 ports in the Ports Tree. There are currently 3,019 open ports PRs of which 746 are unassigned. The last quarter saw 10,439 commits on the main branch by 151 committers and 745 commits on the 2023Q2 branch by 55 committers. Compared to the previous quarter, this means a slight increase in the number of ports, a tiny decrease in the number of open PRs, and a fair increase in the number of ports commits. During this quarter, we welcomed back Tom Judge (tj@) and said goodbye to Steve Wills (swills@). Steve was also on portmgr. As part of the portmgr lurker program, we welcomed Ronald Klop (ronald@), Renato Botelho (garga@), and Matthias Andree (mandree@). Portmgr has resumed work on introducing sub-packages into the Tree, but various things still needs to be fleshed out. On the software side, pkg was updated to 1.19.2, Firefox to 114.0.2, Chromium to 114.0.5735.198, and KDE Gear to 23.04.2. During the last quarter, antoine@ ran 23 exp-runs to test package updates, bump CPU_MAXSIZE to 1024, fix armv7 failures for devel/cmake-core and add --auto-features=enabled to USES=meson Lastly, the Ports Tree was updated to support LLVM 16 and OpenSSL 3 in FreeBSD-CURRENT. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Projects Projects that span multiple categories, from the kernel and userspace to the Ports Collection or external projects. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Cirrus-CI Links: FreeBSD Cirrus-CI Repositories URL: https://cirrus-ci.com/github/freebsd/ FreeBSD src CI URL: https://cirrus-ci.com/github/freebsd/freebsd-src FreeBSD doc CI URL: https://cirrus-ci.com/github/freebsd/freebsd-doc Contact: Brooks Davis Contact: Ed Maste < emaste@FreeBSD.org> Contact: Li-Wen Hsu Cirrus-CI is a hosted continuous integration service that supports open source projects with CI services on Linux, Windows, macOS, and FreeBSD. It complements our own Jenkins CI infrastructure by supporting other use cases, including testing GitHub pull requests and FreeBSD forks. We added Cirrus-CI configuration to the FreeBSD src tree in 2019 and to doc in 2020. A number of additional FreeBSD projects hosted on GitHub (such as drm-kmod, kyua, pkg, and poudriere) also make use of Cirrus-CI. Over the last quarter Cirrus-CI configs received ongoing maintenance updates (moving to the most recent FreeBSD release images). In the src tree we have added some additional checks. These ensure that generated files are updated when needed (make sysent and make makeman) and check for missing directories. We have added jobs that build using the Clang/LLVM 16 toolchain package, mirroring the Clang version now in the base system. The GCC job is now run on the GitHub mirror by default, for all commits. Sponsor: DARPA Sponsor: The FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BATMAN support in the FreeBSD kernel Links: Wiki page URL: https://wiki.freebsd.org/SummerOfCode2023Projects/ CallingTheBatmanFreeNetworksOnFreeBSD Source code (Pull Request) URL: https://github.com/obiwac/freebsd-gsoc/pull/1 Contact: Aymeric Wibo BATMAN (Better Approach to Mobile Ad-hoc Networking), as developed and used by the Freifunk project, is a routing protocol for (primarily wireless) multi-hop ad-hoc networks. Freifunk is a German initiative to build an open Wi-Fi network at city-scale, based on the principles of net-neutrality. BATMAN’s motive is to be a completely decentralized protocol; no one node in the network knows or has to care about the topology of the whole network. Support for this protocol is provided by the batman-adv kernel module on Linux, and this project aims to bring that to FreeBSD. This includes the kernel module itself, but also userland networking libraries and tools necessary to create BATMAN networks. Currently, creating interfaces and interacting with them works (with both Linux and FreeBSD userspaces), and packet transmission (kind of) works, although it is incomplete as of yet. Support for batadv interfaces has been added to ifconfig(8) too. Mentor: Mahdi Mokhtari Sponsor: The Google Summer of Code '23 program ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FreeBSD support on LinuxBoot Contact: Warner Losh Links: LinuxBoot Project URL: https://www.linuxboot.org/+ BSDCan 2023 kboot talk slides URL: https://docs.google.com/presentation/d/ 1N5Jp6XzYWv9Z9RhhETC-e6tFkqRHvp-ldRDW_9h2JCw/edit?usp=sharing LinuxBoot is an effort to create a clean, robust, auditable and repeatable boot firmware. What originally started as a specific project at Google has grown to encompass any boot environment that uses Linux to launch the final operating system. Many platforms now support this environment, and in some cases it is the only available boot environment. In addition, some embedded boxes have a LinuxBoot environment hard-coded that is quite hard to change, and being able to reboot into FreeBSD is desirable. The old Sony PlayStation 3 port used a boot loader called 'kboot' to boot the FreeBSD port from its Linux kernel (all predating the LinuxBoot project). That code has been greatly expanded, made generic with easily replaceable per-architecture plug ins. The normal FreeBSD /boot/loader is built as a Linux binary that reads in the FreeBSD kernel, modules and tunables. It places them into memory as if it were running in a pre-boot environment, then loads that image into the Linux kernel with kexec_load(2) and does a special reboot to that image. For UEFI-enabled systems, it passes the UEFI memory table and pointer to UEFI runtime services to the new kernel. It supports loading files from the host’s filesystem, from any loader(8) -supported filesystem on the host’s block devices (including pools that span multiple devices), from ram disk images and from files downloaded over the network. Any mix of these is available. So, for example, configuration overrides can be loaded from the host’s filesystem whilst the kernel loads from dedicated storage (say NVME) or a ram disk image. It supports a host console running over stdin/stdout. It supports explicit locations such as /dev/ nvme0ns1:/boot/loader/gerbil.conf for where to load filesystems from. It supports ZFS boot environments, including the boot-once feature. Additional details about kboot, what it supports and some general background can be found in Warner’s BSDcan talk (slides linked above). FreeBSD/aarch64 now can boot from Linux in a LinuxBoot environment, with support and functionality comparable to loader.efi(8). Memory layout passed in for GICv3 workarounds. Need patch for aarch64 kernel for the GICv3 workaround ( https://reviews.freebsd.org/D40902). FreeBSD/amd64 support is in progress and is maybe 80% done. The amd64 boot environment places more requirements on the boot loader to provide data for the kernel than aarch64, due to amd64 being an older port. All sources for data in the BIOS environment had to be provided by the boot loader since the kernel had no access to them from long mode. While UEFI and ACPI provide ways for the kernel to get this data, much of the data must still be provided by the boot loader. The kernel panics during initialization since all these prerequisites have not been discovered and implemented. PowerPC builds, but nothing more of its state is known. Attempts to acquire a suitable Playstation 3 proved to be too time consuming for the author. Help Needed 1. loader.kboot(8) needs to be written. It should document how to use loader.kboot, how to create images, and the use cases that work today. 2. Finish amd64 support. 3. The current elf arch-specific metadata code is copied from efi. Unifying the kboot and efi copies is needed. While they are mostly the same, sharing is complicated by remaining compile-time differences. In addition, the build infrastructure makes sharing awkward. 4. It would be nice to add riscv64 support. 5. PowerPC testing (it has been untested since the refactoring started). 6. Creating a script to repackage EDK-II image (say, from QEMU) as a linux-boot image with a Linux kernel built on FreeBSD for CI testing. 7. Testing it from the coreboot LinuxBoot. Sponsored by: Netflix, Inc ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Userland Changes affecting the base system and programs in it. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ OpenSSL 3 in base Links: OpenSSL Downloads URL: https://www.openssl.org/source/ OpenSSL 3.0 Has Been Released! URL: https://www.openssl.org/blog/blog/2021/09/ 07/OpenSSL3.Final/ openssl-fipsinstall URL: https://www.openssl.org/docs/man3.0/man1/ openssl-fipsinstall.html Contact: Pierre Pronchery Pierre has been tasked with importing OpenSSL 3 into the base system. OpenSSL is a library for general-purpose cryptography and secure communication. It provides an open source implementation of the SSL and TLS network protocols, which are widely used in applications such as e-mail, instant messaging, Voice over IP (VoIP), or more prominently the global Web (aka HTTPS). Assuming that the Apache and nginx web servers use OpenSSL, their combined market share for web traffic exceeds 50%, cementing the leadership and critical importance of OpenSSL as part of the infrastructure of the Internet. Since its initial release in August 2016, the 1.1 branch of OpenSSL has been adopted by most Linux and BSD systems, while remaining supported by the upstream maintainers through an LTS (long term support) policy. However, official support is planned to end in the middle of September this year, and it became urgent and necessary to consider adopting its successor for LTS, the 3.0 branch. OpenSSL has largely outgrown its ancestor SSLeay, now shipping over half a million single lines of code (SLOC) split in over two thousand files. Perhaps as a consequence, its build system is relatively complex and normally requires Perl, which was removed from base more than twenty years ago for FreeBSD 5.0-RELEASE. Thankfully however, it was possible to import and setup OpenSSL 3.0.9 the FreeBSD way, and it is now part of the base system as planned for FreeBSD 14.0-RELEASE. To describe OpenSSL 3 as a major release is an understatement. First, its problematic licensing model has finally been solved, with a complete switch to the Apache License 2.0. Then, OpenSSL 3 introduces the concept of provider modules. While obsolete cryptographical algorithms have been isolated to a legacy module, it is also possible to restrict the implementation to the standards part of FIPS with the fips module. The latter can then benefit from a dedicated certification process, and be validated officially (like the 3.0.8 release at the time of writing). Moreover, the updated library comes with a version bump, as applications using OpenSSL 1.1 need to be recompiled to use 3.0. Many API functions have been deprecated and replaced with newer, more generic alternatives, however it is still possible to explicitly request older APIs and have OpenSSL 3 expose them accordingly. This possibility has been leveraged in FreeBSD to help with the transition, where a number of libraries and applications have simply been configured to request the OpenSSL 1.1 API. These components will be updated progressively over time in order to consume OpenSSL 3’s native API instead. While there is a known performance impact associated with the update when consuming small input block sizes, it was found to be marginal when working with blocks of 1 KB and above. Another challenge lies with the FIPS provider module, which currently requires some manual steps in order to have it working. We are currently looking for a solution to ship FreeBSD with a functional FIPS provider by default. Sponsor: The FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Linux compatibility layer update Links: Linuxulator status Wiki page URL: https://wiki.freebsd.org/Linuxulator Linux app status Wiki page URL: https://wiki.freebsd.org/LinuxApps Contact: Dmitry Chagin The goal of this project is to improve FreeBSD’s ability to execute unmodified linux(4) binaries. As of cbbac5609115, preserving an fpu xsave state across signal delivery on amd64 is implemented. That makes it possible to run modern golang with preemptive scheduler on. The new facility to specify an alternate ABI root path was added to the namei (9). Previously, to dynamically reroot lookups, every linux(4) syscall where path names translation is needed required a bit of ugly code and used kern_alternate_path() which does not properly resolve symlinks with leading / in the target. For now a non-native ABI (i.e., linux(4)) uses one call to pwd_altroot() during exec-time into that ABI to specify its root directory (e.g., /compat/ubuntu) and forget about path names translation. That makes possible chroot into the Ubuntu compat without having to fix such symlinks by hand. In total, over 10 bugs were fixed; glibc-2.37 tests suite reports less than 70 failed tests. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Service Jails — automatic jailing of rc.d services Links: D40369: Extend /usr/bin/service with the possibility to set ENV vars URL: https://reviews.freebsd.org/D40369 D40370: Infrastructure for automatic jailing of rc.d-services URL: https:// reviews.freebsd.org/D40370 D40371: automatic service jails: some setup for full functionality of the services in automatic service jails URL: https://reviews.freebsd.org/D40371 Contact: Alexander Leidinger Service jails extend the rc(8) system to allow automatic jailing of rc.d services. A service jail inherits the filesystem of the parent host or jail, but uses all other limits of the jail (process visibility, restricted network access, filesystem mounting permissions, sysvipc, …​) by default. Additional configuration allows inheritance of the IPs of the parent, sysvipc, memory page locking, and use of the bhyve virtual machine monitor (vmm(4)). If you want to put e.g. local_unbound into a service jail and allow IPv4 and IPv6 access, simply change rc.conf(5) to have: local_unbound_svcj_options=net_basic local_unbound_svcj=YES While this does not have the same security benefits of a manual jail setup with a separate filesystem and IP/VNET, it is much easier to setup, while providing some of the security benefits of a jail like hiding other processes of the same user. The patches in the links are a rewrite of what I presented in 2019. The main difference is that an ENV variable is used to do more rational tracking and as such, requires a change to service(8). My intent is to commit D40369 before the branch of stable/14. I will not commit D40370 or D40371 before 14.0 is released and both will benefit from more eyes. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Security Sandboxing Using ktrace(1) Links: ktrace branch URL: https://github.com/jakesfreeland/freebsd-src/tree/ff/ktrace Contact: Jake Freeland Capsicumization With ktrace(1) This report introduces an extension to ktrace(1) that logs capability violations for programs that have not been Capsicumized. The first logical step in Capsicumization is determining where your program is raising capability violations. You could approach this issue by looking through the source and removing Capsicum-incompatible code, but this can be tedious and requires the developer to be familiar with everything that is not allowed in capability mode. An alternative to finding violations manually is to use ktrace(1). The ktrace (1) utility logs kernel activity for a specified process. Capsicum violations occur inside of the kernel, so ktrace(1) can record and return extra information about your program’s violations with the -t p option. Programs traditionally need to be put into capability mode before they will report violations. When a restricted system call is entered, it will fail and return with ECAPMODE: Not permitted in capability mode. If the developer is doing error checking, then it is likely that their program will terminate with that error. This behavior made violation tracing inconvenient because ktrace(1) would only report the first capability violation, and then the program would terminate. Luckily, a new extension to ktrace(1) can record violations when a program is NOT in capability mode. This means that any developer can run capability violation tracing on their program with no modification to see where it is raising violations. Since the program is never actually put into capability mode, it will still acquire resources and execute normally. Violation Tracing Examples The cap_violate program, shown below, attempts to raise every type of violation that ktrace(1) can capture: # ktrace -t p ./cap_violate # kdump 1603 ktrace CAP system call not allowed: execve 1603 foo CAP system call not allowed: open 1603 foo CAP system call not allowed: open 1603 foo CAP system call not allowed: open 1603 foo CAP system call not allowed: open 1603 foo CAP system call not allowed: readlink 1603 foo CAP system call not allowed: open 1603 foo CAP cpuset_setaffinity: restricted cpuset operation 1603 foo CAP openat: restricted VFS lookup: AT_FDCWD 1603 foo CAP openat: restricted VFS lookup: / 1603 foo CAP system call not allowed: bind 1603 foo CAP sendto: restricted address lookup: struct sockaddr { AF_INET, 0.0.0.0:5000 } 1603 foo CAP socket: protocol not allowed: IPPROTO_ICMP 1603 foo CAP kill: signal delivery not allowed: SIGCONT 1603 foo CAP system call not allowed: chdir 1603 foo CAP system call not allowed: fcntl, cmd: F_KINFO 1603 foo CAP operation requires CAP_WRITE, descriptor holds CAP_READ 1603 foo CAP attempt to increase capabilities from CAP_READ to CAP_READ,CAP_WRITE The first 7 system call not allowed entries did not explicitly originate from the cap_violate program code. Instead, they were raised by FreeBSD’s C runtime libraries. This becomes apparent when you trace namei translations alongside capability violations using the -t np option: # ktrace -t np ./cap_violate # kdump 1632 ktrace CAP system call not allowed: execve 1632 ktrace NAMI "./cap_violate" 1632 ktrace NAMI "/libexec/ld-elf.so.1" 1632 foo CAP system call not allowed: open 1632 foo NAMI "/etc/libmap.conf" 1632 foo CAP system call not allowed: open 1632 foo NAMI "/usr/local/etc/libmap.d" 1632 foo CAP system call not allowed: open 1632 foo NAMI "/var/run/ld-elf.so.hints" 1632 foo CAP system call not allowed: open 1632 foo NAMI "/lib/libc.so.7" 1632 foo CAP system call not allowed: readlink 1632 foo NAMI "/etc/malloc.conf" 1632 foo CAP system call not allowed: open 1632 foo NAMI "/dev/pvclock" 1632 foo CAP cpuset_setaffinity: restricted cpuset operation 1632 foo NAMI "ktrace.out" 1632 foo CAP openat: restricted VFS lookup: AT_FDCWD 1632 foo NAMI "/" 1632 foo CAP openat: restricted VFS lookup: / 1632 foo CAP system call not allowed: bind 1632 foo CAP sendto: restricted address lookup: struct sockaddr { AF_INET, 0.0.0.0:5000 } 1632 foo CAP socket: protocol not allowed: IPPROTO_ICMP 1632 foo CAP kill: signal delivery not allowed: SIGCONT 1632 foo CAP system call not allowed: chdir 1632 foo NAMI "." 1632 foo CAP system call not allowed: fcntl, cmd: F_KINFO 1632 foo CAP operation requires CAP_WRITE, descriptor holds CAP_READ 1632 foo CAP attempt to increase capabilities from CAP_READ to CAP_READ,CAP_WRITE In practice, capability mode is always entered following the initialization of the C runtime libraries, so a program would never trigger those first 7 violations. We are only seeing them because ktrace(1) starts recording violations before the program starts. This demonstration makes it clear that violation tracing is not always perfect. It is a helpful guide for detecting restricted system calls, but may not always parody your program’s actual behavior in capability mode. In capability mode, violations are equivalent to errors; they are an indication to stop execution. Violation tracing is ignoring this suggestion and continuing execution anyway, so invalid violations may be reported. The next example traces violations from the unzip(1) utility (pre-Capsicumization): # ktrace -t np unzip foo.zip Archive: foo.zip creating: bar/ extracting: bar/bar.txt creating: baz/ extracting: baz/baz.txt # kdump 1926 ktrace CAP system call not allowed: execve 1926 ktrace NAMI "/usr/bin/unzip" 1926 ktrace NAMI "/libexec/ld-elf.so.1" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/etc/libmap.conf" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/usr/local/etc/libmap.d" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/var/run/ld-elf.so.hints" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libarchive.so.7" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/usr/lib/libarchive.so.7" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libc.so.7" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libz.so.6" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libbz2.so.4" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/usr/lib/libbz2.so.4" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/liblzma.so.5" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/usr/lib/liblzma.so.5" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libbsdxml.so.4" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libprivatezstd.so.5" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/usr/lib/libprivatezstd.so.5" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libcrypto.so.111" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libmd.so.6" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libthr.so.3" 1926 unzip CAP system call not allowed: readlink 1926 unzip NAMI "/etc/malloc.conf" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/dev/pvclock" 1926 unzip NAMI "foo.zip" 1926 unzip CAP openat: restricted VFS lookup: AT_FDCWD 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/etc/localtime" 1926 unzip NAMI "bar" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip CAP system call not allowed: mkdir 1926 unzip NAMI "bar" 1926 unzip NAMI "bar" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "bar/bar.txt" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "bar/bar.txt" 1926 unzip CAP openat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "baz" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip CAP system call not allowed: mkdir 1926 unzip NAMI "baz" 1926 unzip NAMI "baz" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "baz/baz.txt" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "baz/baz.txt" 1926 unzip CAP openat: restricted VFS lookup: AT_FDCWD The violation tracing output for unzip(1) is more akin to what a developer would see when tracing their own program for the first time. Most programs link against libraries. In this case, unzip(1) is linking against libarchive(3), which is reflected here: 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/lib/libarchive.so.7" 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/usr/lib/libarchive.so.7" The violations for unzip(1) can be found below the C runtime violations: 1926 unzip NAMI "foo.zip" 1926 unzip CAP openat: restricted VFS lookup: AT_FDCWD 1926 unzip CAP system call not allowed: open 1926 unzip NAMI "/etc/localtime" 1926 unzip NAMI "bar" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip CAP system call not allowed: mkdir 1926 unzip NAMI "bar" 1926 unzip NAMI "bar" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "bar/bar.txt" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "bar/bar.txt" 1926 unzip CAP openat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "baz" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip CAP system call not allowed: mkdir 1926 unzip NAMI "baz" 1926 unzip NAMI "baz" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "baz/baz.txt" 1926 unzip CAP fstatat: restricted VFS lookup: AT_FDCWD 1926 unzip NAMI "baz/baz.txt" 1926 unzip CAP openat: restricted VFS lookup: AT_FDCWD In this instance, unzip(1) is recreating the file structure contained in the zip archive. Violations are being raised because the AT_FDCWD value cannot be used in capability mode. The bulk of these violations can be fixed by opening AT_FDCWD (the current directory) before entering capability mode and passing that descriptor into openat(2), fstatat(2), and mkdirat(2) as a relative reference. Violation tracing may not automatically Capsicumize programs, but it is another tool in the developer’s toolbox. It only takes a few seconds to run a program under ktrace(1) and the result is almost always a decent starting point for sandboxing your program using Capsicum. Sponsor: FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ NVMe over Fabrics Links: nvmf2 branch URL: https://github.com/bsdjhb/freebsd/tree/nvmf2 Contact: John Baldwin NVMe over Fabrics enables communication with a storage device using the NVMe protocol over a network fabric. This is similar to using iSCSI to export a storage device over a network using SCSI commands. NVMe over Fabrics currently defines network transports for Fibre Channel, RDMA, and TCP. The work in the nvmf2 branch includes a userland library (lib/libnvmf) which contains an abstraction for transports and an implementation of a TCP transport. It also includes changes to nvmecontrol(8) to add 'discover', 'connect', and 'disconnect' commands to manage connections to a remote controller. The branch also contains an in-kernel Fabrics implementation. nvmf_transport.ko contains a transport abstraction that sits in between the nvmf host (initiator in SCSI terms) and the individual transports. nvmf_tcp.ko contains an implementation of the TCP transport layer. nvmf.ko contains an NVMe over Fabrics host (initiator) which connects to a remote controller and exports remote namespaces as disk devices. Similar to the nvme(4) driver for NVMe over PCI-express, namespaces are exported via /dev/nvmeXnsY devices which only support simple operations, but are also exported as ndaX disk devices via CAM. Unlike nvme(4), nvmf(4) does not support the nvd(4) disk driver. nvmecontrol(8) can be used with remote namespaces and remote controllers, for example to fetch log pages, display identify info, etc. Note that nvmf(4) is currently a bit simple and some error cases are still a TODO. If an error occurs, the queues (and backing network connections) are dropped, but the devices stay around, with I/O requests paused. nvmecontrol reconnect can be used to connect a new set of network connections to resume operation. Unlike iSCSI which uses a persistent daemon (iscsid(8)) to reconnect after an error, reconnections must be made manually. The current code is very new and likely not robust. It is certainly not ready for production use. Experienced users who do not mind all their data vanishing in a puff of smoke after a kernel panic, and who have an interest in NVMe over Fabrics, can start testing it at their own risk. The next main task is to implement a Fabrics controller (target in SCSI language). Probably a simple one in userland first followed by a "real" one that offloads the data handling to the kernel but is somewhat integrated with ctld(8) so that individual disk devices can be exported via iSCSI or NVMe, or via both using a single config file and daemon to manage all of that. This may require a fair bit of refactoring in ctld to make it less iSCSI-specific. Working on the controller side will also validate some of the currently under-tested API design decisions in the transport-independent layer. I think it probably does not make sense to merge any of the NVMe over Fabrics changes into the tree until after this step. Sponsored by: Chelsio Communications ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Kernel Updates to kernel subsystems/features, driver support, filesystems, and more. Boot Performance Improvements Links: Wiki page URL: https://wiki.freebsd.org/BootTime BSDCan talk slides URL: https://www.bsdcan.org/events/bsdcan_2023/sessions/ session/116/slides/44/BSDCan23-Firecracker.pdf Contact: Colin Percival Colin is coordinating efforts to speed up the FreeBSD boot process. Recent efforts have moved from EC2 to the Firecracker virtual machine manager, which provides a very minimalist environment; stripping the boot process down to the bare minimum makes it easier to identify the remaining time and determine whether it can be optimized further. With some experimental patches to both FreeBSD and Firecracker, it is now possible to boot a FreeBSD kernel in under 20 ms. Some of the recent improvements were discussed in Colin’s Porting FreeBSD to Firecracker session at BSDCan. This work is supported by his FreeBSD/EC2 Patreon. Sponsor: https://www.patreon.com/cperciva ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ CI Test Harness For Bootloader Links: FreeBSD Wiki GSoC Page Github Project Link Contact: Sudhanshu Mohan Kashyap FreeBSD supports multiple architectures, file systems, and disk-partitioning schemes. I am trying to write a Lua script which would allow for testing boot loader of all the architecture combinations supported in the first and second-tier support, and provide a report on any broken combinations and expected functionality. If time permits, further exploration could be done to integrate the script into the existing build infrastructure (either Jenkins or Github Actions) to generate a comprehensive summary of the test results. Currently any changes made by developer might inhibit the ability of the operating system to boot in some specific environment. These scripts provide assurance that changes do not cause regressions for the tested environments. The scripts are designed to be efficient and much less expensive than a full make universe required today. These attributes allow developers to routinely use the script, and allow integration into the CI pipelines without undue cost. Currently script related work seems to be on track, but certainly ahead I will need to find all different kinds of QEMU recipes to test different environments. If anyone has any kind of working QEMU recipe for currently released versions of FreeBSD, feel free to send to me via mail at smk@FreeBSD.org . Sponsor: The Google Summer of Code '23 program ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Physical memory compaction for the FreeBSD kernel Links: GSoC project wiki page URL: https://wiki.freebsd.org/SummerOfCode2023Projects/ PhysicalMemoryAntiFragmentationMechanisms Differential revision 40575 URL: https://reviews.freebsd.org/D40575 Differential revision 40772 URL: https://reviews.freebsd.org/D40772 Contact: Bojan Novković Most modern CPU architectures offer performance boosts by supporting pages that are larger than the standard page size. Unfortunately, allocating such pages can fail due to a high degree of physical memory fragmentation. This work implements physical memory compaction as a means of actively reducing fragmentation in running systems. This work is part of an ongoing Google Summer of Code project, the goal of which is to add various physical memory anti-fragmentation measures to the virtual memory subsystem. Differential D40575 implements a well-known metric used for quantifying the degree of physical memory fragmentation. Differential D40772 implements physical memory compaction and adds a daemon that monitors the system and performs compaction when needed. Planned future work includes designing an appropriate benchmarking suite, running tests, and tweaking the code using feedback from reviews and test results. This is still a work in progress, so any testing, reviews, and feedback would be greatly appreciated. Sponsor: The Google Summer of Code '23 program ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Increasing MAXCPU Links: Review D36838: amd64: Bump MAXCPU to 1024 (from 256) URL: https:// reviews.freebsd.org/D36838 Contact: Ed Maste The default amd64 and arm64 FreeBSD kernel configurations currently support a maximum of 256 CPUs. A custom kernel can be built with support for larger core counts by setting the MAXCPU kernel option. However, commodity systems with more than 256 CPUs are becoming available and will be increasingly common during FreeBSD 14’s support lifecycle. We want to increase the default maximum CPU count to 1024 to support these systems "out of the box" on FreeBSD 14. A number of changes have been made to support a larger default MAXCPU, including fixing the userland maximum for cpuset_t at 1024. Changes have also been made to avoid static MAXCPU-sized arrays, replacing them with on-demand memory allocation. Additional work is required to continue reducing static allocations sized by MAXCPU and addressing scalability bottlenecks on very high core count systems, but the goal is to release FreeBSD 14 with a stable ABI and KBI with support for large CPU counts. Sponsor: The FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SquashFS port for FreeBSD kernel Links: Wiki page URL: https://wiki.freebsd.org/SummerOfCode2023Projects/ PortSquashFuseToTheFreeBSDKernel Source code URL: https://github.com/Mashijams/freebsd-src/tree/gsoc/squashfs Contact: Raghav Sharma SquashFS is a read-only file system that lets you compress whole file systems or single directories very efficiently. Support for it has been built into the Linux kernel since 2009 and is very common in embedded Linux distributions. The goal of this project is to add SquashFS support for the FreeBSD kernel, with the aim of being able to boot FreeBSD from an in-memory SquashFS file system. Currently, the driver is compatible with the 13.2 FreeBSD release. The driver is able to correctly parse the SquashFS disk file with working mount(8) support. Linux SquashFS supports many compression options like zstd, lzo2, zlib, etc…​ based on the user’s preference, and of course, our driver supports all those compressions as well. Planned future work includes adding directories, files, extended attributes, and symlinks read support. The project is still a work in progress under the mentorship from Chuck Tuffli and is expected to complete by the end of the Google Summer of Code program. Sponsor: The Google Summer of Code 2023 program ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Pf Improvements Links: D40911 URL: https://reviews.freebsd.org/D40911 D40861 URL: https://reviews.freebsd.org/D40861 D40862 URL: https://reviews.freebsd.org/D40862 D40863 URL: https://reviews.freebsd.org/D40863 D40864 URL: https://reviews.freebsd.org/D40864 D40865 URL: https://reviews.freebsd.org/D40865 D40866 URL: https://reviews.freebsd.org/D40866 D40867 URL: https://reviews.freebsd.org/D40867 D40868 URL: https://reviews.freebsd.org/D40868 D40869 URL: https://reviews.freebsd.org/D40869 D40870 URL: https://reviews.freebsd.org/D40870 Contact: Kajetan Staszkiewicz Contact: Naman Sood Contact: Kristof Provost pf(4) is one of the firewalls included in FreeBSD, and is probably the most popular. pf was created by the OpenBSD project and subsequently ported to FreeBSD. Backport OpenBSD Syntax Kajetan introduced the OpenBSD syntax of "scrub" operations in "match" and "pass" rules. Existing rules remain supported, but now OpenBSD style "scrub" configuration is also supported. pfsync Protocol Versioning The pfsync(4) protocol version can now be configured, allowing for protocol changes while still supporting state synchronisation between disparate kernel versions. The primary benefit is to allow protocol changes enabling new functionality. pfsync: Transport over IPv6 pfsync traffic can now be carried over IPv6 as well. Naman finished the work started by Luiz Amaral. SCTP There is work in progress to support SCTP in pf. That support includes filtering on port numbers, state tracking, pfsync failover and returning ABORT chunks for rejected connections. Sponsor: InnoGames GmbH Sponsor: Orange Business Services Sponsor: The FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Network Interface API (IfAPI) Links: Original project page URL: link:https://wiki.freebsd.org/projects/ifnet Contact: Justin Hibbits Started back in 2014, the IfAPI (formerly DrvAPI) goal is to hide the ifnet(9) structure from network drivers. Instead, all accesses to members will go through accessor functions. This allows the network stack to be changed without recompiling drivers, as well as potentially allowing a single driver to support multiple versions of FreeBSD. As of now this goal has been achieved in the base system, but several ports need to be updated to use the IfAPI. There is a tool to automate most of the conversion, in tools/ifnet/convert_ifapi.sh. Documentation is also forthcoming, but could use help on that. ifnet(9) needs a lot of cleanup, as even some information in it currently is out of date. Sponsor: Juniper Networks, Inc. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Making Netgraph Lock-Free Links: Wiki Page URL: https://wiki.freebsd.org/SummerOfCode2023Projects/ LocklessSynchronizationBetweenNodesInNetgraph Repo URL: https://github.com/zinh88/epoch-netgraph Contact: Zain Khan Netgraph helps us implement custom or complex networking functions by letting us arrange kernel objects called nodes in a graph connected using hooks. Nodes may perform a well-defined set of actions on incoming packets, and may send the output to another connected node. To 'send' a packet to a neighbour can also be seen as calling a function on that neighbouring node. Now in a pre-SMP world, a thread (or the thread) would always see nodes as idle (not busy), so that their functions can immediately be called. Concurrency introduced the possibility of a busy node. Moreover, a journey of a packet also needs to take heed of changes in the structure of the graph, for example: the addressed node’s path may not remain intact due to no-longer-existing hooks or nodes in between, which may lead to cases such as referring to an object that has been freed. To counter such disasters, the existing source code uses a topology read-write mutex which protects data flow from restructuring events (and restructuring events from other restructuring events). We want to regain the same smooth flow for data which existed when concurrent cpus were not a thing. That is, data should simply never wait every time there is a restructuring event. At the same time we also obviously do not want to give the kernel reasons to panic. FreeBSD has its own set of concurrency-safe data structures and mechanisms. One of these mechanisms is Epoch. Epoch-based reclamation involves waiting for existing read-side critical sections to finish before the data structures need to be modified or reclaimed. Because the base system is being modified, this is also going to affect the design choices made before, such as queuing on messages, reference counting. This project involves a lot of testing. For now, some topology protection locks have been removed, and only simple graphs have been tested (with FreeBSD running on a VM). The real tests should be run on hardware with at least 4 CPU cores, I will do that when I get my hands on one. Sponsor: The Google Summer of Code '23 program ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Architectures Updating platform-specific features and bringing in support for new hardware platforms. SIMD enhancements for amd64 Links: SIMD dispatch framework draft URL: https://reviews.freebsd.org/D40693 Project proposal URL: link:http://fuz.su/~fuz/freebsd/ 2023-04-05_libc-proposal.txt Contact: Robert Clausecker SIMD instruction set extensions such as SSE, AVX, and NEON are ubiquitous on modern computers and offer performance advantages for many applications. The goal of this project is to provide SIMD-enhanced versions of common libc functions (mostly those described in string(3)), speeding up most C programs. For each function optimised, up to four implementations will be provided: • a scalar implementation optimised for amd64, but without any SIMD usage, • a baseline implementation using SSE and SSE2 or alternatively an x86-64-v2 implementation using all SSE extensions up to SSE4.2, • an x86-64-v3 implementation using AVX and AVX2, and • an x86-64-v4 implementation using AVX-512F/BW/CD/DQ. Users will be able to select which level of SIMD enhancements to use by setting the AMD64_ARCHLEVEL environment variable. While the current project only concerns amd64, the work may be expanded to other architectures like arm64 in the future. Sponsor: The FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Integrate mfsBSD into the release building tools Links: Wiki Article URL: https://wiki.freebsd.org/SummerOfCode2023Projects/ IntegrateMfsBSDIntoTheReleaseBuildingTools Project repository (integrate-mfsBSD-building branch) URL: https://github.com/ soobinrho/freebsd-src/tree/integrate-mfsBSD-building Contact: Soobin Rho What is mfsBSD? "mfsBSD is a toolset to create small-sized but full-featured mfsroot based distributions of FreeBSD that store all files in memory (MFS) [Memory File System] and load from hard drive, usb storage device or optical media. It can be used for a variety of purposes, including diskless systems, recovery partitions and remotely overwriting other operating systems." Martin Matuska is both the author of the mfsBSD white paper and the maintainer of the mfsBSD repository. Purpose This project creates an additional target of the weekly snapshots of -current and -stable versions of mfsBSD images in the src/release makefile. Currently, only the release versions of mfsBSD images are produced, which means they tend to get out of sync with the tools in base. This project aims to address that problem. Location This is a GSoC 2023 (Google Summer of Code) project. As such, the official coding period is between May 29, 2023 and August 28, 2023. As a humble beginner in the open-source community, the author welcomes all comments / suggestions / pull requests in the project repository, which will be the location for all code throughout this period. Mentors: Juraj Lutter and Joseph Mingone Sponsor: The Google Summer of Code '23 program ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Cloud Updating cloud-specific features and bringing in support for new cloud platforms. FreeBSD as a Tier 1 cloud-init Platform Links: cloud-init Website URL: https://cloud-init.io/ cloud-init Documentation URL: https://cloudinit.readthedocs.io/en/latest/ cloud-init ongoing refactorization URL: https://github.com/canonical/cloud-init /blob/main/WIP-ONGOING-REFACTORIZATION.rst Contact: Mina Galić cloud-init is the standard way of provisioning servers in the cloud. Unfortunately, cloud-init support for operating systems other than Linux has been rather poor, and the lack of cloud-init support on FreeBSD is a hindrance to cloud providers who want to offer FreeBSD as a Tier 1 platform. To remedy the situation, this project aims to bring FreeBSD cloud-init support on par with Linux support. The broader plan is to lift support across all BSDs. This quarter has been going quite slowly, but I have managed to deliver a new milestone: • Ephemeral Networking classes have been rewritten and made platform independent. These are used by several cloud providers to initialize a temporary network before retrieving the actual configuration. • cloud-init has been successfully tested on Vultr. I hope that with the next release I can convince Vultr to switch their FreeBSD images to cloud-init. In addition to that, I have expanded rsyslog support for BSD. I’ve also added an rc script for cloud-init’s ds-identify, which should make zero-configuration setups orders of magnitude faster: ds-identify runs first and very quickly guesses the cloud provider the machine is running on. cloud-init then uses only that guess, instead of iterating and failing through a full list of all possible cloud providers. People building custom images can easily disable this (by removing /usr/local/etc/rc.d/dsidentify), and providing a specific listing themselves, shave off a few more milliseconds from their boot. The next steps will be to keep hacking away at the network refactoring tasks, and to add LXD support for FreeBSD, so it can be included in CI tests. The latter will include work on LXD, as well as work on the FreeBSD virtio subsystem. As always, I highly welcome early testers to checkout net/cloud-init-devel, and report bugs. Since the last report, cloud-init’s bug tracker has moved from Launchpad to GitHub, so this might reduce some friction. Sponsor: The FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ OpenStack on FreeBSD Links: OpenStack URL: https://www.openstack.org/ OpenStack on FreeBSD URL: https://github.com/openstack-on-freebsd Contact: Chih-Hsin Chang Contact: Li-Wen Hsu This project aims to port key OpenStack components such as keystone, nova, and neutron, so that FreeBSD can function as an OpenStack host. We started porting nova-novncproxy and nova-serialproxy to increase the ways to access the instance console. To lower the threshold for people who want to give it a try on the project, we also migrated our development environment from a physical machine to a virtual one. There is still a problem running bhyve VMs on top of Linux KVM. A detailed writeup for the issue can be found here. Other achievements include: • Sorting out network connectivity issues inside the instances • Able to spawn multiple instances • Porting from Python 3.8 to 3.9. In the next quarter, we will continue working on the console proxy services to make the overall workflow more fluent. The step-by-step documents for constructing a POC site can also be found in the docs repository. The patched version of each OpenStack component is under the same GitHub organization. People interested in helping with the project can first help check the documentation by following the installation guide. Feedback and help are always welcome. Sponsor: The FreeBSD Foundation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FreeBSD on Microsoft HyperV and Azure Links: Microsoft Azure article on FreeBSD wiki URL: https://wiki.freebsd.org/ MicrosoftAzure Microsoft HyperV article on FreeBSD wiki URL: https://wiki.freebsd.org/HyperV Contact: Microsoft FreeBSD Integration Services Team Contact: freebsd-cloud Mailing List Contact: The FreeBSD Azure Release Engineering Team Contact: Wei Hu Contact: Souradeep Chakrabarti Contact: Li-Wen Hsu In this quarter, we have worked mainly on ARM64 architecture support and building and publishing images to Azure community gallery. There are some testing images available in the project’s testing public gallery, named FreeBSDCGTest-d8a43fa5-745a-4910-9f71-0c9da2ac22bf: * FreeBSD-CURRENT-testing * FreeBSD-CURRENT-gen2-testing * FreeBSD-CURRENT-arm64-testing To use them, when creating a virtual machine: . In Select an Image step, choose Community Images (PREVIEW) in Other items . Search FreeBSD Work in progress tasks: • Automating the image building and publishing process and merge to src/ release/. • Building and publishing ZFS-based images to Azure Marketplace □ All the required codes are merged to main branch, and can create ZFS-based images by specifying VMFS=zfs. □ Need to make the build process more automatic and collaborating with release engineering to start generating snapshots. • Building and publishing Hyper-V gen2 VM images to Azure Marketplace • Building and publishing snapshot builds to Azure community gallery The above tasks are sponsored by The FreeBSD Foundation, with resources provided by Microsoft. Wei Hu and Souradeep Chakrabarti in Microsoft are working on several tasks sponsored by Microsoft: • Porting Hyper-V guest support to aarch64 □ https://bugs.freebsd.org/267654 □ https://bugs.freebsd.org/272461 Open tasks: • Update FreeBSD related doc at Microsoft Learn • Support FreeBSD in Azure Pipelines • Update Azure agent port to the latest version • Upstream local modifications of Azure agent Sponsor: Microsoft for people in Microsoft, and for resources for the rest Sponsor: The FreeBSD Foundation for everything else ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FreeBSD on EC2 Links: FreeBSD/EC2 Patreon URL: https://www.patreon.com/cperciva Contact: Colin Percival FreeBSD is available on both x86 (Intel and AMD) and ARM64 (Graviton) EC2 instances. Work continues to ensure that upcoming instance types will be supported, including the recently announced M7a "EPYC" instances, which should be supported in FreeBSD 14.0-RELEASE. Weekly FreeBSD snapshots were recently changed from "UEFI" boot mode to "UEFI Preferred" boot mode, allowing them to gain the boot performance improvement offered by UEFI while still supporting "bare metal" and "previous generation" instance types which are not compatible with UEFI. This change will be present in FreeBSD 14.0-RELEASE. The EC2 boot scripts were recently updated to support IMDSv2. This change will be present in FreeBSD 14.0-RELEASE. If users of FreeBSD 13.2 require any of these updates, the author can provide FreeBSD "13.2-RELEASE plus updates" AMIs. This work is supported by Colin’s FreeBSD/EC2 Patreon. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Documentation Noteworthy changes in the documentation tree, manual pages, or new external books/documents. Documentation Engineering Team Link: FreeBSD Documentation Project URL: https://www.freebsd.org/docproj Link: FreeBSD Documentation Project Primer for New Contributors URL: https:// docs.freebsd.org/en/books/fdp-primer/ Link: Documentation Engineering Team URL: https://www.freebsd.org/ administration/#t-doceng Contact: FreeBSD Doceng Team The doceng@ team is a body to handle some of the meta-project issues associated with the FreeBSD Documentation Project; for more information, see the FreeBSD Doceng Team Charter. During this quarter: • fernape@ has been appointed as a new Doceng team member. • The www/gohugo port maintainership has been transferred to doceng@ since it is a critical part of our documentation infrastructure. This was agreed with the former maintainer. • Improvements to the translation workflow (described in the following sections). Porter’s Handbook USES=nextcloud has been documented. FDP Primer A new chapter focusing on Weblate has been added to the FreeBSD Documentation Project Primer for New Contributors. This comprehensive chapter provides step-by-step guidance on joining the FreeBSD translators team, both for translating online on Weblate and offline. It offers valuable insights and practical suggestions for efficient translation, proofreading, and testing processes. Furthermore, this chapter equips contributors with the necessary knowledge to formally submit their translations to the documentation repository, ensuring a seamless integration of their work. FreeBSD Translations on Weblate Link: Translate FreeBSD on Weblate URL: https://wiki.freebsd.org/Doc/ Translation/Weblate Link: FreeBSD Weblate Instance URL: https://translate-dev.freebsd.org/ Q2 2023 Status • 15 languages • 183 registered users • New Weblate server The FreeBSD Weblate instance now operates on a dedicated server, significantly improving its speed and enhancing the efficiency of translation work. Our heartfelt appreciation goes to ebrandi@ for providing this hardware upgrade. Languages • Chinese (Simplified) (zh-cn) (progress: 7%) • Chinese (Traditional) (zh-tw) (progress: 3%) • Dutch (nl) (progress: 1%) • French (fr) (progress: 1%) • German (de) (progress: 1%) • Indonesian (id) (progress: 1%) • Italian (it) (progress: 5%) • Korean (ko) (progress: 32%) • Norwegian (nb-no) (progress: 1%) • Persian (fa-ir) (progress: 3%) • Polish (progress: 1%) • Portuguese (pt-br) (progress: 22%) • Sinhala (si) (progress: 1%) • Spanish (es) (progress: 33%) • Turkish (tr) (progress: 2%) We want to thank everyone that contributed, translating or reviewing documents. And please, help promote this effort on your local user group, we always need more volunteers. FreeBSD Handbook working group Contact: Sergio Carlavilla The Network chapter is being reworked. FreeBSD Website Revamp - WebApps working group Contact: Sergio Carlavilla Working group in charge of creating the new FreeBSD Documentation Portal and redesigning the FreeBSD main website and its components. FreeBSD developers can follow and join the working group on the FreeBSD Slack channel #wg-www21. The work is divided into four phases: 1. Redesign of the Documentation Portal Create a new design, responsive and with global search. (Complete) 2. Redesign of the Manual Pages on web Scripts to generate the HTML pages using mandoc. (Complete) Public instance on https://man-dev.FreeBSD.org 3. Redesign of the Ports page on web Ports scripts to create an applications portal. (Work in progress) 4. Redesign of the FreeBSD main website New design, responsive and dark theme. (Work in progress) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Ports Changes affecting the Ports Collection, whether sweeping changes that touch most of the tree, or individual ports themselves. KDE on FreeBSD Links: KDE/FreeBSD initiative URL: https://freebsd.kde.org/ FreeBSD — KDE Community Wiki URL: https://community.kde.org/FreeBSD Contact: Adriaan de Groot The KDE on FreeBSD project packages CMake, Qt, and software from the KDE Community, for the FreeBSD ports tree. The software includes a full desktop environment called KDE Plasma (for both X11 and Wayland) and hundreds of applications that can be used on any FreeBSD machine. The KDE team (kde@) is part of desktop@ and x11@, building the software stack to make FreeBSD beautiful and usable as a daily-driver graphical desktop workstation. The notes below describe mostly ports for KDE, but also include items that are important for the entire desktop stack. Infrastructure Qt5 ports had various updates: • devel/qt5-webengine was repaired when building with Clang 16. This is in preparation for the upcoming release of FreeBSD 14. • devel/qt5-qmake was repaired to deal with an edge case where installing qmake on an otherwise Qt-less system would cause weird errors. Qt6 ports had various updates: • devel/qt6-tools was repaired when building with Clang 16. This is preparation for the upcoming release of FreeBSD 14. The accessibility/at-spi2-core port — essential for accessible technologies on the desktop — was updated to release 2.48.0. The accessibility/at-spi2-core port now has better support for non-X11 desktops. This is an improvement for Wayland-based systems. Thanks to Jan Beich for landing that. The graphics/poppler port — a base for many PDF viewers — was updated to 23.05. The ports-mgmt/packagekit-qt port is a new addition to the tree to pave the way for graphical package managers on FreeBSD. KDE Stack KDE Gear releases happen every quarter, KDE Plasma updates once a month, and KDE Frameworks have a new release every month as well. These (large) updates land shortly after their upstream release and are not listed separately. • KDE Frameworks updated to 5.105, .106 and .107. • KDE Gear updated to 23.04.0, then .1 and .2 with bugfixes. • KDE Plasma Desktop was updated to version 5.27.4, then .5 and .6 with bugfixes. Related Ports Deprecations: • graphics/ikona, an icon-viewer written in Rust with Qt bindings, has been abandoned upstream. • polish/kadu, a chat application once popular in Poland, is deprecated and upstream has disappeared. • sysutils/plasma5-ksysguard, a system monitoring application, is deprecated upstream and will no longer update. Updates: • astro/kstars, an interactive planetarium, was updated to release 3.6.4. • devel/qcoro, a C++ coroutines implementation, was updated to 0.9.0. • devel/qtcreator, an integrated development environment for Qt, C++, and more, was updated to release 10.0.2. • games/gcompris-qt, an education suite for children aged 3-12, was updated to release 3.2. • graphics/kphotoalbum, a photo album and display utility, was updated to release 5.10.0. • net-im/tokodon, a Mastodon social network client, joins KDE Gear. • textproc/kdiff3, a text-differencing utility, was updated to release 1.10.1. New Software: • devel/kommit, a Git client, was added. It is a rename of previous package gitklient. • multimedia/kasts is a new podcast-listening and enjoyment application from the KDE community. • textproc/arianna is a mobile-oriented e-book reader from the KDE community that makes reading FreeBSD documentation a joy. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ GCC on FreeBSD Links: GCC Project URL: https://gcc.gnu.org/ GCC 10 release series URL: https://gcc.gnu.org/gcc-10/ GCC 11 release series URL: https://gcc.gnu.org/gcc-11/ GCC 12 release series URL: https://gcc.gnu.org/gcc-12/ GCC 13 release series URL: https://gcc.gnu.org/gcc-13/ Contact: Lorenzo Salvadore Upstream has released GCC 13. As announced in the past status report, I plan to attempt an update of GCC_DEFAULT right from the first GCC 13 release, thus much of this quarter’s work has been in preparation of this. With the release of GCC 13.1 (first GCC 13 release: I remind that GCC counts minor version releases starting from 1), two new ports have been created in the ports tree: • lang/gcc13, tracking GCC 13 releases; • lang/gcc14-devel, tracking snapshots from the new GCC 14 upstream branch. The *-devel ports Support for .init_array and .fini_array has been enabled. FreeBSD supports both since commit 83aa9cc00c2d. The default bootstrap option on i386, amd64, and aarch64 has been reverted from LTO_BOOTSTRAP to STANDARD_BOOTSTRAP: • LTO bootstrap produces too many failures on the package builders for those architectures • LTO_BOOTSTRAP remains available for users who want it. Those changes will be forwarded to the production ports. The production ports Upstream has released GCC 13, for which the new port lang/gcc13 has been created. GCC 11 and GCC 12 have been updated upstream and a new release of GCC 10 is planned. All corresponding ports now need to be updated. To ease the work of both ports maintainers and users, I plan to test and update together all the following changes: • updates of lang/gcc10, lang/gcc11, lang/gcc12; • update of GCC_DEFAULT to 13; • enabling of .init_array and .fini_array on the production ports; • switching back from LTO_BOOTSTRAP to STANDARD_BOOTSTRAP on the production ports. This will provide the following advantages: • more testing with less exp-runs; • fewer builds for ports users. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Puppet Links: Puppet URL: https://puppet.com/docs/puppet/latest/puppet_index.html Contact: Puppet Team Puppet is a Free Software configuration management tool, composed of a source of trust (Puppet Server) that describes the expected configuration of machines with a domain-specific language, and an agent (Puppet Agent) on each node which enforces that the actual configuration matches the expected one. An optional database (PuppetDB) can be setup for reporting and describing advanced schemas where the configuration of a machine depends on the configuration of another one. The Puppet team is maintaining ports for Puppet and related tools. Puppet 8 has been recently released and has been added to the ports tree. Puppet 6 has reached End of Life and has been deprecated. It is now expired. Users of Puppet 6 are therefore advised to update to Puppet 7 or Puppet 8. For now, Puppet 7 remains the default Puppet version for ports depending on Puppet. The Puppet Community is hard at work making sure the various Puppet modules work with the latest code and at the time of writing this report, updating to Puppet 8 may be challenging. The situation is getting better every day, and we expect to switch to Puppet 8 as the default version of Puppet in a few months, when the wave of module updates is finished. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ MITRE Caldera on FreeBSD Links: MITRE Caldera URL: https://caldera.mitre.org/ Red Canary URL: https://www.redcanary.com/ Contact: José Alonso Cárdenas Márquez MITRE Caldera is a cybersecurity platform designed to easily automate adversary emulation, assist manual red teams, and automate incident response. It is built on the MITRE ATT&CK® framework and is an active research project at MITRE. MITRE Caldera (security/caldera) was added to the ports tree in April 2023. This port includes support for the Atomic Red Team Project used by the MITRE Caldera atomic plugin. The main goal of this work is enhancing visibility of FreeBSD as a useful platform for information security or cybersecurity. Additionally, you can test a MITRE Caldera infrastructure easily using https:// github.com/alonsobsd/caldera-makejail or https://github.com/AppJail-makejails/ caldera from AppJail. AppJail is a good tool for managing jail containers from the command line. People interested in helping with the project are welcome. Current version: 4.2.0 To Do • Add Caldera testing infrastructure makejail. • Add FreeBSD to platforms officially supported by MITRE Caldera, see https:/ /github.com/mitre/caldera/pull/2752. • Add FreeBSD to platforms officially supported by Red Canary, see https:// github.com/redcanaryco/atomic-red-team/pull/2450. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Wazuh on FreeBSD Links: Wazuh URL: https://www.wazuh.com/ Contact: José Alonso Cárdenas Márquez Wazuh is a free and open source platform used for threat prevention, detection, and response. It is capable of protecting workloads across on-premises, virtualized, containerized, and cloud-based environments. The Wazuh solution consists of an endpoint security agent, deployed to the monitored systems, and a management server, which collects and analyzes data gathered by the agents. Wazuh features include full integration with Elastic Stack and OpenSearch, providing a search engine and data visualization tool through which users can navigate security alerts. Wazuh porting to FreeBSD was started by Michael Muenz. His first Wazuh addition to the ports tree was security/wazuh-agent in September 2021. In July 2022, I took maintainership of this port and started porting other Wazuh components. Currently, all Wazuh components are ported or adapted: security/wazuh-manager, security/wazuh-agent, security/wazuh-server, security/wazuh-indexer, and security/wazuh-dashboard. On FreeBSD, security/wazuh-manager and security/wazuh-agent are compiled from Wazuh source code. security/wazuh-indexer is an adapted textproc/opensearch used for storing agents data. security/wazuh-server includes FreeBSD-oriented adaptions to configuration files. Runtime dependencies comprise security/ wazuh-manager, sysutils/beats8 (filebeat), and sysutils/logstash8. security/ wazuh-dashboard uses an adapted textproc/opensearch-dashboards and the wazuh-kibana-app plugin generated from wazuh-kibana-app source code for FreeBSD. The main goal of this work is enhancing visibility of FreeBSD as a useful platform for information security or cybersecurity. Additionally, you can easily test a Wazuh single-node infrastructure (All-in-one) using https://github.com/alonsobsd/wazuh-makejail or https:// github.com/AppJail-makejails/wazuh from AppJail. AppJail is a good tool for managing jail containers from the command line. People interested in helping with the project are welcome. Current version: 4.4.4 TODO • Add Wazuh cluster-mode infrastructure makejail (Work in progress) • Add FreeBSD to platforms officially supported by Wazuh Inc; see https:// github.com/wazuh/wazuh-kibana-app/pull/5413 • Add FreeBSD SCA Policy (Work in progress) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Third Party Projects Many projects build upon FreeBSD or incorporate components of FreeBSD into their project. As these projects may be of interest to the broader FreeBSD community, we sometimes include brief updates submitted by these projects in our quarterly report. The FreeBSD project makes no representation as to the accuracy or veracity of any claims in these submissions. PkgBase.live Links: Website URL: https://alpha.pkgbase.live/ Source URL: https://codeberg.org/pkgbase Contact: Mina Galić PkgBase.live, an unofficial repository for the FreeBSD PkgBase project, is back alive. As a service, PkgBase.live was inspired by https://up.bsd.lv/, which provided freebsd-update(8) for STABLE and CURRENT branches. up.bsd.live itself has gone on hiatus, so it was all the more reason to bring back PkgBase.live. Right now, we provide builds for: • FreeBSD 13.2-RELEASE • FreeBSD 13-STABLE • FreeBSD 14-CURRENT each for the following platforms: • amd64 • aarch64 • armv7 • i386 You may notice that RISCv64 is gone for now. The hardware is a powerful VPS in Vultr. The server and the jails running build jobs and serving packages are "self-hosting", meaning they were installed and are kept up-to-date with PkgBase. Because we have not figured out yet how to configure Vultr’s IPv6 in FreeBSD jails, PkgBase.live is not available over IPv6 for now. If you have experience with that, please contact us! Along with users and testers, we still highly encourage copy-cats. Hardware for PkgBase is kindly sponsored by a member of the FreeBSD community. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Containers and FreeBSD: Pot, Potluck and Potman Links: Pot organization on GitHub URL: https://github.com/bsdpot Contact: Luca Pizzamiglio (Pot) Contact: Bretton Vine (Potluck) Contact: Michael Gmelin (Potman) Pot is a jail management tool that also supports orchestration through Nomad. During this quarter, Pot 0.15.5 was released, containing a number of bugfixes and features to set attributes (i.e. jail sysctl variables) from various contributors. It will be available in the 2023Q3 quarterly package set. Potluck aims to be to FreeBSD and Pot what Dockerhub is to Linux and Docker: a repository of Pot flavours and complete container images for usage with Pot and in many cases Nomad. All Potluck containers have been rebuilt as FreeBSD 13.2 based images and are signed with Pot signify now. A Beginner’s Guide to Building a Virtual Datacenter on FreeBSD with Ansible, Pot and More has been written, explaining how a complex environment based on Pot and Potluck can be deployed with Ansible playbooks, including example nodes like MariaDB, Prometheus, Grafana, nginx, OpenLDAP or Traefik and container orchestration managed by Nomad and Consul. A patch by the pot team to improve Nomad security, a scheduler and orchestrator which supports Pot through sysutils/nomad-pot-driver, has been accepted upstream and will be part of Nomad 1.6.0. As always, feedback and patches are welcome. Sponsor: Honeyguide Group From nobody Fri Jul 28 14:16:49 2023 X-Original-To: freebsd-hackers@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 4RC8qh53jfz4pdmL; Fri, 28 Jul 2023 14:18:08 +0000 (UTC) (envelope-from ronald@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RC8qh26stz3jf6; Fri, 28 Jul 2023 14:18:08 +0000 (UTC) (envelope-from ronald@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690553888; 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=vagg/7oRqhUZEOYPPE9nd+SjGRdxiMiXrS5m0Te/BOU=; b=EAGpqCdN5/SQ7PTScdriewwykG5DM/WbRkNOn2MEGU7bM0Kd15a8AqHfE+O/TglspVO6TD Fq7DQexEyeFdXTN7zCYeiH4sIx3lJYNqw6RozaVqZaDkkymcZGm6CE0Fn0xo2Pu2bNpZrT ysHAW1pDoWXZhT4Yq0AU4w2GNv2BKtSqlytj4evAI3e1SwyR4jEOyTWMp/LyR2YV3j1364 GuLyeEHaEYB/jIJTlQhRtKnvHsO9VtnL+tusvry+5cZD9LZxr9orKIFybk4G0b93KEL7Qi Za69ySWs7CYTbBlDmhVEIdARh2Fv0PX0Eptowm+W+3ZCn8GmsWj3RAIBaALKmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690553888; 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=vagg/7oRqhUZEOYPPE9nd+SjGRdxiMiXrS5m0Te/BOU=; b=q9eghB1ctYOuCYpMWoJXsb8uDNVSOI1okyG1zlN6TWt9FRPXmZ8lP3b8vPVJvvDNw7TY56 De9Bev4O4IsHt34myPJuKq9wraPuykofUxsuNR7JToyeQc3nhrzVeo4jq5eLvLgqPkPdeh EEfxfPp5wpVGAaxvbW7MXaDJqGJl35BR/h3vRHigWWz03B3gV6LfYQni7l0S+W5gkcXfeZ ETDx/wmZKr0NpdGpibtpSiYm82muN6DOTAq5I9Ye53OZY0WEAWGwA/tG1sWmtcee+ip2BR 8p/0td8m87wXlTjmjaqkF1MULlzUXS2JjF2nmkLGZUu1ty3MwhiERR4qNrNWrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690553888; a=rsa-sha256; cv=none; b=o9iX9OaxnzTBT2XdiSCil34oIefQq4Sb9m4miAdEuUhlC/AHD9IZvys4ChQFhgnArKjhqQ 6eiUbJC85AapLCGOIlALUnNmONXDxbpWkyPTcYoxJTDf0s1pPTTSu0BTqrSO5YNqhmMExb ZRXgJcaMPK951EFrfdvdOiCUx2UYRr9bPQaAdfkTJGDRlZ6E0nZjYmd+SuODNEyQffMAdK 6QjYGjRR6IneVSyNamN9hiwlL3Mkmf1ih0lLFmjIr5MMjcR3ddl1Zm2HoXWM28n9lGiWMQ zc8k3VoA/inr/ee+fcODuia31w5WhqfUz9w9lHgGdsvCAlPSHIUNe0UL96xpWg== Received: from [192.168.1.109] (84-105-120-103.cable.dynamic.v4.ziggo.nl [84.105.120.103]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: ronald/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RC8qg2D5fz16ZJ; Fri, 28 Jul 2023 14:18:07 +0000 (UTC) (envelope-from ronald@FreeBSD.org) Message-ID: <5b3e32fa-f5cf-b965-a3f6-2788a1c6ef37@FreeBSD.org> Date: Fri, 28 Jul 2023 16:16:49 +0200 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Subject: Re: Virtual GPU for FreeBSD as guest virtualized with qemu / kvm -- best alternative ? Cirrus ? To: Mario Marietto , freebsd-x11@freebsd.org, FreeBSD virtualization , FreeBSD Mailing List , freebsd-hackers , freebsd-drivers@freebsd.org References: Content-Language: en-US From: Ronald Klop In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 7/23/23 16:27, Mario Marietto wrote: > Hello to everyone. > > > I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for Windows). I've end up with the following parameters which are working : > > > |I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine q35 \ -cpu Westmere,vendor=GenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check \ -m 8G -vga qxl -audiodev dsound,id=snd0 -device ich9-intel-hda -device \ hda-duplex,audiodev=snd0 \ -hda "I:\OS\ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb "I:\OS\qemu\Linux\FreeBSD.img" -rtc base=localtime \ -device nec-usb-xhci,id=xhci -device usb-tablet -device usb-kbd \ -global nec-usb-xhci.msi=off -smbios type=2 -nodefaults -netdev user,id=net0 \ -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:11:22:33 \ -device ich9-ahci,id=sata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined.fd"| > > > Now I'm trying to configure Xorg and the xfce4 desktop environment. Since I'm using qemu,there are a lot of display devices available to try,but I don't know which one is good for FreeBSD. In the website below there is a good list of all options available : > > > https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ > > > On FreeBSD I have installed the package drm-kmod and it suggests to me to add to the rc.conf file one of these parameters : > > > 1. > > for amdgpu : kld_list="amdgpu" > > 2. > > for intel : kld_list="i915kms" > > 3. > > for radeonkms : kld_list="radeonkms" > > > qemu does not cover any of those. I don't know which option is decent for my case. I would like to try with the cirrus display driver. Maybe this one : > > > https://www.freshports.org/x11-drivers/xf86-video-cirrus/ > > > |So,I have installed this package : pkg install xf86-video-cirrus > > | > > I've rebooted and I have changed |-vga qxl to -vga cirrus| > > FreeBSD recognized it at 0:1:0 > > > 2023-07-23 15_21_33-QEMU.png > > I have created xorg.conf with this content : > > |Section "Device" Identifier "Device0" Driver "cirrus" BusID "PCI:0:1:0" Screen 0 EndSection| > > > error : no screens found. > This is the reason why it does not work : > > > 2023-07-23 15 49 44.png > > but the module seems to be there : > > |cd /usr/local/lib/xorg/modules/drivers/ ls *cirrus_drv.so* ; modesetting_drv.so ; scfb_drv.so ; vesa_drv.so ;| > > > What should I do ? > > -- > Mario. A https://www.freshports.org/x11-drivers/xf86-video-qxl/ driver exists. It didn't work on my qemu on Mac/ARM. Maybe it works for you. Ronald. From nobody Fri Jul 28 14:25:41 2023 X-Original-To: freebsd-hackers@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 4RC9183km4z4pmMl; Fri, 28 Jul 2023 14:26:20 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RC9181jYlz3ptg; Fri, 28 Jul 2023 14:26:20 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-99bcc0adab4so315823866b.2; Fri, 28 Jul 2023 07:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690554378; x=1691159178; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jDQ4feONKUpE2iqLM6PvGeXjFbd+1fYJjBsm1yOJSvY=; b=OrFiUyez+agBg1MDzC1nlcRLNsjaAJS188hmfPG+vFsioanh4nsvl98XVPUBvSltNx jR0VOxXitHWNAlEMaqp4LMb4dCOmoovZWBXP0wb7sJPv6xl0BFteDhe/5W7hWAnr0WO6 4+XoHtIR8PRe1ss99ynkLD2VsxbJ6UaoxO464fqM0QeacvEOlzd8OHYRrXm805wzQ4UC NfeiGc6fW712ZaYcQwdOp8T2FMsllwd7w3IR8rQBBhdBU+cgF8tPWznIXazFRQTS+C4m 9jQUKTBsI18kQc++G5FtFt+L2O9N1nc87cnaDVrRWDvTllNoySIwGRW69ZlJwKl7iQD0 3zzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690554378; x=1691159178; 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=jDQ4feONKUpE2iqLM6PvGeXjFbd+1fYJjBsm1yOJSvY=; b=QwGaEBBx2x36fyirb76YKk5MYk5pCxLHHAMaZV3vmDrNo3BfAYp6pI2GdiiF1m5sfK p7tXA13iLm80ekxTutEiMy9ha1djchdGY++cG+Qj85nchbtcYEH4BC0stN0OIXO73MIA V75u6yM6SCOjDk+gPvTnftCnQkYNO2JZX3Y65KUHZ+vmsYwChVAwVRuzDOW8atkk4MAL wIoTKCYJwLO/CDyjhdsxnoA4PrMBwYF5Vj99k905EyQN/2jqlRnzY8kmUcQo7QR0aqcN 3iM1/f0ClXxAQx6Gl/lqlch94oL43KA5pp/riN5bLGYb54WuIVT+qIVJzR3MCZn45rK/ BMMg== X-Gm-Message-State: ABy/qLYb31o/Z3CK7q0rPdRM109yFQuglWxaMlPSUin47CeoxKIEBKrM NnSA6f4eVYZ0dphi9km2VCeOCZ0PBVSgikVv1GSoJ8T/jfM= X-Google-Smtp-Source: APBJJlGYmvcIJRYGvrvIAbMLrDDoOH16D0c+esgiLUQ2RFdE2KWSMQsQFWwC6szeUaOEknOF8nLovqeDB7V3z8GoMQI= X-Received: by 2002:a17:906:3f16:b0:99b:d977:c00c with SMTP id c22-20020a1709063f1600b0099bd977c00cmr2287334ejj.45.1690554378133; Fri, 28 Jul 2023 07:26:18 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <5b3e32fa-f5cf-b965-a3f6-2788a1c6ef37@FreeBSD.org> In-Reply-To: <5b3e32fa-f5cf-b965-a3f6-2788a1c6ef37@FreeBSD.org> From: Mario Marietto Date: Fri, 28 Jul 2023 16:25:41 +0200 Message-ID: Subject: Re: Virtual GPU for FreeBSD as guest virtualized with qemu / kvm -- best alternative ? Cirrus ? To: Ronald Klop Cc: freebsd-x11@freebsd.org, FreeBSD virtualization , FreeBSD Mailing List , freebsd-hackers , freebsd-drivers@freebsd.org Content-Type: multipart/related; boundary="0000000000002ed3be06018cdddc" X-Rspamd-Queue-Id: 4RC9181jYlz3ptg X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --0000000000002ed3be06018cdddc Content-Type: multipart/alternative; boundary="0000000000002ed3bd06018cdddb" --0000000000002ed3bd06018cdddb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. it does not work. This is the error I get : (on the attached picture,you can read "segmentation fault"... [image: unnamed.png] On Fri, Jul 28, 2023 at 4:18=E2=80=AFPM Ronald Klop wr= ote: > On 7/23/23 16:27, Mario Marietto wrote: > > Hello to everyone. > > > > > > I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for > Windows). I've end up with the following parameters which are working : > > > > > > |I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine q35 > \ -cpu > Westmere,vendor=3DGenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xs= ave,+xsaveopt,check > \ -m 8G -vga qxl -audiodev dsound,id=3Dsnd0 -device ich9-intel-hda -devic= e \ > hda-duplex,audiodev=3Dsnd0 \ -hda > "I:\OS\ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb > "I:\OS\qemu\Linux\FreeBSD.img" -rtc base=3Dlocaltime \ -device > nec-usb-xhci,id=3Dxhci -device usb-tablet -device usb-kbd \ -global > nec-usb-xhci.msi=3Doff -smbios type=3D2 -nodefaults -netdev user,id=3Dnet= 0 \ > -device virtio-net-pci,netdev=3Dnet0,id=3Dnet0,mac=3D52:54:00:11:22:33 \ = -device > ich9-ahci,id=3Dsata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined.= fd"| > > > > > > Now I'm trying to configure Xorg and the xfce4 desktop environment. > Since I'm using qemu,there are a lot of display devices available to > try,but I don't know which one is good for FreeBSD. In the website below > there is a good list of all options available : > > > > > > https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ < > https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/> > > > > > > On FreeBSD I have installed the package drm-kmod and it suggests to me > to add to the rc.conf file one of these parameters : > > > > > > 1. > > > > for amdgpu : kld_list=3D"amdgpu" > > > > 2. > > > > for intel : kld_list=3D"i915kms" > > > > 3. > > > > for radeonkms : kld_list=3D"radeonkms" > > > > > > qemu does not cover any of those. I don't know which option is decent > for my case. I would like to try with the cirrus display driver. Maybe th= is > one : > > > > > > https://www.freshports.org/x11-drivers/xf86-video-cirrus/ < > https://www.freshports.org/x11-drivers/xf86-video-cirrus/> > > > > > > |So,I have installed this package : pkg install xf86-video-cirrus > > > > | > > > > I've rebooted and I have changed |-vga qxl to -vga cirrus| > > > > FreeBSD recognized it at 0:1:0 > > > > > > 2023-07-23 15_21_33-QEMU.png > > > > I have created xorg.conf with this content : > > > > |Section "Device" Identifier "Device0" Driver "cirrus" BusID "PCI:0:1:0= " > Screen 0 EndSection| > > > > > > error : no screens found. > > This is the reason why it does not work : > > > > > > 2023-07-23 15 49 44.png > > > > but the module seems to be there : > > > > |cd /usr/local/lib/xorg/modules/drivers/ ls *cirrus_drv.so* ; > modesetting_drv.so ; scfb_drv.so ; vesa_drv.so ;| > > > > > > What should I do ? > > > > -- > > Mario. > > > A https://www.freshports.org/x11-drivers/xf86-video-qxl/ driver exists. > It didn't work on my qemu on Mac/ARM. Maybe it works for you. > > Ronald. > > --=20 Mario. --0000000000002ed3bd06018cdddb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks. it does not work. This is the error I get : (= on the attached picture,you can read "segmentation fault"...
<= /div>

3D"unnamed.png"

On Fri, Jul 28, 2023 at 4:18=E2=80= =AFPM Ronald Klop <ronald@freebsd.= org> wrote:
On 7/23/23 16:27, Mario Marietto wrote:
> Hello to everyone.
>
>
> I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for Wi= ndows). I've end up with the following parameters which are working : >
>
> |I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine q3= 5 \ -cpu Westmere,vendor=3DGenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+= aes,+xsave,+xsaveopt,check \ -m 8G -vga qxl -audiodev dsound,id=3Dsnd0 -dev= ice ich9-intel-hda -device \ hda-duplex,audiodev=3Dsnd0 \ -hda "I:\OS\= ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb "I:\OS\q= emu\Linux\FreeBSD.img" -rtc base=3Dlocaltime \ -device nec-usb-xhci,id= =3Dxhci -device usb-tablet -device usb-kbd \ -global nec-usb-xhci.msi=3Doff= -smbios type=3D2 -nodefaults -netdev user,id=3Dnet0 \ -device virtio-net-p= ci,netdev=3Dnet0,id=3Dnet0,mac=3D52:54:00:11:22:33 \ -device ich9-ahci,id= =3Dsata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined.fd"|=
>
>
> Now I'm trying to configure Xorg and the xfce4 desktop environment= . Since I'm using qemu,there are a lot of display devices available to = try,but I don't know which one is good for FreeBSD. In the website belo= w there is a good list of all options available :
>
>
> https://www.kraxel.org/blog/2019/09= /display-devices-in-qemu/ <https:= //www.kraxel.org/blog/2019/09/display-devices-in-qemu/>
>
>
> On FreeBSD I have installed the package drm-kmod and it suggests to me= to add to the rc.conf file one of these parameters :
>
>
>=C2=A0 1.
>
>=C2=A0 =C2=A0 =C2=A0for amdgpu : kld_list=3D"amdgpu"
>
>=C2=A0 2.
>
>=C2=A0 =C2=A0 =C2=A0for intel : kld_list=3D"i915kms"
>
>=C2=A0 3.
>
>=C2=A0 =C2=A0 =C2=A0for radeonkms : kld_list=3D"radeonkms" >
>
> qemu does not cover any of those. I don't know which option is dec= ent for my case. I would like to try with the cirrus display driver. Maybe = this one :
>
>
> https://www.freshports.org/x11-drivers= /xf86-video-cirrus/ <https://www.fre= shports.org/x11-drivers/xf86-video-cirrus/>
>
>
> |So,I have installed this package : pkg install xf86-video-cirrus
>
> |
>
> I've rebooted and I have changed |-vga qxl to -vga cirrus|
>
> FreeBSD recognized it at 0:1:0
>
>
> 2023-07-23 15_21_33-QEMU.png
>
> I have created xorg.conf with this content :
>
> |Section "Device" Identifier "Device0" Driver &quo= t;cirrus" BusID "PCI:0:1:0" Screen 0 EndSection|
>
>
> error : no screens found.
> This is the reason why it does not work :
>
>
> 2023-07-23 15 49 44.png
>
> but the module seems to be there :
>
> |cd /usr/local/lib/xorg/modules/drivers/ ls *cirrus_drv.so* ; modesett= ing_drv.so ; scfb_drv.so ; vesa_drv.so ;|
>
>
> What should I do ?
>
> --
> Mario.


A https://www.freshports.org/x11-drivers/xf86-= video-qxl/ driver exists. It didn't work on my qemu on Mac/ARM. May= be it works for you.

Ronald.



--
Mario.
--0000000000002ed3bd06018cdddb-- --0000000000002ed3be06018cdddc Content-Type: image/png; name="unnamed.png" Content-Disposition: inline; filename="unnamed.png" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: ii_lkmodv4w0 iVBORw0KGgoAAAANSUhEUgAABPoAAAFaCAIAAAAIPKSyAAAAA3NCSVQICAjb4U/gAAAgAElEQVR4 nO3dUZajLLcA0Oq7ej4ZQ0buGGpG9yGr8+VPlACCHHHvp+4S8YioEBT/3G6339/fHzpYliWx9H6/ HxYJHO9q9f9q+1tK+QAAx/u/0QFclLYdV3a1+n+1/S2lfACAXm632+gQAAAAoDGjuwAAAExIdxcA AIAJ6e4CAAAwId1dAAAAJqS7CzDGsixvn+f5/AsA8bmeQ1i6uwAAAEzob3rx43epsR9F7BRDOtvm G41QkvP5/N30sAPa1tfwgsefdurg4zt78eZcih/OuI/74z/7zWh1czvvv6W7sGeXz35+XUd+e6DJ hlQJOJHU6G6oZzBCBUMEqgTA1ZRe+d0prsBRBhI2R3ef147hv2Dd7/dHMMuyDA+GIOLUTxjo7OMM X+N/LDpvW3Zn/LMe38dtffWenj/anx9AtbOX/0VoDwBp66O70a4dzzDO2+ihhyD1E4DejOuSoD0A bEm9uxvq2vEc4z2pUI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ABDB5uhuwNHUgCEBAAAQk+/u AgAAMCHdXQAAACa0+SGiTKtv0iaeOi5NDwAAABWM7gIAADChvaO7pQOzBnIBAAA4gNFdAAAAJqS7 CwAAwIQ2u7urc0qNFTAkAAAAYlrp7gZ/vTZ4eAAAAESQepg51GhqqGAAAAAIbr27+xxBDdLJfIZh aBcAAIAcf2632+/v7+qydCczpyf8umJp+swwAAAA4FPqYeZQ3ctQwQAAABDd7XYbHQIAAAA05ru7 AAAATEh3FwAAgAnp7gIAADAh3V0AAAAmpLsLAADAhHR3AQAAmJDuLgAAABPS3QUAAGBCursAAABM SHcXAACACenuAgAAMKG/6cXLsvz8/Nzv961Faa8rlqbPiQEAAABWpUZ3czqohwkVDAAAAMFtju4+ u5fpYdXSQdeKQdr7/f4IZlkWY7wAAADkWB/dzezrHuYZhjFeAAAAcqQeZg7S130IFQwAAADBrXR3 g4+gBg8PAACACDZHdwOOpgYMCQAAgJh8dxcAAIAJ6e4CAAAwoc0PEWVafZM28dRxaXoAAACoYHQX AACACe0d3S0dmDWQCwAAwAGM7gIAADAh3V0AAAAmtNndXZ1TaqyAIQEAABDTSnc3+Ou1wcMDAAAg gtTDzKFGU0MFAwAAQHD/D8mL+egiZtJsAAAAAElFTkSuQmCC --0000000000002ed3be06018cdddc-- From nobody Fri Jul 28 14:33:22 2023 X-Original-To: freebsd-hackers@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 4RC99h4scFz4pq5f for ; Fri, 28 Jul 2023 14:33:44 +0000 (UTC) (envelope-from jake@technologyfriends.net) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RC99X5FQ0z3tfn for ; Fri, 28 Jul 2023 14:33:36 +0000 (UTC) (envelope-from jake@technologyfriends.net) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2b9bee2d320so33302681fa.1 for ; Fri, 28 Jul 2023 07:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=technologyfriends.net; s=google; t=1690554814; x=1691159614; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ezQtifjkPP0Q2hLh4ZcCjcN2ZGkAx8jgqZ8Oztqwwhg=; b=cwvbj3k0E70Bynp2E+T5USP00CJFfyD4d3LV2C2FtKHOjGS/lvdAF5v3jFi88/IO4X IqmBhb8gRlGp1dhVDlJxhzlCvvIiOwipnZfEC2Cuwgj2S8QCDGREQOVeaAUiE6rUyeJv jEtWhgI24sXViVBVqwQpkBhejsX49b1gJnd3wjcIMt+r5hnnf2RjGM78EOm2dDf8jRMu T9ktTS19Bl8+JYa4UifCV0b2zRNaGWQBk7+hLfsBLAIquMtgB7TFz4GG+BRqiXU2S73t LZd1Btr992yXw1aE7eXHvWCTIv63VXoWwL4QvKKr0fdc939E/ETgc64AIFYgpOxIVi2M C2JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690554814; x=1691159614; 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=ezQtifjkPP0Q2hLh4ZcCjcN2ZGkAx8jgqZ8Oztqwwhg=; b=Xy9pzWdrBFmQqbVNs4WdMapjsy0J2GR09QNC5TYKRC+AfYaydjHiI4gKd5/NAZ2V8x +8FMaIrkYPhEzJ2Ka3Xp952SYl80QE2HAc3wlR0UMwncmS6qgDYCowTwJNVck4sfu6ZC XMr+r3zx2bTbBGl60ijTHHFVQCO7oqsRHlimJHUkeDTM/Yb8RDfmmSk+7P97LRfDq+u/ c8tfhP0KJLDBxKt0v1y4FE6GGohTjBqXoyB+pb8KUSV0BZxXQrppSuqo16vFkj4nFuV2 3nr+9VftFNcOIacoGdbqigINTssvsSG0Z0EE4ZjMB3s3cJLjxTK+hoYVhZyvvbcsqROe VRWQ== X-Gm-Message-State: ABy/qLb/yc5wohfnAjfBY20/HJUvLQXdO3CDT/Ivo6v7QIwOcZNWOhMJ 4dyumg/o4TySGCYWVi50gKTCf2wyOZet9JwvQXVqwg== X-Google-Smtp-Source: APBJJlGYY/MmgqGyB0F4zE4IPL7MdA8qRYiwdkDWo0Ov5jwXeN7OjRORPyPkA/NDhjIrutFY0J3BAajNVJOTAG4yiGE= X-Received: by 2002:a2e:300d:0:b0:2b6:a3b0:f4d3 with SMTP id w13-20020a2e300d000000b002b6a3b0f4d3mr1951428ljw.26.1690554814046; Fri, 28 Jul 2023 07:33:34 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <5b3e32fa-f5cf-b965-a3f6-2788a1c6ef37@FreeBSD.org> In-Reply-To: From: Jake Freeland Date: Fri, 28 Jul 2023 09:33:22 -0500 Message-ID: Subject: Re: Virtual GPU for FreeBSD as guest virtualized with qemu / kvm -- best alternative ? Cirrus ? To: Mario Marietto Cc: Ronald Klop , freebsd-x11@freebsd.org, FreeBSD virtualization , FreeBSD Mailing List , freebsd-hackers , freebsd-drivers@freebsd.org Content-Type: multipart/related; boundary="0000000000002a4eb206018cf77a" X-Rspamd-Queue-Id: 4RC99X5FQ0z3tfn X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --0000000000002a4eb206018cf77a Content-Type: multipart/alternative; boundary="0000000000002a4eb006018cf779" --0000000000002a4eb006018cf779 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jul 28, 2023 at 9:27=E2=80=AFAM Mario Marietto wrote: > Thanks. it does not work. This is the error I get : (on the attached > picture,you can read "segmentation fault"... > > [image: unnamed.png] > > On Fri, Jul 28, 2023 at 4:18=E2=80=AFPM Ronald Klop = wrote: > >> On 7/23/23 16:27, Mario Marietto wrote: >> > Hello to everyone. >> > >> > >> > I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for >> Windows). I've end up with the following parameters which are working : >> > >> > >> > |I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine q3= 5 >> \ -cpu >> Westmere,vendor=3DGenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+x= save,+xsaveopt,check >> \ -m 8G -vga qxl -audiodev dsound,id=3Dsnd0 -device ich9-intel-hda -devi= ce \ >> hda-duplex,audiodev=3Dsnd0 \ -hda >> "I:\OS\ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb >> "I:\OS\qemu\Linux\FreeBSD.img" -rtc base=3Dlocaltime \ -device >> nec-usb-xhci,id=3Dxhci -device usb-tablet -device usb-kbd \ -global >> nec-usb-xhci.msi=3Doff -smbios type=3D2 -nodefaults -netdev user,id=3Dne= t0 \ >> -device virtio-net-pci,netdev=3Dnet0,id=3Dnet0,mac=3D52:54:00:11:22:33 \= -device >> ich9-ahci,id=3Dsata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined= .fd"| >> > >> > >> > Now I'm trying to configure Xorg and the xfce4 desktop environment. >> Since I'm using qemu,there are a lot of display devices available to >> try,but I don't know which one is good for FreeBSD. In the website below >> there is a good list of all options available : >> > I've found that `-vga std` with the xf86-video-vesa package works best. This combination only appears to support a maximum resolution of 1920x1080, but I have not found anything better over the last few years. > > >> > >> > https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ < >> https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/> >> > >> > >> > On FreeBSD I have installed the package drm-kmod and it suggests to me >> to add to the rc.conf file one of these parameters : >> > >> > >> > 1. >> > >> > for amdgpu : kld_list=3D"amdgpu" >> > >> > 2. >> > >> > for intel : kld_list=3D"i915kms" >> > >> > 3. >> > >> > for radeonkms : kld_list=3D"radeonkms" >> > >> > >> > qemu does not cover any of those. I don't know which option is decent >> for my case. I would like to try with the cirrus display driver. Maybe t= his >> one : >> > >> > >> > https://www.freshports.org/x11-drivers/xf86-video-cirrus/ < >> https://www.freshports.org/x11-drivers/xf86-video-cirrus/> >> > >> > >> > |So,I have installed this package : pkg install xf86-video-cirrus >> > >> > | >> > >> > I've rebooted and I have changed |-vga qxl to -vga cirrus| >> > >> > FreeBSD recognized it at 0:1:0 >> > >> > >> > 2023-07-23 15_21_33-QEMU.png >> > >> > I have created xorg.conf with this content : >> > >> > |Section "Device" Identifier "Device0" Driver "cirrus" BusID >> "PCI:0:1:0" Screen 0 EndSection| >> > >> > >> > error : no screens found. >> > This is the reason why it does not work : >> > >> > >> > 2023-07-23 15 49 44.png >> > >> > but the module seems to be there : >> > >> > |cd /usr/local/lib/xorg/modules/drivers/ ls *cirrus_drv.so* ; >> modesetting_drv.so ; scfb_drv.so ; vesa_drv.so ;| >> > >> > >> > What should I do ? >> > >> > -- >> > Mario. >> >> >> A https://www.freshports.org/x11-drivers/xf86-video-qxl/ driver exists. >> It didn't work on my qemu on Mac/ARM. Maybe it works for you. >> >> Ronald. >> >> > > -- > Mario. > --0000000000002a4eb006018cf779 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jul 28, 2023 at 9:27=E2=80=AFAM M= ario Marietto <marietto2008@gm= ail.com> wrote:
Thanks. it does not= work. This is the error I get : (on the attached picture,you can read &quo= t;segmentation fault"...

3D"unnamed.png"

On= Fri, Jul 28, 2023 at 4:18=E2=80=AFPM Ronald Klop <ronald@freebsd.org> wrote:
On 7/23/23 16:27, Mari= o Marietto wrote:
> Hello to everyone.
>
>
> I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for Wi= ndows). I've end up with the following parameters which are working : >
>
> |I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine q3= 5 \ -cpu Westmere,vendor=3DGenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+= aes,+xsave,+xsaveopt,check \ -m 8G -vga qxl -audiodev dsound,id=3Dsnd0 -dev= ice ich9-intel-hda -device \ hda-duplex,audiodev=3Dsnd0 \ -hda "I:\OS\= ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb "I:\OS\q= emu\Linux\FreeBSD.img" -rtc base=3Dlocaltime \ -device nec-usb-xhci,id= =3Dxhci -device usb-tablet -device usb-kbd \ -global nec-usb-xhci.msi=3Doff= -smbios type=3D2 -nodefaults -netdev user,id=3Dnet0 \ -device virtio-net-p= ci,netdev=3Dnet0,id=3Dnet0,mac=3D52:54:00:11:22:33 \ -device ich9-ahci,id= =3Dsata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined.fd"|=
>
>
> Now I'm trying to configure Xorg and the xfce4 desktop environment= . Since I'm using qemu,there are a lot of display devices available to = try,but I don't know which one is good for FreeBSD. In the website belo= w there is a good list of all options available :

I've found that `-vga std` with the xf86-= video-vesa package works best.

This combination on= ly appears to support a maximum resolution of 1920x1080,
but I ha= ve not found anything better over the last few years.
=C2=A0
>
>
> https://www.kraxel.org/blog/2019/09= /display-devices-in-qemu/ <https:= //www.kraxel.org/blog/2019/09/display-devices-in-qemu/>
>
>
> On FreeBSD I have installed the package drm-kmod and it suggests to me= to add to the rc.conf file one of these parameters :
>
>
>=C2=A0 1.
>
>=C2=A0 =C2=A0 =C2=A0for amdgpu : kld_list=3D"amdgpu"
>
>=C2=A0 2.
>
>=C2=A0 =C2=A0 =C2=A0for intel : kld_list=3D"i915kms"
>
>=C2=A0 3.
>
>=C2=A0 =C2=A0 =C2=A0for radeonkms : kld_list=3D"radeonkms" >
>
> qemu does not cover any of those. I don't know which option is dec= ent for my case. I would like to try with the cirrus display driver. Maybe = this one :
>
>
> https://www.freshports.org/x11-drivers= /xf86-video-cirrus/ <https://www.fre= shports.org/x11-drivers/xf86-video-cirrus/>
>
>
> |So,I have installed this package : pkg install xf86-video-cirrus
>
> |
>
> I've rebooted and I have changed |-vga qxl to -vga cirrus|
>
> FreeBSD recognized it at 0:1:0
>
>
> 2023-07-23 15_21_33-QEMU.png
>
> I have created xorg.conf with this content :
>
> |Section "Device" Identifier "Device0" Driver &quo= t;cirrus" BusID "PCI:0:1:0" Screen 0 EndSection|
>
>
> error : no screens found.
> This is the reason why it does not work :
>
>
> 2023-07-23 15 49 44.png
>
> but the module seems to be there :
>
> |cd /usr/local/lib/xorg/modules/drivers/ ls *cirrus_drv.so* ; modesett= ing_drv.so ; scfb_drv.so ; vesa_drv.so ;|
>
>
> What should I do ?
>
> --
> Mario.


A https://www.freshports.org/x11-drivers/xf86-= video-qxl/ driver exists. It didn't work on my qemu on Mac/ARM. May= be it works for you.

Ronald.



--
Mario.
--0000000000002a4eb006018cf779-- --0000000000002a4eb206018cf77a Content-Type: image/png; name="unnamed.png" Content-Disposition: inline; filename="unnamed.png" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: ii_lkmodv4w0 iVBORw0KGgoAAAANSUhEUgAABPoAAAFaCAIAAAAIPKSyAAAAA3NCSVQICAjb4U/gAAAgAElEQVR4 nO3dUZajLLcA0Oq7ej4ZQ0buGGpG9yGr8+VPlACCHHHvp+4S8YioEBT/3G6339/fHzpYliWx9H6/ HxYJHO9q9f9q+1tK+QAAx/u/0QFclLYdV3a1+n+1/S2lfACAXm632+gQAAAAoDGjuwAAAExIdxcA AIAJ6e4CAAAwId1dAAAAJqS7CzDGsixvn+f5/AsA8bmeQ1i6u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wv4Ar+jg6A/9RN9XQdyodX6gMAOdwv4MqM7p6Da3Ga8uGV+gBADvcLmJ+p qgAAAJiP0V0AAAAmpLsLAADAhHR3AQAAmJDuLgAAABPS3QUAAGBCursAAABM6G968ePD3KsfJUt/ s/vhdcXS9DkxAAAAwKrU6G5OB/UwoYIBAAAguM3R3Wf3Mj2sWjroWjFIe7/fH8Esy2KMFwAAgBzr o7uZfd3DPMMwxgsAAECO1MPMQfq6D6GCAQAAILiV7m7wEdTg4QEAABDB5uhuwNHUgCEBAAAQk+/u AgAAMCHdXQAAACa0+SGiTKtv0iaeOi5NDwAAABWM7gIAADChvaO7pQOzBnIBAAA4gNFdAAAAJqS7 CwAAwIQ2u7urc0qNFTAkAAAAYlrp7gZ/vTZ4eAAAAESQepg51GhqqGAAAAAIbr27+xxBDdLJfIZh aBcAAIAcf2632+/v7+qydCczpyf8umJp+swwAAAA4FPqYeZQ3ctQwQAAABDd7XYbHQIAAAA05ru7 AAAATEh3FwAAgAnp7gIAADAh3V0AAAAmpLsLAADAhHR3AQAAmJDuLgAAABPS3QUAAGBCursAAABM SHcXAACACenuAgAAMKG/6cXLsvz8/Nzv961Faa8rlqbPiQEAAABWpUZ3czqohwkVDAAAAMFtju4+ u5fpYdXSQdeKQdr7/f4IZlkWY7wAAADkWB/dzezrHuYZhjFeAAAAcqQeZg7S130IFQwAAADBrXR3 g4+gBg8PAACACDZHdwOOpgYMCQAAgJh8dxcAAIAJ6e4CAAAwoc0PEWVafZM28dRxaXoAAACoYHQX AACACe0d3S0dmDWQCwAAwAGM7gIAADAh3V0AAAAmtNndXZ1TaqyAIQEAABDTSnc3+Ou1wcMDAAAg gtTDzKFGU0MFAwAAQHD/D8mL+egiZtJsAAAAAElFTkSuQmCC --0000000000002a4eb206018cf77a-- From nobody Fri Jul 28 14:42:43 2023 X-Original-To: freebsd-hackers@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 4RC9Nn6XNpz4pv2C; Fri, 28 Jul 2023 14:43:21 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RC9Nn1scBz3xNH; Fri, 28 Jul 2023 14:43:21 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-51e28cac164so7191840a12.1; Fri, 28 Jul 2023 07:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690555400; x=1691160200; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=DKPcqMI6DCvu5+/zuDepa6btNmhT9Ijom0fV3Eoc6bk=; b=gk1HR55rbyGtAur0c77e36hhFFKKoMJUxvksg7TKmlbJkJ802kuHQw1PmWyEU0V1bK SKpT0QYOUPOWOynWUbr/CVSBuWgel0cFJJnuIlPcrkGnLV4twdSMRBJV29F3J4ePovEG veGLpXeSKLnEIpXfhuN7tI6T0DecJYhhV1jE8dYq4pm60zxzU54q++xTwcCYG3kiuApn /i8CKlboVDpCmIsFH2vj7OaWzOIV4s8F3RJb72K0dA5PJzgT5b+CiQhwPJozujd1lFtY BAlpBOBC9HgLYKd3n7ala7PK0uuS2vUvG5d5cBrkOAd4fs1U/h+DPsFNQvWcTdg68q4V bCkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690555400; x=1691160200; 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=DKPcqMI6DCvu5+/zuDepa6btNmhT9Ijom0fV3Eoc6bk=; b=fsCOzPowzAarw05NP/kIAD2WMPyMZZQLKqdwlQ/MEiXnjaK99metVG59mIAEPh/cYQ g+bcol2rC9NoAkCurWUmDxzS4BE25Uvkvf5AA0PpVSQ8oWwhnZl6gLVM3TzHd+1hRabL MrFh8sDymSi7cXmdWp5giHda76QLMDqQBj7o6tWlWtfZjhi6EiNMzAukFa/BZdVk0e6j ALpV3Nrj0TuzpbLGt97apysjhqz0hPVv9TVNztx5l2RXF43badS8ecY2Ouwo8gCnle4K 1UXGLi3+n5nLw8xP7pcQc33d/CUL+rJthGVCvzWsdBqNSCiEoH+JLDlIyBv8bHwJYjZH TkRw== X-Gm-Message-State: ABy/qLZPMLeTChCbQWy6ActZMbBF/eJpe9bTr6d7sAgyWWkHNvN/pSo9 dOF83XSs+jV9FPOXe9HWhDl4673W621LnSlHAPs= X-Google-Smtp-Source: APBJJlGzvQ0gyAixh18rpHL2/rk29Z0V/XjgyVMotFotMAWD7phqGL96OLppzDYG+yzvh9Tht6kTdcTgRzjLBDE/MAw= X-Received: by 2002:a17:907:7625:b0:989:450:e565 with SMTP id jy5-20020a170907762500b009890450e565mr2730009ejc.23.1690555399419; Fri, 28 Jul 2023 07:43:19 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <5b3e32fa-f5cf-b965-a3f6-2788a1c6ef37@FreeBSD.org> In-Reply-To: From: Mario Marietto Date: Fri, 28 Jul 2023 16:42:43 +0200 Message-ID: Subject: Re: Virtual GPU for FreeBSD as guest virtualized with qemu / kvm -- best alternative ? Cirrus ? To: Jake Freeland Cc: Ronald Klop , freebsd-x11@freebsd.org, FreeBSD virtualization , FreeBSD Mailing List , freebsd-hackers , freebsd-drivers@freebsd.org Content-Type: multipart/related; boundary="0000000000000e53c806018d1a9f" X-Rspamd-Queue-Id: 4RC9Nn1scBz3xNH X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --0000000000000e53c806018d1a9f Content-Type: multipart/alternative; boundary="0000000000000e53c606018d1a9e" --0000000000000e53c606018d1a9e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable In the last few days I found something better than the simple -vga std. It is : -device vmware-svga,id=3Dvideo0,vgamem_mb=3D16,bus=3Dpcie.0,addr=3D0x1 qemu supports it and FreeBSD,too.... On Fri, Jul 28, 2023 at 4:33=E2=80=AFPM Jake Freeland wrote: > On Fri, Jul 28, 2023 at 9:27=E2=80=AFAM Mario Marietto > wrote: > >> Thanks. it does not work. This is the error I get : (on the attached >> picture,you can read "segmentation fault"... >> >> [image: unnamed.png] >> >> On Fri, Jul 28, 2023 at 4:18=E2=80=AFPM Ronald Klop = wrote: >> >>> On 7/23/23 16:27, Mario Marietto wrote: >>> > Hello to everyone. >>> > >>> > >>> > I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for >>> Windows). I've end up with the following parameters which are working : >>> > >>> > >>> > |I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine >>> q35 \ -cpu >>> Westmere,vendor=3DGenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+= xsave,+xsaveopt,check >>> \ -m 8G -vga qxl -audiodev dsound,id=3Dsnd0 -device ich9-intel-hda -dev= ice \ >>> hda-duplex,audiodev=3Dsnd0 \ -hda >>> "I:\OS\ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb >>> "I:\OS\qemu\Linux\FreeBSD.img" -rtc base=3Dlocaltime \ -device >>> nec-usb-xhci,id=3Dxhci -device usb-tablet -device usb-kbd \ -global >>> nec-usb-xhci.msi=3Doff -smbios type=3D2 -nodefaults -netdev user,id=3Dn= et0 \ >>> -device virtio-net-pci,netdev=3Dnet0,id=3Dnet0,mac=3D52:54:00:11:22:33 = \ -device >>> ich9-ahci,id=3Dsata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combine= d.fd"| >>> > >>> > >>> > Now I'm trying to configure Xorg and the xfce4 desktop environment. >>> Since I'm using qemu,there are a lot of display devices available to >>> try,but I don't know which one is good for FreeBSD. In the website belo= w >>> there is a good list of all options available : >>> >> > I've found that `-vga std` with the xf86-video-vesa package works best. > > This combination only appears to support a maximum resolution of 1920x108= 0, > but I have not found anything better over the last few years. > > >> > >>> > >>> > https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ < >>> https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/> >>> > >>> > >>> > On FreeBSD I have installed the package drm-kmod and it suggests to m= e >>> to add to the rc.conf file one of these parameters : >>> > >>> > >>> > 1. >>> > >>> > for amdgpu : kld_list=3D"amdgpu" >>> > >>> > 2. >>> > >>> > for intel : kld_list=3D"i915kms" >>> > >>> > 3. >>> > >>> > for radeonkms : kld_list=3D"radeonkms" >>> > >>> > >>> > qemu does not cover any of those. I don't know which option is decent >>> for my case. I would like to try with the cirrus display driver. Maybe = this >>> one : >>> > >>> > >>> > https://www.freshports.org/x11-drivers/xf86-video-cirrus/ < >>> https://www.freshports.org/x11-drivers/xf86-video-cirrus/> >>> > >>> > >>> > |So,I have installed this package : pkg install xf86-video-cirrus >>> > >>> > | >>> > >>> > I've rebooted and I have changed |-vga qxl to -vga cirrus| >>> > >>> > FreeBSD recognized it at 0:1:0 >>> > >>> > >>> > 2023-07-23 15_21_33-QEMU.png >>> > >>> > I have created xorg.conf with this content : >>> > >>> > |Section "Device" Identifier "Device0" Driver "cirrus" BusID >>> "PCI:0:1:0" Screen 0 EndSection| >>> > >>> > >>> > error : no screens found. >>> > This is the reason why it does not work : >>> > >>> > >>> > 2023-07-23 15 49 44.png >>> > >>> > but the module seems to be there : >>> > >>> > |cd /usr/local/lib/xorg/modules/drivers/ ls *cirrus_drv.so* ; >>> modesetting_drv.so ; scfb_drv.so ; vesa_drv.so ;| >>> > >>> > >>> > What should I do ? >>> > >>> > -- >>> > Mario. >>> >>> >>> A https://www.freshports.org/x11-drivers/xf86-video-qxl/ driver exists. >>> It didn't work on my qemu on Mac/ARM. Maybe it works for you. >>> >>> Ronald. >>> >>> >> >> -- >> Mario. >> > --=20 Mario. --0000000000000e53c606018d1a9e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In the last few days I found something better than th= e simple -vga std. It is :

-device vmware-svga,id=
=3Dvideo0,vgamem_mb=3D16,bus=3Dpcie.0,addr=3D0x1

qemu supports it and FreeBSD,too....

On Fri, Jul 28, 2023 at 4:33=E2=80=AFPM Jake Freeland <<= a href=3D"mailto:jake@technologyfriends.net">jake@technologyfriends.net= > wrote:
On Fri, Jul 28, 2023 at 9:27=E2=80=AFAM Mario= Marietto <m= arietto2008@gmail.com> wrote:
Thank= s. it does not work. This is the error I get : (on the attached picture,you= can read "segmentation fault"...



On Fri, Jul 28, 2023 at 4:18=E2=80=AFPM Ronald Klop <ronald@freebsd.org>= wrote:
On 7/23/= 23 16:27, Mario Marietto wrote:
> Hello to everyone.
>
>
> I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for Wi= ndows). I've end up with the following parameters which are working : >
>
> |I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine q3= 5 \ -cpu Westmere,vendor=3DGenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+= aes,+xsave,+xsaveopt,check \ -m 8G -vga qxl -audiodev dsound,id=3Dsnd0 -dev= ice ich9-intel-hda -device \ hda-duplex,audiodev=3Dsnd0 \ -hda "I:\OS\= ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb "I:\OS\q= emu\Linux\FreeBSD.img" -rtc base=3Dlocaltime \ -device nec-usb-xhci,id= =3Dxhci -device usb-tablet -device usb-kbd \ -global nec-usb-xhci.msi=3Doff= -smbios type=3D2 -nodefaults -netdev user,id=3Dnet0 \ -device virtio-net-p= ci,netdev=3Dnet0,id=3Dnet0,mac=3D52:54:00:11:22:33 \ -device ich9-ahci,id= =3Dsata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined.fd"|=
>
>
> Now I'm trying to configure Xorg and the xfce4 desktop environment= . Since I'm using qemu,there are a lot of display devices available to = try,but I don't know which one is good for FreeBSD. In the website belo= w there is a good list of all options available :

I've found that `-vga std` with the xf86-= video-vesa package works best.

This combination on= ly appears to support a maximum resolution of 1920x1080,
but I ha= ve not found anything better over the last few years.
=C2=A0
>
>
> https://www.kraxel.org/blog/2019/09= /display-devices-in-qemu/ <https:= //www.kraxel.org/blog/2019/09/display-devices-in-qemu/>
>
>
> On FreeBSD I have installed the package drm-kmod and it suggests to me= to add to the rc.conf file one of these parameters :
>
>
>=C2=A0 1.
>
>=C2=A0 =C2=A0 =C2=A0for amdgpu : kld_list=3D"amdgpu"
>
>=C2=A0 2.
>
>=C2=A0 =C2=A0 =C2=A0for intel : kld_list=3D"i915kms"
>
>=C2=A0 3.
>
>=C2=A0 =C2=A0 =C2=A0for radeonkms : kld_list=3D"radeonkms" >
>
> qemu does not cover any of those. I don't know which option is dec= ent for my case. I would like to try with the cirrus display driver. Maybe = this one :
>
>
> https://www.freshports.org/x11-drivers= /xf86-video-cirrus/ <https://www.fre= shports.org/x11-drivers/xf86-video-cirrus/>
>
>
> |So,I have installed this package : pkg install xf86-video-cirrus
>
> |
>
> I've rebooted and I have changed |-vga qxl to -vga cirrus|
>
> FreeBSD recognized it at 0:1:0
>
>
> 2023-07-23 15_21_33-QEMU.png
>
> I have created xorg.conf with this content :
>
> |Section "Device" Identifier "Device0" Driver &quo= t;cirrus" BusID "PCI:0:1:0" Screen 0 EndSection|
>
>
> error : no screens found.
> This is the reason why it does not work :
>
>
> 2023-07-23 15 49 44.png
>
> but the module seems to be there :
>
> |cd /usr/local/lib/xorg/modules/drivers/ ls *cirrus_drv.so* ; modesett= ing_drv.so ; scfb_drv.so ; vesa_drv.so ;|
>
>
> What should I do ?
>
> --
> Mario.


A https://www.freshports.org/x11-drivers/xf86-= video-qxl/ driver exists. It didn't work on my qemu on Mac/ARM. May= be it works for you.

Ronald.



--
Mario.


--
Mario.
--0000000000000e53c606018d1a9e-- --0000000000000e53c806018d1a9f Content-Type: image/png; name="unnamed.png" Content-Disposition: inline; filename="unnamed.png" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: ii_lkmodv4w0 iVBORw0KGgoAAAANSUhEUgAABPoAAAFaCAIAAAAIPKSyAAAAA3NCSVQICAjb4U/gAAAgAElEQVR4 nO3dUZajLLcA0Oq7ej4ZQ0buGGpG9yGr8+VPlACCHHHvp+4S8YioEBT/3G6339/fHzpYliWx9H6/ HxYJHO9q9f9q+1tK+QAAx/u/0QFclLYdV3a1+n+1/S2lfACAXm632+gQAAAAoDGjuwAAAExIdxcA AIAJ6e4CAAAwId1dAAAAJqS7CzDGsixvn+f5/AsA8bmeQ1i6uwAAAEzob3rx43epsR9F7BRDOtvm G41QkvP5/N30sAPa1tfwgsefdurg4zt78eZcih/OuI/74z/7zWh1czvvv6W7sGeXz35+XUd+e6DJ hlQJOJHU6G6oZzBCBUMEqgTA1ZRe+d0prsBRBhI2R3ef147hv2Dd7/dHMMuyDA+GIOLUTxjo7OMM X+N/LDpvW3Zn/LMe38dtffWenj/anx9AtbOX/0VoDwBp66O70a4dzzDO2+ihhyD1E4DejOuSoD0A bEm9uxvq2vEc4z2pUIV5QWcv/7PHz6rVUa/81c8+9HT2+Hs7e/mk418d4M3Z5dLGQHXj4ezlz8F2 Xs+Bfla6u8F7lR5pBoCrKb31ayoA8JMY3f16n8jpFX/+apuffnXp8K74VgBf55AsSpaff91a+Ur3 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TZ4eAAAAESQepg51GhqqGAAAAAIbr27+xxBDdLJfIZh aBcAAIAcf2632+/v7+qydCczpyf8umJp+swwAAAA4FPqYeZQ3ctQwQAAABDd7XYbHQIAAAA05ru7 AAAATEh3FwAAgAnp7gIAADAh3V0AAAAmpLsLAADAhHR3AQAAmJDuLgAAABPS3QUAAGBCursAAABM SHcXAACACenuAgAAMKG/6cXLsvz8/Nzv961Faa8rlqbPiQEAAABWpUZ3czqohwkVDAAAAMFtju4+ u5fpYdXSQdeKQdr7/f4IZlkWY7wAAADkWB/dzezrHuYZhjFeAAAAcqQeZg7S130IFQwAAADBrXR3 g4+gBg8PAACACDZHdwOOpgYMCQAAgJh8dxcAAIAJ6e4CAAAwoc0PEWVafZM28dRxaXoAAACoYHQX AACACe0d3S0dmDWQCwAAwAGM7gIAADAh3V0AAAAmtNndXZ1TaqyAIQEAABDTSnc3+Ou1wcMDAAAg gtTDzKFGU0MFAwAAQHD/D8mL+egiZtJsAAAAAElFTkSuQmCC --0000000000000e53c806018d1a9f-- From nobody Fri Jul 28 15:15:05 2023 X-Original-To: freebsd-hackers@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 4RCB6B2FnLz4pNZh; Fri, 28 Jul 2023 15:15:46 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RCB692nbqz4DyP; Fri, 28 Jul 2023 15:15:45 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b="VDPMaxZ/"; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::636 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-991da766865so313578166b.0; Fri, 28 Jul 2023 08:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690557343; x=1691162143; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Fwz+OHeem/w1OBIRU5LNjntGtfbcf20co30LmLpGdUs=; b=VDPMaxZ/4AckGUDQLK7vLH5t4PMAZYdQ1XE0qq/Qb4PxYX3/l4iMu6hlyeAojyS/lQ qA9LqP9ya9LvuCG96L9PNyUfzrmKgIwxwgedvHkEgcoAZM1L8XNAuO3sve3g8w/yR2Jy icU3veu/9x4LwOkg2KCd9hWe2akox6eTQ64MDLmSCnZeiskgxzKaDzghJIuX+GvW0o6m OxjxuniVYsRsUM/CqgPtxXDt9kwvDKPpMRIfJC/7KbbTzeYWSQDJHzwXGw2zmFIy5V75 RC3tmB0G4jqzbyVTvK21Dc5t3uq3tB6sACYw5Xi1SJpi8OzfjFyArozbCucRH4vdKfie rZFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690557343; x=1691162143; 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=Fwz+OHeem/w1OBIRU5LNjntGtfbcf20co30LmLpGdUs=; b=GPPrRn+TBy78lL7h0iFBEK/Kb0qvPI+WK540MbhBjtG92AtjAhLWuZW5XQlUzpdCZJ hdsw460OoblHsAfPb0UZjpNzaqgDNIRSVS+tI1d8VxAwn5EwXR95PNv9RaZ8xHBJ9my/ M3cfycu/3U0jaqyor8vk081idPnh7y0fS6sf3u9hWwq5ZehZGE6zQs/ac7PA8N+ySqDn B1/MpTOV2mN+2T8v0ISkIFRgrZRwRwJ79y6HWRkAHocQboJJScOjKa7aW59Nl7NUSy8z +0r19Wz9jcMLVQ36EWSZ+03l7xUTl0F+VToVGUtr0Whtmy4iShpahnUJy2Tlfc/ZiVwC QUeg== X-Gm-Message-State: ABy/qLZC8ZKFhsU86pGbLrGIlBU528e3VtkZU1gBoVYIlIxEr7NOhPuH jMRGn60GXUz4vfmU51EtjhCZtEaElOFTuTWu5NrY/J4I5yShlA== X-Google-Smtp-Source: APBJJlFxDM1wC9cISSJ2iuuCO2whXH4cheNSHGhka0XKMSQ7GPcDiEztBawIeXYIpa5G5Vt+cDyYz8hVAl4/LIMGu4M= X-Received: by 2002:a17:907:75d2:b0:994:4f17:ba73 with SMTP id jl18-20020a17090775d200b009944f17ba73mr2062979ejc.11.1690557342188; Fri, 28 Jul 2023 08:15:42 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: <5b3e32fa-f5cf-b965-a3f6-2788a1c6ef37@FreeBSD.org> In-Reply-To: From: Mario Marietto Date: Fri, 28 Jul 2023 17:15:05 +0200 Message-ID: Subject: Re: Virtual GPU for FreeBSD as guest virtualized with qemu / kvm -- best alternative ? Cirrus ? To: Jake Freeland Cc: Ronald Klop , freebsd-x11@freebsd.org, FreeBSD virtualization , FreeBSD Mailing List , freebsd-hackers , freebsd-drivers@freebsd.org Content-Type: multipart/related; boundary="000000000000daa39506018d8d08" X-Spamd-Result: default: False [-2.84 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.981]; NEURAL_HAM_MEDIUM(-0.98)[-0.979]; NEURAL_HAM_LONG(-0.88)[-0.879]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/related,multipart/alternative,text/plain]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::636:from]; RCPT_COUNT_SEVEN(0.00)[7]; MLMMJ_DEST(0.00)[freebsd-x11@freebsd.org,freebsd-virtualization@freebsd.org,freebsd-questions@freebsd.org,freebsd-hackers@freebsd.org,freebsd-drivers@freebsd.org]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4RCB692nbqz4DyP X-Spamd-Bar: -- --000000000000daa39506018d8d08 Content-Type: multipart/alternative; boundary="000000000000daa39406018d8d07" --000000000000daa39406018d8d07 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Actually the problem that I have is something like this : https://superuser.com/questions/1799481/wrong-mouse-movements-virtualizing-= freebsd-on-windows-11-with-qemu-kvm On Fri, Jul 28, 2023 at 4:42=E2=80=AFPM Mario Marietto wrote: > In the last few days I found something better than the simple -vga std. I= t > is : > > -device vmware-svga,id=3Dvideo0,vgamem_mb=3D16,bus=3Dpcie.0,addr=3D0x1 > > > qemu supports it and FreeBSD,too.... > > On Fri, Jul 28, 2023 at 4:33=E2=80=AFPM Jake Freeland > wrote: > >> On Fri, Jul 28, 2023 at 9:27=E2=80=AFAM Mario Marietto >> wrote: >> >>> Thanks. it does not work. This is the error I get : (on the attached >>> picture,you can read "segmentation fault"... >>> >>> [image: unnamed.png] >>> >>> On Fri, Jul 28, 2023 at 4:18=E2=80=AFPM Ronald Klop wrote: >>> >>>> On 7/23/23 16:27, Mario Marietto wrote: >>>> > Hello to everyone. >>>> > >>>> > >>>> > I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for >>>> Windows). I've end up with the following parameters which are working = : >>>> > >>>> > >>>> > |I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine >>>> q35 \ -cpu >>>> Westmere,vendor=3DGenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,= +xsave,+xsaveopt,check >>>> \ -m 8G -vga qxl -audiodev dsound,id=3Dsnd0 -device ich9-intel-hda -de= vice \ >>>> hda-duplex,audiodev=3Dsnd0 \ -hda >>>> "I:\OS\ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb >>>> "I:\OS\qemu\Linux\FreeBSD.img" -rtc base=3Dlocaltime \ -device >>>> nec-usb-xhci,id=3Dxhci -device usb-tablet -device usb-kbd \ -global >>>> nec-usb-xhci.msi=3Doff -smbios type=3D2 -nodefaults -netdev user,id=3D= net0 \ >>>> -device virtio-net-pci,netdev=3Dnet0,id=3Dnet0,mac=3D52:54:00:11:22:33= \ -device >>>> ich9-ahci,id=3Dsata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combin= ed.fd"| >>>> > >>>> > >>>> > Now I'm trying to configure Xorg and the xfce4 desktop environment. >>>> Since I'm using qemu,there are a lot of display devices available to >>>> try,but I don't know which one is good for FreeBSD. In the website bel= ow >>>> there is a good list of all options available : >>>> >>> >> I've found that `-vga std` with the xf86-video-vesa package works best. >> >> This combination only appears to support a maximum resolution of >> 1920x1080, >> but I have not found anything better over the last few years. >> >> >>> > >>>> > >>>> > https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ < >>>> https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/> >>>> > >>>> > >>>> > On FreeBSD I have installed the package drm-kmod and it suggests to >>>> me to add to the rc.conf file one of these parameters : >>>> > >>>> > >>>> > 1. >>>> > >>>> > for amdgpu : kld_list=3D"amdgpu" >>>> > >>>> > 2. >>>> > >>>> > for intel : kld_list=3D"i915kms" >>>> > >>>> > 3. >>>> > >>>> > for radeonkms : kld_list=3D"radeonkms" >>>> > >>>> > >>>> > qemu does not cover any of those. I don't know which option is decen= t >>>> for my case. I would like to try with the cirrus display driver. Maybe= this >>>> one : >>>> > >>>> > >>>> > https://www.freshports.org/x11-drivers/xf86-video-cirrus/ < >>>> https://www.freshports.org/x11-drivers/xf86-video-cirrus/> >>>> > >>>> > >>>> > |So,I have installed this package : pkg install xf86-video-cirrus >>>> > >>>> > | >>>> > >>>> > I've rebooted and I have changed |-vga qxl to -vga cirrus| >>>> > >>>> > FreeBSD recognized it at 0:1:0 >>>> > >>>> > >>>> > 2023-07-23 15_21_33-QEMU.png >>>> > >>>> > I have created xorg.conf with this content : >>>> > >>>> > |Section "Device" Identifier "Device0" Driver "cirrus" BusID >>>> "PCI:0:1:0" Screen 0 EndSection| >>>> > >>>> > >>>> > error : no screens found. >>>> > This is the reason why it does not work : >>>> > >>>> > >>>> > 2023-07-23 15 49 44.png >>>> > >>>> > but the module seems to be there : >>>> > >>>> > |cd /usr/local/lib/xorg/modules/drivers/ ls *cirrus_drv.so* ; >>>> modesetting_drv.so ; scfb_drv.so ; vesa_drv.so ;| >>>> > >>>> > >>>> > What should I do ? >>>> > >>>> > -- >>>> > Mario. >>>> >>>> >>>> A https://www.freshports.org/x11-drivers/xf86-video-qxl/ driver >>>> exists. It didn't work on my qemu on Mac/ARM. Maybe it works for you. >>>> >>>> Ronald. >>>> >>>> >>> >>> -- >>> Mario. >>> >> > > -- > Mario. > --=20 Mario. --000000000000daa39406018d8d07 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jul 28, 2023 at 4:4= 2=E2=80=AFPM Mario Marietto <m= arietto2008@gmail.com> wrote:
In the last few days I found som= ething better than the simple -vga std. It is :

-device vmware-svga,id=3Dvideo0,vgamem_mb=3D16,bus=
=3Dpcie.0,addr=3D0x1

qemu supports it and FreeBSD,too....=

On Fri, Jul 28, 2023 at 4:33=E2=80=AFPM Jake Freeland <= jake@techno= logyfriends.net> wrote:
On Fri, Jul 28, 2023 at 9:= 27=E2=80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
Thanks. it does not work. This is the error I get : (on the a= ttached picture,you can read "segmentation fault"...

3D"unnamed.png"

On Fri, Jul 28, 2023 at 4:18=E2=80=AFPM Rona= ld Klop <ronald@= freebsd.org> wrote:
On 7/23/23 16:27, Mario Marietto wrote:
> Hello to everyone.
>
>
> I would like to virtualize FreeBSD on Windows 11 with qemu-kvm (for Wi= ndows). I've end up with the following parameters which are working : >
>
> |I:\OS\qemu\Linux\qemu\qemu-system-x86_64w.exe -accel whpx -machine q3= 5 \ -cpu Westmere,vendor=3DGenuineIntel,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+= aes,+xsave,+xsaveopt,check \ -m 8G -vga qxl -audiodev dsound,id=3Dsnd0 -dev= ice ich9-intel-hda -device \ hda-duplex,audiodev=3Dsnd0 \ -hda "I:\OS\= ISO\FreeBSD\FreeBSD-13.2-RELEASE-amd64-disc1.iso" \ -hdb "I:\OS\q= emu\Linux\FreeBSD.img" -rtc base=3Dlocaltime \ -device nec-usb-xhci,id= =3Dxhci -device usb-tablet -device usb-kbd \ -global nec-usb-xhci.msi=3Doff= -smbios type=3D2 -nodefaults -netdev user,id=3Dnet0 \ -device virtio-net-p= ci,netdev=3Dnet0,id=3Dnet0,mac=3D52:54:00:11:22:33 \ -device ich9-ahci,id= =3Dsata -bios "I:\OS\qemu\Linux\OSX-KVM-master\OVMF_combined.fd"|=
>
>
> Now I'm trying to configure Xorg and the xfce4 desktop environment= . Since I'm using qemu,there are a lot of display devices available to = try,but I don't know which one is good for FreeBSD. In the website belo= w there is a good list of all options available :

I've found that `-vga std` with the xf86-= video-vesa package works best.

This combination on= ly appears to support a maximum resolution of 1920x1080,
but I ha= ve not found anything better over the last few years.
=C2=A0
>
>
> https://www.kraxel.org/blog/2019/09= /display-devices-in-qemu/ <https:= //www.kraxel.org/blog/2019/09/display-devices-in-qemu/>
>
>
> On FreeBSD I have installed the package drm-kmod and it suggests to me= to add to the rc.conf file one of these parameters :
>
>
>=C2=A0 1.
>
>=C2=A0 =C2=A0 =C2=A0for amdgpu : kld_list=3D"amdgpu"
>
>=C2=A0 2.
>
>=C2=A0 =C2=A0 =C2=A0for intel : kld_list=3D"i915kms"
>
>=C2=A0 3.
>
>=C2=A0 =C2=A0 =C2=A0for radeonkms : kld_list=3D"radeonkms" >
>
> qemu does not cover any of those. I don't know which option is dec= ent for my case. I would like to try with the cirrus display driver. Maybe = this one :
>
>
> https://www.freshports.org/x11-drivers= /xf86-video-cirrus/ <https://www.fre= shports.org/x11-drivers/xf86-video-cirrus/>
>
>
> |So,I have installed this package : pkg install xf86-video-cirrus
>
> |
>
> I've rebooted and I have changed |-vga qxl to -vga cirrus|
>
> FreeBSD recognized it at 0:1:0
>
>
> 2023-07-23 15_21_33-QEMU.png
>
> I have created xorg.conf with this content :
>
> |Section "Device" Identifier "Device0" Driver &quo= t;cirrus" BusID "PCI:0:1:0" Screen 0 EndSection|
>
>
> error : no screens found.
> This is the reason why it does not work :
>
>
> 2023-07-23 15 49 44.png
>
> but the module seems to be there :
>
> |cd /usr/local/lib/xorg/modules/drivers/ ls *cirrus_drv.so* ; modesett= ing_drv.so ; scfb_drv.so ; vesa_drv.so ;|
>
>
> What should I do ?
>
> --
> Mario.


A https://www.freshports.org/x11-drivers/xf86-= video-qxl/ driver exists. It didn't work on my qemu on Mac/ARM. May= be it works for you.

Ronald.



--
Mario.


--
Mario.


--
Mario.
--000000000000daa39406018d8d07-- --000000000000daa39506018d8d08 Content-Type: image/png; name="unnamed.png" Content-Disposition: inline; filename="unnamed.png" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: ii_lkmodv4w0 iVBORw0KGgoAAAANSUhEUgAABPoAAAFaCAIAAAAIPKSyAAAAA3NCSVQICAjb4U/gAAAgAElEQVR4 nO3dUZajLLcA0Oq7ej4ZQ0buGGpG9yGr8+VPlACCHHHvp+4S8YioEBT/3G6339/fHzpYliWx9H6/ HxYJHO9q9f9q+1tK+QAAx/u/0QFclLYdV3a1+n+1/S2lfACAXm632+gQAAAAoDGjuwAAAExIdxcA AIAJ6e4CAAAwId1dAAAAJqS7CzDGsixvn+f5/AsA8bmeQ1i6uwAAAEzob3rx43epsR9F7BRDOtvm G41QkvP5/N30sAPa1tfwgsefdurg4zt78eZcih/OuI/74z/7zWh1czvvv6W7sGeXz35+XUd+e6DJ hlQJOJHU6G6oZzBCBUMEqgTA1ZRe+d0prsBRBhI2R3ef147hv2Dd7/dHMMuyDA+GIOLUTxjo7OMM X+N/LDpvW3Zn/LMe38dtffWenj/anx9AtbOX/0VoDwBp66O70a4dzzDO2+ihhyD1E4DejOuSoD0A bEm9uxvq2vEc4z2pUIV5QWcv/7PHz6rVUa/81c8+9HT2+Hs7e/mk418d4M3Z5dLGQHXj4ezlz8F2 Xs+Bfla6u8F7lR5pBoCrKb31ayoA8JMY3f16n8jpFX/+apuffnXp8K74VgBf55AsSpaff91a+Ur3 Nz99ReSfq+SUbdHMqKPKM3OVzKlK9x+FHse39GDl5J+/vwfPBHuAPXu0tbRf+ZdGWKdffU4kTuS/ R075xDkft9bNuac/f8IOdZad8fzSHvgaUpHhDU6gFd/dLZC49vW+LK7mP2SjiUUNy2fIbWZgeQ7Z ysDj2ySehpvm5/zl73qVsyhO/lfT+/zSHmhLJYeZfPnubsLVHitKTN+1JCeOLpqZM/Er5uo7TulV 9ijd37ryyd/ft8T54wCZ5T+wPNP5F9Wf9FYyUzY5vqUHq67+5O/vZJqPgx1c/sPjr9jf9BDW1vW/ Tubj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AAcqQeZg7S130IFQwAAADBrXR3 g4+gBg8PAACACDZHdwOOpgYMCQAAgJh8dxcAAIAJ6e4CAAAwoc0PEWVafZM28dRxaXoAAACoYHQX AACACe0d3S0dmDWQCwAAwAGM7gIAADAh3V0AAAAmtNndXZ1TaqyAIQEAABDTSnc3+Ou1wcMDAAAg gtTDzKFGU0MFAwAAQHD/D8mL+egiZtJsAAAAAElFTkSuQmCC --000000000000daa39506018d8d08-- From nobody Sat Jul 29 01:19:23 2023 X-Original-To: freebsd-hackers@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 4RCRW76y6gz4pJ00 for ; Sat, 29 Jul 2023 01:19:47 +0000 (UTC) (envelope-from pat@patmaddox.com) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 4RCRW63nn0z3CBp for ; Sat, 29 Jul 2023 01:19:46 +0000 (UTC) (envelope-from pat@patmaddox.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=patmaddox.com header.s=fm2 header.b=Um+H2njm; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=M6fIKyy7; spf=pass (mx1.freebsd.org: domain of pat@patmaddox.com designates 66.111.4.27 as permitted sender) smtp.mailfrom=pat@patmaddox.com; dmarc=none Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 830445C00C9; Fri, 28 Jul 2023 21:19:45 -0400 (EDT) Received: from imap41 ([10.202.2.91]) by compute2.internal (MEProxy); Fri, 28 Jul 2023 21:19:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patmaddox.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm2; t=1690593585; x=1690679985; bh=EXLeQxUsSr/1RxNtOd9D5DFaC hgw/htXr/d5V//uBIQ=; b=Um+H2njm4z+z5k0XJ5yawTNV1Uo2cmakirbDbuTfe X/D3t4bjmlKpJwVcroMHXmoc2jIwf1jbhDnil/5B73qtHl6EDSHdRFaSzhYPOSCq y0Tx9bv4HDckK3KP3ung1QEIisd3Y01whcoPDs617Go+FwrbxoUpScntGtotf4wq LfOmSOT0r5+6AxcM0JQpedxTohS6LidZCn3FS7vdd7IUG/m+C51Hofa8IYTCNXfW vF3C8TYrQodNIOZTjJUhV1MEMjK5wM5EQ+PQkhesyO7rmUTxVdqitfbuQXYel/jA 1lqK919/MVjXBz+tMr6r1r4+tIkg7Moim38EHA9TGXf7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1690593585; x=1690679985; bh=EXLeQxUsSr/1RxNtOd9D5DFaChgw/htXr/d 5V//uBIQ=; b=M6fIKyy7nrevAKRDEV7fiBhdI7FBOawWGr/+YCJa8d+U9K03lyq zH2fK9XxWT5v8Q/USjvcAjH1Sj7Zwzo7C+xDZFGdz+JoNuu2zEuSyKSmZ8V9JYYF QYIjWAXTZ0hlcqFTUOGs0zkzv/iX/SW/4zrWWQZLKpLbm+i2TH6p0O2p765yF/+T iizfuIi8SiCEnNqhJkmzttdie+37yTyhYoYPp5i3Jk9l0kHX2v5Ut206G8mxPoZy z3k26MccHjFxkf1mo74H2d0nf1ZvZPoWgsPMHN+QMHXkYwDkunfC+ABVh3f4c3+z uUaDTKQnfTfbQCRLPVjWeohRawO3b89q3PA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrieejgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvfevufgtgfesth hqredtreerjeenucfhrhhomhepfdfrrghtucforgguughogidfuceophgrthesphgrthhm rgguughogidrtghomheqnecuggftrfgrthhtvghrnhepjefhfffgieffgfejvdehiefhfe ekgedugeehueeuieegkeehuedtgfdtlefhffetnecuffhomhgrihhnpehfrhgvvggsshgu rdhorhhgpdhgihhthhhusgdrtghomhdpshihmhgsohhlrdhmrghppdhshihmvhgvrhdrmh hkpdhlihgsrdhmkhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehprghtsehprghtmhgrugguohigrdgtohhm X-ME-Proxy: Feedback-ID: i8b6c40f9:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 25049234007E; Fri, 28 Jul 2023 21:19:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-592-ga9d4a09b4b-fm-defalarms-20230725.001-ga9d4a09b List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 Message-Id: In-Reply-To: References: <5f311275-e307-4e78-a479-c6d4e7f116d5@app.fastmail.com> <32a0f7e7-11b7-443e-a601-40bec7798d8f@app.fastmail.com> Date: Fri, 28 Jul 2023 18:19:23 -0700 From: "Pat Maddox" To: "Warner Losh" Cc: freebsd-hackers@freebsd.org Subject: Re: How are syscall functions defined? Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.48 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; MV_CASE(0.50)[]; RWL_MAILSPIKE_EXCELLENT(-0.40)[66.111.4.27:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; R_DKIM_ALLOW(-0.20)[patmaddox.com:s=fm2,messagingengine.com:s=fm3]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[pat]; DMARC_NA(0.00)[patmaddox.com]; ARC_NA(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[patmaddox.com:+,messagingengine.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-Rspamd-Queue-Id: 4RCRW63nn0z3CBp X-Spamd-Bar: --- Hey Warner, Thanks for taking the time to walk through that, it's super helpful. Ful= l disclosure: this is much deeper into src/ than I've ever ventured befo= re. The generated jail_attach.S and corresponding RSYSCALL / KERNCALL defini= tions make sense to me. Now I'm wondering about the other side of the boundary - how that assemb= ly makes its way to the kernel implementation. Here's what I think happens: 1. CPU sends a trap which leads to `call amd64_syscall` [1] 2. amd64_syscall [2] calls syscallenter [3] 3. syscallenter calls sv_fetch_syscall_args [4] which is set to cpu_fetc= h_syscall_args [5] 4. cpu_fetch_syscall_args uses the syscall arg code as an index into sys= ent [6] 5. syscallenter calls the syscall entry sycall property [7] So what we get, in shortened form, is: 1. libc produces assembly `mov 436,%eax; KERNCALL` 2. syscallenter grabs sysent[436] and calls its sycall property, which i= n this case is sys_jail_attach [8] Whew. Is that right? Pat --- [1] https://cgit.freebsd.org/src/tree/sys/amd64/amd64/exception.S#n580 [2] https://cgit.freebsd.org/src/tree/sys/amd64/amd64/trap.c#n1187 [3] https://cgit.freebsd.org/src/tree/sys/kern/subr_syscall.c#n58 [4] https://cgit.freebsd.org/src/tree/sys/kern/subr_syscall.c#n82 [5] https://cgit.freebsd.org/src/tree/sys/amd64/amd64/elf_machdep.c#n87 [6] https://cgit.freebsd.org/src/tree/sys/amd64/amd64/trap.c#n1080 [7] https://cgit.freebsd.org/src/tree/sys/kern/subr_syscall.c#n162 [8] https://cgit.freebsd.org/src/tree/sys/kern/kern_jail.c#n2599 On Sat, Jul 1, 2023, at 6:26 AM, Warner Losh wrote: > OK. System calls are a pain. there's a lot of boilerplate needed to ma= ke > them all work. > > So, it's been automated. The process starts after you add a system cal= l to > syscalls.master. > 'make sysent' is run which creates a number of different files. It cre= ates > the kernel glue. > These glue files are then committed to the tree. On the kernel side we= have > sys/kern/init_sysent.c which has the 'sysent' array which is used to > dispatch the system > calls. sys/kern/syscalls.c has the names, and sys/kern/systrace_args h= as > information > for dtrace decoding them. > > In userland, though, the system calls live in libc. But there's no sou= rce > file for them. > Instead, libc's sys/Makefile.inc includes sys/sys/syscall.mk, which is= also > generated above, > which has a list of all the system call files to create. Dependency ru= les > in sys/Makefile.inc > cause those .o's to be created with this rule: > ${SASM}: > printf '/* %sgenerated by libc/sys/Makefile.inc */\n' @ > ${.T= ARGET} > printf '#include "compat.h"\n' >> ${.TARGET} > printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' >> ${.TARGET} > printf ${NOTE_GNU_STACK} >>${.TARGET} > > which is where the source winds up: in the object tree as jail_attach.S > likely > with the contents (generated by hand): > > /* jail_attach.S generated by libc/sys/Makefile.inc */ > #incldue "compat.h" > #include "SYS.h" > RSYSCALL(jail_attach) > .section .note.GNU-stack,"".%%progbits > > The different __sys_jail_attach wrapping for the threading > libraries also is part of the RSYSCALL macro, for example amd64: > #define RSYSCALL(name) ENTRY(__sys_##name); = \ > WEAK_REFERENCE(__sys_##name, name); = \ > WEAK_REFERENCE(__sys_##name, _##name); = \ > mov $SYS_##name,%eax; KERNCALL; = \ > jb HIDENAME(cerror); ret; = \ > END(__sys_##name) > > The System.map file, etc, all know that this is generated, and is used= to > put the symbols in the proper version area. Symbol versions are beyond > the scope of this post. > > Warner > > On Sat, Jul 1, 2023 at 5:23=E2=80=AFAM Pat Maddox = wrote: > >> On Sat, Jul 1, 2023, at 3:11 AM, Pat Maddox wrote: >> > jail_attach is defined in syscalls.master [1] which generates a >> > declaration in jail.h [2]. Try as I might, I can=E2=80=99t find any= definition >> > of that specific syscall function (or any other). I think the clos= est >> > I=E2=80=99ve found is sys_jail_attach in kern_jail.c [3]. I suspect= there=E2=80=99s >> > some generation going on that defines jail_attach - but if that=E2=80= =99s the >> > case, I haven=E2=80=99t been able to track it down. >> > >> > Can someone point me to how the C function gets defined? >> > >> > Thanks, >> > Pat >> > >> > [1] >> > >> https://github.com/freebsd/freebsd-src/blob/releng/13.2/sys/kern/sysc= alls.master#L2307 >> > [2] >> > >> https://github.com/freebsd/freebsd-src/blob/releng/13.2/sys/sys/jail.= h#L119 >> > [3] >> > >> https://github.com/freebsd/freebsd-src/blob/releng/13.2/sys/kern/kern= _jail.c#L2340 >> >> Symbol.map [1] is used to produce a version map [2] which is then fed= to >> the linker [3], which I assume maps the symbols in the resulting bina= ry. I >> intend to experiment with that a bit, but I think that makes sense. >> >> Pat >> >> [1] >> https://github.com/freebsd/freebsd-src/blob/releng/13.2/lib/libc/sys/= Symbol.map#L672 >> [2] >> https://github.com/freebsd/freebsd-src/blob/releng/13.2/share/mk/bsd.= symver.mk#L43 >> [3] >> https://github.com/freebsd/freebsd-src/blob/releng/13.2/share/mk/bsd.= lib.mk#L253 >> >>