From owner-freebsd-hackers@freebsd.org Sun Mar 15 10:34:38 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A53B72713E6 for ; Sun, 15 Mar 2020 10:34:38 +0000 (UTC) (envelope-from salvadore@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gG5V2slGz3Bnq for ; Sun, 15 Mar 2020 10:34:38 +0000 (UTC) (envelope-from salvadore@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1472) id 00A961A32; Sun, 15 Mar 2020 10:34:36 +0000 (UTC) To: freebsd-hackers@FreeBSD.org Subject: [2 WEEKS LEFT REMINDER] Call for 2020Q1 quarterly status reports Message-Id: <20200315103438.00A961A32@freefall.freebsd.org> Date: Sun, 15 Mar 2020 10:34:36 +0000 (UTC) From: Lorenzo Salvadore X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2020 10:34:38 -0000 Dear FreeBSD Community, The deadline for the next FreeBSD Quarterly Status update is April 1, 2020, for work done since the last round of Quarterly Reports: January, 2020 - March, 2020. I would like to remind you that reports are collected during the last month of every quarter. Status report submissions do not need to be very long. They may be about anything happening in the FreeBSD project and community, and they provide a great way to inform FreeBSD users and developers about work that is underway or has been completed. Report submissions are not limited to committers; anyone doing anything interesting and FreeBSD related can -- and should -- write one! The preferred method is to follow the guidelines at the Quarterly GitHub repository: https://github.com/freebsd/freebsd-quarterly Alternatively you can fetch the Markdown template, fill it in, and email it to quarterly@FreeBSD.org. The template can be found at: https://raw.githubusercontent.com/freebsd/freebsd-quarterly/master/report-sample.md We look forward to seeing your 2020Q1 reports! Thanks, Lorenzo Salvadore (on behalf of quarterly@) From owner-freebsd-hackers@freebsd.org Sun Mar 15 15:57:06 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B841D26F636; Sun, 15 Mar 2020 15:57:06 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48gPFX6Lc9z3yHg; Sun, 15 Mar 2020 15:57:04 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 7195B14F9B; Sun, 15 Mar 2020 16:56:55 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8oDTxIEBuVSh; Sun, 15 Mar 2020 16:56:54 +0100 (CET) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id C2A1014F8C; Sun, 15 Mar 2020 16:56:54 +0100 (CET) Subject: Re: [RFC] Adding a Rados block driver to bhyve To: Alan Somers Cc: "freebsd-virtualization@freebsd.org" , FreeBSD Hackers References: <9c7a8dea-ac8a-4d17-ed33-b6c4e882add8@digiware.nl> <936ed7c2-99d2-5df8-de3f-f64f28d2ba6f@digiware.nl> From: Willem Jan Withagen Message-ID: <64ff960a-0ea9-60aa-a3b9-bd7f3e1a9d35@digiware.nl> Date: Sun, 15 Mar 2020 16:56:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: nl X-Rspamd-Queue-Id: 48gPFX6Lc9z3yHg X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wjw@digiware.nl designates 2001:4cb8:90:ffff::3 as permitted sender) smtp.mailfrom=wjw@digiware.nl X-Spamd-Result: default: False [-5.25 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.85)[-0.848,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[digiware.nl]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-3.10)[ip: (-9.51), ipnet: 2001:4cb8::/29(-4.68), asn: 28878(-1.35), country: NL(0.03)]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:28878, ipnet:2001:4cb8::/29, country:NL]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2020 15:57:06 -0000 On 10-3-2020 17:48, Alan Somers wrote: > On Tue, Mar 10, 2020 at 10:28 AM Willem Jan Withagen > wrote: > >> On 10-3-2020 17:21, Alan Somers wrote: >> >> On Tue, Mar 10, 2020 at 9:41 AM Willem Jan Withagen >> wrote: >> >>> On 10-3-2020 16:15, Alan Somers wrote: >>> >>> On Tue, Mar 10, 2020 at 3:59 AM Willem Jan Withagen >>> wrote: >>> >>>> On 9-3-2020 14:46, Alan Somers wrote: >>>> >>>> On Mon, Mar 9, 2020 at 4:32 AM Willem Jan Withagen >>>> wrote: >>>> >>>>> Hi all, >>>>> >>>>> And sorry for crosspoing three groups, but the answer can/could be a mix >>>>> of things to do in these three areas. >>>>> >>>>> I have a prototype of bhyve running on Rados/Ceph working: >>>>> https://github.com/freebsd/freebsd/pull/426 >>>>> >>>>> .......... >>>> 4) Create a bhyve-blockrbd port. >>>>> This is much like 3) but instead of building a bhyve-rbd >>>>> executable, >>>>> it delivers a libblockrbd.so that is dynamically loadable by the >>>>> standaard bhyve that comes with base. >>>>> >>>> ............ >>>> >>>>> Great work! I also agree that option 4 sounds like the best. There's >>>> precedent for ports that >>>>> require the FreeBSD Sources. For example, see devel/py-libzfs or >>>> emulators/virtualbox-ose. >>>>> You just need to define the SRC_BASE variable. >>>> Hi Alan, >>>> >>>> Thanx for the hint, and it made me check what is actually available >>>> within the poudriere jail >>>> And that does have full source, so the Makefile code is mainly for those >>>> that build in a different way. >>>> >>>> I've got a proto version working when compiling stuff with `make >>>> buildworld`, but run in the >>>> problem that libblock_rbd.so is stripped in such a way that the symbol I >>>> need is removed. >>>> Using the unstripped version does work. >>>> >>>> Is there an incantation for the SRC Makefiles that builds a dynamical >>>> loadable lib?? >>>> And I'm still looking for a PORTS example of building a dynamical >>>> loadable lib. >>>> Or is there no generic code for that in the PORTS Mk files? >>>> >>>> --WjW >>>> >>>> BTW: Still haven't worked in your AIO code :( >>>> >>> There are plenty of dynamic libraries built with the SRC makefiles. For >>> example, >>> https://svnweb.freebsd.org/base/head/lib/libbsdstat/Makefile?view=markup >>> . >>> >>> >>> That looks dangerously close to what I have for libblock_rbd. >>> === >>>> cat Makefile-librbd >>> # >>> # $FreeBSD$ >>> # >>> >>> PACKAGE=lib${LIB} >>> >>> .include >>> >>> LIB= block_rbd >>> SHLIB_MAJOR= 1 >>> >>> SRCS= block_rbd.c >>> >>> CFLAGS+=-I${SRCTOP}/sys >>> CFLAGS+=-g -O0 -fPIC -rdynamic >>> LDFLAGS+=-Wl,-export-dynamic,-Bdynamic >>> CFLAGS+=-DWITHOUT_CAPSICUM >>> >>> LOCALBASE?= /usr/local >>> CFLAGS+= -I${LOCALBASE}/include >>> LDFLAGS+= -L${LOCALBASE}/lib -lrados -lrbd >>> >>> WARNS?= 2 >>> >>> === >>> >>> This is the code that mk.lib.bsd runs: >>> objcopy --only-keep-debug libblock_rbd.so.1.full libblock_rbd.so.1.debug >>> objcopy --strip-debug --add-gnu-debuglink=libblock_rbd.so.1.debug >>> libblock_rbd.so.1.full libblock_rbd.so.1 >>> >>> So still I get a stripped lib in /usr/lib. And then the one and only >>> symbol I need to load >>> is not found. Copying libblock_rbd.so.1.full actually works for me. >>> >>> So either I'm doing it the wrong way, like special options on the symbols >>> oid. >>> Or mk.lib.bsd cannot deliver dlopen/dlsym-able files? >>> >>> And there are plenty of ports that build shared libraries too, just look >>> at /usr/local/lib/*.so. However, the ports framework doesn't have much >>> special code just to support building libraries. Instead the hard work is >>> always done by the ports themselves. Some use autotools, some cmake, etc >>> etc. The simplest port I can find that uses both SRC_BASE and INSTALL_LIB >>> is this one: https://svnweb.freebsd.org/ports/head/devel/linux_libusb/ . >>> >>> Oke thanx, I'll have a look at it, and given that I can see most of the >>> compile build stuff >>> in the SRC_BASE version I'll get it to work. >>> >>> --WjW >>> >> Try setting "STRIP= " in your makefile. That should prevent the >> stripping. However, I think there's something wrong with your library, >> too. The library should be usable even if it's stripped. >> >> I checked with objdump, and the symbol that I need is definitly not >> present in the stripped version. >> And it does not really matter if I declare it static or not. >> But I'll give it a few more itterations to try it out. >> Including 'STRIP= ' >> >> Thanx, >> --WjW >> > What does "nm --dynamic libblock_rbd.so.1" show? Don't know what has changed, but I just rebuild everything. And now it seems to work.... ;-) One thing I'm wondering if th DATA_SET(block_backend_set, ....) gets updated when dyn-loading the library it is in? Or if not, how do I add an entry to this DATA_SET, once we are running the program? I'm dlsym() looking for block_backend_rbd:                  w _Jv_RegisterClasses                  U __assert                  w __cxa_finalize                  U __error                  U __stack_chk_fail                  U __stack_chk_guard 0000000000006098 D __start_set_block_backend_set                  U __stderrp 00000000000060a0 D __stop_set_block_backend_set 000000000000475c T _fini 000000000000474c T _init 0000000000006008 D block_backend_rbd 0000000000006270 B blocklocal_backend 0000000000002170 T blockrbd_cleanup 0000000000006250 B blockrbd_debug 0000000000002080 T blockrbd_init Which is the variable holding the block_if:jumptable, and gives me access to all that I need to work with the driver. ============== block_backend_t block_backend_rbd = {     .bb_name      = "rbd",     .bb_init      = blockrbd_init,     .bb_cleanup   = blockrbd_cleanup,     .bb_open      = blockrbd_open,     .bb_size      = blockrbd_size,     .bb_chs       = blockrbd_chs,     .bb_sectsz    = blockrbd_sectsz,     .bb_psectsz   = blockrbd_psectsz,     .bb_queuesz   = blockrbd_queuesz,     .bb_is_ro     = blockrbd_is_ro,     .bb_candelete = blockrbd_candelete,     .bb_read      = blockrbd_read,     .bb_write     = blockrbd_write,     .bb_flush     = blockrbd_flush,     .bb_delete    = blockrbd_delete,     .bb_cancel    = blockrbd_cancel,     .bb_close     = blockrbd_close,     .bb_opaque    = (void*)&block_backend_rbd, }; DATA_SET(block_backend_set, block_backend_rbd); ============== This is the Makefile: # # $FreeBSD$ # PACKAGE=        lib${LIB} LIB=    block_rbd .include SHLIB_MAJOR=    1 SRCS=   block_rbd.c CFLAGS+=        -I${SRCTOP}/sys CFLAGS+=        -g -O0 -fPIC -rdynamic LDFLAGS+=       -Wl,-export-dynamic,-Bdynamic CFLAGS+=        -DWITHOUT_CAPSICUM LOCALBASE?=     /usr/local CFLAGS+=        -I${LOCALBASE}/include LDFLAGS+=       -L${LOCALBASE}/lib -lrados -lrbd WARNS?= 2 .include --WjW From owner-freebsd-hackers@freebsd.org Mon Mar 16 09:46:44 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E37AA260987 for ; Mon, 16 Mar 2020 09:46:44 +0000 (UTC) (envelope-from ben.rubson@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48grzk3x46z3FN5 for ; Mon, 16 Mar 2020 09:46:42 +0000 (UTC) (envelope-from ben.rubson@gmx.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1584351999; bh=4q56PPlwnrQcgZ9Z9WVsF4WbqTOhAB3U2y7seg3ppJk=; h=X-UI-Sender-Class:From:Subject:Date:References:To:In-Reply-To; b=O3AFUwNovn6oGxDsekCQv+aRfHl7sbzRh9bTKYyVVhz8lznKZ5ou2aa5L5T7EPKxm dBgaWLC1te3dmChrsoB7M/ONaFKjLl8VZxHV/98Zke0h5W919EFH5WQyD6LUKb+n+i Y2Nd1wL5WkqHKpFh/cgHfsiWpkg7hSTNiEA+U3z4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.0.102] ([82.64.198.151]) by mail.gmx.com (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MWzk3-1ipHPi1iS9-00XH2a for ; Mon, 16 Mar 2020 10:46:39 +0100 From: Ben RUBSON Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: Allow to run SSHd in Installer (12.2 patch) Date: Mon, 16 Mar 2020 10:46:38 +0100 References: <202003121829.02CITGjQ075689@gndrsh.dnsmgr.net> To: freebsd-hackers@freebsd.org In-Reply-To: <202003121829.02CITGjQ075689@gndrsh.dnsmgr.net> Message-Id: X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Provags-ID: V03:K1:Dy4CLDwcK8x0ssitTVRTf8oF+pEuC0H2UbNyvZcCRXmLl7U8EgD 0yEL32uM2XDFKB7Ue+k/qcM0v9UWUcacV7YtAfHvclAKZ2JpbIZJZ5OQz7cczOKHneN1uIx ELEX0ZnhJxr/0/QlLadtbsmnhBx7Ixx2e3nlOnJWceBEFD8CGqbbSSHt366kz1G0EVgVsG4 QVlE0kBumNyJ7P+HHM2NA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:iUvY5Ljauug=:pF/EUReBrhu+4F5oGbxqWm VZGxmeZyFS0GlPRP/BIvC9f+XMgJBckGo21YCGU7S9eC0+maPlFZfhvMaoxsdrMB4DAA5/635 CZRaxRnPz/Oi969XT9cNE/Fyn1nSuQ2TsHr/1tAeJol5GhhrQsJd0+SZlEN3FWUoZvt6ziv85 Px6IKKVVcl2wiHhvOjO0Ylg/lrU1P4oZCS6wBKNJyAC2wONHQmyrJQkSI9okr9CIA4cz8SRod ZFC/ubO0Rp8tBidViR3PgyoG9Lby7KGLh0p6iUoMmUoNGZAXpaP0wUou+HqMAZW92zjwQBMjJ JSmW3UcgWOamQicYqsmo+K2FTCzuq8/TWG/uwPlIZr2voyxqjsDF5i6gbm4GzSq8FjD6T8hCf e8GuDWFh7MHW/+vryv/Tt04f6oSquncOX0qi+dFryXK1C0LQAhELAEotAwnCNPRgBz9hmsc0F 7ksbozSz4dNeJGSVuVos/NsyWc76VxQFlu764yCuxLUww6o98AmO9mVtHhlX7gCeBcje6LKE7 nRK/4h1aJuZ3TSXENAoQG2qwUy2GQ4XrJ1k8GmpR0b88sUp9l4/Be0/IccxF6xqBOSxJGGp3A eTZrgOjULFaS48cneUOFvGDqQivAAEc1Jgb2bXpLL+kMijK9DlMyvGtmdW9jQqf1ip/DOf94J K0dFOoN2/UYfvwIrpHmmsu9oBGZKlqpW+RDSGPLdXeXlpgdwl9m8CtUKJaQx3iIkqXVKaPoFK SibPp6FJlYKZpKLyPuo/0b6IE6HvnzmCPzEWJ+1/f7JVQTxvTcpvmWPSib0rhLoMGgY2Dgy2X XTPpw2oXQ6LtU+f1zEMtrGWPPvhkLMpZVH14sYdUyp8Sana/ZVVFa/HKs9tSmTH5m78+UtBsy sOOL0h2pPxreWOXN8kjnrQjgNLtYbqrVtwbi7E9Jh+AOnoYs6Up62iTJlnvnGyXDTHjr2DtfH 1Z9RfY6pybVSvVliTeZA26l8ctv5B0t6mpCK6XJ3fdaV/demfogc56Ru14oWoibgsYLUI8uN2 2Es3te4txoLdUjJJ5gEldJxJBBQBCCNHG/jz9LlJZ8iTens4T2+caTn9a5l9QjjjDXaGIHQiF nQr0iE/yV9Rln8mKM4VdjNI63XXvavrYyH4RCJa3/+K4FSxqPpBh3SKCtDfjYDMeOTQwPRDRc F4pKI9s7GE3IIUqKnBZsMAOEyXaIQOwIvCCT3DFopAqZoRrxGL+Kmg0PwyEm+ent3maA6Owh6 hRHoMYG85vvBT01DP X-Rspamd-Queue-Id: 48grzk3x46z3FN5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=O3AFUwNo; dmarc=none; spf=pass (mx1.freebsd.org: domain of ben.rubson@gmx.com designates 212.227.15.15 as permitted sender) smtp.mailfrom=ben.rubson@gmx.com X-Spamd-Result: default: False [-2.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/24:c]; FREEMAIL_FROM(0.00)[gmx.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[gmx.net:+]; RECEIVED_SPAMHAUS_PBL(0.00)[151.198.64.82.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_IN_DNSWL_LOW(-0.10)[15.15.227.212.list.dnswl.org : 127.0.3.1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.com]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; NEURAL_HAM_MEDIUM(-0.91)[-0.912,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[gmx.com]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-6.91), ipnet: 212.227.0.0/16(-1.13), asn: 8560(2.18), country: DE(-0.02)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2020 09:46:45 -0000 Thank you Ruben & Rodney for your interest into this. Of course your solution works Rodney but is not really convenient trough = a remote console. What my patch tends to fix :) Fingers crossed ! Ben > On 12 Mar 2020, at 19:29, Rodney W. Grimes = wrote: >=20 > I have been starting sshd from install media since 5.4 or so, > here is my current method that should work on 11, 12 and 13: >=20 > # This version for FreeBSD 11.0R, works for 12.0 too >=20 > mkdir /tmp/ssh > cp -p /etc/ssh/sshd_config /tmp/ssh > echo 'PermitRootLogin yes' >> /tmp/ssh/sshd_config > echo 'AllowGroups wheel' >> /tmp/ssh/sshd_config > echo 'PermitEmptyPasswords yes' >> /tmp/ssh/sshd_config > echo 'HostKey /tmp/ssh/ssh_host_rsa_key' >> /tmp/ssh/sshd_config > echo 'HostKey /tmp/ssh/ssh_host_dsa_key' >> /tmp/ssh/sshd_config > echo 'UsePAM no' >> /tmp/ssh/sshd_config > echo 'PasswordAuthentication yes' >> /tmp/ssh/sshd_config >=20 > ssh-keygen -t rsa -f /tmp/ssh/ssh_host_rsa_key -N '' > ssh-keygen -t dsa -f /tmp/ssh/ssh_host_dsa_key -N '' >=20 > /usr/sbin/sshd -f /tmp/ssh/sshd_config >=20 > For those that "need" this feature today :-) Just drop to > a shell after booting from install media, run the above > commands, and you can get in. BEWARE, passwordless root login = enabled! >=20 >> Hi Ben, >>=20 >> I'm not a FreeBSD developer (so not your targeted audience) but would=20= >> very much like to see this land in a release! >>=20 >> Kind regards, >>=20 >> Ruben >>=20 >> On 3/10/20 4:07 PM, Ben RUBSON wrote: >>=20 >>>> On 2 Mar 2020, at 13:09, Ben RUBSON wrote: >>>>=20 >>>> Hi, >>>>=20 >>>> I've done some work to allow to connect to FreeBSD installer = through SSH. >>>> It can be useful for example if we have specific tasks to perform = before installation, such as disks configuration etc... >>>> Working through a SSH connection is much more convenient than in = front of a console. >>>> FreeBSD installer can then also be used as a rescue disk. >>>>=20 >>>> To achieve this, I've modified FreeBSD installer, so that after = having installed SSHd, if performs following configuration modifications = : >>>> - generate host keys into /var/ssh (as default /etc/ssh is not = writable) ; >>>> - only allow keys authentication ; >>>> - allow root authentication ; >>>> - read authorized_keys file from /var/ssh (as default homedirs are = not writable). >>>>=20 >>>> SSHd can then be started thanks to the installer shell : service = sshd start >>>> And a public key put into for example = /var/ssh-keys/root/authorized_keys, thanks to fetch or whatever. >>>>=20 >>>> Work is here : >>>> https://github.com/freebsd/freebsd/pull/156 >>>> Rather simple, and ready to be merged. >>>>=20 >>>> This job is more than 2 years old, I would then really be glad if = we could see this in 12.2 installation ISOs. >>>> It would prevent me from having to modify the new ISO files to = implement this patch. >>>=20 >>> Any thoughts ? :) >>>=20 >>> Thank you very much ! >>>=20 >>> Ben From owner-freebsd-hackers@freebsd.org Tue Mar 17 04:48:31 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7CEDB259FA2 for ; Tue, 17 Mar 2020 04:48:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48hLK96J5lz41px for ; Tue, 17 Mar 2020 04:48:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: V6XPq6UVM1lAAtNX7aeuvm5VFrG39_aMm0kFbMAf.pkYGNLdeXZHAchiQ9sJLOh A3orl.CWMGI0oA1AYHXkWVXQD32xCxRjF_E95UafZR0VuyD4RlibUqkkQWZQjDJ1g.4OqZx1GV0g G3vSxo91ufelXI4ygGY8amiA4_dAYsI1.Y1uxFskvgXGod2rw7kpQ3gul64iFPT19dqnbg2nyF5Q EgGB88226SOVgFay8mwsjnsXf1LoRXLZUApUzZKimKjk3YEplKdiHGILZ4Xoqu1uoBof9FJIWDFN oq0whcq6JpvWxIBMDh1CCfj5JYQKVkTrkCBKyd9fwspjvtidnNJQqX1cGmqhcEwVsEPDSQvow_RV 8PTyBr_TmSO1D3RccbdEe_tadtZGZ2Qht3PXZNX9wumU2YYmKIAEaeEHWpyyFE7D4oOsiaUniwKR 8M1J7hLYAheCT_vjDqbZcstYyIWG410qoOhI5cTtmhLH0Lgf3P2u0u4jav5L1SzUtl_DYmQgLfeW yZ4rgqdRqlJk0l79wOJwwvWgtBR3Fa638.YMBa5jLuIdUyuIVDU6oVBnha0my6Nu8nyX_RRsk733 pgaZsWee2S4CyrvzunwzWyrhKwK_1vlaRmFUSAnEBU5lgWvKbtQ3Tp1LkOtY1KQdRDV9zIyjcEvP gMQ6tuBCPM5qiL2XteqYzuN0dtE0YDEmEL7IFI.hXrKU6RJRlp6mPW7cV8rD_82UBYTMG1onUiH2 VTqI3GBfQe7LB_AgH3MOZRL45E.iCvZWqsYy6mmgmVh5N30qjVCJJl38xbg6BUFfmzwprFIyiprR fqYQzcIzy7rLqFgp.xjsmufisT.ZEl3yQUOsQ09.klXXDcREeI_ApONap61vNRGQZ1Pmes0cnyV4 _zsAYSwn6ABpXg6BM7hqMWIA3kllclvMn4WqqN0ZqmfSoIlpviaYdk5ieDGN9epnpUhl0ZtDzt5C ZYfn339O87yoQ1xaz8Bqat6FhzFfSylXls3bb9o9V6TDMrJw_A2Zv215M5b5.ofAaKVIon1Ik9Av CmjtZAXoQ4bH67dXxWiMm92aMh3o2TMuH6Y5lUBPEffsB4xGAoUj8_i2eUXXoYmLRL2AnfJbyo.e A6QRd3v1XDzYQAGVvJahzquE6dQLxeSS9CFzTz13QnwsTonTh7_VpckhseEijfys6s7EYQP_Blod tCeFJIBZm_cKZ09WqziJB1Or9V8e1u1EJZovf.mPtfX60z.92ZgKUY4gWSvAi3DwsXJP5LsZhF1U EeisX6w82GQjo3dcqevSqcX0XPW7KKi9IEQl4YDRuCVnloFyz8J1PbkHUbw8Xzb5MU88.G6gd._o mP0jBMc2LPCM0JJPAjk8zNjLzxZvp1.RosTg7gz6Qa5rno_6HdycAwWiwqE_38dzBHEuNiJxEMXF lVUBHSeHvznvPyDGh2ofd3XvN8lJ_iA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Tue, 17 Mar 2020 04:48:26 +0000 Received: by smtp404.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 742402431fba836ba803ada04b6310a1; Tue, 17 Mar 2020 04:48:25 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: amd64->armv7 cross-build failure for security/ca_root_nss: It failed in memcpy () from /libexec/ld-elf.so.1 Message-Id: <1EC37157-CBA2-4334-92C1-E845F63DB5CA@yahoo.com> Date: Mon, 16 Mar 2020 21:48:23 -0700 Cc: FreeBSD ports To: freebsd-arm , FreeBSD Hackers X-Mailer: Apple Mail (2.3608.60.0.2.5) References: <1EC37157-CBA2-4334-92C1-E845F63DB5CA.ref@yahoo.com> X-Rspamd-Queue-Id: 48hLK96J5lz41px X-Spamd-Bar: + X-Spamd-Result: default: False [1.18 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_SPAM_MEDIUM(0.99)[0.989,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[146.64.137.98.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_LONG(0.69)[0.687,0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (3.33), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 04:48:31 -0000 Context: head -r358966 attempting to update ports to -r528535 . Also, 50+ ports built just fine but the below has been repeatable in my context. The original failure was under devel/poudriere-devel (with nxb-bin/ materials used). But part of the below is from exploring with various steps in a handier context. The original error message was: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Building for ca_root_nss-3.51 ## Untrusted certificates omitted from this bundle: 2 openssl x509 failed with exit code 11 at = /wrkdirs/usr/ports/security/ca_root_nss/work/MAca-bundle.pl line 78. *** Error code 255 The original source that reported the message was: sub printcert_info($$) { my (undef, $certdata) =3D @_; return unless $certdata; open(OUT, "|openssl x509 -text -inform DER -fingerprint") || die "could not pipe to openssl x509"; print OUT $certdata; close(OUT) or die "openssl x509 failed with exit code $?"; } The die produced: -rw-r--r-- 1 root wheel 7909376 Mar 17 03:18:04 2020 = qemu_openssl.core gdb reported for it: Core was generated by `openssl'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0xf501adb4 in memcpy () from /libexec/ld-elf.so.1 and: (gdb) info threads Id Target Id Frame=20 * 1 LWP 1592 "x509" 0xf501adb4 in memcpy () from = /libexec/ld-elf.so.1 and: gdb) bt #0 0xf501adb4 in memcpy () from /libexec/ld-elf.so.1 #1 0xf5004cd0 in do_copy_relocations () from /libexec/ld-elf.so.1 and (from a disass): =3D> 0xf501adb4 <+436>: strd r4, [r3], #8 (It was not clear what code context to supply so I stuck to showing the instruction with the register used such that SIGSEGV could result from the use: r3 .) Finally the registers were listed as holding: (gdb) info reg r0 0xf4f5d57c 4109751676 r1 0x14 20 r2 0x93000 602112 r3 0x1 1 r4 0x10 16 r5 0x9fffdfa4 2684346276 r6 0xf4fe2404 4110296068 r7 0xf4fe2004 4110295044 r8 0x93000 602112 r9 0x93000 602112 r10 0x9fffdfe0 2684346336 r11 0x0 0 r12 0x9fffdf80 2684346240 sp 0x9fffdf80 0x9fffdf80 lr 0xf5004cd0 4110437584 pc 0xf501adb4 0xf501adb4 cpsr 0x60000010 1610612752 Yep: r3=3D=3D1 would do it. Note: I've otherwise ignored here seeing lots of: qemu: unsupported syscall: 574 (calling anyway) notices while doing things for extracting this information. I'll note that I had no such SIGSEGV when ca_root_nss 3.50 built back at OSVERSION=3D1300077 on 2020-Feb-16: it built and worked fine back then. I'm not sure when I'll have time to do more with this or if I will again just abandon qemu-user-static for a time. (Insufficient time to allocate to do more?) Hopefully the basic information is useful to someone at some point. I'm not claiming that I know qemu-user-static is the problem, or openssl, or whatever. Just that the combination is broken in my context. Having security/ca_root_nss blocked, blocks cross-building lots of other things, including devel/llvm10 . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-hackers@freebsd.org Tue Mar 17 12:42:12 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F2FD264C44; Tue, 17 Mar 2020 12:42:12 +0000 (UTC) (envelope-from daniel.nicolescu10@gmail.com) Received: from mail-vk1-xa33.google.com (mail-vk1-xa33.google.com [IPv6:2607:f8b0:4864:20::a33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hXql4wk0z3Qy0; Tue, 17 Mar 2020 12:42:11 +0000 (UTC) (envelope-from daniel.nicolescu10@gmail.com) Received: by mail-vk1-xa33.google.com with SMTP id k63so5900113vka.7; Tue, 17 Mar 2020 05:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=ZfVaZiTETHUimPDSX5rhf3miFggNXjxOvBuGrrXHtcs=; b=Ofzpr7YIr7D9DfXebPbLHr92ElpI48QkPbYUlFC4oiXG/pcYKYybB4FzotQwVuYEAt FFVdRRXUEQ8TPq8aC39brMHvXiqJMmkBi1lY+KKAOtfs5rDMgvf/4e1ezioXLud1tozo c7FwsI1TTaBE2PAlk098SX+fv2sYKmRXtoyseZErws5+Dn/oH6JuPzte7Rluae9EYMqU c+89pbSp02/Hdxg5q9wZLKslEIKxGtGWQ+1cmsqKEFFVUiCIT5xe9YEbtgUOK9jMYh6y Me6SMsZgXuGA2Nay5iPZp0g4YR4dlk5BdB/bPrvZpIt7jSwHAZJy3L7v2M+Liw0XcTUS zEMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=ZfVaZiTETHUimPDSX5rhf3miFggNXjxOvBuGrrXHtcs=; b=MGbSv7SRpcsAacKfWdD3H+Mj525cS6W/Aw5Dqnh8CmurHaAlqS595kRQbzv7mYdIRD fHgfiNsfCeNQDikiQRu3rihSoGPgTJp3UWkbRh5ZJeDeok1tIedKfGxOglKIn3gd0Gn2 Avd7PFLcP482oSZggK31j/zqqE/XQj+XR4Rd/psjmBioRC+MBEVfeJ+dq4qRy48NyE5Z OrNXzakNJevHQqOZpG0XbvaCTN53K8nzBdAqM1rcNhIru7GYbiXCkNclebwSOoOFGJ85 07iiKdCCXg8gcD+Qp0yAWNvaFfJywB50chpNRP84UEwrQkn1SkZRKMAKVqJyrSecmXlX 3qzg== X-Gm-Message-State: ANhLgQ0XO9YiCprkjhZTlC11ubDSpWOTZH5EcgqrK4xqi4PbEAgHYWiU oqUjN8xTfhSfa7xCmYoYRt2+vpzM/YYUQTLkOmS/O4LV/9w= X-Google-Smtp-Source: ADFU+vufThdsJSUvb66q2WGJwRD3k5o7ZxEhvywIm63WAqWf9ZrEkIIR1jZvlpvORv6T4eupRYLmcIAIrDPqU7gkGtI= X-Received: by 2002:a1f:728a:: with SMTP id n132mr3436882vkc.1.1584448930005; Tue, 17 Mar 2020 05:42:10 -0700 (PDT) MIME-Version: 1.0 From: Daniel Nicolescu Date: Tue, 17 Mar 2020 14:41:59 +0200 Message-ID: Subject: USB device passthrough implementation To: freebsd-virtualization@freebsd.org, freebsd-hackers@freebsd.org Cc: patrascu.naina14@gmail.com, Mihai Carabas X-Rspamd-Queue-Id: 48hXql4wk0z3Qy0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Ofzpr7YI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of danielnicolescu10@gmail.com designates 2607:f8b0:4864:20::a33 as permitted sender) smtp.mailfrom=danielnicolescu10@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.09), ipnet: 2607:f8b0::/32(-1.85), asn: 15169(-1.65), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.a.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 12:42:12 -0000 Hi, We want to implement the USB pass through feature for bhyve so that users will be able to pass through individual USB devices like in QEMU. We are trying to emulate the USB controller and pass to the virtual machine only one port. * We need to disconnect the USB device from host: we are currently not very familiar with the kernel API to perform this * We need to emulate a USB device controller: we are currently looking into pci_xhci.c and usb_mouse.c to reuse some of the code from there and we would like to know if there is some sort of in depth documentation regarding these. * We need to pass the USB device to the guest through an emulated port of the device controller: we know that project ACRN implements USB device passthrough and we are trying to figure out how they do it. Could you give us a few suggestions on how to tackle these? Thanks! From owner-freebsd-hackers@freebsd.org Tue Mar 17 13:13:27 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B3E75265E9E; Tue, 17 Mar 2020 13:13:27 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48hYWn5NH1z4K5r; Tue, 17 Mar 2020 13:13:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id CB5E2260133; Tue, 17 Mar 2020 14:13:20 +0100 (CET) Subject: Re: USB device passthrough implementation To: Daniel Nicolescu , freebsd-virtualization@freebsd.org, freebsd-hackers@freebsd.org Cc: patrascu.naina14@gmail.com, Mihai Carabas References: From: Hans Petter Selasky Message-ID: Date: Tue, 17 Mar 2020 14:12:19 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48hYWn5NH1z4K5r X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.19 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; RCPT_COUNT_FIVE(0.00)[5]; SUSPICIOUS_RECIPS(1.50)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.72)[-0.722,0]; IP_SCORE(-2.67)[ip: (-9.20), ipnet: 2a01:4f8::/29(-2.57), asn: 24940(-1.56), country: DE(-0.02)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 13:13:27 -0000 Hi, On 2020-03-17 13:41, Daniel Nicolescu wrote: > Hi, > > We want to implement the USB pass through feature for bhyve so that users > will be able to pass through individual USB devices like in QEMU. We are > trying to emulate the USB controller and pass to the virtual machine only > one port. > > * We need to disconnect the USB device from host: we are currently not very > familiar with the kernel API to perform this See: libusb_detach_kernel_driver(). > * We need to emulate a USB device controller: we are currently looking into > pci_xhci.c and usb_mouse.c to reuse some of the code from there and we > would like to know if there is some sort of in depth documentation > regarding these. > * We need to pass the USB device to the guest through an emulated port of > the device controller: we know that project ACRN implements USB device > passthrough and we are trying to figure out how they do it. > > Could you give us a few suggestions on how to tackle these? USB has four transfer types: 1) Control transfers 2) Interrupt transfers 3) Bulk transfers 4) Isochronous transfers If your implementation is supposed to be fully USB compliant you need to support and test all transfer types. Please also pay attention to error conditions. USB has different speeds, LOW, HIGH, FULL, SUPER, which impose different characteristics on the USB wMaxPacketSize for example. You should know about the principle of short-terminated USB transfers. Is the wrapper supposed to be implemented in the kernel or in user-space? --HPS From owner-freebsd-hackers@freebsd.org Tue Mar 17 14:09:13 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 77D9E267609; Tue, 17 Mar 2020 14:09:13 +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 48hZm72hPNz4TKF; Tue, 17 Mar 2020 14:09:11 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 02HE95qe075562 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 17 Mar 2020 15:09:05 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1584454146; bh=OHZRyhMFKdfNaSH6Csjd9xMwhMtnGlyUz/nAwZ+3mTU=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Vtq8AnXXHRfG9gLhar4AACeL52WttAnVEB3qjFx5a/Z2zxoVfg4ZPMm/cPuAXxZab SB1j+l4uib6poNxGQij2mx5j5z3pr3U7Q8f5/dG49JdVMkGzyz1lzi7c1dSYwTQYWD z/G8HV/PtDulh7nAQBRbDMTprHKVuAV18pW7HK00= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 02HE95OY075559; Tue, 17 Mar 2020 15:09:05 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Tue, 17 Mar 2020 15:09:04 +0100 (CET) From: Wojciech Puchar To: Daniel Nicolescu cc: freebsd-virtualization@freebsd.org, freebsd-hackers@freebsd.org, patrascu.naina14@gmail.com, Mihai Carabas Subject: Re: USB device passthrough implementation In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 48hZm72hPNz4TKF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=Vtq8AnXX; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-2.29 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.92)[-0.924,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; R_SPF_ALLOW(-0.20)[+mx]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; RCPT_COUNT_FIVE(0.00)[5]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.57)[ip: (-6.78), ipnet: 194.1.144.0/24(-3.39), asn: 43476(-2.71), country: PL(0.06)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 14:09:13 -0000 > We want to implement the USB pass through feature for bhyve so that users > will be able to pass through individual USB devices like in QEMU. We are i want to be your beta tester. > trying to emulate the USB controller and pass to the virtual machine only > one port. > > * We need to disconnect the USB device from host: we are currently not very > familiar with the kernel API to perform this in most cases you actually don't have to. just use /dev/ugen/* devices simply make it as a parameter for bhyve usbpassthrough=a/device where a is virtual USB device number (i don't think you want to emulate more than one bus - one xhci is already done in bhyve), and device would be like /dev/ugenX.Y From owner-freebsd-hackers@freebsd.org Tue Mar 17 15:34:18 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6593626999E; Tue, 17 Mar 2020 15:34:18 +0000 (UTC) (envelope-from daniel.nicolescu10@gmail.com) Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hcfJ4mmYz3LFg; Tue, 17 Mar 2020 15:34:16 +0000 (UTC) (envelope-from daniel.nicolescu10@gmail.com) Received: by mail-vs1-xe30.google.com with SMTP id a63so4182816vsa.8; Tue, 17 Mar 2020 08:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LDWk+3LJtnWLYySzyxUFjoOIs/+0ssowJSncWfOqnk4=; b=udHZAmCyS1+5ETFb2Xl6uu9gsx6VdPFZjMbj//7mWbjHFRwBDcPQWOOjdHDrjMmESx hH+JR3CLHKyFGx6Ldm1LomkGyOc6XnXxVpORDI633h7DfTsA6UToFf7ekmV5t1qFvcIu 3jE+jtJysxM1DBd8jtzmHUgqnJ6S2eP/thBGxXV8dCFgH/PD1sSxIlaNFBejTmPzIVAo xC9mDjpTgmIyjoGlkB4W0GrCaZ+UOYpZ6ziuSyO4wANCjTHYjWyz2Ux7Zhql+JD8k7J5 ALk+gy86Fe5r+e1Zcjn2HXO+FmyNPPNH7kKuiZ+k5lraeRjMwi28V5r5644nm2jfPRMF 5cBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LDWk+3LJtnWLYySzyxUFjoOIs/+0ssowJSncWfOqnk4=; b=DUxuSfSum3TLYl/VBcdxF1gS642+JrQX2/dPDU87EFkEhZkHzdmwK4I8V3SbQAHYSC jE+A5p2ggTnwgD+XFIMTrZ2uCfK9pzkEqPf8L50q2TzAwfaCh3UFBY+iRNQhRKHztfR3 reWHfrZGVFq2b/P1cXA5ltxIXGnO5e+Vps6bHlrF5xOOrp0sVfh8J7bqOXM2wMt3DDq8 TXFSEHoNDaF2KWFCLdEHIuEeHOqesNh6cAJQT/Hj1FmCpqy1xFpr9uTkYd+q1yBkMyao jM+9R5DJKeDvpXWKEav2shuUfbtghIlcm72UIrzyb9ATdAQNkYQqlXz+B1ujMKLFO7xg CBXg== X-Gm-Message-State: ANhLgQ3qN+LFKjUlmiMBH/cjjvzIOhxZRH2pO6xF1r09lusPLbY1pftR 1nJiQIWDNtrat4rWYRDKbw8NmPgM1zu5glRiZMI= X-Google-Smtp-Source: ADFU+vsMsbfxuQ4TaFM+PVbo2Z2X+65Cf34v6C9BzcAb1mgn9vShjX58YZ1PaqNyi685GMUXlMnDqlr+s1m5BRvXefo= X-Received: by 2002:a67:f6c9:: with SMTP id v9mr4123070vso.48.1584459254930; Tue, 17 Mar 2020 08:34:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Nicolescu Date: Tue, 17 Mar 2020 17:34:03 +0200 Message-ID: Subject: Re: USB device passthrough implementation To: Hans Petter Selasky Cc: freebsd-virtualization@freebsd.org, freebsd-hackers@freebsd.org, patrascu.naina14@gmail.com, Mihai Carabas X-Rspamd-Queue-Id: 48hcfJ4mmYz3LFg X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=udHZAmCy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of danielnicolescu10@gmail.com designates 2607:f8b0:4864:20::e30 as permitted sender) smtp.mailfrom=danielnicolescu10@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.61), ipnet: 2607:f8b0::/32(-1.85), asn: 15169(-1.65), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 15:34:18 -0000 Hi, We would like to implement it in user-space. On Tue, Mar 17, 2020 at 3:13 PM Hans Petter Selasky wrote: > Hi, > > On 2020-03-17 13:41, Daniel Nicolescu wrote: > > Hi, > > > > We want to implement the USB pass through feature for bhyve so that users > > will be able to pass through individual USB devices like in QEMU. We are > > trying to emulate the USB controller and pass to the virtual machine only > > one port. > > > > * We need to disconnect the USB device from host: we are currently not > very > > familiar with the kernel API to perform this > > See: > libusb_detach_kernel_driver(). > > > * We need to emulate a USB device controller: we are currently looking > into > > pci_xhci.c and usb_mouse.c to reuse some of the code from there and we > > would like to know if there is some sort of in depth documentation > > regarding these. > > * We need to pass the USB device to the guest through an emulated port of > > the device controller: we know that project ACRN implements USB device > > passthrough and we are trying to figure out how they do it. > > > > Could you give us a few suggestions on how to tackle these? > > USB has four transfer types: > > 1) Control transfers > 2) Interrupt transfers > 3) Bulk transfers > 4) Isochronous transfers > > If your implementation is supposed to be fully USB compliant you need to > support and test all transfer types. > > Please also pay attention to error conditions. > > USB has different speeds, LOW, HIGH, FULL, SUPER, which impose different > characteristics on the USB wMaxPacketSize for example. > > You should know about the principle of short-terminated USB transfers. > > Is the wrapper supposed to be implemented in the kernel or in user-space? > > --HPS > From owner-freebsd-hackers@freebsd.org Tue Mar 17 15:41:09 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0460D269D66; Tue, 17 Mar 2020 15:41:09 +0000 (UTC) (envelope-from daniel.nicolescu10@gmail.com) Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hcpD0C93z45Hf; Tue, 17 Mar 2020 15:41:07 +0000 (UTC) (envelope-from daniel.nicolescu10@gmail.com) Received: by mail-vs1-xe36.google.com with SMTP id t10so14194513vsp.1; Tue, 17 Mar 2020 08:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3vDtOR5lpMHvIxTa8hRILn5gtY9Q8tCMlNUXVSHVxKg=; b=p3LgGn8kAzEn+O79pvynf7uqfrG/n3IiikkVw6JfpgijYuvLiaYBgpPg7TwWWwRsha I4Oi4+292ew6p2d59jvnn7hZhKcsfZ4J/x+WnY96ucB+8a15knHa9uz6zp9DUGT2GYgB 2Cjd89UYYLvHVKvyKG2QUHZ9+YR0vCk5jkBn+49AE10WM18rAuy5twYpPFu1/T0tWaTg /z4aoJRtKyGaAT9GUrYKzxNYpDqfzHh20tsP6V73LaD2h5rpXvEwKlVkIDjQ8eh5xJ6B Ql5Lc5fYcfAr3R8Dk/XyMFYy0tTbqupYZHwv7eeBs2QmgYXtCEv/pAGZRjt5jADHAOxL kCag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3vDtOR5lpMHvIxTa8hRILn5gtY9Q8tCMlNUXVSHVxKg=; b=THbe12t3p6dh4O0NZ5VUYyzhinsVbRWjLgNXeTS96di3B2Y9oX0QDcrao8KI7L11xv A7bsZ+Ixbj0xEpJe78GvW+Fu4dWtwpE/kceVKXTn1LTZg8wmQELaSd7i6FMtaHc8LaDJ NNroW75DWrfCyk3/4v5AgT/gtjU+JBnnl0cQgRDGFISXRxRS69zO++obOlMsIYYtFUzJ 2qMcsVI84N1xLauCCF5a1wz1EVGFeOpMga3Wg9OuyWQMepClxko87eUtLikbMOJ+k++W 5xV5EkbssmHgeVTGQlNi7uB4ykQIeEbA4k6v6QEUM2dVUMyfXN9zHr7f+rD+8WYapBgo lkUg== X-Gm-Message-State: ANhLgQ2BcOS4sy8dwueRz3/xKhUqTyfZGGM6pUrLnvJjLkqWTbN9CVTv nIOZ7AP2tjgPMSAeTUXATtrSEClM+AxgT9X8o0k= X-Google-Smtp-Source: ADFU+vuP+T7cPgl/cyX11eZooU97msw3IgK7/CySiKwXQUiSD9A87Bq69dGrVPWzgH+tLQk3kUzy8TernyLEITHLV9Y= X-Received: by 2002:a67:2f83:: with SMTP id v125mr3751240vsv.100.1584459666913; Tue, 17 Mar 2020 08:41:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Nicolescu Date: Tue, 17 Mar 2020 17:40:55 +0200 Message-ID: Subject: Re: USB device passthrough implementation To: Wojciech Puchar Cc: freebsd-virtualization@freebsd.org, freebsd-hackers@freebsd.org, patrascu.naina14@gmail.com, Mihai Carabas X-Rspamd-Queue-Id: 48hcpD0C93z45Hf X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=p3LgGn8k; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of danielnicolescu10@gmail.com designates 2607:f8b0:4864:20::e36 as permitted sender) smtp.mailfrom=danielnicolescu10@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.59), ipnet: 2607:f8b0::/32(-1.85), asn: 15169(-1.65), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[6.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 15:41:09 -0000 Sure, when we will get there. Thank you On Tue, Mar 17, 2020 at 4:09 PM Wojciech Puchar wrote: > > We want to implement the USB pass through feature for bhyve so that users > > will be able to pass through individual USB devices like in QEMU. We are > > i want to be your beta tester. > > > trying to emulate the USB controller and pass to the virtual machine only > > one port. > > > > * We need to disconnect the USB device from host: we are currently not > very > > familiar with the kernel API to perform this > > in most cases you actually don't have to. > just use /dev/ugen/* devices > simply make it as a parameter for bhyve > > usbpassthrough=a/device > > where a is virtual USB device number (i don't think you want to emulate > more than one bus - one xhci is already done in bhyve), and device would > be like /dev/ugenX.Y > > From owner-freebsd-hackers@freebsd.org Tue Mar 17 16:48:40 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6E31026B782 for ; Tue, 17 Mar 2020 16:48:40 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hfJ66fvkz4QgZ for ; Tue, 17 Mar 2020 16:48:38 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by mailman.nyi.freebsd.org (Postfix) id A857A26B781; Tue, 17 Mar 2020 16:48:38 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A4EF826B77F for ; Tue, 17 Mar 2020 16:48:38 +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.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 48hfJ50q2Lz4Qbr for ; Tue, 17 Mar 2020 16:48:36 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 0C4D43C0199; Tue, 17 Mar 2020 16:48:30 +0000 (UTC) Date: Tue, 17 Mar 2020 16:48:29 +0000 From: Brooks Davis To: hackers@freebsd.org Subject: HEADS UP: importing kyua into the base system Message-ID: <20200317164829.GB83983@spindle.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 48hfJ50q2Lz4Qbr X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-6.39 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.86)[-0.863,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.63)[ip: (-9.52), ipnet: 199.48.128.0/22(-4.75), asn: 36236(-3.82), country: US(-0.05)]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; TO_DOM_EQ_FROM_DOM(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 16:48:40 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'll be importing kyua and it's dependency lutok into the base system this week. Integrating it into the FreeBSD build system will make it available by default which is especially valuable on emerging architectures were we aren't building packages yet (e.g. riscv). -- Brooks --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecP9dAAoJEKzQXbSebgfAAJ8IAIXAFZ+YhMuREyOseV/6XF8r HOw2vQoisHMvoBhMWN3RAD0/3zmxaECT2cVRKI4yUBCeZRVbdTGRVCexYyssZbuP MKOYYnyqMSqtO4gFVo7c/x2N25v4uYMiTJI9VwK3UIS6+AXHpjuidFAPG6wPTOBC 9McsDseLNL2VQR6zKRsw5dmKuGKxquMS1jF0saKt0NIPM0dJUf5bHZMkuy35TjK9 Hxc3XMvwY1Aao6yq1c3zdvk8BNJbyjFBFO6nB0LUmRai8Ojl1VEkGSafDvyasj+Z ZbzEeUPE+H+7ByZkw5ku24+na21FrBs7E+xfILwDfGvSPkh9kAz/gA56M5YrDnM= =sTTX -----END PGP SIGNATURE----- --liOOAslEiF7prFVr-- From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:10:28 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4E8AC26D6C3 for ; Tue, 17 Mar 2020 18:10:28 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hh6V5nlkz4Rss for ; Tue, 17 Mar 2020 18:10:26 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 9845926D6C2; Tue, 17 Mar 2020 18:10:26 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 97F6A26D6C1 for ; Tue, 17 Mar 2020 18:10:26 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hh6S6LmTz4RnZ; Tue, 17 Mar 2020 18:10:24 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wr1-f42.google.com with SMTP id h6so6613797wrs.6; Tue, 17 Mar 2020 11:10:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ha3Ayqf2Io9EcAqreaoPYTOFhgSVEEvhfQRRcLVwIh4=; b=MX7G5ufMfndZ8Ka0xqTmvfk2KCPBjwM8mA7o82m6P8x9rYvsD6m4hfbQKdBhF2wZWJ zkbjOD3cIqtSgOrOtdmhq3asT5oMzjR5VuR4eo2lcKE24C3elBE1NNdWL/eppHNgqz3N e56OpoMimMC2OgTGrLC4qfpFVLZA70NpuMKAWGTp0ZkYbjGC2w1lofSprjM6b78MlyO6 SKcqKV0OOh6G6gggsBGtS1O209o1SCioCnoncYps+TaHASMbYdA1yfE3q5NBgRLo0osc BTfve6LSXUNZw18jY9q+86R8OzOarqeX2Tb9d89LqZDBD9WwLdpSHuGuI8S7gOocaddE xyLg== X-Gm-Message-State: ANhLgQ2ZmHiFq+pSgI96HH2KzP17owpL8Irgp31vEHbyjjIpO/6oJjGq DqeczBPbNcKSTkpH9Vt+skAdj79N X-Google-Smtp-Source: ADFU+vv4QVG8ASMF1+fH9fqC6wVFG4JBh+QLZbGBryo9aETOCKlQ8co8v+/2tbsdcqdo0BZoPM2HiA== X-Received: by 2002:a5d:67cd:: with SMTP id n13mr196547wrw.383.1584468622272; Tue, 17 Mar 2020 11:10:22 -0700 (PDT) Received: from ?IPv6:2a02:8109:98c0:40ee:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:40ee:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id f203sm290362wmf.18.2020.03.17.11.10.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Mar 2020 11:10:20 -0700 (PDT) Subject: Re: HEADS UP: importing kyua into the base system To: Brooks Davis , hackers@freebsd.org References: <20200317164829.GB83983@spindle.one-eyed-alien.net> From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: Date: Tue, 17 Mar 2020 19:10:45 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200317164829.GB83983@spindle.one-eyed-alien.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48hh6S6LmTz4RnZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.221.42 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-3.28 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.29)[ip: (-1.76), ipnet: 209.85.128.0/17(-2.97), asn: 15169(-1.65), country: US(-0.05)]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[42.221.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[42.221.85.209.rep.mailspike.net : 127.0.0.17]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:10:28 -0000 Hi, On 3/17/20 5:48 PM, Brooks Davis wrote: > I'll be importing kyua and it's dependency lutok into the base system > this week. Great news! > Integrating it into the FreeBSD build system will make it > available by default which is especially valuable on emerging > architectures were we aren't building packages yet (e.g. riscv). Is it going to be placed in contrib/ or usr.bin? Or in other words, do we just import it or do we fork it? Cheers, Mateusz From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:14:11 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A26A26D9E6 for ; Tue, 17 Mar 2020 18:14:11 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48hhBp4jRRz4bx4 for ; Tue, 17 Mar 2020 18:14:10 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: by mailman.nyi.freebsd.org (Postfix) id A168026D9E4; Tue, 17 Mar 2020 18:14:10 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A11E426D9E3 for ; Tue, 17 Mar 2020 18:14:10 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48hhBn3VqPz4btl; Tue, 17 Mar 2020 18:14:09 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 02HIE2a0098644; Tue, 17 Mar 2020 11:14:02 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 02HIE2XF098643; Tue, 17 Mar 2020 11:14:02 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202003171814.02HIE2XF098643@gndrsh.dnsmgr.net> Subject: Re: HEADS UP: importing kyua into the base system In-Reply-To: <20200317164829.GB83983@spindle.one-eyed-alien.net> To: Brooks Davis Date: Tue, 17 Mar 2020 11:14:02 -0700 (PDT) CC: hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 48hhBn3VqPz4btl X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.59 / 15.00]; NEURAL_SPAM_MEDIUM(0.41)[0.405,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:14:11 -0000 > I'll be importing kyua and it's dependency lutok into the base system > this week. Integrating it into the FreeBSD build system will make it > available by default which is especially valuable on emerging > architectures were we aren't building packages yet (e.g. riscv). > > -- Brooks Why isnt there a preceding discussion of this on -arch? -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:15:03 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9AFE426DADB for ; Tue, 17 Mar 2020 18:15:03 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hhCq0TdDz4drh for ; Tue, 17 Mar 2020 18:15:03 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.nyi.freebsd.org (Postfix) id C625126DADA; Tue, 17 Mar 2020 18:15:02 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C5C6E26DAD9 for ; Tue, 17 Mar 2020 18:15:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hhCn0N9fz4dnc for ; Tue, 17 Mar 2020 18:15:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x731.google.com with SMTP id c145so34137493qke.12 for ; Tue, 17 Mar 2020 11:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0EESvQA2y6A6ZzobfbxaBq+BO+Hb/mHswi78Ww5f+x8=; b=n+2iZrC3UWBrRsKjcJkoyrRJVDb0lTWFbWBAm2Ykg6fNED+6bUDOskqDuI7ehWp9ux jty0bBQVQa5zxZ8N5XaRD7C8+Rm4nPY4PnDFxdUygLQjC7ChgaeESKmBHZ8A/2bhHeh3 Nt96iC7lSVUmKk+P1sk2+4y4wuxStdECunkI+alyKM61jdMEJJ+ujsOFZjQPBeRat6J1 1oXelTnpFSnHM0OWNfsClGsIinjK5W9JJUJZP+Cf9Pr7HuucHIY1EOiv6LrkOX19V6/P 39GWJPAM8cmmCfXIq6Uq7z9Rp7mZZg3JHEn24KudezMkjEemV+YngY/qFoowI/7dE6vX lgAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0EESvQA2y6A6ZzobfbxaBq+BO+Hb/mHswi78Ww5f+x8=; b=pdxPubKA1UPOls6ubJFX0EQe/M/cQMR/67szQjIdePnftjNOXeOCwtxF2py4WMpbJG SAQFTCSj9Ii91z14Lq5nNhhhherjdCRRRBw7euZrTIjvBWgiu6WQj1AAVgcqxh2qkvCL 3a8ml7BRIcHjD431nazAWKnRnL0iDQ1hBXSXIlQESyA3mRYkKCitEWXb64EpI7OG19A5 lmGSyxK0+b3CXVKpdEWl8s6+6aUv94xLUpJjZesYjSTS/rYUiY/yC9kKVe3wGDvqMj2g tSeTWqCiwlm/CNxfUZaOEQIW49uS+u67v6X8ptMaLJxGIeY5vYb4VcprB9OgAUjsRrD+ do/Q== X-Gm-Message-State: ANhLgQ01HWw/sKTUYP4RVCb31sBMWc0KwAdYXgK+2n58ipP8oOCBnTvu lIBY9SuZUwfdStooUSVBgP4D/MlHuoUqlnUeJDdL0Q== X-Google-Smtp-Source: ADFU+vvfSMkFhP2IbwvTE3PsZgo12nskpbKv6liDahpi5eGsKhUoc/sUA3CRtf5BUoccuVQVh3orwrrZfl0LoRjUUKo= X-Received: by 2002:a05:620a:200d:: with SMTP id c13mr156013qka.240.1584468899307; Tue, 17 Mar 2020 11:14:59 -0700 (PDT) MIME-Version: 1.0 References: <20200317164829.GB83983@spindle.one-eyed-alien.net> In-Reply-To: From: Warner Losh Date: Tue, 17 Mar 2020 12:14:48 -0600 Message-ID: Subject: Re: HEADS UP: importing kyua into the base system To: Mateusz Piotrowski <0mp@freebsd.org> Cc: Brooks Davis , "freebsd-hackers@freebsd.org" X-Rspamd-Queue-Id: 48hhCn0N9fz4dnc X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=n+2iZrC3; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::731) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-4.54 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[1.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.54)[ip: (-9.15), ipnet: 2607:f8b0::/32(-1.85), asn: 15169(-1.65), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:15:03 -0000 On Tue, Mar 17, 2020 at 12:10 PM Mateusz Piotrowski <0mp@freebsd.org> wrote: > Hi, > > On 3/17/20 5:48 PM, Brooks Davis wrote: > > I'll be importing kyua and it's dependency lutok into the base system > > this week. > Great news! > > Integrating it into the FreeBSD build system will make it > > available by default which is especially valuable on emerging > > architectures were we aren't building packages yet (e.g. riscv). > > Is it going to be placed in contrib/ or usr.bin? Or in other words, do > we just import > it or do we fork it? > The long-term plan is to fork it. The details of which are being worked out. In the mean time, treat it like software that has an active upstream. Warner From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:27:39 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D76926E06A for ; Tue, 17 Mar 2020 18:27:39 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hhVL58dCz4DVG for ; Tue, 17 Mar 2020 18:27:38 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 8CA6226E069; Tue, 17 Mar 2020 18:27:38 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C46B26E067 for ; Tue, 17 Mar 2020 18:27:38 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hhVJ69J0z4DRR; Tue, 17 Mar 2020 18:27:36 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wm1-f45.google.com with SMTP id a141so373021wme.2; Tue, 17 Mar 2020 11:27:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=jY8BLXG91x7lRpr4vC11K/5KCS4t3l43hEpP61y5z/Y=; b=P6N9L8Np3G+a3BZJTvtw6dLOMMhyUnYNGi6mDQ2SKNki3NV1RYgMBccl0xr1ceBlTT aWWI4Krhs0THfb8jQ5C23Dm66SYkjRJwv8S5p9u8BH5WUWvau1Aj0G2WLrABCSpO1CUP d2TE8Ja5laiafuag+jb9Z7AswaDgcYNMbgkRzd+WcTB4tEcgDPvqExrTmObCtawXEOCy UAYw9tcCHMnPPfELKPMMLmKDZVvGtsHZ05GNJoETTfNFvNiA/Bcz0+U5YOBHJ9qhV3pd jkBaFruaPPjKxhv3K18eQwFQLW/jgI1ys04show3ifyseGgZ/B1p6PrnbJKuLZTextUz jCjw== X-Gm-Message-State: ANhLgQ3eNCAu9LlyayztVD2HB9DSuzwNWEscmrJHmhK43ivVb3bucSNQ fSzkod9S2E543qhZ2BqeOT28RyqK X-Google-Smtp-Source: ADFU+vtErcAhIBJnNOfxghmExG5kfiX1rviPeCiJDPvpkifVWG+qxAE8cSssGishgHOMveWDvb63YA== X-Received: by 2002:a7b:c118:: with SMTP id w24mr328451wmi.77.1584469654085; Tue, 17 Mar 2020 11:27:34 -0700 (PDT) Received: from ?IPv6:2a02:8109:98c0:40ee:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:40ee:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id l83sm291646wmf.43.2020.03.17.11.27.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Mar 2020 11:27:32 -0700 (PDT) Subject: Re: HEADS UP: importing kyua into the base system To: Warner Losh Cc: Brooks Davis , "freebsd-hackers@freebsd.org" References: <20200317164829.GB83983@spindle.one-eyed-alien.net> From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: Date: Tue, 17 Mar 2020 19:28:00 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Rspamd-Queue-Id: 48hhVJ69J0z4DRR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.128.45 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-3.29 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; RCVD_TLS_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[45.128.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; IP_SCORE(-1.30)[ip: (-1.84), ipnet: 209.85.128.0/17(-2.97), asn: 15169(-1.65), country: US(-0.05)]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[45.128.85.209.rep.mailspike.net : 127.0.0.17]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:27:39 -0000 On 3/17/20 7:14 PM, Warner Losh wrote: > On Tue, Mar 17, 2020 at 12:10 PM Mateusz Piotrowski <0mp@freebsd.org > > wrote: > > On 3/17/20 5:48 PM, Brooks Davis wrote: > > I'll be importing kyua and it's dependency lutok into the base > system > > this week. > > Is it going to be placed in contrib/ or usr.bin? Or in other > words, do > we just import > it or do we fork it? > > > The long-term plan is to fork it. The details of which are being > worked out. In the mean time, treat it like software that has an > active upstream. > > Warner Great, thanks! Mateusz From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:32:33 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2B8A26E371 for ; Tue, 17 Mar 2020 18:32:33 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48hhc10JLQz4Qxd for ; Tue, 17 Mar 2020 18:32:33 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by mailman.nyi.freebsd.org (Postfix) id D2CE626E370; Tue, 17 Mar 2020 18:32:32 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D273A26E36E for ; Tue, 17 Mar 2020 18:32:32 +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.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 48hhbz0Nb7z4Qss for ; Tue, 17 Mar 2020 18:32:31 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 431CD3C0199; Tue, 17 Mar 2020 18:32:30 +0000 (UTC) Date: Tue, 17 Mar 2020 18:32:30 +0000 From: Brooks Davis To: "Rodney W. Grimes" Cc: hackers@freebsd.org Subject: Re: HEADS UP: importing kyua into the base system Message-ID: <20200317183230.GB2618@spindle.one-eyed-alien.net> References: <20200317164829.GB83983@spindle.one-eyed-alien.net> <202003171814.02HIE2XF098643@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ADZbWkCsHQ7r3kzd" Content-Disposition: inline In-Reply-To: <202003171814.02HIE2XF098643@gndrsh.dnsmgr.net> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 48hhbz0Nb7z4Qss X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-6.38 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.85)[-0.853,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; IP_SCORE(-3.63)[ip: (-9.52), ipnet: 199.48.128.0/22(-4.75), asn: 36236(-3.82), country: US(-0.05)] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:32:33 -0000 --ADZbWkCsHQ7r3kzd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 17, 2020 at 11:14:02AM -0700, Rodney W. Grimes wrote: > > I'll be importing kyua and it's dependency lutok into the base system > > this week. Integrating it into the FreeBSD build system will make it > > available by default which is especially valuable on emerging > > architectures were we aren't building packages yet (e.g. riscv). > > Why isnt there a preceding discussion of this on -arch? The lack of kyua in base (meaning the inability to run the test suite without package infrastructure) has been discussed as a pain point for ages. The only real objection to it before (IIRC) was that it would mean importing lua, but we've got lua in base now (as flua) so it's time to import it. I suppose I could have added a multi-day delay discussion delay which would increase my odds of making errors in the port from CheriBSD, but I'm pretty skeptical we'd come to any conclusion other than the encouragement I got when I mentioned this on Slack as I started working on it. -- Brooks --ADZbWkCsHQ7r3kzd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecRe9AAoJEKzQXbSebgfA3ckIAIqOby1RO6Zw1DY28dfB7ZQg rXHgJXEEc3GSY9p3JW65lYZhouTFg+NsRznBRm2PC5F6gG+BNEw6qCFOpZAfECqy LeXpsfLm8lf7d4H1zkPMTa20wlFwMWtM5Oz2J/MeHD7jkhnzXwyu0FR5Daq5ZR/a CWwlgRCazcOVNWXx9akQinLzL0bN4DH/liRlbF1a/Ur0uutZc99dQVhxMzy0vSZg o0j3zLFvOotzpckEJcCv83AjGoFhy+aqX0NQ7XRCtlIAqQ5zlkO5VP5LY1St4mg7 e9oGpkQ+3LqL7FewOSYSXG8jF4wtOg3oRIkOya0M++mk/95LYdCOaQkvZcnsaKw= =5B2P -----END PGP SIGNATURE----- --ADZbWkCsHQ7r3kzd-- From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:33:57 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E45DD26E4D7 for ; Tue, 17 Mar 2020 18:33:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hhdd27PBz4TtJ for ; Tue, 17 Mar 2020 18:33:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: by mailman.nyi.freebsd.org (Postfix) id 1423726E4D3; Tue, 17 Mar 2020 18:33:57 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 132F326E4D2 for ; Tue, 17 Mar 2020 18:33:57 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hhdb38R0z4TqV; Tue, 17 Mar 2020 18:33:55 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id 02HIXlJi037863 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 17 Mar 2020 11:33:47 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id 02HIXl8k037862; Tue, 17 Mar 2020 11:33:47 -0700 (PDT) (envelope-from sgk) Date: Tue, 17 Mar 2020 11:33:47 -0700 From: Steve Kargl To: "Rodney W. Grimes" Cc: Brooks Davis , hackers@freebsd.org Subject: Re: HEADS UP: importing kyua into the base system Message-ID: <20200317183347.GA37820@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20200317164829.GB83983@spindle.one-eyed-alien.net> <202003171814.02HIE2XF098643@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202003171814.02HIE2XF098643@gndrsh.dnsmgr.net> X-Rspamd-Queue-Id: 48hhdb38R0z4TqV X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=washington.edu (policy=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 X-Spamd-Result: default: False [-0.28 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM,none]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.959,0]; NEURAL_SPAM_MEDIUM(0.90)[0.898,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-0.22)[ip: (0.05), ipnet: 128.95.0.0/16(-0.24), asn: 73(-0.83), country: US(-0.05)]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:33:58 -0000 On Tue, Mar 17, 2020 at 11:14:02AM -0700, Rodney W. Grimes wrote: > > I'll be importing kyua and it's dependency lutok into the base system > > this week. Integrating it into the FreeBSD build system will make it > > available by default which is especially valuable on emerging > > architectures were we aren't building packages yet (e.g. riscv). > > > Why isnt there a preceding discussion of this on -arch? > As there appears to be no open discussion about this addition, is there a WITHOUT_KYUA knob that can be set in /etc/src.conf to completely disable all kyua related components. The svn commit with a new internal library appear to not have a knob. -- Steve From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:38:26 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A139D26E719 for ; Tue, 17 Mar 2020 18:38:26 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hhkp3qQZz4djq for ; Tue, 17 Mar 2020 18:38:26 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8309226E718; Tue, 17 Mar 2020 18:38:26 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 82CB226E716 for ; Tue, 17 Mar 2020 18:38:26 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hhkp2z0dz4djm; Tue, 17 Mar 2020 18:38:26 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: olivier/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 3A50D2C52; Tue, 17 Mar 2020 18:38:26 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: by mail-pj1-f46.google.com with SMTP id ng8so133265pjb.2; Tue, 17 Mar 2020 11:38:26 -0700 (PDT) X-Gm-Message-State: ANhLgQ2eCMCrfPRStnBpWDL4kEgHAZhUOzhJJnvI1AG6ILxrLqGd5e6M FyfOP+MkUqmQKY9B8y3SXkrfqk8Rymzmc1QiihA= X-Google-Smtp-Source: ADFU+vuRFuQ2bE1oMDhbm5Qrp3qWx3oG3LzN9hHLFlFSIWdh1SypbeRmyCXg2ZBDyAK8jBK9F1JMRPhIG8Kon+C8sX8= X-Received: by 2002:a17:90a:1d4:: with SMTP id 20mr549380pjd.95.1584470305208; Tue, 17 Mar 2020 11:38:25 -0700 (PDT) MIME-Version: 1.0 References: <20200317164829.GB83983@spindle.one-eyed-alien.net> <202003171814.02HIE2XF098643@gndrsh.dnsmgr.net> <20200317183347.GA37820@troutmask.apl.washington.edu> In-Reply-To: <20200317183347.GA37820@troutmask.apl.washington.edu> From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Tue, 17 Mar 2020 19:38:13 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: HEADS UP: importing kyua into the base system To: sgk@troutmask.apl.washington.edu Cc: "Rodney W. Grimes" , hackers@freebsd.org, Brooks Davis Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:38:26 -0000 On Tue, Mar 17, 2020 at 7:34 PM Steve Kargl < sgk@troutmask.apl.washington.edu> wrote: > > As there appears to be no open discussion about this addition, > is there a WITHOUT_KYUA knob that can be set in /etc/src.conf > to completely disable all kyua related components. The svn > commit with a new internal library appear to not have a knob. > Or reusing the existing WITHOUT_TESTS. From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:46:12 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D39626ED95 for ; Tue, 17 Mar 2020 18:46:12 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hhvl2prFz3wnc for ; Tue, 17 Mar 2020 18:46:11 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 577EE26ED91; Tue, 17 Mar 2020 18:46:11 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 56E5B26ED90; Tue, 17 Mar 2020 18:46:11 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hhvl0ClBz3wn5; Tue, 17 Mar 2020 18:46:10 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pl1-x633.google.com with SMTP id t3so9994857plz.9; Tue, 17 Mar 2020 11:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=c2Xg3ovIQUoaI6r81luFh7sbAKzer3SA3DGnOL9eEMc=; b=IfhTLZYKN4G2zIL1wwfu4ov+lAZlHwmVw7MoDDvJsFfBBRmG7nqrpiNhPlPZ5t/esH E5tw/5NMbcSS2MXzCb1t7C2iMU7u9/2XllCzx+Z3J3jHWRvdQFPAcBv9QEGNJApwwMSC PGg4fmzf8SQQB5UXY5787OBdfmY1bA3A7OLYQOlDaAyt44+AT/Ywc8Btdbf0QkjuFjNp 4m8vMweO2zSsGRNf6usD/xx66k9PAv5OhivTzs5H0AYhK1LzeN3x62sQkFyv2ZrkPd2F 0GeeK/4adkt8SkyO7iKayK2xBF+6DaMugasAowvc0DiYOHECWSxdU7CXww5ace6u5/wW OBjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=c2Xg3ovIQUoaI6r81luFh7sbAKzer3SA3DGnOL9eEMc=; b=hz71mVYEeQp7uBTpqT5nIcsVCL8/pMGqKytulk1+Pz8yr4THvwPTsDFvAB6SStqkuo AlEXFz1IzBD6Y5YEo1zh4QSpOtHfUdqGOIxdzy/8SQfXpbkFGmDnOpRfFClyoWHBMDFP tMmcQ/k9d8+V8yip8c48qwx0GmWuoDzKnUnl24VztqDk84b+jlA4lzbrsUd/VqOvY18O S7tmYPQxWtpBNRHtEE6KGYuGUxZwGLVUV/ITrf8elbTzNIOKDy1Ukbl9KOfTUFa2UlNB lrWFlsAL+or1WKEOqAVFQb1vrEOekdYb0s9mIwro5sg1vkYs8oCYorXpaIRl3g0ZuOE7 7JWg== X-Gm-Message-State: ANhLgQ3YWWD3O/IYV8V4/Iy6Hu8DIoEj4P1NspgBEtCt6ITPQuExdtAL j0nUXrEKP1dJC60UTvKOZsnguJoDHp0= X-Google-Smtp-Source: ADFU+vtJhVoW4Bjvou1aItYNiosF6DhI9G70wbDgFqoNB6T/23T+yObDGqqlZxlMlHAJyURTPD1k3g== X-Received: by 2002:a17:90a:d205:: with SMTP id o5mr636087pju.46.1584470768431; Tue, 17 Mar 2020 11:46:08 -0700 (PDT) Received: from [192.168.20.26] (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id t8sm150483pjy.11.2020.03.17.11.46.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Mar 2020 11:46:07 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: HEADS UP: importing kyua into the base system From: Enji Cooper In-Reply-To: <20200317164829.GB83983@spindle.one-eyed-alien.net> Date: Tue, 17 Mar 2020 11:46:06 -0700 Cc: hackers@freebsd.org, "freebsd-testing@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200317164829.GB83983@spindle.one-eyed-alien.net> To: Brooks Davis X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48hhvl0ClBz3wn5 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.20 / 15.00]; NEURAL_HAM_MEDIUM(-0.20)[-0.202,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:46:12 -0000 > On Mar 17, 2020, at 9:48 AM, Brooks Davis wrote: >=20 > I'll be importing kyua and it's dependency lutok into the base system > this week. Integrating it into the FreeBSD build system will make it > available by default which is especially valuable on emerging > architectures were we aren't building packages yet (e.g. riscv). The adding kyua to the base system is news to me. Why isn=E2=80=99t the existing package just being modified to point to = the FreeBSD repo fork, since jmmv@ no longer has a commit bit? Thanks, -Enji= From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:47:10 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D36BD26EF49 for ; Tue, 17 Mar 2020 18:47:10 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hhwt4Vzsz3yqT for ; Tue, 17 Mar 2020 18:47:10 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 88CD626EF42; Tue, 17 Mar 2020 18:47:10 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 87EF126EF40 for ; Tue, 17 Mar 2020 18:47:10 +0000 (UTC) (envelope-from kevans@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hhwt2c4nz3yps; Tue, 17 Mar 2020 18:47:10 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 164D12D7D; Tue, 17 Mar 2020 18:47:10 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f181.google.com with SMTP id j4so17787620qkc.11; Tue, 17 Mar 2020 11:47:10 -0700 (PDT) X-Gm-Message-State: ANhLgQ3+JLoQKDdILTnOi8IUcyglRPDTGf+XEIziehhM9oH2ojdTgHWK WS9XzgtUdvIxv2Hp6LvYwhNBfOP5C+2Svi+ekPc= X-Google-Smtp-Source: ADFU+vtu/U5HPvZqrbw9+mWdj6TIMOFVcid7DPcmbrHgGAN7GQ0SeI2zCXlvC0JNNq42PLNNbbZwFkHSGeClWQa/evk= X-Received: by 2002:a37:cc1:: with SMTP id 184mr284047qkm.430.1584470829568; Tue, 17 Mar 2020 11:47:09 -0700 (PDT) MIME-Version: 1.0 References: <20200317164829.GB83983@spindle.one-eyed-alien.net> <202003171814.02HIE2XF098643@gndrsh.dnsmgr.net> <20200317183347.GA37820@troutmask.apl.washington.edu> In-Reply-To: <20200317183347.GA37820@troutmask.apl.washington.edu> From: Kyle Evans Date: Tue, 17 Mar 2020 13:46:57 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: HEADS UP: importing kyua into the base system To: sgk@troutmask.apl.washington.edu Cc: "Rodney W. Grimes" , hackers@freebsd.org, Brooks Davis Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:47:11 -0000 On Tue, Mar 17, 2020 at 1:34 PM Steve Kargl wrote: > > On Tue, Mar 17, 2020 at 11:14:02AM -0700, Rodney W. Grimes wrote: > > > I'll be importing kyua and it's dependency lutok into the base system > > > this week. Integrating it into the FreeBSD build system will make it > > > available by default which is especially valuable on emerging > > > architectures were we aren't building packages yet (e.g. riscv). > > > > > Why isnt there a preceding discussion of this on -arch? > > > > As there appears to be no open discussion about this addition, > is there a WITHOUT_KYUA knob that can be set in /etc/src.conf > to completely disable all kyua related components. The svn > commit with a new internal library appear to not have a knob. > If you're referring to r359045, this cannot be used as an indicator of kyua plans. Internal libs are not installed, just built for use elsewhere -- and liblua must be built, as it's used in flua and will likely also end up integrated into lldb to enable that for folks that build WITH_LLDB in addition to the various other uses of it. From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:50:24 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 42FD126F376 for ; Tue, 17 Mar 2020 18:50:24 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48hj0b4T5Nz45h5 for ; Tue, 17 Mar 2020 18:50:23 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by mailman.nyi.freebsd.org (Postfix) id 924D826F375; Tue, 17 Mar 2020 18:50:23 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8FBAD26F374 for ; Tue, 17 Mar 2020 18:50:23 +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.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 48hj0Y4wBvz45dr; Tue, 17 Mar 2020 18:50:21 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 0C2073C0199; Tue, 17 Mar 2020 18:50:21 +0000 (UTC) Date: Tue, 17 Mar 2020 18:50:21 +0000 From: Brooks Davis To: Olivier Cochard-Labb?? Cc: sgk@troutmask.apl.washington.edu, hackers@freebsd.org Subject: Re: HEADS UP: importing kyua into the base system Message-ID: <20200317185020.GC2618@spindle.one-eyed-alien.net> References: <20200317164829.GB83983@spindle.one-eyed-alien.net> <202003171814.02HIE2XF098643@gndrsh.dnsmgr.net> <20200317183347.GA37820@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YD3LsXFS42OYHhNZ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 48hj0Y4wBvz45dr X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-6.40 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.874,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; IP_SCORE(-3.63)[ip: (-9.52), ipnet: 199.48.128.0/22(-4.75), asn: 36236(-3.82), country: US(-0.05)] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:50:24 -0000 --YD3LsXFS42OYHhNZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 17, 2020 at 07:38:13PM +0100, Olivier Cochard-Labb?? wrote: > On Tue, Mar 17, 2020 at 7:34 PM Steve Kargl < > sgk@troutmask.apl.washington.edu> wrote: >=20 > > > > As there appears to be no open discussion about this addition, > > is there a WITHOUT_KYUA knob that can be set in /etc/src.conf > > to completely disable all kyua related components. The svn > > commit with a new internal library appear to not have a knob. > > >=20 > Or reusing the existing WITHOUT_TESTS. It will be under WITH_TESTS_SUPPORT like ATF is. -- Brooks --YD3LsXFS42OYHhNZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecRvsAAoJEKzQXbSebgfAFUIH/jjL5huWuY5WiusfJUYT4dsa brml9AgLg5hSSqIXzbMFT6EH9x/SOgGytrY1RshMd4xMwZRoM8rTI+MzZJOj+676 c9gMskyTy1iH04lb4yZOEZYGZ6QJ77px+dL6VWOd3np8EM+XcoroglDss7I9JaYX RbtDMom5105c/CHgaIhQG8Ujuj8zrboCUozBdnUQ9lG+LNbZE1LRlQGNtUP+NY8w rhllaKMgkqc2dKgD44PJMeSZz4F+GAK/HDfETFx21+XOsU/PlI2ZpzuQYyBv06If eA6BNAN4VOON+vm/5ywBiBvIqj43sLmJTDOl2HoO+U9gj7Crn/eQlw9OQuo+oMg= =OqFH -----END PGP SIGNATURE----- --YD3LsXFS42OYHhNZ-- From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:51:06 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C8F2B26F41A for ; Tue, 17 Mar 2020 18:51:06 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hj1P6s7cz478g for ; Tue, 17 Mar 2020 18:51:05 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: by mailman.nyi.freebsd.org (Postfix) id C989426F406; Tue, 17 Mar 2020 18:51:05 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C90A726F405 for ; Tue, 17 Mar 2020 18:51:05 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hj1N2bZgz476h; Tue, 17 Mar 2020 18:51:04 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id 02HIp1wI038058 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 17 Mar 2020 11:51:01 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id 02HIp1BZ038057; Tue, 17 Mar 2020 11:51:01 -0700 (PDT) (envelope-from sgk) Date: Tue, 17 Mar 2020 11:51:01 -0700 From: Steve Kargl To: Brooks Davis Cc: Olivier Cochard-Labb?? , hackers@freebsd.org Subject: Re: HEADS UP: importing kyua into the base system Message-ID: <20200317185101.GA37872@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20200317164829.GB83983@spindle.one-eyed-alien.net> <202003171814.02HIE2XF098643@gndrsh.dnsmgr.net> <20200317183347.GA37820@troutmask.apl.washington.edu> <20200317185020.GC2618@spindle.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200317185020.GC2618@spindle.one-eyed-alien.net> X-Rspamd-Queue-Id: 48hj1N2bZgz476h X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.03 / 15.00]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; REPLY(-4.00)[]; NEURAL_SPAM_MEDIUM(0.96)[0.962,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:51:06 -0000 On Tue, Mar 17, 2020 at 06:50:21PM +0000, Brooks Davis wrote: > On Tue, Mar 17, 2020 at 07:38:13PM +0100, Olivier Cochard-Labb?? wrote: > > On Tue, Mar 17, 2020 at 7:34 PM Steve Kargl < > > sgk@troutmask.apl.washington.edu> wrote: > > > > > > > > As there appears to be no open discussion about this addition, > > > is there a WITHOUT_KYUA knob that can be set in /etc/src.conf > > > to completely disable all kyua related components. The svn > > > commit with a new internal library appear to not have a knob. > > > > > > > Or reusing the existing WITHOUT_TESTS. > > It will be under WITH_TESTS_SUPPORT like ATF is. > Thanks. -- Steve From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:55:06 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9717826F9A4 for ; Tue, 17 Mar 2020 18:55:06 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48hj614Pbxz4HQQ for ; Tue, 17 Mar 2020 18:55:05 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by mailman.nyi.freebsd.org (Postfix) id 54A0226F98C; Tue, 17 Mar 2020 18:55:05 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5429B26F98B; Tue, 17 Mar 2020 18:55:05 +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.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 48hj5z4Stvz4HMQ; Tue, 17 Mar 2020 18:55:03 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 038663C0199; Tue, 17 Mar 2020 18:55:02 +0000 (UTC) Date: Tue, 17 Mar 2020 18:55:01 +0000 From: Brooks Davis To: Enji Cooper Cc: hackers@freebsd.org, "freebsd-testing@freebsd.org" Subject: Re: HEADS UP: importing kyua into the base system Message-ID: <20200317185501.GD2618@spindle.one-eyed-alien.net> References: <20200317164829.GB83983@spindle.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Xm/fll+QQv+hsKip" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 48hj5z4Stvz4HMQ X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-6.40 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.871,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(-3.63)[ip: (-9.52), ipnet: 199.48.128.0/22(-4.75), asn: 36236(-3.82), country: US(-0.05)]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; SIGNED_PGP(-2.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:55:06 -0000 --Xm/fll+QQv+hsKip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 17, 2020 at 11:46:06AM -0700, Enji Cooper wrote: >=20 > > On Mar 17, 2020, at 9:48 AM, Brooks Davis wrote: > >=20 > > I'll be importing kyua and it's dependency lutok into the base system > > this week. Integrating it into the FreeBSD build system will make it > > available by default which is especially valuable on emerging > > architectures were we aren't building packages yet (e.g. riscv). >=20 > The adding kyua to the base system is news to me. >=20 > Why isn???t the existing package just being modified to point to the Free= BSD repo fork, since jmmv@ no longer has a commit bit? It will remain contributed software (and the port will remain for the foreseeable future). I hope that we'll see active development in the FreeBSD forks and that we can use the port as a -devel version. Importing it means that we'll build it for all FreeBSD platforms and thus be able to run tests on any FreeBSD platform that supports C++ (currently all of them) rather than ones where we're building packages. -- Brooks --Xm/fll+QQv+hsKip Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecR0EAAoJEKzQXbSebgfAQdEH/0ImqXkEIWQlxMhL46+Y5FCn SRuqBAre0voT8zY5tRy+Njb0FO2nvvsq6bVSkYaWCUondqGMCg2z4VCAjmmU0UkK 5ES6IDhw0z4ufiUrS1cN8ItmUeYdb67zclFiW/zsm+lj7/BbqBYJBTzXylsaAf3q 3aTXo8KMwYkY2wYsn1TjZDxmvXcxtIg1wwrpwlbl56McSc+D6mTdrjq/j7JwW2W7 YpS7H8ypEI4ZeD3uCOYKX4N7+8q70QYMluEO92x0MxZQUUNEPa5HuKZaQ/VO73nM FyN8lvvjlJ2kSC5KRX+DPUw9NCAWkPdi46TTa7w0ZW0RmGLuTTtFJgLOOq7bS58= =rcBe -----END PGP SIGNATURE----- --Xm/fll+QQv+hsKip-- From owner-freebsd-hackers@freebsd.org Tue Mar 17 18:56:33 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 18C7426FAF5 for ; Tue, 17 Mar 2020 18:56:33 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48hj7h3Ml2z4LbQ for ; Tue, 17 Mar 2020 18:56:32 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: by mailman.nyi.freebsd.org (Postfix) id 5600926FAF1; Tue, 17 Mar 2020 18:56:32 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 55BD726FAF0 for ; Tue, 17 Mar 2020 18:56:32 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48hj7g64Dsz4LZq; Tue, 17 Mar 2020 18:56:31 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 02HIuT2t098922; Tue, 17 Mar 2020 11:56:29 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 02HIuTxt098921; Tue, 17 Mar 2020 11:56:29 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202003171856.02HIuTxt098921@gndrsh.dnsmgr.net> Subject: Re: HEADS UP: importing kyua into the base system In-Reply-To: <20200317183230.GB2618@spindle.one-eyed-alien.net> To: Brooks Davis Date: Tue, 17 Mar 2020 11:56:29 -0700 (PDT) CC: "Rodney W. Grimes" , hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 48hj7g64Dsz4LZq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.56 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; REPLY(-4.00)[]; NEURAL_SPAM_MEDIUM(0.44)[0.435,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 18:56:33 -0000 > On Tue, Mar 17, 2020 at 11:14:02AM -0700, Rodney W. Grimes wrote: > > > I'll be importing kyua and it's dependency lutok into the base system > > > this week. Integrating it into the FreeBSD build system will make it > > > available by default which is especially valuable on emerging > > > architectures were we aren't building packages yet (e.g. riscv). > > > > Why isnt there a preceding discussion of this on -arch? > > The lack of kyua in base (meaning the inability to run the test suite > without package infrastructure) has been discussed as a pain point for > ages. I recall no such discsussion in the past 3 years, where was this dicussion at? > The only real objection to it before (IIRC) was that it would > mean importing lua, but we've got lua in base now (as flua) so it's time > to import it. And the import of lua *was* discussed. > I suppose I could have added a multi-day delay discussion delay which > would increase my odds of making errors in the port from CheriBSD, but > I'm pretty skeptical we'd come to any conclusion other than the > encouragement I got when I mentioned this on Slack as I started working on > it. How is a dicussion going to increase your error rate? That is a very strange state of affairs. Slack is not the official channel for project discussion, and should never be a place decisions are made as it excludes a large majority of people who just do not have time to sit in slack and watch chats. I am not objecting to importing it, I am objecting to short circuiting normal process. > -- Brooks -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-hackers@freebsd.org Tue Mar 17 21:46:31 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C902D273494 for ; Tue, 17 Mar 2020 21:46:31 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48hmvq0BQcz4DgQ for ; Tue, 17 Mar 2020 21:46:31 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by mailman.nyi.freebsd.org (Postfix) id B6F43273493; Tue, 17 Mar 2020 21:46:30 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B6AA1273492 for ; Tue, 17 Mar 2020 21:46:30 +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.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 48hmvm3ptRz4DZy for ; Tue, 17 Mar 2020 21:46:28 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 31C3B3C0199; Tue, 17 Mar 2020 21:46:27 +0000 (UTC) Date: Tue, 17 Mar 2020 21:46:27 +0000 From: Brooks Davis To: "Rodney W. Grimes" Cc: hackers@freebsd.org Subject: Re: HEADS UP: importing kyua into the base system Message-ID: <20200317214627.GA5399@spindle.one-eyed-alien.net> References: <20200317183230.GB2618@spindle.one-eyed-alien.net> <202003171856.02HIuTxt098921@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <202003171856.02HIuTxt098921@gndrsh.dnsmgr.net> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 48hmvm3ptRz4DZy X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-6.38 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.86)[-0.855,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; IP_SCORE(-3.63)[ip: (-9.52), ipnet: 199.48.128.0/22(-4.75), asn: 36236(-3.82), country: US(-0.05)] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 21:46:31 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 17, 2020 at 11:56:29AM -0700, Rodney W. Grimes wrote: > > On Tue, Mar 17, 2020 at 11:14:02AM -0700, Rodney W. Grimes wrote: > > > > I'll be importing kyua and it's dependency lutok into the base syst= em > > > > this week. Integrating it into the FreeBSD build system will make = it > > > > available by default which is especially valuable on emerging > > > > architectures were we aren't building packages yet (e.g. riscv). > > > > > > Why isnt there a preceding discussion of this on -arch? > >=20 > > The lack of kyua in base (meaning the inability to run the test suite > > without package infrastructure) has been discussed as a pain point for > > ages. >=20 > I recall no such discsussion in the past 3 years, where was this > dicussion at? =20 I've been involved in several informal discussions of the subject at devsummits and online chats. I honestly thought you were present for one at a BSDCan devsummit. -- Brooks --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecUUyAAoJEKzQXbSebgfARv8H/0/+MJ1tRCVWhG9oCnpGNLdJ /M5XHQksY3JHLRB/ITjZnS109/W6k9B4U4nFxvnL6gBp2NZgsLuaOL7EmI4Xa4aH Uqk03dT/TXcUesbZTg1mGrd4vulzD1MsQE6OSXozeJHkaM9vP2/D8XJISFBWaaX7 BrfhCBPDg58kw1hlicl5vvDIayZigZQn3i8ps3bWWKBKYhRl7K94zB0pFKaw3sPL 9V/dknRCf4rxOHTUfVP4JESx/JMpM2VQB2UMCY7NlqEVt5goDZoBUyTULxA8vlO4 9X4FwK9XDBI7NYlW/XpasU3mUCsm4uOnkdpK8hMSqa/E4pmGI5C0d5tic7pB/3c= =MXtM -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- From owner-freebsd-hackers@freebsd.org Tue Mar 17 22:14:36 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E9AAF273E04 for ; Tue, 17 Mar 2020 22:14:36 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hnXD5GPyz4CxR for ; Tue, 17 Mar 2020 22:14:36 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id A95AC273E03; Tue, 17 Mar 2020 22:14:36 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A8BFE273E02 for ; Tue, 17 Mar 2020 22:14:36 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hnXD1cWSz4Cwp; Tue, 17 Mar 2020 22:14:36 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id B71144898; Tue, 17 Mar 2020 22:14:35 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 8C505DCD0D; Tue, 17 Mar 2020 23:14:04 +0100 (CET) Date: Tue, 17 Mar 2020 23:14:04 +0100 From: Baptiste Daroussin To: Brooks Davis Cc: "Rodney W. Grimes" , hackers@freebsd.org Subject: Re: HEADS UP: importing kyua into the base system Message-ID: <20200317221404.klqftuwlqsnq64no@ivaldir.net> References: <20200317183230.GB2618@spindle.one-eyed-alien.net> <202003171856.02HIuTxt098921@gndrsh.dnsmgr.net> <20200317214627.GA5399@spindle.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hq6ruwfuyipjz5u3" Content-Disposition: inline In-Reply-To: <20200317214627.GA5399@spindle.one-eyed-alien.net> X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 22:14:37 -0000 --hq6ruwfuyipjz5u3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 17, 2020 at 09:46:27PM +0000, Brooks Davis wrote: > On Tue, Mar 17, 2020 at 11:56:29AM -0700, Rodney W. Grimes wrote: > > > On Tue, Mar 17, 2020 at 11:14:02AM -0700, Rodney W. Grimes wrote: > > > > > I'll be importing kyua and it's dependency lutok into the base sy= stem > > > > > this week. Integrating it into the FreeBSD build system will mak= e it > > > > > available by default which is especially valuable on emerging > > > > > architectures were we aren't building packages yet (e.g. riscv). > > > > > > > > Why isnt there a preceding discussion of this on -arch? > > >=20 > > > The lack of kyua in base (meaning the inability to run the test suite > > > without package infrastructure) has been discussed as a pain point for > > > ages. > >=20 > > I recall no such discsussion in the past 3 years, where was this > > dicussion at? =20 >=20 > I've been involved in several informal discussions of the subject at > devsummits and online chats. I honestly thought you were present for > one at a BSDCan devsummit. I don't remember where that discussion was held, but it was held around 2014 iirc in mails, and since it has been discussed in many devsummit for sure Best regards, Bapt --hq6ruwfuyipjz5u3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl5xS6kACgkQY4mL3PG3 PlqkBBAAkMNAAUeeyOzQ84wcvHoA0Cei7iMsmneaRIHcCIx7UpHOcffLN889eKw6 3vuPkHvXyP4z34S9mrsQOMtzqLG6LAB1i8aQvqWwf/TIVl/L+2cV6/dmz4SHlRrK 9vSMJ+yRGJkQr6DHF6m0bx6iv3hopc3bk+Lyed+dFYf6SGfGofN6bvO1mJz7rNYx UxW3CWM/DpG/CSkFYfpXMSUxfpQ0o7PTx+wGBD/1avo9zGyPTsIs1Sz2gZ5h8YFJ hThIyWU78HRFYXg5j0vsBpThnMIZmz9ydJUXXX5SI9WeumwRSd1SZ/cjBcHjH9TP o7UY/Nf4L92hzw3prTxxoF/2MRAQT3guXaF9kJLgDfMuqXGYEKZ9aRS8ma+CD8kT LEMnlgNp88MMUzrqrQF63yO7mwHiCODT84AXsT3ZSJyeZ6+zQtOqN3pDUSRiy0ZV yHWzqFd3fjwMSrpwurGk/bGth1uPusoPcUwkE7iRnw5Hmex+zFqJnuLedBsa0u7V qa756cAsm+xcAhCSswTNE3ZIj0OT3LRfdTrjuWxRWTQpZkeOZmdkxbOY4418lof+ 6/66GOYHSsHVM86EFU1FqBijhJQTZwzPaae1mEkFvxwg5p+aE+xyKwbsW9HoH+uu cUIrRGoGplXKkBX0NX5FnP0LizpX/rfkJZ8+G7w8j7I1xXON4H8= =Rp2y -----END PGP SIGNATURE----- --hq6ruwfuyipjz5u3-- From owner-freebsd-hackers@freebsd.org Wed Mar 18 02:14:00 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 88ED62795A8 for ; Wed, 18 Mar 2020 02:14:00 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48htrR57MFz4HrR for ; Wed, 18 Mar 2020 02:13:59 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: by mailman.nyi.freebsd.org (Postfix) id 85498279595; Wed, 18 Mar 2020 02:13:59 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8046C279592 for ; Wed, 18 Mar 2020 02:13:59 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48htrQ3T3Vz4Hpc; Wed, 18 Mar 2020 02:13:58 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 02I2E9SF091606 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 17 Mar 2020 19:14:15 -0700 (PDT) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: In-Reply-To: <20200317164829.GB83983@spindle.one-eyed-alien.net> From: Chris Reply-To: bsd-lists@BSDforge.com To: Brooks Davis Subject: Re: HEADS UP: importing kyua into the base system Date: Tue, 17 Mar 2020 19:14:15 -0700 Message-Id: <0963a2f8e3cfad5639264e694e56e28d@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48htrQ3T3Vz4Hpc X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [1.96 / 15.00]; NEURAL_SPAM_LONG(0.99)[0.995,0]; NEURAL_SPAM_MEDIUM(0.97)[0.968,0]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 02:14:00 -0000 On Tue, 17 Mar 2020 16:48:29 +0000 Brooks Davis brooks@freebsd=2Eorg said > I'll be importing kyua and it's dependency lutok into the base system > this week=2E Integrating it into the FreeBSD build system will make it > available by default which is especially valuable on emerging > architectures were we aren't building packages yet (e=2Eg=2E riscv)=2E >=20 >From the wiki (https://github=2Ecom/jmmv/kyua/wiki/About) Use cases: New system installation: =2E=2E=2E When setting up a new server with brand-new hardware, it's very desirable to ensure a minimum stability of the operating system that runs on top and how it interacts with the hardware=2E erm=2E=2E=2E *minimum* stability of the operating system?! If this is as mistaken as it appears=2E Someone(tm) might want to run kyua against the wiki=2E ;) --Chris From owner-freebsd-hackers@freebsd.org Wed Mar 18 02:19:30 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 54C1E279C2C for ; Wed, 18 Mar 2020 02:19:30 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48htyn75Trz4WSP for ; Wed, 18 Mar 2020 02:19:29 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EEB86279C2B; Wed, 18 Mar 2020 02:19:29 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EE79F279C2A for ; Wed, 18 Mar 2020 02:19:29 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48htyn3mJZz4WRD; Wed, 18 Mar 2020 02:19:29 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 3688164FB; Wed, 18 Mar 2020 02:19:29 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f176.google.com with SMTP id h16so19450280qtr.11; Tue, 17 Mar 2020 19:19:29 -0700 (PDT) X-Gm-Message-State: ANhLgQ0iTYMt9vzY1YqbduEME21BW1URU2IZvFXhP0ReWq8q25wXMob/ E09FDximAQ1OLvdbiffzSY8ozUZiFRV4NzEKABs= X-Google-Smtp-Source: ADFU+vvWwXhf0ClRrtBSVpr/6iLsbfBu8/xrSKl0xFPHOuhOBZkJESaNTFor68rIbp/baApKsMlQFlrARa/KJKEczgA= X-Received: by 2002:ac8:564e:: with SMTP id 14mr2290250qtt.53.1584497968590; Tue, 17 Mar 2020 19:19:28 -0700 (PDT) MIME-Version: 1.0 References: <20200317164829.GB83983@spindle.one-eyed-alien.net> <0963a2f8e3cfad5639264e694e56e28d@udns.ultimatedns.net> In-Reply-To: <0963a2f8e3cfad5639264e694e56e28d@udns.ultimatedns.net> From: Kyle Evans Date: Tue, 17 Mar 2020 21:19:17 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: HEADS UP: importing kyua into the base system To: bsd-lists@bsdforge.com Cc: Brooks Davis , hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 02:19:30 -0000 On Tue, Mar 17, 2020 at 9:14 PM Chris wrote: > > On Tue, 17 Mar 2020 16:48:29 +0000 Brooks Davis brooks@freebsd.org said > > > I'll be importing kyua and it's dependency lutok into the base system > > this week. Integrating it into the FreeBSD build system will make it > > available by default which is especially valuable on emerging > > architectures were we aren't building packages yet (e.g. riscv). > > > From the wiki (https://github.com/jmmv/kyua/wiki/About) > > Use cases: New system installation: > ... > When setting up a new server with brand-new hardware, it's very desirable > to ensure a minimum stability of the operating system that runs on top and > how it interacts with the hardware. > erm... *minimum* stability of the operating system?! > If this is as mistaken as it appears. Someone(tm) might want to run kyua > against the wiki. ;) > I believe the point it's trying to make it is that tests aren't all-inclusive; they will miss things or induce little stress, but they're a great smoketest to rule out most of the basic issues. You can't really make much stronger claims than this about the stability of the system based on running a test suite, unless we're talking stress2 style suites. From owner-freebsd-hackers@freebsd.org Wed Mar 18 03:12:59 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 64BB127A9C4 for ; Wed, 18 Mar 2020 03:12:59 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48hw8V2Hdxz4TL3 for ; Wed, 18 Mar 2020 03:12:58 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: by mailman.nyi.freebsd.org (Postfix) id 46AFB27A9C3; Wed, 18 Mar 2020 03:12:58 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 460C427A9C2 for ; Wed, 18 Mar 2020 03:12:58 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hw8T3r3rz4TKS for ; Wed, 18 Mar 2020 03:12:57 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 02I3D8ot095592 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 17 Mar 2020 20:13:15 -0700 (PDT) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 In-Reply-To: From: Chris Reply-To: bsd-lists@BSDforge.com To: Subject: Re: HEADS UP: importing kyua into the base system Date: Tue, 17 Mar 2020 20:13:15 -0700 Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48hw8T3r3rz4TKS X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [1.97 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.999,0]; NEURAL_SPAM_MEDIUM(0.97)[0.973,0]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 03:12:59 -0000 On Tue, 17 Mar 2020 21:19:17 -0500 Kyle Evans kevans@freebsd=2Eorg said > On Tue, Mar 17, 2020 at 9:14 PM Chris wrote: > > > > On Tue, 17 Mar 2020 16:48:29 +0000 Brooks Davis brooks@freebsd=2Eorg said > > > > > I'll be importing kyua and it's dependency lutok into the base system > > > this week=2E Integrating it into the FreeBSD build system will make it > > > available by default which is especially valuable on emerging > > > architectures were we aren't building packages yet (e=2Eg=2E riscv)=2E > > > > > From the wiki (https://github=2Ecom/jmmv/kyua/wiki/About) > > > > Use cases: New system installation: > > =2E=2E=2E > > When setting up a new server with brand-new hardware, it's very desirab= le > > to ensure a minimum stability of the operating system that runs on top = and > > how it interacts with the hardware=2E > > erm=2E=2E=2E *minimum* stability of the operating system?! > > If this is as mistaken as it appears=2E Someone(tm) might want to run kyu= a > > against the wiki=2E ;) > > >=20 > I believe the point it's trying to make it is that tests aren't > all-inclusive; they will miss things or induce little stress, but > they're a great smoketest to rule out most of the basic issues=2E You > can't really make much stronger claims than this about the stability > of the system based on running a test suite, unless we're talking > stress2 style suites=2E Don't get me wrong=2E I'm not trying to knock kyua=2E But the way I read that sentence seemed to me to be counter to the message they wanted to get acros= s=2E Maybe something like; When setting up a new server with brand-new hardware, it's very desirable to ensure a minimum _impact on the_ stability of the operating system that runs on top and how it interacts with the hardware=2E might have sounded more positive=2E Anyway=2E It read funny to me=2E So somehow thought it worth a mention=2E --Chris From owner-freebsd-hackers@freebsd.org Wed Mar 18 13:51:16 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 404DD260B5F for ; Wed, 18 Mar 2020 13:51:16 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-vk1-f175.google.com (mail-vk1-f175.google.com [209.85.221.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jBJy3wMTz3LDJ for ; Wed, 18 Mar 2020 13:51:14 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-vk1-f175.google.com with SMTP id t3so7067188vkm.10 for ; Wed, 18 Mar 2020 06:51:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EFCZWNJdeyzeDcNXelwPLgDk1UD3QZQ+uQ8oPFFROwE=; b=aW4iNG0wYOa2DiMzyfffH02N12Wwv5HGCLun/aHV87087g+6kbw1hiRZByV828olbY Bda2FB8QRqmSIBSL58j2uLGE2RJLjTDqGc+lVkQ37VBciPPDwnWcVvuW3Xx1geADXAHP 8ru+s1ULkn6+ktnxUXPoRaE6nUjloHtNKYZpkUKZGYku6f+woI1lHZSVrMmJU/P0txVB jvwQZQePFB5PUHzB4k1SPn2E7w7RXa+p7KlQnp7adPW0EZATuOQqCBXPAQmF6ejV8DPX B1KklxeLfPgHQ/xJEJSsjdWimxhZullwAJvOR7OCYyeyLuCuDMrVrgAK+WcTILhcpoZ9 4STw== X-Gm-Message-State: ANhLgQ3pVg2NTcbTYD6Bd7nL8Otu4pcKetFPI/NmqRmHnFO/+xrMwWH9 FyTihFG2CwsMQ+adIW+cdKVmSDCRj+U= X-Google-Smtp-Source: ADFU+vtDM7scCED7pBw4LMb6iCnXDN08wOS7rjAdJ0a8NGCuJXlx4dzAIJ/8dtZ5EW81UgcZ71UgLw== X-Received: by 2002:a1f:9d16:: with SMTP id g22mr3345654vke.22.1584539472898; Wed, 18 Mar 2020 06:51:12 -0700 (PDT) Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com. [209.85.221.173]) by smtp.gmail.com with ESMTPSA id 35sm2952567uay.18.2020.03.18.06.51.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Mar 2020 06:51:12 -0700 (PDT) Received: by mail-vk1-f173.google.com with SMTP id k63so7073616vka.7 for ; Wed, 18 Mar 2020 06:51:12 -0700 (PDT) X-Received: by 2002:a1f:9d16:: with SMTP id g22mr3345625vke.22.1584539472417; Wed, 18 Mar 2020 06:51:12 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Wed, 18 Mar 2020 15:51:33 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Trying to update 13-current from r356762 To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48jBJy3wMTz3LDJ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fernandoapesteguia@gmail.com designates 209.85.221.175 as permitted sender) smtp.mailfrom=fernandoapesteguia@gmail.com X-Spamd-Result: default: False [-2.93 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[175.221.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; IP_SCORE(-0.93)[ipnet: 209.85.128.0/17(-2.97), asn: 15169(-1.65), country: US(-0.05)]; FORGED_SENDER(0.30)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[175.221.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; TAGGED_FROM(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 13:51:16 -0000 Hi there, I'm trying to update a Virtual Box Image from 13-current amd64 at r356762. I did a svnlite update and then make buildworld. I'm seeing this: cc: error: no such file or directory: ' /usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c' cc: error: no input files Any ideas? From owner-freebsd-hackers@freebsd.org Wed Mar 18 19:24:47 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DBD0426A1BF for ; Wed, 18 Mar 2020 19:24:47 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48jKjq1s3sz4KY0 for ; Wed, 18 Mar 2020 19:24:47 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 33CF826A1BE; Wed, 18 Mar 2020 19:24:47 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3284B26A1BD for ; Wed, 18 Mar 2020 19:24:47 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jKjn545Hz4KVH for ; Wed, 18 Mar 2020 19:24:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f45.google.com with SMTP id c19so25125894ioo.6 for ; Wed, 18 Mar 2020 12:24:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tm10uX0fu1Si4Q5r8+rc4dnmAuqfmv+dOa/tHygWWJs=; b=NILhCAogt3MiL3tdOx5rMVhXKQRf6MUZs50BNfoDNhusevjywVTeQob99325n8a9lD bnia98rHGCfF9SYPOB6ijyR6W6j11t2mHZOdRY9bJnV6SOIcmLZpSk1AqG+tg5l0nbS8 VYEEQV2d7EH3a8bmGgycR/RYCq2owu4diwhkk6+IydA1QkbfuoB20rxFpREdlTRsogUk C9UEuuB2WKpUXwsZpYlsXJ1o75UqfRdSdnO7yqyOwC1OlfsK8wOSfR98aSjL1mtAQwGW 2KVSAzBMSREdgDTTGKWYVtODGF5SaOzVrG3D48o84thYTFcFhxkGYXGOKsRcgyGj/zuX DjPQ== X-Gm-Message-State: ANhLgQ2OMQvTJCOiTIbIzcB0etFPXgdLcjA2fE42jkMFeLtNTYjbFewP j4j1/qPBPQaj6B9UUZeq+HjHhuRrD6U7Xyn4zLY= X-Google-Smtp-Source: ADFU+vvuN8mR6R1ziIoxSt/GX8ogWRXCCEtLpSpMgD20UgtElSWMhYf+9J2O1s3D2+k0AKLfNgDE7Fsy/K5oXwzmUfA= X-Received: by 2002:a6b:c8d4:: with SMTP id y203mr5263931iof.111.1584559484170; Wed, 18 Mar 2020 12:24:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Wed, 18 Mar 2020 15:24:31 -0400 Message-ID: Subject: Re: HEADS UP: importing kyua into the base system To: bsd-lists@bsdforge.com Cc: hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48jKjn545Hz4KVH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.45 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-3.79 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[45.166.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.79)[ip: (-4.28), ipnet: 209.85.128.0/17(-2.97), asn: 15169(-1.65), country: US(-0.05)]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[45.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 19:24:48 -0000 On Tue, 17 Mar 2020 at 23:13, Chris wrote: > > Anyway. It read funny to me. So somehow thought it worth a mention. I think you're right, it's a bit confusing or doesn't give the right impression. kyua is not trying to ensure minimal stability. Maybe "minimal guarantee of stability"? That said, I don't think there's all that much value in using kyua as a system stability test. It's useful in providing some level of smoke test. From owner-freebsd-hackers@freebsd.org Wed Mar 18 19:28:16 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9D98226A487 for ; Wed, 18 Mar 2020 19:28:16 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jKnr12mqz4SC5; Wed, 18 Mar 2020 19:28:15 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f53.google.com with SMTP id w7so10826096ioj.12; Wed, 18 Mar 2020 12:28:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=l14vhXvqRGhb4IRfnstBo8SmDZKJf9XWpdl1Xbs3R5k=; b=SzaBGPtuXlyJLJkKtEVtiNhWTN4vrdAWmLNBC9EpjjM2WnJ2WVrC7RWlbP51Yk+Uue eMbSOARjwSdD4Yd2d1eCwvUygqYB4fuZnvLhAv+56vOWDxYWj3kZAooyEtBfCK5LnX61 MGlxLn8zIpJmLiU6ts85auYwtdkXdGbtu+98WNP3eX7cMfro5YUa8eQ6PYqG9krqHZBl 6vORHkpsR9IMFIzqSo3b9j6N0nNDty4yf8cKHQsenJuXidt7NLRbW3vXrcJqPA4wYfQH KLI7XMack1jzTGUqDNSiUjGj3pCZFRksaGlLZAj2YYZeBMyroQVdB2b9HuEGrx30xRiW guWQ== X-Gm-Message-State: ANhLgQ0GsejT4Yvwtscx6HGURNjqqmWPodpG8Use5vLMa3hN9aMVZRMl ZIH4h8n92R1BNORw9kN2gvppfOvQkXZ5tqmxFuBHAnzK X-Google-Smtp-Source: ADFU+vs02NjExaKYJIq4PF+ic8w1BgTGMUbWbtGIq5HZakBeCUP2TjlS4GxNcEKmXh15mgcS0FP2AYJTRVrVSrC61fg= X-Received: by 2002:a6b:c8d4:: with SMTP id y203mr5278420iof.111.1584559693928; Wed, 18 Mar 2020 12:28:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Wed, 18 Mar 2020 15:28:01 -0400 Message-ID: Subject: Re: Trying to update 13-current from r356762 To: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48jKnr12mqz4SC5 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.98 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.989,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-0.99)[-0.989,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 19:28:16 -0000 On Wed, 18 Mar 2020 at 09:51, Fernando Apestegu=C3=ADa wrote: > > Hi there, > > I'm trying to update a Virtual Box Image from 13-current amd64 at > r356762. I did a svnlite update and then make buildworld. I'm seeing > this: > > cc: error: no such file or directory: ' > /usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/itt= notify_static.c' > cc: error: no input files Did you do the buildworld with -DNO_CLEAN? Do you see ">>> Deleting stale dependencies..." in the log, and if so can you collect the 10 or so lines after that? Removing /usr/obj and trying again will fix it, but I would really like to get to the bottom of this and fix it in the tree. If you're going to remove /usr/obj perhaps you can snapshot your VM and try some experiments later? From owner-freebsd-hackers@freebsd.org Wed Mar 18 19:41:48 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B2B326AB84 for ; Wed, 18 Mar 2020 19:41:48 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jL5P63Ytz4195; Wed, 18 Mar 2020 19:41:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f68.google.com with SMTP id d15so26290341iog.3; Wed, 18 Mar 2020 12:41:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=zjXsMfyexsTu2AGUDKsscyz/3OlWrURYKl/wuEsNEQs=; b=IPbAmoGla4KHHn0nwQRdaOAQ/dQZD7+PyFgtMRlLbyb829RlEpQAFZowS/5Bf26fQX OFRi9e0PV75uPbYyVR/B9EaA3HXEuuH9C2jB8Z2kZsSdN4cLwS4O8th6MecYq+YVMyt2 njrHYQgrCAh2Ah++JP/9fOpnrUxpf9/PziXB0GcFfnGbILXwsECgtBX2Z5aR0xS9a7eZ FBoXE2gCf9tTyPx1+TYTilLQMyGzs+O0rk6v1rWgDwIkm0UN1PXP2G70NgRw9DDCjWHt U7o8EoPpzK/H7MCu08uEMhA1CLifqRGa4YniuWzqAv6YSttUk7HSp/e3H1+u2j75wPgi ZNiw== X-Gm-Message-State: ANhLgQ3oP+h/tAetVYwKD/bP2KSeTKYky12FFiQDDu6BW8zOC511L/Lg 90r3/q36/46+hgOSMpX+dfITAbfwxYqi77FQ1HEPEA== X-Google-Smtp-Source: ADFU+vuXLSf9KBUkV2kVjid/tPvUQJKqGAVhCctpSXDnFQaqsR/B+PrOsATyjtLcRZIlX8wtMzslmlloKJMW3TtyS/8= X-Received: by 2002:a5e:8204:: with SMTP id l4mr5334356iom.31.1584560503801; Wed, 18 Mar 2020 12:41:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Wed, 18 Mar 2020 15:41:31 -0400 Message-ID: Subject: Re: Trying to update 13-current from r356762 To: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48jL5P63Ytz4195 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.68 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-3.29 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-1.29)[ip: (-1.78), ipnet: 209.85.128.0/17(-2.97), asn: 15169(-1.65), country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[68.166.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[68.166.85.209.rep.mailspike.net : 127.0.0.17]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 19:41:48 -0000 On Wed, 18 Mar 2020 at 15:28, Ed Maste wrote: > > On Wed, 18 Mar 2020 at 09:51, Fernando Apestegu=C3=ADa wrote: > > > > Hi there, > > > > I'm trying to update a Virtual Box Image from 13-current amd64 at > > r356762. I did a svnlite update and then make buildworld. I'm seeing > > this: > > > > cc: error: no such file or directory: ' > > /usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/i= ttnotify_static.c' > > cc: error: no input files > > Did you do the buildworld with -DNO_CLEAN? Do you see ">>> Deleting > stale dependencies..." in the log, and if so can you collect the 10 or > so lines after that? > > Removing /usr/obj and trying again will fix it, but I would really > like to get to the bottom of this and fix it in the tree. If you're > going to remove /usr/obj perhaps you can snapshot your VM and try some > experiments later? Also before you remove /usr/obj, would you be able to create a compressed tarball of /usr/obj and make it available? From owner-freebsd-hackers@freebsd.org Wed Mar 18 20:15:53 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E95CE26B6F0 for ; Wed, 18 Mar 2020 20:15:53 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jLrm6BnBz4JxB; Wed, 18 Mar 2020 20:15:52 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-il1-f171.google.com with SMTP id d14so45051ilq.10; Wed, 18 Mar 2020 13:15:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F1qDtES8Ui+iGScSjrPfN9pp46AKIKapQfvOaz1d/DM=; b=FQ/u3TQ7fUKaSzclgytK5DRv/vEjXkw3xAHFO2cKVzAILpn5w3OQDX6LtFKlAyLHtw Zy1JvqaQomgSyuVsGivz9P2lQnoE+EydRl6bzUUho7WxMZ7dtP5NrSHeITCJyyJ8Km6B QW16nASbF2PjhYoPN2Rgieplu3nG1OFnzibc9PwNoPLJkTN0YdpAwlYXzeosxZwblF2j zcnvW+gGnSI6kZHeBlrEjPaY2Cyzqh5GU36eRVVMwOLSBcudXDkpMz5Ic6GHGrHmwwwT hG95/KvqoV8+vFxMsRH/UvzLOOtJlxn768tPnf7qcf+1EHXIKwRhXS4Y00dJqJzUTd0O 9dEw== X-Gm-Message-State: ANhLgQ0GAyyBmumMx8e1N6ueA5FH2RXMeJAGeSlx56+wKZkUfxisde3B hGi9zRpHBa6vsD650zx8Qyp/goJtc5iG7wQ9HSH5YWLW X-Google-Smtp-Source: ADFU+vtncu+si49pguZZS7w724pals+r/QkFjIJRVsq8gEz5G2GQyJTebBT+9p98okfCAR3uv4RFTSL5YdRwU25Dofo= X-Received: by 2002:a92:8312:: with SMTP id f18mr5669895ild.98.1584562551298; Wed, 18 Mar 2020 13:15:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Wed, 18 Mar 2020 16:15:39 -0400 Message-ID: Subject: Re: Trying to update 13-current from r356762 To: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48jLrm6BnBz4JxB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.171 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.00)[ip: (-5.31), ipnet: 209.85.128.0/17(-2.97), asn: 15169(-1.65), country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[171.166.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[171.166.85.209.rep.mailspike.net : 127.0.0.17]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 20:15:54 -0000 On Wed, 18 Mar 2020 at 15:28, Ed Maste wrote: > > Did you do the buildworld with -DNO_CLEAN? Do you see ">>> Deleting > stale dependencies..." in the log, and if so can you collect the 10 or > so lines after that? dim@ reproduced without -DNO_CLEAN (i.e., a "normal" build). I just committed a presumed workaround in r359083, so if you still have your obj tree in place can you update and try again? From owner-freebsd-hackers@freebsd.org Wed Mar 18 21:36:04 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C768526DE6C for ; Wed, 18 Mar 2020 21:36:04 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jNdH6lYGz4PBr; Wed, 18 Mar 2020 21:36:03 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-ua1-f45.google.com with SMTP id a33so10077148uad.11; Wed, 18 Mar 2020 14:36:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6i73CRQPfwUSrxbzYSJhpyK+KcE3R0EjmVQps0LxLjU=; b=bgpfCk5bTuq7VQKF9yDVlDad0MyzNSmPmzKffBxmme8Q+jNxKQDqP5+9ztdouk8K9Y aDCev/xycWcczh+55YlI9GsgKoRdPddZacZA4OehQcpa0lfaSH3xGe5sMdj+a/4Z/7R8 iO214/Uy8rTE9cIq+QuNc+v2l4+xexzdEcwL616UCBRCBTwtNIJ703po5aIgiVKcvnGx XIo3XTK4pI8kd3Pp8otxPK43iWNl4ACdlgBrZCHK4f8lctrRjD4gcrhdWYfHrizoEJHS tMV8To3wBZ2IrWnjNgttVWxO6WSzo6130Wqtg5OiUFRrljt9m0gtt5WnJnpuIHeOkv8q dV0w== X-Gm-Message-State: ANhLgQ2OOj0Frpi52vQszZHsqK7blUiNmOJD86F0mCDwJadCuSIF/596 ETyeMn50tfhz5x4zLKx/0ei/Zl0yY6I= X-Google-Smtp-Source: ADFU+vtWGb+1hqo+LOIklTiqbWMLWYrxzGaK1Test5RGfB4ua41n7c9kzT4xtWso1OfrCA66RexezA== X-Received: by 2002:ab0:49e4:: with SMTP id f33mr4351722uad.86.1584567361753; Wed, 18 Mar 2020 14:36:01 -0700 (PDT) Received: from mail-ua1-f53.google.com (mail-ua1-f53.google.com. [209.85.222.53]) by smtp.gmail.com with ESMTPSA id l19sm150284vsi.0.2020.03.18.14.36.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Mar 2020 14:36:01 -0700 (PDT) Received: by mail-ua1-f53.google.com with SMTP id o16so10093312uap.6; Wed, 18 Mar 2020 14:36:01 -0700 (PDT) X-Received: by 2002:ab0:42a5:: with SMTP id j34mr4615164uaj.103.1584567361079; Wed, 18 Mar 2020 14:36:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Wed, 18 Mar 2020 23:36:21 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Trying to update 13-current from r356762 To: Ed Maste Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48jNdH6lYGz4PBr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.91 / 15.00]; NEURAL_HAM_MEDIUM(-0.71)[-0.707,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-0.21)[-0.207,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 21:36:04 -0000 On Wed, Mar 18, 2020 at 9:15 PM Ed Maste wrote: > > On Wed, 18 Mar 2020 at 15:28, Ed Maste wrote: > > > > Did you do the buildworld with -DNO_CLEAN? Do you see ">>> Deleting > > stale dependencies..." in the log, and if so can you collect the 10 or > > so lines after that? I did a regular make buildworld as per the handbook. Never had to do a clean before while updating -CURRENT. After Dave pointed to that mail thread, I did a make cleanworld and then a make buildworld && make kernel (which succeeded) so I suppose my /usr/obj is not of much use anymore :S > > dim@ reproduced without -DNO_CLEAN (i.e., a "normal" build). I just > committed a presumed workaround in r359083, so if you still have your > obj tree in place can you update and try again? I'm afraid not, sorry. But if there's any other information that you need and think it is still around somewhere in my system, let me know. Thanks! From owner-freebsd-hackers@freebsd.org Wed Mar 18 22:08:56 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5522526EB3A for ; Wed, 18 Mar 2020 22:08:56 +0000 (UTC) (envelope-from db@db.net) Received: from tfm.com (mtbaker.tfm.com [192.231.224.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.tfm.com", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jPMC0C2lz4Xbg; Wed, 18 Mar 2020 22:08:54 +0000 (UTC) (envelope-from db@db.net) Received: from night.db.net (DB-DSL.ServerNorth.com [98.124.61.131]) (authenticated bits=0) by tfm.com (8.14.4/8.14.4) with ESMTP id 02IM8irV004261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Mar 2020 15:08:46 -0700 (PDT) Date: Wed, 18 Mar 2020 18:08:44 -0400 From: Diane Bruce To: Fernando =?iso-8859-1?Q?Apestegu=EDa?= Cc: Ed Maste , FreeBSD Hackers Subject: Re: Trying to update 13-current from r356762 Message-ID: <20200318220844.GB33982@night.db.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 48jPMC0C2lz4Xbg X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of db@db.net has no SPF policy when checking 192.231.224.2) smtp.mailfrom=db@db.net X-Spamd-Result: default: False [-1.89 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.942,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[db.net]; AUTH_NA(1.00)[]; IP_SCORE(-0.86)[ip: (-2.23), ipnet: 192.231.224.0/22(-1.11), asn: 10488(-0.89), country: US(-0.05)]; TO_DN_ALL(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10488, ipnet:192.231.224.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 22:08:56 -0000 On Wed, Mar 18, 2020 at 11:36:21PM +0100, Fernando Apesteguía wrote: > On Wed, Mar 18, 2020 at 9:15 PM Ed Maste wrote: > > > > On Wed, 18 Mar 2020 at 15:28, Ed Maste wrote: > > > > > > Did you do the buildworld with -DNO_CLEAN? Do you see ">>> Deleting > > > stale dependencies..." in the log, and if so can you collect the 10 or > > > so lines after that? > > I did a regular make buildworld as per the handbook. Never had to do a > clean before while updating -CURRENT. > > After Dave pointed to that mail thread, I did a make cleanworld and > then a make buildworld && make kernel (which succeeded) so I suppose > my /usr/obj is not of much use anymore :S I happened to have an old install on my laptop which I have fired off a makeworld on. It's slooow but I'll be able to report when it finally finishes.... I should have thought to upload the /obj tree to my faster desktop though. ;) Oh well. -- - db@FreeBSD.org db@db.net http://www.db.net/~db From owner-freebsd-hackers@freebsd.org Fri Mar 20 12:35:53 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7EED0265D65 for ; Fri, 20 Mar 2020 12:35:53 +0000 (UTC) (envelope-from 21cencturyayush@gmail.com) Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com [IPv6:2607:f8b0:4864:20::e29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48kNY4167Jz3DrM; Fri, 20 Mar 2020 12:35:52 +0000 (UTC) (envelope-from 21cencturyayush@gmail.com) Received: by mail-vs1-xe29.google.com with SMTP id x82so3805816vsc.12; Fri, 20 Mar 2020 05:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=O1lpyvUak9EUqCrynbvHecTAjMMoD/n9M6eGwdKdpCQ=; b=q4nBnWdBjUqex+7K/kIQ/bQ+MeVPzDxq1ZhZtqxclml/zVowu7YJr/VvmribtK3Vlj IJ5s//KunDKXbm/RhHH9IwDacwFdAIE9ZJxqNDCTp4TfQa0tSzTMb/CHv6RN40Q8jWbP tTRE7W02FEALgLiVQk9IAd5p+o6yyFtBrdxTRN66LLPZwSbF3YtKm0UMQcGypNTi4CZO hv34pHEUzuFO8ENIiwcZiKsoT+pcha+V3z+ZV5fX9WpAMMlYjVFPnelCBt72zhgf0Pyu J7OhhJSq4xZJxGoJvZnpcFGdGRNUjWGhYRp3qarLxsFVWT588zmIZ76pKnR3bqXjC/Xd YaGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=O1lpyvUak9EUqCrynbvHecTAjMMoD/n9M6eGwdKdpCQ=; b=XPcIlsMVTq/+x+vRg0B/+MGMWXxjcHDB58GkqCb/UQi5nrqUUKHxLm1kqxFpjb/Han DEOMO5k7kh9XJ35z2YMG2tr4HkZmrzTt/Xxaz6d5c2XoT0Y2nf9XtQ1PUN/30YHxG42Y +TsJlv/5GBPCfpY0uGiWNZGx7WxWgB8Ec85BZjoBIC3IRY2LJ+b3MZHJuhkC8T4qWD8j 1B3zz/4H/65kLFGtK07xQaw7eQmKo/VWw6doB19l5WZTvc+S/Z1qelpwG7LjaSeREAOE OD818hJGBawpqcEJaQrE/x9xh4DjeqEiGz90yf91+ApItymaLRkohbm3YOCJqDuaP8Sy PkVg== X-Gm-Message-State: ANhLgQ3wqNK2F1ZPPun1L0/usRqsvSyfJXM6rbASWCXuPEgMgRy7xOh7 93kZr8t9SlmEvAkGUfTQlUJ7Nt3Y4G7y3Ax1I3tHFwiTyjE= X-Google-Smtp-Source: ADFU+vtslbpeifBkq0tcR1bBuL4GlaYdorcEPKeHIQhBi2yDKAh+26d9aEpiupRsvhnjgE9LPaRt8jt7Y5pGrOzYmvI= X-Received: by 2002:a67:cb84:: with SMTP id h4mr5862619vsl.85.1584707750856; Fri, 20 Mar 2020 05:35:50 -0700 (PDT) MIME-Version: 1.0 From: Ayush Dwivedi <21cencturyayush@gmail.com> Date: Fri, 20 Mar 2020 18:05:39 +0530 Message-ID: Subject: Introduction and GSoC Project Idea Discussion To: freebsd-hackers@freebsd.org Cc: royger@freebsd.org X-Rspamd-Queue-Id: 48kNY4167Jz3DrM X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=q4nBnWdB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of 21cencturyayush@gmail.com designates 2607:f8b0:4864:20::e29 as permitted sender) smtp.mailfrom=21cencturyayush@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.00)[ip: (-9.50), ipnet: 2607:f8b0::/32(-1.26), asn: 15169(-1.28), country: US(-0.05)]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[9.2.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2020 12:35:53 -0000 Hello everybody, This is Ayush. I am currently pursuing B Tech in Computer Science and Engineering. I am new to the FreeBSD community. I was going through the main project idea list provided by the wikia and found a project related to freebsd boot loader there(Add support for booting Xen domain 0 from EFI). I have an interest in system and bare metal programming and have done some experimentation with EFI application development( it was an attempt to make my own EFI boot loader and analyzing working of UEFI and how it's completely different from BIOS). I am familiar with QEMU and hardware virtualization and have used it test modified kernels and minimal EFI applications. I have programmed mostly in C(have written an UNIX shell interpreter in it and some other projects) and experimented with x86_64 assembly. I am familiar with Linux kernel code and currently use Arch Linux as my OS. The project requires me to read the FreeBSD/EFI loader code but how exactly should I setup my working environment and what should be my first in freebsd development should it be building it from source and testing in on QEMU(I have the freebsd-current source code in my Linux currently and I am trying to get familiar with svn). Need help. Regards, Ayush Dwivedi From owner-freebsd-hackers@freebsd.org Fri Mar 20 14:40:15 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B97726902E; Fri, 20 Mar 2020 14:40:15 +0000 (UTC) (envelope-from babupalit@gmail.com) Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48kRJb1kj7z3N9n; Fri, 20 Mar 2020 14:40:15 +0000 (UTC) (envelope-from babupalit@gmail.com) Received: by mail-ot1-x342.google.com with SMTP id e19so6163420otj.7; Fri, 20 Mar 2020 07:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=C0BBlLo5NKEYES2/88dE/bqmWYYFQUw8vhfYt7tEClM=; b=in9qgLku5KbTsoXqi+qNSJsDE/Gyy5l62O9YvXaEWb8e+3rQatJKRhOLfX9OG9orMt GRYS80g2puGt9k0okHa6tMOa/NEVbGa14H5gv/Bp3I2He17NXNCtwc4iQpTwfl+X0IJ2 3cUPZzJSNBHe3WyRXUmm7be2hEacwJmK4EYsIOA9mL4EP60abrUeZRs7fhCfd6lPstQw Fna2jVHlgILi60mpmmBFJJ8njIAAK6X04qtmjFnf4NF1w7a14qwTXUAF5x4WuiZDZmOe iQcHEFYL57eSi8QOMrv2+WlKb1RH8pTTRKhwlojHESuW+uIlHw0TTxwyXIi+ajP4GL99 h5aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=C0BBlLo5NKEYES2/88dE/bqmWYYFQUw8vhfYt7tEClM=; b=e/mlHNqZUhZ9JrUQ9itaUY5Kov6bWVdVzXgzdN/e1YXnsVHf65izp9S1BluAhQbQN3 rijoi0PYKu2CxaYOIaKE58McZ9SwNJTshuyne21+lX13ueoA46nfff0/yeo/7natDQGg 9dDj83kbwcFqfOi5OOiVmCG44ykJfQZmTr5/uXIZGYFLPfVj+ya9SBNxLpLakGuvMoiE tFb3/4sKCZRDzMpVhzSlphoW/6vPNnwsNjgY0k/Xc58QsK709zJKx2tcasWJvC7sI6k7 dJDcbrdJX7g60vKYHphXLuEjMxGVUn5Ieb0JsP3tkxB9jR9m8HuOdEl0GqiXXba4lHv0 U7+A== X-Gm-Message-State: ANhLgQ1qZMixBDwV2wPrPzXV0H9FOrwq7WALBTUOI6SbtJZA4nqi3kmw K/jiQqBFECFDSjOOgWV1kHO8NgL9CpHZGMiWViuqv+jj X-Google-Smtp-Source: ADFU+vsAu73irrNS4ryUj/BKHgy9A59G73DlBtLk2mHzswggQPJypHKYuPdiEnnHYgsBfK+g7Bx2Xog/IZlT9r8+0tw= X-Received: by 2002:a05:6830:1251:: with SMTP id s17mr7331035otp.75.1584715214277; Fri, 20 Mar 2020 07:40:14 -0700 (PDT) MIME-Version: 1.0 From: Arpan Palit Date: Fri, 20 Mar 2020 20:10:02 +0530 Message-ID: Subject: How to access a user space file from kernel space in FreeBSD. To: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, freebsd-drivers@freebsd.org X-Rspamd-Queue-Id: 48kRJb1kj7z3N9n X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=in9qgLku; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of babupalit@gmail.com designates 2607:f8b0:4864:20::342 as permitted sender) smtp.mailfrom=babupalit@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.00)[ip: (1.92), ipnet: 2607:f8b0::/32(-1.20), asn: 15169(-1.24), country: US(-0.05)]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.4.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2020 14:40:15 -0000 Hi all, I am working on (kernel)driver ioctl implementation for file read/write, where I need to know what are API's which can expose to read,write and close user space file from kernel space. In general I need to know the answer for the below questions. i). How to open a user space file from driver(kernel space) ? ii). How to create a new user space file from driver(kernel space) ? iii). How to get file parameters like size of the file ? iv). How to read/write the files from the driver(kernel space) ? Thanks & Regards, Arpan Palit From owner-freebsd-hackers@freebsd.org Fri Mar 20 16:11:36 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F24F126B19C for ; Fri, 20 Mar 2020 16:11:36 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48kTKy5ylxz4fY0 for ; Fri, 20 Mar 2020 16:11:33 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 02KGBN54081886 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 20 Mar 2020 16:11:24 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id 02KGBLUb041730 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 20 Mar 2020 23:11:21 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: How to access a user space file from kernel space in FreeBSD. To: freebsd-hackers@freebsd.org References: From: Eugene Grosbein Message-ID: Date: Fri, 20 Mar 2020 23:11:12 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 48kTKy5ylxz4fY0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.77 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.880,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.93)[-0.929,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[grosbein.net]; R_SPF_PERMFAIL(0.00)[]; IP_SCORE(-1.86)[ip: (-5.14), ipnet: 2a01:4f8::/29(-2.57), asn: 24940(-1.56), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2020 16:11:37 -0000 20.03.2020 21:40, Arpan Palit wrote: > I am working on (kernel)driver ioctl implementation for file read/write, > where I need to know what are API's which can expose to read,write and > close user space file from kernel space. In general I need to know the > answer for the below questions. > > i). How to open a user space file from driver(kernel space) ? > ii). How to create a new user space file from driver(kernel space) ? > iii). How to get file parameters like size of the file ? > iv). How to read/write the files from the driver(kernel space) ? It is not common behaviour for FreeBSD kernel land code to create/write files. Generally there is some userland daemon doing this for some kernel subsystem. However, there are cases when kernel does it by itself, f.e. writing coredump file, creating new accounting file etc. You may find some examples useful: https://svnweb.freebsd.org/base/head/sys/kern/kern_sig.c?view=markup#l3623 https://svnweb.freebsd.org/base/head/sys/kern/kern_acct.c?view=markup#l223 https://svnweb.freebsd.org/base/head/sys/kern/kern_alq.c?view=markup#l448 I'm afraid this is basically undocumented and not encouraged and you should consider adding some userland process for file manupilations. From owner-freebsd-hackers@freebsd.org Fri Mar 20 17:40:01 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9FAC126DF02 for ; Fri, 20 Mar 2020 17:40:01 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from mail.rlwinm.de (mail.rlwinm.de [138.201.35.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48kWJ053vWz4R11 for ; Fri, 20 Mar 2020 17:40:00 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from hexe.rlwinm.de (200116b864664c00feaa14fffe7af214.dip.versatel-1u1.de [IPv6:2001:16b8:6466:4c00:feaa:14ff:fe7a:f214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.rlwinm.de (Postfix) with ESMTPSA id 2EF00237EC for ; Fri, 20 Mar 2020 17:39:53 +0000 (UTC) Subject: Re: How to access a user space file from kernel space in FreeBSD. To: freebsd-hackers@freebsd.org References: From: Jan Bramkamp Message-ID: Date: Fri, 20 Mar 2020 18:39:52 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48kWJ053vWz4R11 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of crest@rlwinm.de designates 138.201.35.217 as permitted sender) smtp.mailfrom=crest@rlwinm.de X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.96)[-0.961,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.955,0]; DMARC_NA(0.00)[rlwinm.de]; IP_SCORE(-1.88)[ip: (-8.89), ipnet: 138.201.0.0/16(1.04), asn: 24940(-1.54), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[4.1.2.f.a.7.e.f.f.f.4.1.a.a.e.f.0.0.c.4.6.6.4.6.8.b.6.1.1.0.0.2.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:138.201.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2020 17:40:01 -0000 On 20.03.20 15:40, Arpan Palit wrote: > Hi all, > > I am working on (kernel)driver ioctl implementation for file read/write, > where I need to know what are API's which can expose to read,write and > close user space file from kernel space. In general I need to know the > answer for the below questions. > > i). How to open a user space file from driver(kernel space) ? > ii). How to create a new user space file from driver(kernel space) ? > iii). How to get file parameters like size of the file ? > iv). How to read/write the files from the driver(kernel space) ? What you ask can be done inside the kernel, but it doesn't sound like a good design choice for a device driver. I suspect there are better ways for a (device) driver to to interact with the rest of the system. If you want to write a device driver I would recommend that you to backtrack and describe what problem you want solve instead of how you attempted to solve it. Should you want to learn about corner cases in the kernel that's fine too. From owner-freebsd-hackers@freebsd.org Fri Mar 20 19:39:47 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 389DD270EA8; Fri, 20 Mar 2020 19:39:47 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48kYy90DHPz3H1K; Fri, 20 Mar 2020 19:39:44 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id 02KJdglQ065246 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 20 Mar 2020 12:39:42 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id 02KJdgtV065245; Fri, 20 Mar 2020 12:39:42 -0700 (PDT) (envelope-from jmg) Date: Fri, 20 Mar 2020 12:39:42 -0700 From: John-Mark Gurney To: Arpan Palit Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, freebsd-drivers@freebsd.org Subject: Re: How to access a user space file from kernel space in FreeBSD. Message-ID: <20200320193942.GL4213@funkthat.com> Mail-Followup-To: Arpan Palit , freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, freebsd-drivers@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.3-STABLE amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Fri, 20 Mar 2020 12:39:42 -0700 (PDT) X-Rspamd-Queue-Id: 48kYy90DHPz3H1K X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jmg@gold.funkthat.com has no SPF policy when checking 208.87.223.18) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [0.49 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.59)[-0.594,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.42)[ip: (-1.09), ipnet: 208.87.216.0/21(-0.54), asn: 32354(-0.44), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[funkthat.com]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.30)[0.305,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:32354, ipnet:208.87.216.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2020 19:39:47 -0000 Arpan Palit wrote this message on Fri, Mar 20, 2020 at 20:10 +0530: > Hi all, > > I am working on (kernel)driver ioctl implementation for file read/write, > where I need to know what are API's which can expose to read,write and > close user space file from kernel space. In general I need to know the > answer for the below questions. > > i). How to open a user space file from driver(kernel space) ? > ii). How to create a new user space file from driver(kernel space) ? > iii). How to get file parameters like size of the file ? > iv). How to read/write the files from the driver(kernel space) ? The core dumping routines do something similar, so you can look at that code: https://svnweb.freebsd.org/base/head/sys/kern/kern_sig.c?annotate=358856 Are you trying to open/write a file on behalf of a process? or just need to access the file system from your driver? If you're just needing this to load firmware for a device, you should look at the firmware(9) infrastructure that already exists: https://www.freebsd.org/cgi/man.cgi?query=firmware&manpath=FreeBSD+12.1-RELEASE+and+Ports -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."