From owner-freebsd-questions@freebsd.org Sun Jan 19 04:27:44 2020 Return-Path: Delivered-To: freebsd-questions@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 5704D22D3B8 for ; Sun, 19 Jan 2020 04:27:44 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (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 480hbz17p8z3L8W for ; Sun, 19 Jan 2020 04:27:42 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 3CA68138A36 for ; Sun, 19 Jan 2020 04:27:35 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id b0Z048YcPCFN for ; Sun, 19 Jan 2020 04:27:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 5636B138A45 for ; Sun, 19 Jan 2020 04:27:34 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.antonovs.family 5636B138A45 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=D65AA412-CB7F-11E9-A561-802C9D403B77; t=1579408054; bh=iwSD8J5m8lqMGXZbtfqjWtwB8cAGoQ1njYBU9hmvCOc=; h=From:To:Date:Message-ID:MIME-Version; b=IG743pAu5YHw4N/Ry07xIzgY+2bpM12fkRbQ1GYQdL5LRAaDvjvt80OP++QhY+wS3 5M0stAiOHA7DKkTEvtyCtY3Aaxk+qdL1Pmz7RPEdtuYT4pZsSktk2O/Q5L4fRkzjKS kbpD42+V0oidh/tIdUI7oyUkLGE1JfevEEe3LanYZo9m5kudJ7wXnKG8N5p60Lc3mZ V1J9YULWyr6nVj7lsm0jkQ7uWy8m7YJ3SJhzPXwtXef92VXQi3U0Gq+svOWXWV4M5o KN3KBPJ70EWUbcDqhL/8UsKeFPUvIVZX+Ca9YKFQK5gZSbEE3yoFad47CScnBQk3r5 5xGngRTD6zykQ== X-Virus-Scanned: amavisd-new at antonovs.family Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Z7pi_Jeot06Q for ; Sun, 19 Jan 2020 04:27:34 +0000 (UTC) Received: from t800.localnet (c-73-83-210-79.hsd1.wa.comcast.net [73.83.210.79]) by mail.antonovs.family (Postfix) with ESMTPSA id 0950D138A36 for ; Sun, 19 Jan 2020 04:27:33 +0000 (UTC) From: Ihor Antonov To: freebsd-questions@freebsd.org Subject: sysctl and /sysfs Date: Sat, 18 Jan 2020 20:27:27 -0800 Message-ID: <4538784.31r3eYUQgx@t800> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4213813.LvFx2qVVIh"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 480hbz17p8z3L8W X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=antonovs.family header.s=D65AA412-CB7F-11E9-A561-802C9D403B77 header.b=IG743pAu; dmarc=pass (policy=none) header.from=antonovs.family; spf=pass (mx1.freebsd.org: domain of ihor@antonovs.family designates 100.25.240.195 as permitted sender) smtp.mailfrom=ihor@antonovs.family X-Spamd-Result: default: False [-5.65 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[antonovs.family:s=D65AA412-CB7F-11E9-A561-802C9D403B77]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-1.05)[ipnet: 100.24.0.0/13(-2.14), asn: 14618(-3.04), country: US(-0.05)]; DKIM_TRACE(0.00)[antonovs.family:+]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:14618, ipnet:100.24.0.0/13, country:US]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[79.210.83.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 04:27:44 -0000 --nextPart4213813.LvFx2qVVIh Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi everyone, I am coming to FreeBSD from Linux and I have questions about system structure. I noticed that FreeBSD makes heavy use of `sysctl` to read and write kernel parameters. Linux has /proc and /sys filesystems that represent various kernel data structures, some of which could be writable. In the spirit of Unix philosophy "everything is a file" I was wondering if FreeBSD provides a view into kernel's parameters similar to sysfs on linux? It feels a bit strange that instead of naturally exposing hierarchical kernel data structures in a form of filesystem one has to use sysctl and text values in a "parend.child.subchild" pattern. So the question is why? It is possible that I am missing something or maybe FreeBSD has a different view on this problem - I would love to understand! Thanks -- Ihor Antonov https://useplaintext.email --nextPart4213813.LvFx2qVVIh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEERRGvVtv7zdxEBhtZWJxtLLeFgVIFAl4j2q8ACgkQWJxtLLeF gVLu5hAAvcxt4AuBcdJgfsp3UNkJMbcgkLIF8IS+1SyJgcCoG3D3XHstwEpbiGCR BRLT9cFMKpTDcozdwNWachXAPl3nyc+i+BAzyEFhVeDycL2e3zTIK67uB5VqBK6+ Mk2plsZbXA1Pn1Vl4waWgCqIjxlh7gKaKVY21E7NpuTdQW5crCAhyyfAztGSHNMF P0V9xEes65BVlfvj62BBe3luRqMs/VdZNrWiLYg9nunx2/o3cMN6D3+qR2Oo4dyA aJbSHOAaK05tr2xNID3j5lHnUzivo/cisvWQEVdfo4n/FAOQ6+lD5udTRjzujhmM HpOAcHvO+mtvGSPHFlkI+BlQemEGlsv32udaJz0xqloFzNzzidBx6SaXsSpppHoT 2r5jC9rsEZwPVOEOGQxUoaRJAAW3wxTNI5CQ1gOVgkIi+59o0QnYaacsxXxOyhYI XQLIMTFBZtKyJ8OIb8OcSX+k7gTTBjR/CpFa31cSPLSIMDWNqcYqvHvfykhzbgeW hFWFfJH9YSqApjykxbDdNQwjfA9vcbCpmaxHgxSYcORJHMq4vFxcoi1Jmi4Zp0Cl 9WIw68+7H1zvd530BMe7uRzDAavbaXT8fbCH0fG+WeRWcZ89lRgG9/K0H8vbVAw5 J5PGP7O5Kx/fGaNVPiOVcLr+ff5WT1M+uNhetjxy3Nxb0b89a90= =rqEy -----END PGP SIGNATURE----- --nextPart4213813.LvFx2qVVIh-- From owner-freebsd-questions@freebsd.org Sun Jan 19 05:42:04 2020 Return-Path: Delivered-To: freebsd-questions@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 99583233CF5 for ; Sun, 19 Jan 2020 05:42:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (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 "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 480kFl2Y3lz3Nwh for ; Sun, 19 Jan 2020 05:42:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.10.201]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MA4ja-1ilrXx3rYo-00BcVr; Sun, 19 Jan 2020 06:41:52 +0100 Date: Sun, 19 Jan 2020 06:41:51 +0100 From: Polytropon To: Ihor Antonov Cc: freebsd-questions@freebsd.org Subject: Re: sysctl and /sysfs Message-Id: <20200119064151.7f781748.freebsd@edvax.de> In-Reply-To: <4538784.31r3eYUQgx@t800> References: <4538784.31r3eYUQgx@t800> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:kAPSybzOkGkYIkmJvdYzlLbukZ8wjCd0gL1RJ7BE73SV/5KBcK5 4rvg89kta1rVMORL4hkd+DyILZFkgn7D8HVoAwhN5FrhYwgZ2dg3MdEBDHhdFU9L9DZ8TwW GxBp03k69PD6JmwKImbjpUKfLnc4OmCW9Nqd5DB3AQhCFezKLMI8HAo9BkwFUHAhg/V8DWp NK1SwBh6eW8uli7rPu9ng== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:LipdBBXnkwQ=:uMhKacC1dp/U8FoeM6vVNn 2bXskE761KaGzJ5oDGiqTYJ35rxtEoGySrYDtsa7MfgXtT73wsAerIyT3gbNLDg5PDl4Aepja P+U36XOCtB8WgMYwBD1siR3ezBkRD5NutwcK4A4wIrik0IqDrl7iZkCnEspfJZLwUsGb2pXut cn1k89AqSaFVXWWRQ+QHfs8/4impC5R2x2j78+A9SDupKpq47qFOAhYVM6oZcvENU5FQz5nEy MrJ7YTQDQAy4tpwN8ptxwMbKPHgeMt0FVK/DIeolC3O7ycsTMg0wRI6Y2cv77GWmvjXCqS24h rP5DwA+7bn3tuZ9dnJS/a54LCpvDRyj1QAoVJMhLiWjTPRqelj76A3WCfpUul19UewP9QxZV2 3kmZaN7eJ2coDcw9UW1adVh0kYa4ZvaPS2RRTSyD/EVAsKZb9H8xwjk7zWNP23ox+z4aFLlsV xgJmPEr8njnH5/lD+HFIk0L5t1Ki67/aij2G3log3G00sYMxrh0fArM2lHmmpYUt4Ia5DXHAc 8e32U5Q6Q+2tOJGOYxkdZ/s1xLlAm9rBz8/MEvDDq5+2YJXWnR8AwEkv9OMmiYPKaHR5knvYq cphkCHOO2Bj5ORj5QkKRUs7izDR9UxM5zvsX9IRHztpMa8m448bLy6u/LO7ne1Phyw4hbXZuz 4uF6XLlK8dXIxmTRD0DXK3/+mbJIqotN4FqjsPXm8nFxK0IFkpTvzSIgQYmIqaFDYHT9Qvhvq E08y9WDjX6fZLP3QREPyWZpKu6mQG6OY/TIe5FMhd3pUR78p1+yTOaOO4fwXOzvwyrQg49lHq c6X4zQ7ZWeaBbV622Ty4jupL0DbCbdzmcl0bVEntpphLRLSftgA2nQebowiT3Im25J+vhGpP4 dWqFokK51LOv5AOXKQLA== X-Rspamd-Queue-Id: 480kFl2Y3lz3Nwh X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.03 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[201.10.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.990,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.64)[ip: (2.13), ipnet: 212.227.0.0/16(-1.16), asn: 8560(2.26), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 05:42:04 -0000 On Sat, 18 Jan 2020 20:27:27 -0800, Ihor Antonov wrote: > Hi everyone, > > I am coming to FreeBSD from Linux and I have questions about > system structure. > > I noticed that FreeBSD makes heavy use of `sysctl` to read and > write kernel > parameters. Linux has /proc and /sys filesystems that represent > various kernel > data structures, some of which could be writable. > > In the spirit of Unix philosophy "everything is a file" [...] In context of Linux... https://www.youtube.com/watch?v=9-IWMbJXoLM#t=8m20s Sorry, couldn't resist. ;-) > [...] I was wondering if > FreeBSD provides a view into kernel's parameters similar to > sysfs on linux? I hope not. :-) > It feels a bit strange that instead of naturally exposing > hierarchical kernel > data structures in a form of filesystem one has to use sysctl > and text values > in a "parend.child.subchild" pattern. So the question is why? The primary reason is that this is historically grown, and brought forward through decades of kernel and system parts development. > It is possible that I am missing something or maybe FreeBSD has > a different > view on this problem - I would love to understand! The core "problem" (which actually isn't a problem at all) is that exposing _everything_ as a file or a hierarchical filesystem doesn't seem to work for each and every case. That's why different approaches have been taken that worked out in a better way. With sysctl, direct access to kernel system information has been unified. There is still some kind of hierarchy preserved. See "man 3 sysctl" and "man 1 sysctl" for details. Sidenote: Watching "What UNIX Cost Us" by Benno Rice at "linux.conf.au" (LCA) 2020 does actually help understanding _why_ the use of the "everything is a file" metaphor doesn't always work. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Jan 19 07:49:37 2020 Return-Path: Delivered-To: freebsd-questions@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 06D6F237751 for ; Sun, 19 Jan 2020 07:49:37 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (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 480n4v5xnpz3yFS for ; Sun, 19 Jan 2020 07:49:35 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 2BDED138A45 for ; Sun, 19 Jan 2020 07:49:35 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id nXFU2pJdRS04 for ; Sun, 19 Jan 2020 07:49:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 73579138A46 for ; Sun, 19 Jan 2020 07:49:34 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.antonovs.family 73579138A46 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=D65AA412-CB7F-11E9-A561-802C9D403B77; t=1579420174; bh=Wq3AYSuY8OfNEh6gjxOofVDp1PDlcNo8TqkQs2GYr8Y=; h=From:To:Date:Message-ID:MIME-Version; b=D6PYyqM+58FWkXiBLTVk03ujooUmL0NqbjZRQziOSKtLjVi0Ux829X3E/E5d3ybl2 1gNkf6SvyFm+OM8iTcmVYEol/sHaxEGx5xqj4DAmAnlmKQGEdIPbq9W+0HtnJaMY1r Emrsayr/qpdDlpPywwvQEGaF0GV4sZHht2k8J9JlIetpEEzGxHbEvWD41lZcZPziqR t0912hdQIQTUWKMvl2OEdmqD8FLK7siYrUcyGb/dqzIeAOtFKN761LXk1uPs3LpVRj LvF48hbybLeq95RnripHOwA4ie485VDJkxfAnoITwL6wtSTFZqjC0ebXGR69yAq4ly 13tuEfPGWlYxg== X-Virus-Scanned: amavisd-new at antonovs.family Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VF2LMM_zOqqI for ; Sun, 19 Jan 2020 07:49:34 +0000 (UTC) Received: from t800.localnet (c-73-83-210-79.hsd1.wa.comcast.net [73.83.210.79]) by mail.antonovs.family (Postfix) with ESMTPSA id 2C886138A45 for ; Sun, 19 Jan 2020 07:49:34 +0000 (UTC) From: Ihor Antonov To: freebsd-questions@freebsd.org Subject: Re: sysctl and /sysfs Date: Sat, 18 Jan 2020 23:49:31 -0800 Message-ID: <3038969.aeNJFYEL58@t800> In-Reply-To: <20200119064151.7f781748.freebsd@edvax.de> References: <4538784.31r3eYUQgx@t800> <20200119064151.7f781748.freebsd@edvax.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: 480n4v5xnpz3yFS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=antonovs.family header.s=D65AA412-CB7F-11E9-A561-802C9D403B77 header.b=D6PYyqM+; dmarc=pass (policy=none) header.from=antonovs.family; spf=pass (mx1.freebsd.org: domain of ihor@antonovs.family designates 100.25.240.195 as permitted sender) smtp.mailfrom=ihor@antonovs.family X-Spamd-Result: default: False [-4.14 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[antonovs.family:s=D65AA412-CB7F-11E9-A561-802C9D403B77]; RCVD_COUNT_FIVE(0.00)[6]; 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-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[antonovs.family:+]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.14)[ip: (-5.65), ipnet: 100.24.0.0/13(-1.98), asn: 14618(-3.04), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:14618, ipnet:100.24.0.0/13, country:US]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[79.210.83.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 07:49:37 -0000 On Saturday, January 18, 2020 9:41:51 PM PST Polytropon wrote: > In context of Linux... > > https://www.youtube.com/watch?v=9-IWMbJXoLM#t=8m20s > > Sorry, couldn't resist. ;-) Thanks, I really enjoyed this talk. I agree that "everything is a file" is not applicable everywhere. > The core "problem" (which actually isn't a problem at all) > is that exposing _everything_ as a file or a hierarchical > filesystem doesn't seem to work for each and every case. > That's why different approaches have been taken that worked > out in a better way. With sysctl, direct access to kernel > system information has been unified. There is still some > kind of hierarchy preserved. > > See "man 3 sysctl" and "man 1 sysctl" for details. > > Sidenote: > > Watching "What UNIX Cost Us" by Benno Rice at "linux.conf.au" > (LCA) 2020 does actually help understanding _why_ the use of > the "everything is a file" metaphor doesn't always work. After watching this talk I also watched another talk of his: Tragedy of Systemd: https://www.youtube.com/watch?v=o_AIw9bGogo And I must say, Benno has a point. FreeBSD definitely lacks something like systemd (and I want to stress "like", not "exactly" ) Do you know of any ongoing efforts to bring a unified system management functionality to FreeBSD? -- Ihor Antonov https://useplaintext.email From owner-freebsd-questions@freebsd.org Sun Jan 19 08:41:54 2020 Return-Path: Delivered-To: freebsd-questions@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 612C41F1655 for ; Sun, 19 Jan 2020 08:41:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 480pFD6lHYz41ZZ for ; Sun, 19 Jan 2020 08:41:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.10.201]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1N9dkD-1jetIB2eMH-015e15; Sun, 19 Jan 2020 09:41:42 +0100 Date: Sun, 19 Jan 2020 09:41:42 +0100 From: Polytropon To: Ihor Antonov Cc: freebsd-questions@freebsd.org Subject: Re: sysctl and /sysfs Message-Id: <20200119094142.0bc64292.freebsd@edvax.de> In-Reply-To: <3038969.aeNJFYEL58@t800> References: <4538784.31r3eYUQgx@t800> <20200119064151.7f781748.freebsd@edvax.de> <3038969.aeNJFYEL58@t800> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:mxxf6mxdmNZ7f6LYyBkx+KVkHKUtsrBGjVx2Uh+EopqNH0aC2xt wMF9X79boQKEa9Rtg86mlH6kcDR6DMTeFhXfENnqQbBnUzTudOfPyxKLdGX+9gkXCAvKLQ8 yiVC3MLn5yJnVNCMoxD0Pv1Cq/oiNPTqb/BC4ud3zsUZ6tjInyOC0GMCXdLT7PAsXgRtWXC fRf2iHKTQh9GJ91zOyQwQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:g9R24wlcDK8=:EVhN5UHpz6v4YjfxSjLWhK LhmyAO9rBPBIk/q4t8CELuYLJzuGxB9qCltxvJAC+WJul3cPAuG1uYbkhTdn5VF4cDZhTRXPI pc5kGdU6sYCX44OlMZvUmfsteG2qrqEqQN42O30YEXUim8JxYxb4Hstt5LWAkGv0EW5bl7QYU /icLuZOtCkaHOSZj5NaNDAu89VYivU71hbNxN6oixE1DzBGbikqU5Sk94hDjpEDsA+H4CRzH3 w4ypXhTS0COLL2dAJzpHYS4DQu87phHsaDeN+h46k4bAeJTvY2FB6tceV652zk6vfMIelyo+h e50+D9eIAzxk30WweATehIY6s/J++uY1rISEecE7ZoAU5IeRn6Vczq7InSuWZ/HM79ebei88l JigMaSdh7pyIpMhnfCOeElA1nOIWLjt6Y9P0VSPhfa5HlrRKuRzxtwXAmXC1zCpDz2zRosy7U sAz8+MgjnnpegC5uZmQynEQU02BuBxTJ98Yp8y9v3D6CYFkWlTzzb3a1ma3u78fW5eWL3inXA /PhPpMqRaYkr9B/kTNl7lNbi+PWbd79uI5b0ipRESulrnhtXdGCCE1YX9kRlA5gc8u5je2IPT lq8SYINYYXbF/yUoVMeTehhQ4MfIyBq03kJj8WqOvWNqEemz4JbxmrPqQPZEEJ4dY08uVJ50l W/cf8JJ98Y9TMd7Fywb72AGxGluZAsJSNMpznPNOZId6qwEnbF39n/lFq5Oi2qVKt1dc3MSfd 5tr2EMq3OVlr6pP0BOv++Fr7jEBKP039VH0ndGoI/DZ5Ffe+qs8Xpsvuiwr++HE8zy0oBGmjN aS8U2DlDnDJI5RLCvsTvX0eWU216Fhs+yXy59GeSCFwKYYmky/R7qH3pvX5Kteb89cAchzNV6 NV9XRJSjEztFd1FAbzIg== X-Rspamd-Queue-Id: 480pFD6lHYz41ZZ X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.133) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.84 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[201.10.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.979,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[133.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[133.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.46)[ip: (1.24), ipnet: 212.227.0.0/16(-1.16), asn: 8560(2.26), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 08:41:54 -0000 On Sat, 18 Jan 2020 23:49:31 -0800, Ihor Antonov wrote: > On Saturday, January 18, 2020 9:41:51 PM PST Polytropon wrote: > > > In context of Linux... > > > > https://www.youtube.com/watch?v=9-IWMbJXoLM#t=8m20s > > > > Sorry, couldn't resist. ;-) > > Thanks, I really enjoyed this talk. I agree that "everything is > a file" is not > applicable everywhere. Exactly. There just is no "one size fits all" approach to things that are fundamentally different, both in what they do (and why) and when they were invented. > > The core "problem" (which actually isn't a problem at all) > > is that exposing _everything_ as a file or a hierarchical > > filesystem doesn't seem to work for each and every case. > > That's why different approaches have been taken that worked > > out in a better way. With sysctl, direct access to kernel > > system information has been unified. There is still some > > kind of hierarchy preserved. > > > > See "man 3 sysctl" and "man 1 sysctl" for details. > > > > > Sidenote: > > > > Watching "What UNIX Cost Us" by Benno Rice at "linux.conf.au" > > (LCA) 2020 does actually help understanding _why_ the use of > > the "everything is a file" metaphor doesn't always work. > After watching this talk I also watched another talk of his: > > Tragedy of Systemd: https://www.youtube.com/watch?v=o_AIw9bGogo > > And I must say, Benno has a point. FreeBSD definitely lacks something like > systemd (and I want to stress "like", not "exactly" ) Do you know of any > ongoing efforts to bring a unified system management functionality to > FreeBSD? I'm not sure. The rc.d mechanism present in FreeBSD to manage system services, their order and dependencies, is somewhat tied into devd, a mechanism that allows you to "dynamically react to system events". However, it more or less lacks the "dynamic" aspect. For static start / stop / restart actions, it works quite nicely, and it does _not_, as opposed to Systemd, try to incorporate all the things into some "thingd" with a separate configuration directory "/etc/thing.d/". Note that it hasn't been the case all the time: in the past, specific rc. scripts handled things, but they had to do lots on their own. With rc.d, things like prequisites, start order, provided functionalities and user-specific keywords can be managed more easily, and it is the same concept both for the OS in /etc/rc.d/, and for 3rd party programs that supply such scripts in /usr/local/etc/rc.d/; furthermore, user-specific directories can be added, let's say /opt/rc.d/, for something managed entirely independently. In Linux land, there are several startup management systems, with systemd probably being the most prominent one. My assumption is: Before FreeBSD attempts to implement something comparable, maybe Linux should be standardized... but yeah, I know, that's not going to happen... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Jan 19 09:51:21 2020 Return-Path: Delivered-To: freebsd-questions@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 61E7C1F37E4 for ; Sun, 19 Jan 2020 09:51:21 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) Received: from sonic306-20.consmr.mail.ne1.yahoo.com (sonic306-20.consmr.mail.ne1.yahoo.com [66.163.189.82]) (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 480qnM641Fz44mk for ; Sun, 19 Jan 2020 09:51:19 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) X-YMail-OSG: t03_a2YVM1mXlSUE8CGpZOcJPB5ZztEJpdeA2w2hyBcnXIIAl8fi3S7xLYLTSkk TD_vaYTLQkUwdv1FokrHFW4V.jaIo2hDDe48Wy7QJzNjunLLp2wU9p921Cet5hxOsSBMu4DphdAK QVUkARAB.MdVicvFWPIYbaARNymJZtMOFSdWhL.zVSM3OcigrDp3OaaYt2g_9G1xqgQ.KPXd_RtU 10QSIQ9RNld6RVIHKqaSot.5TShXj1euVlmn3pcv8YcPmBw6hlgUq6sQyXPtkA31jCkfp5.WxNSj ebvdvyRLZLjQ63CsUBoeE..E1Xo1wXmnlBr1jd_iQasKhdA8wBkz9kNMOM1s6CyFelWeOZzpx6KA Ugc3lSov6c74KOwxdJmLXdd9YOJlFXguidSnxhh5sNxCpy24KxKoLxlND_TqF0H2pWZkLYTveYgf Fxbbk4z7dl0W0ZUlGUH7rv8hqke7pk6y8GxCkX3O6.ZCwRK7Has1JtGbt7tUaDWfEtj8gX6vU0w4 WOUVS1qjoCUh8_KHvqWBQAgKMbXcpymzBEDHxHkPhx9eSToBKGUAHSlX3wee23e.yyXK1nvDp7EX YIizXslo1VyzpazdHJnm8imy.VzaFMuZeVinMolvyOzdvkh0YbGIgQ.kow7LvAGnh3Bq8kFm6ULp xJQmwHr7TuktLUIiTM8RZbKWiRVQy08FTxxx1NqCix_T7lUpJVlgrbmLMek4gDLkAQVHW69n82qW Z9bcP9gcKLlFbFiBIOR6PkDIoLLKVRGVczqWu2oGDgb12Q9N0Nl1yYfeO9gbkfcFby_50teMkSE_ Se.Zm4Nqiblch65pMXVc20qGnv1fhfG8ZqiB6yvOzztKGdmflz5UvQL17Byiozyvm0D61gv18LQ1 slSPGLTyUp_4gP1s_EhD8GJA6tGK8TkHu_Jh6zXwARVEeUL_JAPO1TTnDtt3feBvSmIIurcPt70E 3NRksOFyMekVuVZ8jaINjdEw9bQm3pnLCRwIbA87H.yfefvSM78ykj7I3iN7bMZxfcsI7_GBtUdX gaQLnBdLEk2i4esAMvX9z_qQmVn0EPQyCOZoJMJLFDyGhce.HalO_h.FM5XzGtbqQObptszhPg9e R3pRG2Hd0Mw8oy3riCUVQPpIXG_E_FOzn5MPsS1PSdSVWlJeWFqUoGu96h3s_PaHuOhCsvKxbpGQ xULQ5dpG9Aw1_skamr9.Jqyj38dW1R1Kg_bLgvaTGLaKt.4T9Raa7kswMkNpUIxED9nFkeDgNtiP _3KAni3U996SB_V2HQiBcOuR6PE_VkQO7tokhpPZHhJ4NiNgf4xWwmcpHjfQ.mxJMl9LuiE5URcu aiwxBEdteT5pYSIM6hrkUBraX2.GWDqiq2zKHrueZd3oaBpj1dPUF6_25g6V2oJffkECwj0w6zOm htH0bw4LXDlL5jV6B4HqsjhKbk0o- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 19 Jan 2020 09:51:17 +0000 Received: by smtp415.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3047c3629e7050bb9497737cfbef89af; Sun, 19 Jan 2020 09:51:16 +0000 (UTC) Received: by mail-pj1-f46.google.com with SMTP id a6so5303760pjh.2 for ; Sun, 19 Jan 2020 01:51:15 -0800 (PST) X-Gm-Message-State: APjAAAWSp6ZM6IO36YAHOMczzXTie0MwmGRFoFvXdRH8rIdJ8zlJDWLe hQQ2kDrBRkVXAW4s8heE4PhtHDmmlO61ksQfBNc= X-Google-Smtp-Source: APXvYqxp5yngokdIQIfS3MHtBDnwtqS0DufSgBwdthNZx1ATdb1ZIIqJ5sRHRVGQaXIr7HOFWWSOJwcGPlPrKAo1dDQ= X-Received: by 2002:a17:90a:8a8f:: with SMTP id x15mr17408414pjn.87.1579427474772; Sun, 19 Jan 2020 01:51:14 -0800 (PST) MIME-Version: 1.0 References: <4538784.31r3eYUQgx@t800> <20200119064151.7f781748.freebsd@edvax.de> <3038969.aeNJFYEL58@t800> In-Reply-To: <3038969.aeNJFYEL58@t800> From: Ottavio Caruso Date: Sun, 19 Jan 2020 09:50:58 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: sysctl and /sysfs To: Ihor Antonov Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Mailer: WebService/1.1.15077 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_181) X-Rspamd-Queue-Id: 480qnM641Fz44mk X-Spamd-Bar: - X-Spamd-Result: default: False [-1.48 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.08)[-0.084,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[ihor@antonovs.family]; NEURAL_HAM_LONG(-0.70)[-0.696,0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[82.189.163.66.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; IP_SCORE(0.00)[ip: (3.69), ipnet: 66.163.184.0/21(1.19), asn: 36646(0.95), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 09:51:21 -0000 On Sun, 19 Jan 2020 at 07:49, Ihor Antonov wrote: > And I must say, Benno has a point. FreeBSD definitely lacks something like > systemd (and I want to stress "like", not "exactly" ) As a Linux user, who uses the *BSDs every now and again, I think the rc.d framework is _the_ selling point. I've been looking for a Linux distro with a drop-in replacement of BSD init for ages, but I haven't found it. Arch, Gentoo and Slackware get very close, but not quite enough. http://www.mewburn.net/luke/papers/rc.d.pdf -- Ottavio Caruso From owner-freebsd-questions@freebsd.org Sun Jan 19 10:41:41 2020 Return-Path: Delivered-To: freebsd-questions@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 4FA0F1F4D17 for ; Sun, 19 Jan 2020 10:41:41 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic312-25.consmr.mail.ir2.yahoo.com (sonic312-25.consmr.mail.ir2.yahoo.com [77.238.178.96]) (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 480rvR54bbz46rQ for ; Sun, 19 Jan 2020 10:41:39 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: x1dUsGUVM1mp4yIgRSCTUI8bLKeHc7HB4QSaPUYyEqZTMEYT_I59AvTGzqyT_EU M3qww.7jEeFDQifl0LkUpP1RlEE6K0ReN.61tOELt6grlMSfhv4NxZpqdu3FClW7a3CDbjWCvrKl uXFog8vkkN34vauuZgU1iuMMINUlIhrBp8uzZe4GqWuxAsxRkwf_ZDeMq.YX2f5_QrDlTVkerLRj WnBw5tE72Rtuj5TCRL5rOJVf3spcoPDa_1sX9J8XRsUiqCFqBjTdfXxx5TQmbXw.9BMl2HzKDw0x o.Cf3bhgbwhlAqSfo0IkxdS_owjjr0CY6oux6XJgHmwYfk6dfXtocfXkMHFdiudueIrctsa4zYSd nbPxHmgm9pkNRxL9XtR241QJTnWfk6X9.q5UIlDPUyihtXWHgEcNAWH1CIx7svsXgITjiT1djcV7 cBv06kfPWNMG5ndun3oN12vjYYdDXIord9HNIYZzUjQZu6qJstVVrw_npRMcCHm1GIE07Q3txgra 5KolYHjKUXI7v4RdQfL88fqDZ9izVLH01xj8ioQp82sXKnyznVFW5rZ5teh5kWrSjIVIH4V4NRaA hxM2BSxwehOudcjSa7KPUTtnvDGYzE98vmxFhIVhLGGCEpYIhvySzClO2mJYSyPApJVh_Jlauuna GncFmR2mpMsBJ41kzWmZuofthQ4lY57UKU4rvRLCbpzEfPypz_sw3Iz8QarikCP_7GPCL88e.sYg i3LJO9erJi3NyWPxeX2YdkvfjzyhcJMNvwFhHTIJIsbZLMlftgnhB6ZFhDAhmc9pyyOCQmwla3Bh pii1dF2C8OINPnzbNcqRyEJf70xPXF9JlwhhOemvnP8JC8qrCbSjFz6I2XyH2kVdD5D.WZL6SO4t jfIIbwEtEaMd97nFExUWEIRVkXX62MBujrNBrzeBN3SzA_IaDAqaBtk_uoUjhBoINHnBcZXwtqen D2kfoLGvEmZTZ.W7DI5Mhi7bF4qNTHigg9TYDUtcKvhUlE0kZGXJ1KCXVgSel7FByYldJpQvha8v FWJR5WzPOfvKlnlyRJ6eV6LoKQ7m7uUaxGiNuANUL9UholIfP.spqlnJJh6orUCVccXFuNPKPbVx SZ11_HmH4Ml9OaS6laZcORGiRgO2zrjQ4AiI0zsw3h4C8o3dXp5_Ou9rMjZlPOG6a4Bnkg3Dos.l 5g5P64I2MD5wbMLN9Tt2.JbateVZmibP7eGY2.E.FcwqG47TOpsewYLhsaVILmx65iqZhJif8DMV b9woql4Fpg0ftF3W5ZFmlZSmBNDdPkYWQf5Pc9CZiH8Gb_rNJLJQ22Ih5.RDY_ntJz9ODQTL2VBP 2YImylwA4CA6WhA8mSN9FJzbdOdpOsNPxafMF.lknFkMICvP0cpugLzd1FWjjhijGbnITtOzOgs3 6J4XASQTPMJePDs71GPXGhgoQS.bRoXTtmg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ir2.yahoo.com with HTTP; Sun, 19 Jan 2020 10:41:37 +0000 Received: by smtp411.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 35b184e6052d55b57e6be003a9489dd4; Sun, 19 Jan 2020 10:41:34 +0000 (UTC) Date: Sun, 19 Jan 2020 11:41:39 +0100 From: Ralf Mardorf To: freebsd-questions@freebsd.org Cc: Polytropon Subject: Re: sysctl and /sysfs Message-ID: <20200119114139.39e8faa4@archlinux> In-Reply-To: <20200119064151.7f781748.freebsd@edvax.de> References: <4538784.31r3eYUQgx@t800> <20200119064151.7f781748.freebsd@edvax.de> X-Mailer: Claws Mail (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 480rvR54bbz46rQ X-Spamd-Bar: + X-Spamd-Result: default: False [1.14 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rocketmail.com:s=s2048]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[rocketmail.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.78)[0.781,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[rocketmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[96.178.238.77.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[rocketmail.com,reject]; IP_SCORE(0.00)[ip: (5.60), ipnet: 77.238.176.0/22(2.20), asn: 34010(1.74), country: GB(-0.08)]; NEURAL_SPAM_LONG(0.85)[0.852,0]; RWL_MAILSPIKE_POSSIBLE(0.00)[96.178.238.77.rep.mailspike.net : 127.0.0.17]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[rocketmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 10:41:41 -0000 On Sun, 19 Jan 2020 06:41:51 +0100, Polytropon wrote: >> In the spirit of Unix philosophy "everything is a file" [...] > >In context of Linux... > >https://www.youtube.com/watch?v=9-IWMbJXoLM#t=8m20s Funny, but I just watched the beginning and it actually is no reason to migrate from one FLOSS OS to another. Btw. actually nobody does echo "random" values, IOW it's polemic. I also doubt that his Microsoft PowerPoint alike presentation regarding "$ echo foo > bar" does the job, more likely you need to either "$ echo foo | sudo tee bar" or to "# echo foo > bar". On Sun, 19 Jan 2020 09:41:42 +0100, Polytropon wrote: >In Linux land, there are several startup management systems, >with systemd probably being the most prominent one. My assumption >is: Before FreeBSD attempts to implement something comparable, >maybe Linux should be standardized... but yeah, I know, that's >not going to happen... ;-) Actually there is no valid LSB. LSB test suites are comparable to https://en.wikipedia.org/wiki/Defeat_device . However, as pointed out many times before on this list. There are some valid reasons to prefer Linux over any BSD (or vice versa) and there are as well reasons to even prefer restricted proprietary operating systems over any FLOSS OS, too. Actually we are still unable to get the fine "Eierlegende Wollmilchsau", https://www.google.de/search?q=eierlegende+wollmilchsau&source=lnms&tbm=isch&sa=X&ved=2ahUKEwiZ4Kbzu4_nAhWHYVAKHXkiCgUQ_AUoAXoECBIQAw&biw=1920&bih=919 , https://eo.wikipedia.org/wiki/Ovogena_lano-lakto-porko (I don't understand Esperanto, but there's no English Wiki available, so it might be the second best choice of all languages available by the Wiki at 2020-01-19). Regards, Ralf From owner-freebsd-questions@freebsd.org Sun Jan 19 10:57:16 2020 Return-Path: Delivered-To: freebsd-questions@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 866431F5476 for ; Sun, 19 Jan 2020 10:57:16 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic311-30.consmr.mail.ir2.yahoo.com (sonic311-30.consmr.mail.ir2.yahoo.com [77.238.176.162]) (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 480sFR0Qj7z47Kv for ; Sun, 19 Jan 2020 10:57:14 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: HiCFagYVM1nvIFreG_lh_zxYUqcUM8oHlQaq.avc96.u4jc0ofpr1tWBbFPaG_H Q7XqIy1kIs4jgOJbO9V_8JIgBMAnqrtGqn01FJoSrFLsCCvCipB13d6nlr3XMoAzpdXpvO4YujpR tatLKXCq.bdQTQ4dmdxYPef.ML9no1.cX9wg8s8GSAvxbOsnr3IORGDAgyJiuTNNByHI29OTmfAB kbkQ...qU.UqMsRYAj7H.e1K._MZ5F.36ahAsffRvL5cF5Yqw3k.MOxI39x6oyTYNTKZ045n2m6v Dk7JpiejgCWjWbYb7H1tJ9RUteDQ0HBk6CGv2sEujYc1kucelX_4.A4TttnQsXpRjyRH3RFfRRZo i8FX8y5Z8x5Gu2G.h6jUQYrAFn.jZn1nvbSNc.Paxa25JbNRfMDV.rpx23y_KJFzQeU_sD3UiSge n4rfrHlboBAMxjFokL6gwiHaI3k6zC1tBzA2skjzq9.7T27l.SDFYv1NrpMsZ4gYuCphpsea807T 6nL.GDzXBYxKiGSXWoJEth8fbkvPJvjx1HjhbykGj74rOPnYVT7Yymv7a.pFRajTvQIDQdqcUTd0 zUf3xMa4ZFPB0gujiGSm7uOfiIysiMo7_i2KbEzwdiv9PMw7yTO0sHsGVQsY.L_IXb3_6y5dPyTU bc_R.qoo8XCqYyDm5aTTtwZZxnTF96to3r.axMM5wQKrfQ4nfvtUPfypkiUeAeT_WAOcOimFLF65 X.Tg.82XGb68igQNJw6hD2RXhd4Ly8QBd1LH3MTC9LcpVYlFVxcD_o2K9AeFTA2bxj_QcHr4o.I8 YQ_fjc528UpwO5hgaHLjequN2MP2HbRX6d2ff01HrvV3d9jKUfLyB5Qp7SmaUipHaVM71pa.2mrw plKHd6HQx93FMr9OHkNkJyIkNZRbtlKmBgJi4v3NNvcnieEuaEcSTJWLwLykfkU7xP9cQbhr1NZC pdIRXasyrMxhQCB5WadenY3dEi8cP7dTr_RlvDChFwNxgPqjYsA9ip2BHeoK6bu.VOI1KV10YVyl 3BNhr.EtdXz5vDtDtL4yGzxpjljdyAEAognkWuRJpSZuGVfivqZJbh0mvxIUYPo9CGxAtCDC3cqv EooomyzCbdYwnfsI3tffubkIV7c3pYvo5DGOOir_FxTJpEfwaKz9GMWTNT4bMJtNr4oiKFNHsDj6 Ngv.H2tMJPLEg4Yu1eYKCSOuQgeQiJQ85FxNm6PLgACHUhNekNKgYL2UYKZjVMGMTC5pMnNGaUWF UsFNNamJ6u8_7z1IZBiEiArVjaGvz4fMNd7HsK5OYSh2DEf434whusMYT8vTVuIKJu8yjr3cIe57 pfdWIeR6zGkMCVOiThj2gK4klobFZSSvb_5LNrim98f9D4NK1HieisVAyGNJz8qbQTuEE2eg7VBA CEWxGkBuqj0rPVPjfwhIpk0cApxi3_w-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Sun, 19 Jan 2020 10:57:12 +0000 Received: by smtp423.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c1cc5e761626ba503b0efca3aa145ef4; Sun, 19 Jan 2020 10:57:09 +0000 (UTC) Date: Sun, 19 Jan 2020 11:57:14 +0100 From: Ralf Mardorf To: freebsd-questions@freebsd.org Cc: Polytropon Subject: Re: sysctl and /sysfs Message-ID: <20200119115714.2cdc65db@archlinux> In-Reply-To: <20200119114139.39e8faa4@archlinux> References: <4538784.31r3eYUQgx@t800> <20200119064151.7f781748.freebsd@edvax.de> <20200119114139.39e8faa4@archlinux> X-Mailer: Claws Mail (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 480sFR0Qj7z47Kv X-Spamd-Bar: / X-Spamd-Result: default: False [0.94 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rocketmail.com:s=s2048]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[rocketmail.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.76)[0.763,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[rocketmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[162.176.238.77.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[rocketmail.com,reject]; IP_SCORE(0.00)[ip: (6.50), ipnet: 77.238.176.0/22(2.20), asn: 34010(1.74), country: GB(-0.08)]; NEURAL_SPAM_LONG(0.66)[0.664,0]; RWL_MAILSPIKE_POSSIBLE(0.00)[162.176.238.77.rep.mailspike.net : 127.0.0.17]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[rocketmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 10:57:16 -0000 PS: There is an attempt to provide a POSIX package for Arch Linux. Assuming enough popcorn, consider to read the threads spread around two mailing lists: https://lists.archlinux.org/pipermail/arch-general/2020-January/047307.html --=20 =E2=80=9CAwards are merely the badges of mediocrity.=E2=80=9D =E2=80=95 Charles Ives=20 From owner-freebsd-questions@freebsd.org Sun Jan 19 14:48:24 2020 Return-Path: Delivered-To: freebsd-questions@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 4CA311FBB71 for ; Sun, 19 Jan 2020 14:48:24 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (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 480yN73gx5z4MSr for ; Sun, 19 Jan 2020 14:48:23 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=ET77xb+uY6QJtuK5/OHcWUKNb4N907Y80HBCMat8jWY=; b=IOqrXE3vQ1JvCqTTxJdapYU3MK gDPCUJbmROGGvpRJTpuK340Ye2ubf29F/14P/mNy0OhXzvL601naGC9bUTnilWxHNktgOfzdlrGjt TDGEut9VN9cZkR6f4tZDFurGCQLG39ZgHep5QEtdCA+qxWkjW2WPV82SmDW7tcv3noDY=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1itBsE-000LV9-3J for freebsd-questions@freebsd.org; Sun, 19 Jan 2020 21:48:22 +0700 Date: Sun, 19 Jan 2020 21:48:22 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Child process pid=67810 terminated abnormally: Bus error Message-ID: <20200119144822.GA82540@admin.sibptus.ru> References: <20200110030815.GA67842@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20200110030815.GA67842@admin.sibptus.ru> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 480yN73gx5z4MSr X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=IOqrXE3v; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.33)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.79), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2020 14:48:24 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Victor Sudakov wrote: >=20 > On one of my VMs, I get the following error: >=20 > $ pkg info > /dev/null > Child process pid=3D67810 terminated abnormally: Bus error >=20 > I've tried "pkg update -f" suspecting the repo database being corrupt or > out of sync, but this did not help. >=20 > How can I try and find the cause of the error? I've tried "ktrace -i pkg = info", > there is the output: https://termbin.com/8nw5 If anybody cares. There was a duplicate line=20 VERSION_SOURCE =3D "R"; in /usr/local/etc/pkg.conf. (One line was created by ansible, the other identical line was a leftover from a previous manual configuration). After the removal of the extraneous line, the problem is gone. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --FCuugMFkClbJLl1L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeJGw2AAoJEA2k8lmbXsY0wF0IAKkg/Hqdor2pijgnyKAFKQc/ 0JZNBPSOOHLokZdGauYtg5yM6ImF3065H+qkpQJCfudEDexejgA13TY1R1K26yIw DUqEXD/cGq8F/vYolAATme1+ThFN++sf9t6r5NgzXKtPAT2eSbnDVS/3Wp+9V/ux JrC/aIiKM75Vd/Z22ntEX7wWY/xZJzxN1Hef6sX2dAdAlMM+VUuFag+23mMBt5cj P0cvaxisJgEpiz+8x9hRc/hETE55/ReCEpRHHFdgEgDqw3aYqO0dSbePzWc/cyRf knMDgBnHBzeZK6cI31ERyLffIsLzXM49IcY+bQlsDTj+SN9bFx0+O+j4k3YC7VA= =r8s8 -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-questions@freebsd.org Mon Jan 20 07:50:09 2020 Return-Path: Delivered-To: freebsd-questions@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 D53E61F06E3 for ; Mon, 20 Jan 2020 07:50:09 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (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 481P336nrdz4Cbl for ; Mon, 20 Jan 2020 07:50:07 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-lj1-x22a.google.com with SMTP id l2so32704041lja.6 for ; Sun, 19 Jan 2020 23:50:07 -0800 (PST) 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=RJlN2goBTY7FZ0ZgHm8PpI7+d8kITjZk20IKM+FrDCI=; b=szx6mTXUOPJfRQWnmOTUuQjc06lc98aBeoW5kISTBg3F+tau2zFgp9c4DemEE/TU2X TqaGMxdRg/HqpeHSSvqWegTUSHzdECSdRnS5X5OcDQ3Z7jil2dEqrTOGaN0ZdwOk0Zh9 bZSKhkdS4Tr+r9DJgDABTCt2bAnet88OYppF6e0knTr/gy9LMBeH9jBqRM1wz+cT2SGX NbXbWm71vWhqRLma8F6OW5+89YbHJLG/nBVKVHdg+dtPDrK9Ns3FWuj8lbYC0pq5i97l ETS6ppSRz3vmaVzxmu0Db8ly9lupOs0mgbasp0KVd/UVB3anrKxg12uP/MAc2nKegiWp aB/g== 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=RJlN2goBTY7FZ0ZgHm8PpI7+d8kITjZk20IKM+FrDCI=; b=F1TZ9jRC+EtEeBhTgHYyRF74+b06oh/XSnhgJ+ATkk+Ko8u3PMd4i7Ikc6xD/6GFbv sXiwcTv/PAWurSb2A5I/ne/UUh6RW9QThrcpLlGZaFw1kUc8L+w7IOHoq6+otbdVe2Nl T2SxZqY7ntEWNO5L2yJ9Yp2+nnxSdIG0KvQpJ2OIAOnGmXGMgR/cnvxDRYFDEFP9jl9x 5c26KiKNAH1zMMSrTBghC3dz3lQ7pgOX06AHJHjMs5HXcTAehXLzHCh/KIuC6Uj6IJU4 BaoSU+oF2trbMx5EaOKLz1ibtU4pN/o70Dqx+5KbIt5lI4q59UrpeDKGKOjLbfdK4wJF Bluw== X-Gm-Message-State: APjAAAWtPQS2egHjlRihYx5cfPPrWzC0jPOVhvx753DAaE7nVZhGVzrA qdk1vFt7/yQkQFoqNkCb9umZs+uaX0nColV00DImzvY= X-Google-Smtp-Source: APXvYqx3RSzNXiWCezJKvQV8rzPTmQhWUqLjOY3dgqjJlDKBA6WhwOqnmvRaQrr0kq6aWCs6BIOOYmR8z/orNNTQOlg= X-Received: by 2002:a2e:9587:: with SMTP id w7mr12826857ljh.42.1579506605409; Sun, 19 Jan 2020 23:50:05 -0800 (PST) MIME-Version: 1.0 From: Clay Daniels Date: Mon, 20 Jan 2020 01:49:54 -0600 Message-ID: Subject: DistroWatch now runs web server on FreeBSD To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 481P336nrdz4Cbl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=szx6mTXU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2a00:1450:4864:20::22a as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[9]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-8.91), ipnet: 2a00:1450::/32(-2.59), asn: 15169(-1.82), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/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)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[a.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2020 07:50:09 -0000 DistroWatch Weekly, Issue 849, 20 January 2020 https://distrowatch.com/ *Server upgrade* Last weekend we migrated from our old web server to a new machine. The old box was having some hardware trouble and we felt it was time to switch over to newer (and hopefully more reliable) equipment for the long-term health of this website. The migration went smoothly for the most part and we were happy to complete the transition from the old server to the new one without experiencing any downtime. Since we were getting a fresh start with the equipment and were not in a terrible rush to get it set up, it opened the opportunity to talk about which technologies we wanted to run on the new server. We are, after all, not immune to the siren song of distro-hopping and like to try out different approaches from time to time. In the end, we decided to run FreeBSD on the new server, which offers some nice features such as filesystem snapshots, boot environments, the PF firewall, and long-term support. Previously we had been running Debian for the past twelve years and had a very good experience with the distribution. You can see more of the history of the operating systems running on the DistroWatch web server on our FAQ page . (I'm a DistroWatch fan) From owner-freebsd-questions@freebsd.org Wed Jan 22 09:31:54 2020 Return-Path: Delivered-To: freebsd-questions@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 70B7C23324F for ; Wed, 22 Jan 2020 09:31:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (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 "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482gCY0dwRz3Kf5 for ; Wed, 22 Jan 2020 09:31:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.14.133]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1N7xml-1jhdtm2mY7-014zEy; Wed, 22 Jan 2020 10:31:49 +0100 Date: Wed, 22 Jan 2020 10:31:48 +0100 From: Polytropon To: Clay Daniels Cc: "freebsd-questions@freebsd.org" Subject: Re: DistroWatch now runs web server on FreeBSD Message-Id: <20200122103148.50e780b4.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:MexOJtZEZJjneNjQX7EGDxlJkZKTOdrtrcfKESW2tdLjFNQzUrc UnFA+oV5H+4Gv52MiUb9y3QyqcqCHvJcI8IPpMinUDA6vwhCVu9wbhoYHk7OFgsKtXw45ze nOauiXSGvxoTBo1dE+WN+vmRvGZA6gZ0giNVcKox7gRboSBrnse9vw3lu8FV0JY/niiNsrZ wZt5i1ZZ8+GTbDAVv/j8g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:WewzgUFA/Ks=:zvel+V6DZiZ2KgQUyf5s0j kyAueAWGITpQg65dWlo8gSE0bl2yc6TVvHddz3ogDrB/lKzimilisO/9jr/WJst73opfYzHEs H1DXX4EsYcciod/K/XOzFrpirEzxJ6Frm3USh4LMajzQJGsjsizpGNcQk4KsPlk3OS5dRPdhi xEG885pX35u4bbDcB6ues5Dkz+GD2yaiLmbf+wtL1XywE5VyQli1H1nS8lKpRQjNVG0s2qmWj cnHqxMlmTQAJUnCfcCaSg0xCFfSUKSJfyBWH0wAwjBBC6AAjOp3PuEi/oQf2C1NE7VfD78Mgl XClRtX4yW9uh7pSAStXgGEvb1Myky8IVsRzaJ28LeC8xHR8SRnV0MZRSUVDr1zTG3fFM0exZh tZyTRLPzbBaNlXHGicOnKh+ns2cgsPYEddsR/1V7nKTFH5CM7APbOBsEYxntd9xp7zkEHnwnr h5TkoL02z0yXA9GLpMUQcyWCg66gywn48REtLWHz90oArLlAaCmOGXhsBCQYtOu6m7ASuOx2x 40wwasJG1QamEFEwrDlyAr6T9nl1BezonmXvHhl0ZROZ+BuLTf739j31FvIJnR6Z06aqElUKO 8LpqoO6xUwUSRRKCuh6GYsmeS5oa5ep9xJC8NeckUsssti9pqIhiOd8QEnZDzP5mFMcEb0ti1 qwrLiU5WZ75OQeVkdAf6HWneMRYH5wPVvT5G4cU/mbrRGDT1ZWNvBM34pCWjFL2q9MBFH9Giu al8r1PT9hQzZV27tOxLRc1VMWEFxCbDmU/nO3H7wN/yb9jtlQ244IEABLtyOYrEynTD2sK3Im Ad9LszWPMnCVLbSotctnDx7bkPN/o38LbkQe/bFsKDMlvrWmpw= X-Rspamd-Queue-Id: 482gCY0dwRz3Kf5 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.03 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; 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:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[133.14.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.998,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.63)[ip: (2.10), ipnet: 212.227.0.0/16(-1.16), asn: 8560(2.25), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 09:31:54 -0000 On Mon, 20 Jan 2020 01:49:54 -0600, Clay Daniels wrote: > DistroWatch Weekly, Issue 849, 20 January 2020 > [...] > In the end, we decided to run FreeBSD on > the new server, which offers some nice features such as filesystem > snapshots, boot environments, the PF firewall, and long-term support. > Previously we had been running Debian for > the past twelve years and had a very good experience with the distribution. > You can see more of the history of the operating systems running on the > DistroWatch web server on our FAQ page > . > > (I'm a DistroWatch fan) "FreeBSD - the professional Linux" -- a german PC magazine in the mid-1990s ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Jan 22 15:12:20 2020 Return-Path: Delivered-To: freebsd-questions@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 4C8821F2E84 for ; Wed, 22 Jan 2020 15:12:20 +0000 (UTC) (envelope-from jvp@lateapex.net) Received: from batman.lateapex.net (batman.lateapex.net [208.43.252.246]) (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 "imap.lateapex.net", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 482pmK47bQz48Vp for ; Wed, 22 Jan 2020 15:12:17 +0000 (UTC) (envelope-from jvp@lateapex.net) Received: from deathstroke.private.lateapex.net (joker.lateapex.net [108.28.193.210]) (authenticated bits=0) by batman.lateapex.net (8.15.2/8.15.2) with ESMTPSA id 00MFCAXb045251 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 22 Jan 2020 10:12:11 -0500 (EST) (envelope-from jvp@lateapex.net) X-Authentication-Warning: batman.lateapex.net: Host joker.lateapex.net [108.28.193.210] claimed to be deathstroke.private.lateapex.net To: freebsd-questions@freebsd.org From: Jason Van Patten Subject: 12.1 RELEASE General Protection Fault (Trap 9) Message-ID: <22046a36-12d3-032a-6325-24e18b1a855b@lateapex.net> Date: Wed, 22 Jan 2020 10:12:05 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Milter: Spamilter DataSet=MTA-Peer; receiver=batman.lateapex.net; sender-ip=108.28.193.210; sender-helo=deathstroke.private.lateapex.net; X-Milter: Spamilter DataSet=GeoIP; receiver=batman.lateapex.net; ip=108.28.193.210; CC=--; X-Milter: Spamilter DataSet=SessionId; receiver=batman.lateapex.net; sessionid='82d22e3c843d65e64a3e7ca2e458a2fa'; X-Rspamd-Queue-Id: 482pmK47bQz48Vp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jvp@lateapex.net designates 208.43.252.246 as permitted sender) smtp.mailfrom=jvp@lateapex.net X-Spamd-Result: default: False [-1.62 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.83)[-0.834,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:smtp.lateapex.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.81)[-0.814,0]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[lateapex.net]; IP_SCORE(0.33)[asn: 36351(1.70), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36351, ipnet:208.43.224.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 15:12:20 -0000 Hey gang - Since sometime before Christmas (as far as I know), my NAS has started randomly crashing, reloading, and saving cores in /var/crash. It was doing this with 12.0 and now with 12.1. My gut tells me it's hardware related, but I'm not quite sure. The various bits and pieces are: From dmesg: Fatal trap 9: general protection fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x20:0xffffffff80f09ff9 stack pointer = 0x28:0xfffffe0087f0b500 frame pointer = 0x28:0xfffffe0087f0b550 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 27 (dom0) trap number = 9 panic: general protection fault cpuid = 1 time = 1579594170 KDB: stack backtrace: #0 0xffffffff80c1d297 at kdb_backtrace+0x67 #1 0xffffffff80bd05cd at vpanic+0x19d #2 0xffffffff80bd0423 at panic+0x43 #3 0xffffffff810a7dcc at trap_fatal+0x39c #4 0xffffffff810a71dc at trap+0x6c #5 0xffffffff81081a0c at calltrap+0x8 #6 0xffffffff80f09704 at bucket_cache_drain+0x144 #7 0xffffffff80f03413 at zone_drain_wait+0xa3 #8 0xffffffff80f07a5d at uma_reclaim_locked+0x7d #9 0xffffffff80f07986 at uma_reclaim+0x36 #10 0xffffffff80f2ac06 at vm_pageout_worker+0x436 #11 0xffffffff80f2a796 at vm_pageout+0x176 #12 0xffffffff80b90c23 at fork_exit+0x83 #13 0xffffffff81082a4e at fork_trampoline+0xe Uptime: 12d21h37m44s And from the files in /var/crash: # cat core.txt.7 /dev/stdin:1: Error in sourced command file: Cannot access memory at address 0x65657246 /dev/stdin:1: Error in sourced command file: Cannot access memory at address 0x65657246 /dev/stdin:1: Error in sourced command file: Cannot access memory at address 0x65657246 Unable to find matching kernel for /var/crash/vmcore.7 # cat info.7 Dump header from device: /dev/ada2p2 Architecture: amd64 Architecture Version: 2 Dump Length: 4114960384 Blocksize: 512 Compression: none Dumptime: Tue Jan 21 03:09:30 2020 Hostname: bane Magic: FreeBSD Kernel Dump Version String: FreeBSD 12.1-RELEASE-p1 GENERIC Panic String: general protection fault Dump Parity: 2696097602 Bounds: 7 Dump Status: good I have a 4GB vmcore that I might be able to upload to S3 if anyone wants to crawl through it and look. Let me know if so and I'll work on that one. For record, the hardware in question: - Supermicro MBD-X10SAT-O motherboard - Intel Core i7 4790 CPU - 16GB DDR3 - 128GB Plextor PCI-E SSD for the OS The crashes don't seem to have a pattern to them; no certain time of day nor do they relate to any specific activity. The NAS itself is running: - OS - NFS - SMB - AFP - postgresql - mysql - apache - git server Any guesses? Do I have some bad RAM or some such? Thanks! -- Jason Van Patten From owner-freebsd-questions@freebsd.org Wed Jan 22 16:36:56 2020 Return-Path: Delivered-To: freebsd-questions@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 42CD71F5280 for ; Wed, 22 Jan 2020 16:36:56 +0000 (UTC) (envelope-from matthew@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 482rdz6wDYz4DhS for ; Wed, 22 Jan 2020 16:36:55 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id C83801C081 for ; Wed, 22 Jan 2020 16:36:55 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from PD0786.local (242.201-252-62.static.virginmediabusiness.co.uk [62.252.201.242]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 32DE51C892 for ; Wed, 22 Jan 2020 16:36:52 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/32DE51C892; dkim=none; dkim-atps=neutral Subject: Re: 12.1 RELEASE General Protection Fault (Trap 9) To: freebsd-questions@freebsd.org References: <22046a36-12d3-032a-6325-24e18b1a855b@lateapex.net> From: matthew@FreeBSD.org Message-ID: <693acc2b-b573-9fba-ab73-91d28f27e8ac@infracaninophile.co.uk> Date: Wed, 22 Jan 2020 16:36:52 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <22046a36-12d3-032a-6325-24e18b1a855b@lateapex.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 16:36:56 -0000 On 22/01/2020 15:12, Jason Van Patten wrote: > Since sometime before Christmas (as far as I know), my NAS has started > randomly crashing, reloading, and saving cores in /var/crash.  It was > doing this with 12.0 and now with 12.1.  My gut tells me it's hardware > related, but I'm not quite sure.  The various bits and pieces are: Given the crashes do not appear to be associated with any particular activity, I think you're on the money with your diagnosis that it is hardware related. Did you change any of the hardware on this system recently? If you've added more disks or such, then you may have overloaded the PSU. If the PSU can't produce voltages in spec, then you will see random crashes, although I doubt in that case you'ld always see 'General PRotection Fault'. Unless this is a new machine, or you've changed some of the hardware this is unlikely to be the diagnosis. Otherwise, suspect hardware problems. In rough order of expense, least to most: * Bad heatsink, failed case fan, CPU thermal paste not up to snuff or other cause that may lead to your system overheating * Bad memory * Bad CPU The first of these is relatively cheap and easy to handle: make sure you're getting unimpeded airflow through the chassis -- clean any filters, make sure fans are spinning correctly and that heatsinks have good thermal contact, if necessary by renewing any thermal paste. Monitoring the CPU temperature will help here -- if you see the CPU temperature increasing just before everything goes kaput, that's a fairly solid diagnostic. For an i7, you should be able to use the coretemp(4) kernel module and read-off the temperature from the dev.cpu.%d.temperature sysctls. Memory problems can frequently be diagnosed by use of a memory checker like sysutils/memtest86+ -- if this says you have a problem, then you do have a problem. However, it may not catch every possible memory problem so it can wrongly give you an 'all clear'. It's pretty accurate in practice though. A more definitive test is to swap out any suspect RAM modules and see if the problem goes away. The worst case is a bad CPU. memtest86+ will diagnose some CPU faults, but it is less effective on CPU problems. If there is a CPU problem, it will be a pretty subtle one, as typical symptoms of CPU problems are the system won't boot and the BIOS makes horrible beeping noises when you try. Even so, this isn't a definitive list. I've heard tales about trying to diagnose this sort of problem where someone had bit by bit swapped out all of the components of a system except for the case, and the problem still occurred. Turned out the case was slightly bent and that put enough stress on the motherboard to cause some intermittent electrical connectivity. Cheers, Matthew From owner-freebsd-questions@freebsd.org Wed Jan 22 16:48:25 2020 Return-Path: Delivered-To: freebsd-questions@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 D7D7F1F5704 for ; Wed, 22 Jan 2020 16:48:25 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from relay3.cretaforce.gr (relay3.cretaforce.gr [195.201.253.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 482rvD1kB5z4FBS for ; Wed, 22 Jan 2020 16:48:23 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by smtp1.cretaforce.gr (Postfix) with ESMTPS id ADC991F440 for ; Wed, 22 Jan 2020 18:48:21 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cretaforce.gr; s=cretaforce; t=1579711701; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ag9n302nlnMz6OCypAhWlmwdkCrZo8FoBGBp4ECngZ8=; b=m3WKC219j6Zsx8yBdIe4U2/8p7H2FxEzeaUNyGzrlP3GeLx42NKZ4O3p2EpFi8Ngl8ELOt q0uEKwcWfxB+H/Hn/4NkNZLikYV/SZyTJbN5EXUDkwXxYElxNo0Vg07W5P8TZ0zpa/Kbtj JbTILXaBIFQgEXm4zioPL6llCdVKkjc= Received: from christoss-air.fritz.box (ppp-94-64-150-254.home.otenet.gr [94.64.150.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 731F02730B for ; Wed, 22 Jan 2020 18:48:21 +0200 (EET) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: 12.1 RELEASE General Protection Fault (Trap 9) Date: Wed, 22 Jan 2020 18:48:20 +0200 References: <22046a36-12d3-032a-6325-24e18b1a855b@lateapex.net> <693acc2b-b573-9fba-ab73-91d28f27e8ac@infracaninophile.co.uk> To: FreeBSD Mailing List In-Reply-To: <693acc2b-b573-9fba-ab73-91d28f27e8ac@infracaninophile.co.uk> Message-Id: <5A315787-F2FA-48BC-81BC-6668C1C08493@cretaforce.gr> X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 482rvD1kB5z4FBS X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cretaforce.gr header.s=cretaforce header.b=m3WKC219; dmarc=none; spf=pass (mx1.freebsd.org: domain of chris@cretaforce.gr designates 195.201.253.216 as permitted sender) smtp.mailfrom=chris@cretaforce.gr X-Spamd-Result: default: False [-3.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[cretaforce.gr:s=cretaforce]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.201.253.216]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cretaforce.gr]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[cretaforce.gr.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-0.86)[ipnet: 195.201.0.0/16(-2.75), asn: 24940(-1.54), country: DE(-0.02)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cretaforce.gr:+]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_IN_DNSWL_LOW(-0.10)[216.253.201.195.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[254.150.64.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:195.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-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 16:48:25 -0000 > On 22 Jan 2020, at 18:36, matthew@freebsd.org = wrote: >=20 > On 22/01/2020 15:12, Jason Van Patten wrote: >> Since sometime before Christmas (as far as I know), my NAS has = started randomly crashing, reloading, and saving cores in /var/crash. = It was doing this with 12.0 and now with 12.1. My gut tells me it's = hardware related, but I'm not quite sure. The various bits and pieces = are: >=20 > Given the crashes do not appear to be associated with any particular = activity, I think you're on the money with your diagnosis that it is = hardware related. >=20 > Did you change any of the hardware on this system recently? If you've = added more disks or such, then you may have overloaded the PSU. If the = PSU can't produce voltages in spec, then you will see random crashes, = although I doubt in that case you'ld always see 'General PRotection = Fault'. Unless this is a new machine, or you've changed some of the = hardware this is unlikely to be the diagnosis. >=20 > Otherwise, suspect hardware problems. In rough order of expense, = least to most: >=20 > * Bad heatsink, failed case fan, CPU thermal paste not up to snuff > or other cause that may lead to your system overheating >=20 > * Bad memory >=20 > * Bad CPU >=20 > The first of these is relatively cheap and easy to handle: make sure = you're getting unimpeded airflow through the chassis -- clean any = filters, make sure fans are spinning correctly and that heatsinks have = good thermal contact, if necessary by renewing any thermal paste. = Monitoring the CPU temperature will help here -- if you see the CPU = temperature increasing just before everything goes kaput, that's a = fairly solid diagnostic. For an i7, you should be able to use the = coretemp(4) kernel module and read-off the temperature from the = dev.cpu.%d.temperature sysctls. >=20 > Memory problems can frequently be diagnosed by use of a memory checker = like sysutils/memtest86+ -- if this says you have a problem, then you do = have a problem. However, it may not catch every possible memory problem = so it can wrongly give you an 'all clear'. It's pretty accurate in = practice though. A more definitive test is to swap out any suspect RAM = modules and see if the problem goes away. >=20 > The worst case is a bad CPU. memtest86+ will diagnose some CPU = faults, but it is less effective on CPU problems. If there is a CPU = problem, it will be a pretty subtle one, as typical symptoms of CPU = problems are the system won't boot and the BIOS makes horrible beeping = noises when you try. >=20 > Even so, this isn't a definitive list. I've heard tales about trying = to diagnose this sort of problem where someone had bit by bit swapped = out all of the components of a system except for the case, and the = problem still occurred. Turned out the case was slightly bent and that = put enough stress on the motherboard to cause some intermittent = electrical connectivity. >=20 > Cheers, >=20 > Matthew I had similar crashes and it was bad RAM. I recommend to check RAM using the userland memtester if downtime is not = an option. Keep in mind that it's better to use memtest86+ as it can check all RAM.= From owner-freebsd-questions@freebsd.org Wed Jan 22 18:42:48 2020 Return-Path: Delivered-To: freebsd-questions@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 19DDB1F9675 for ; Wed, 22 Jan 2020 18:42:48 +0000 (UTC) (envelope-from jvp@lateapex.net) Received: from batman.lateapex.net (batman.lateapex.net [208.43.252.246]) (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 "imap.lateapex.net", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 482vRB3Zdmz4NCv for ; Wed, 22 Jan 2020 18:42:45 +0000 (UTC) (envelope-from jvp@lateapex.net) Received: from deathstroke.private.lateapex.net (joker.lateapex.net [108.28.193.210]) (authenticated bits=0) by batman.lateapex.net (8.15.2/8.15.2) with ESMTPSA id 00MIgiYs046259 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 22 Jan 2020 13:42:44 -0500 (EST) (envelope-from jvp@lateapex.net) X-Authentication-Warning: batman.lateapex.net: Host joker.lateapex.net [108.28.193.210] claimed to be deathstroke.private.lateapex.net Subject: Re: 12.1 RELEASE General Protection Fault (Trap 9) To: FreeBSD Mailing List References: <22046a36-12d3-032a-6325-24e18b1a855b@lateapex.net> <693acc2b-b573-9fba-ab73-91d28f27e8ac@infracaninophile.co.uk> <5A315787-F2FA-48BC-81BC-6668C1C08493@cretaforce.gr> From: Jason Van Patten Message-ID: <30dab369-bbbe-3f31-1f62-3dde7d4dba99@lateapex.net> Date: Wed, 22 Jan 2020 13:42:39 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <5A315787-F2FA-48BC-81BC-6668C1C08493@cretaforce.gr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Milter: Spamilter DataSet=MTA-Peer; receiver=batman.lateapex.net; sender-ip=108.28.193.210; sender-helo=deathstroke.private.lateapex.net; X-Milter: Spamilter DataSet=GeoIP; receiver=batman.lateapex.net; ip=108.28.193.210; CC=--; X-Milter: Spamilter DataSet=SessionId; receiver=batman.lateapex.net; sessionid='8953bb743dccf358a5baead14b4d029a'; X-Rspamd-Queue-Id: 482vRB3Zdmz4NCv X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jvp@lateapex.net designates 208.43.252.246 as permitted sender) smtp.mailfrom=jvp@lateapex.net X-Spamd-Result: default: False [-1.45 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.77)[-0.770,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:smtp.lateapex.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.71)[-0.712,0]; DMARC_NA(0.00)[lateapex.net]; TO_DN_ALL(0.00)[]; IP_SCORE(0.33)[asn: 36351(1.70), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36351, ipnet:208.43.224.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 18:42:48 -0000 On 1/22/20 11:48 AM, Christos Chatzaras wrote: > > I had similar crashes and it was bad RAM. > > I recommend to check RAM using the userland memtester if downtime is > not an option. > > Keep in mind that it's better to use memtest86+ as it can check all > RAM. _______________________________________________ Thank you and Matthew for your answers. My assumption was memory, but I wasn't sure of the errors and core could prove that out without taking the system down for 4+ hours to do a memtest86. To be honest, the 2 minute random downtime for the reboots is actually less problematic than the 4+ hours it could take. Heh. DDR3 is cheap enough; I'll just swap that out and see if it does the deed. And while I'm at it, I'll re-do the processor's heat sink/fan setup. I tend to doubt that's the culprit as most chips will just slow themselves down if they get too warm. And again: this machine is basically sleeping. Its load average is basically 0, all the time. So odds of it being a CPU temperature issue are slim-to-none. -- Jason Van Patten From owner-freebsd-questions@freebsd.org Thu Jan 23 00:59:59 2020 Return-Path: Delivered-To: freebsd-questions@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 0C1E0223D05 for ; Thu, 23 Jan 2020 00:59:59 +0000 (UTC) (envelope-from jguojun@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 4833pQ5lYmz3HLS for ; Thu, 23 Jan 2020 00:59:58 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id C37F5223D04; Thu, 23 Jan 2020 00:59:58 +0000 (UTC) Delivered-To: questions@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 C3450223D03 for ; Thu, 23 Jan 2020 00:59:58 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) (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 4833pP5g4Rz3HLQ for ; Thu, 23 Jan 2020 00:59:57 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: by mail-oi1-x22a.google.com with SMTP id z2so1353256oih.6 for ; Wed, 22 Jan 2020 16:59:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=AdpKOfFK4w0kOUJ8kvig06Kx923KCzYeqyKHxowHHIg=; b=hqVqFSVlfKOS68qyt4RFN4ztRJztGM2h8TQdY+OwJpElPtkxxUbbM1wRHkxp541az+ x28bvbKHAgkskql7t56Fo/KSbDnz9QVw5fdyfx9KmXWAKP9fadn7iqw/eWkCHYh3JVdT hYHv4roiVfDccZAyZzXeDd/1Azp6EOMSkVu1xZ2BDRJZVZsEJ+y/Vu6zFmIJCOgH1m2K mpG844tPfvoFDOg7pnqT3aWUwy1pEIUMYNFR6ZeGzov8rKLHXuuinMxgx1ZZ2S8nFjku zMzmfjZDbFsId90WxlnIyanT/MGLz6hfV0+z9gFqUw2wFMh+lQ3npr6xWQ4WlNATR88v HeMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=AdpKOfFK4w0kOUJ8kvig06Kx923KCzYeqyKHxowHHIg=; b=NzR5h3C7rkdoXbp8s3hzrhqpChivmyIE0yvqe/siY4i45N+O9pPFt5944gznhJQRPx oQJFv+EScy5EUhCiDgP1mZ9FBlDFbsDhwYjPR73Tj+YLushhbRl6jzKeFoza8Sv2PGqa qJQ2sHvQUGEORuOsGGzNfny3uet1JgzmDhLGT1G/YN4Uw16I7cflZNB9MQ2q76mwkIsb DpMQqQMXOLn2ObCFMNAp2jERbdbUP/52ftOGjXfJfDezekjeCaA2XPbQ0fRWBRNmS6nv hAUOO5jYxw0EjXEhdT1HE3sFDvY/PkROWhp9Q/ItktKKL5y/nUtfoOaGjNZP0ZRcYp2w y4Hg== X-Gm-Message-State: APjAAAXYbA2yYxL+ey9NmszuXwm+rWkwI87PmI9ms+Uf3jEPxaUztPoZ WxWIT9uB6qU29o5OW/RK9ajmmBs= X-Google-Smtp-Source: APXvYqyM5D5FF8jwg7PqI7ZOZdizbzE+CGGNkGgeae0NrqEEc4QWdWwKBDV/BnQLs7Au1CXlEjlc9w== X-Received: by 2002:a05:6808:2ce:: with SMTP id a14mr8957207oid.82.1579741196192; Wed, 22 Jan 2020 16:59:56 -0800 (PST) Received: from [192.168.1.82] (162-239-0-170.lightspeed.sntcca.sbcglobal.net. [162.239.0.170]) by smtp.gmail.com with ESMTPSA id m68sm101829oig.50.2020.01.22.16.59.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2020 16:59:55 -0800 (PST) To: questions@freebsd.org From: "Jin Guojun[VFF]" Subject: http user/password option in fetch command Message-ID: Date: Wed, 22 Jan 2020 16:59:49 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4833pP5g4Rz3HLQ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hqVqFSVl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jguojun@gmail.com designates 2607:f8b0:4864:20::22a as permitted sender) smtp.mailfrom=jguojun@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-7.17), ipnet: 2607:f8b0::/32(-2.07), asn: 15169(-1.82), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_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)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[a.2.2.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_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 00:59:59 -0000 Some HTTP server (not using standard port 80), seems not taking the standard user:password format. fetch http://$USER:$PW@server:1234/locations (FreeBSD) and wget --user=$USER --password=$PW http://server:1234/locations (Linux) and wget http://$USER:$PW@server:1234/locations    all get 403 Forbidden Error. The wget has an option  --auth-no-challenge that solves the problem. I wonder if the "fetch" command has a similar option. If not, does anyone know a way to work around this problem? -Jin From owner-freebsd-questions@freebsd.org Thu Jan 23 11:42:35 2020 Return-Path: Delivered-To: freebsd-questions@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 8AD2D2365E0 for ; Thu, 23 Jan 2020 11:42:35 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (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 483L3v0KqJz4WKR for ; Thu, 23 Jan 2020 11:42:34 +0000 (UTC) (envelope-from stanb@panix.com) Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mailbackend.panix.com (Postfix) with ESMTP id 483L3s71Ffz1F1l for ; Thu, 23 Jan 2020 06:42:33 -0500 (EST) Received: by panix5.panix.com (Postfix, from userid 17622) id 483L3s5MFgzfYh; Thu, 23 Jan 2020 06:42:33 -0500 (EST) Date: Thu, 23 Jan 2020 06:42:33 -0500 From: stan To: freebsd-questions@freebsd.org Subject: Recompiling openssl library Message-ID: <20200123114233.GA17488@panix.com> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Rspamd-Queue-Id: 483L3v0KqJz4WKR X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of stanb@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=stanb@panix.com X-Spamd-Result: default: False [-5.85 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[89.1.84.166.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:166.84.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[89.1.84.166.list.dnswl.org : 127.0.5.2]; DMARC_NA(0.00)[panix.com]; IP_SCORE(-3.35)[ip: (-9.48), ipnet: 166.84.0.0/16(-4.00), asn: 2033(-3.20), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 11:42:35 -0000 I need to recompile the openssl library on the latest released version of FreeBSD with the enable-weak-ssl-cipher option turned on. I need to do this to connect to a large number of devices with old firmware in them, and this is on an internal network. I downloaded the openssl tarball from github, configured it this way, and did a make, and make test. All went well. However the default location to install this is /usr/local, so I thought it made more sense to compile the version in the delivered tree with this option. I went to /usr/src and did a successful make buildworld. Now we get to my issue I see 2 places that the installed binaries might be compile from. These are crypto/openssl or secure/usr.bin/openssl. Looking in secure/usr.bin/openssl (post make buildworld) I do not see sources, just some man pages. Looking in crypto/openssl I do find the sources. So, I tried to run ./config with that option, and here is the result: root@noc-server:/usr/src/crypto/openssl # ./config enable-weak-ssl-ciphers Operating system: amd64-whatever-freebsd Can't locate OpenSSL/Glob.pm in @INC (you may need to install the OpenSSL::Glob module) (@INC contains: /usr/src/crypto/openssl/util/perl /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30) at ./Configure line 20. BEGIN failed--compilation aborted at ./Configure line 20. Can't locate OpenSSL/Glob.pm in @INC (you may need to install the OpenSSL::Glob module) (@INC contains: /usr/src/crypto/openssl/util/perl /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30) at ./Configure line 20. BEGIN failed--compilation aborted at ./Configure line 20. This system (BSD-x86_64) is not supported. See file INSTALL for details. What am I doing wrong? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From owner-freebsd-questions@freebsd.org Thu Jan 23 17:28:37 2020 Return-Path: Delivered-To: freebsd-questions@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 F231D1F8579 for ; Thu, 23 Jan 2020 17:28:37 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic306-20.consmr.mail.ir2.yahoo.com (sonic306-20.consmr.mail.ir2.yahoo.com [77.238.176.206]) (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 483Tl85Bc4z3Q0P for ; Thu, 23 Jan 2020 17:28:36 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: FUcJ4rsVM1nYYQghA88Oiu_hUFLkui0yninomdy6.hIxxacxD8sFYTJuCc_Meld DIswj1Hvmo3jrV0gOItlUuQeyjuhiI.k0zM8Xw4KoyM8euY9Joo_PBAyV85RssKnEXYfhJZ78KnH f9Eqx04lVXgkcekmHzRvTBvLIZ6apaxHFh51tU1VgYLjwLxjO8dRE0NICQlustynmlpTf.ieo5yk gC6yCIeoyD.sp8HqnmvxYfDN4e0mEGpOhHmG5aRBc8h3hH425t1.fQy5IVMDeZc0Y71IX3PiGHzl _UnazqccKx4m0hD3gQtwxQPorhK3l3GFhRxmM0ZHExtFUx1ml7Bhiq5ltzR.tE.wzwUaMmDvH8LG 02v_E3.rLtS2ALupRgIHpxhG2C3YSV1n2Obq95sk8_Z0hepNCCiGyOyngQb5yEL5XoKnVQ3XpIYb ktcFD86XXOCrRaAZhLqxuk44LWv7CBXWAfe696m8H6IscMyX7y0LtwDzgE9Ev.CAGSAsaoDq90bU FNPUKhDM0aqF61jqBxi2LSk1jUyZttYmJHKuXkp82iXtljInLS4i_YPvCwneKuiq157jEWMg7Cjp ldEYTnVtB5towf5yTS3xMhBO7eaNp3mB7PQ9FDcZfvzDYFfgxNg8XTYmWhAQqZ0uHPmOTguPXL0O SONNJYLwHpqjxqNmNgSy6sWrzsuRtrnPEIGFgXLhwFYZLmB5nNEtQHvixXvkLYq32Jr8arFO.lc0 hr1NuPKsmNGiXAerHMGBXO6LQSRHY54UvNa5PrQmI3hcJtsZKXDtUABtf.7W3d49JXpnIXACTkKx bH6G6XZ9JaSaoUZCpBEl7a2NQf6oxgG9C0pGsr2UtoWz7bdNVYqC51oQmXCHCF1NeBKV5GDu9gfu Y4Oj8pWwcZNnMGs.5YWw5g5xsLknbfxf7SOQnlBHeZ9UlLi2fvIjWGuUYnDGSZxH6xLVePD3UWDJ 8OOPtYJYDkzTFXDXgu7GdTZAK6duKZeLsJ6VET5fcAziBwBA.dm7xPSB1szQQTWHFM8IVNCbvqTH Yo20PW7obzULwSSOoN3Q3oQbe.jMWO2EBXpSxcZQ6VzaTwm9t.3zBSIkB.9.DVLAeHx7k3sl18yT hPct.uH77XrFdfM3f0f8hJW_TBkY8P.nQKxhirfPBmGUmrHO1oMiWFD0.IRqfFVo.sxj_Sm8CAh9 QoS4ZGi6RZURZ8sViytCwFIfLgPg3SVexd9CRCF2GtkGxwSvKJq9LHFLSkKtSlP2wSmYrv4UX5q8 .pJonb3xSrt7PnNknvfN56ksb9vpOnCPazdKNMx5Fa6MtcEouROZcL0QoV0HlD9o9UY0hScmUYm_ 6Yol_DxEC3N7QyQX.b8X5Z4PzSH_uCEax5Z1m8reHO58MzglOn1o3SvvydPwP0CdlEFwe8EiBGkX zHPn_bAs- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Thu, 23 Jan 2020 17:28:33 +0000 Received: by smtp425.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID fb2bd9f39e5544cb13c6a186e4ff9b8d; Thu, 23 Jan 2020 17:28:32 +0000 (UTC) Date: Thu, 23 Jan 2020 18:28:32 +0100 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Recompiling openssl library Message-ID: <20200123182832.0f1adfa9@archlinux> In-Reply-To: <20200123114233.GA17488@panix.com> References: <20200123114233.GA17488@panix.com> X-Mailer: Claws Mail (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 483Tl85Bc4z3Q0P X-Spamd-Bar: / X-Spamd-Result: default: False [-0.76 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.23)[-0.228,0]; R_DKIM_ALLOW(-0.20)[rocketmail.com:s=s2048]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[rocketmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-0.04)[-0.041,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[rocketmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[rocketmail.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[206.176.238.77.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (3.96), ipnet: 77.238.176.0/22(2.19), asn: 34010(1.73), country: GB(-0.08)]; RWL_MAILSPIKE_POSSIBLE(0.00)[206.176.238.77.rep.mailspike.net : 127.0.0.17]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[rocketmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 17:28:38 -0000 Hi, those who might be in a similar situation probably want to know where this thread started and where it ended, assuming the issue should get solved by one or the other mailing list. https://lists.ubuntu.com/archives/ubuntu-users/2020-January/299100.html https://lists.freebsd.org/pipermail/freebsd-questions/2020-January/287558.html Regards, Ralf From owner-freebsd-questions@freebsd.org Fri Jan 24 16:18:30 2020 Return-Path: Delivered-To: freebsd-questions@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 9719E1F43EB for ; Fri, 24 Jan 2020 16:18:30 +0000 (UTC) (envelope-from wattersm@watters.ws) Received: from linux1.tor1.watters.ws (linux1.tor1.watters.ws [165.227.44.84]) by mx1.freebsd.org (Postfix) with ESMTP id 48447n4DQTz4D86 for ; Fri, 24 Jan 2020 16:18:29 +0000 (UTC) (envelope-from wattersm@watters.ws) Received: from mdct-dev27.dartcontainer.com (unknown [192.5.211.213]) by linux1.tor1.watters.ws (Postfix) with ESMTPS id 75886C4F7C3 for ; Fri, 24 Jan 2020 16:18:23 +0000 (UTC) To: freebsd-questions@freebsd.org From: Michael Watters Subject: QLogic 4x10GE QL41164HMCU CNA Support Autocrypt: addr=wattersm@watters.ws; prefer-encrypt=mutual; keydata= xsFNBFayHsoBEADQIhLWXAoE6StYIQIqct6xXwy7s37/u62G0V7PSdc3W4/AoSdC+ZvAXnn/ C8TfbP3VqtVty2DhUVpqUkyOUqeKV0OmSFwAeH/YROr3Rha3VNyUalpFGbDtYRSns8qjFGUj YhLxx6xCQLCiq3+YqUYK0hTIhJCn5zHMzFdp+TPz046LR3qA4OdaWtGZklUfeGys6kCWVAQG Vxx9+humCfWBjn9ANuNqiOmcjNomhGuQ8kCsvcdn3vAelwEyk6fkqLI8uw9kWyZeQ/RURyuW qKriujz0odrQf6MMUwMJ5zIFyLe7wuQxSDApeZXZ8eP6R73Ic+tcqQC4+RvIf5f6PnJhOpKJ d5TDcO6YsqKTc27XzHdx3LUEHEaNrD30TLmXytBNccuW+QOfXQtXh2oKpRRt5qyzGG384r25 7yND1ta1HPM5amgMq8YsbZTnqQHl6NG5WgGBt3jiRUnPXyINrUCy79l51EP8JJiC3qtQPufj nWtGCmovr5ZWeKIpk3s2elkk+zRUb4UViuvEX+qweMRu2R8uIfPpWG7UFQ/et7BFkfMl1O+t M+DFdNVaYtfgHICwyLoTGIDFDv4W3dqISTsU+z/YzSiGCH3rFqdabJfF3no0nyUAqkb5Yn+X 2X22JAq/N7LKrDf3uLy+sMVGHwoQI9T0WkyMpkkBYT777cAaBQARAQABzSNNYWNpbnRvc2gg S2V5IDx3YXR0ZXJzbUB3YXR0ZXJzLndzPsLBfQQTAQoAJwIbAwULCQgHAwUVCgkICwUWAgMB AAIeAQIXgAUCXhCt4QUJCyD2FwAKCRAFjwxRWGyoxgHFEACi0g4rpqfD6vJy3j9L7Xa3vEWR 1o27goTsPGbTETo2xT2RshG2mmmpDF/gxXUR7mUziiYNGynrOf1Rx05QhrrHYB6lTOPxlAVT ce5jJ24+WH3Mpy0eYtB2m6JgoVZtjYN9E7Wbvj2rYLlxQqlC5vzcXsLd5fsP+GeZnRwY3OIv WAk7cszx/QPmDFgSa7zF3JCT63yGutX8g+alKPAM92oy99KtjtO6ZpV7k/niwBE0QFTvCNZa kEdaAIFXJ8F7oc50KDowWpSP6zu8MkkCccPNAwM8VtZ21648yIvbtVo16KSxcWSR8DiGuqYz wPorqf3FQzpI4g8bfQUoezIJLus0slkIE0Nn3P1RKxKxcU3ehauPEcqJIowmdpeY7qsYB4Im G9ckIjBZXaKnifg73IB+bJlFY/pOR3c57xsYmzLujAvCsCDvKUENJ84aA/7AQWQjXUGelbQE 3Iqy32D9hOr0loSQWvDcT3yUovOaCykmiOl7I3bCV52kRXAiOVcEXtPdempVY309bq8RovFN pKVfxrkvEfZ8+1+C8xB9c4lpcDjOQ/5vbteSUEVK+blgX/6y4oDus3CphbmyaawAiKfykZJb EQjwhBuRdG9ytpdjdWC4H0ZgEyua4xFVeSy9jZopttya4r5JmLd2vzEkyOxTxGQcC80x57ia MmjK4ZR7K87BTQRWsh7KARAAoFKu2S/tNP3ywLThqtr7yPTq2CLKr5zdmw3c3fizqe0bxVi0 opQAhgi8uSoHqDn1sX7H8+938usihvobnhIX2izCv9e1dyoxzyM/AZGers2hd+ZFTZNawDIQ ZOilcHewQ4PWEDDQFrxF33wm2WPqcpgyXj3YLVirHTdDDM1/bffUfxND/33mo9Ch5b2B4Q8C WSPeSieGE2HFjbTA7RTjpG6mTNyBQ/3PjzMApMtk//0vIctMj9qFMLo9VeTJrYoG5Egu+5dT nDxTlaYuh53Vea5+DkSKY6/N6J/Sk8quRWFHkJ6KAAReTFWIHloqaafjfM2NuUZLu/FyMC1m 5algd8qWlPXWQV0C2BRUTxfvOBuaF/CSUUVYGRl3qMGs1v73l96k74KDhX0msKxLORyANlvS 7bSQqE3+GihxIjAwEWyE8VEO5HfIWCYp+s3ZDRrdrlB1apao4JMSTScaDubv+9+i/lH4r7Y4 hdCgS+bAAADaw2XJOzYUBeuj8UeYkgu2hZ/WFssEEZxsZf51QLRehyJtXxUk0jKQ1rTOGP7T +AomoP5Bu1fuCoXBUozOKpPUV2kb3MRe2iekUCGZkV8ENRut+wbFpspIZ+5XkAg0hLVFO0zS NYW/+e86Ztitn+FaZp301Hp6tGUB2uNPLas+PhSddp5zME5PcnR8TFsy2HEAEQEAAcLBZQQY AQoADwUCVrIeygIbDAUJB4YfgAAKCRAFjwxRWGyoxlaGD/9SVQsFtCy1bTxEhLSfdR/Wkvis om77lO5cYLKl5xwLgDSUAGwP7Nz8+a5P/eN9ougRa8J2+JYHhmrhMnkuDyoZ9n+TUACCDoeP Fta8zfJueeUXJohTkc0xf11J9s5PeQUDuLUeERnr5JdRYHP/tfFNwJICn4o/7Wb5BVVEuS0k 6CM4WEpqrUwe1yeMkmYvxLeycVc0TD8GH09odAqRXFsfWwIxcKBd5tmxnNQ4ICcqmCpkD1lb AhMbt9SDJUzHXAyRBtMoCjF+zmb1BHfd9gbaUjY/8fvE5ILhJ4w2cs6ld2XCOlyQ7qg2l8+7 xADhVcwEEuDn7rx0qa3CdTNtxwMY/u+B2Om9VK3uJlBq7D0V9XPoCi41hUAejvhEgJ0AXexS d1t0Iv6GUpJ26isFC16FuR52fbp884wWwQ/Nksh2dNe0aWXSj2WkvAQlCIJjzvfz5Lm1Mrrs FDZuTLMEbHOVcgtktmrfyetgUv0HPFwGCc1x+9KAsJEn4yj4MHzFfWxV1t8X4oPFlf6jvDXH Ei0MTzFIWtO6EiWAkjuBBz+ANMrL1Fx74TWQdRfxF/zXExP3l5JUWGn6JwZqmMfz8Yk6dhaF jj0S9Kvyx5zCsHyvluHCleYXjTDvvWijKklKXC9ukw1gqakuwSQMwgUOinUWyqdbZYGpPsMR vmD/OYgfig== Message-ID: <2aa331ca-3d03-984d-ce2c-4d86a1faa633@watters.ws> Date: Fri, 24 Jan 2020 11:18:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 48447n4DQTz4D86 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wattersm@watters.ws designates 165.227.44.84 as permitted sender) smtp.mailfrom=wattersm@watters.ws X-Spamd-Result: default: False [0.42 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.36)[-0.359,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[watters.ws]; NEURAL_SPAM_LONG(0.37)[0.373,0]; IP_SCORE(0.60)[ipnet: 165.227.32.0/20(1.46), asn: 14061(1.60), country: US(-0.05)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:165.227.32.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 16:18:30 -0000 I'm attempting to set up a new server running FreeBSD 12.1 however the network interfaces are not being detected by the kernel.  Does anybody know how to get the OS to see this device?  pciconf -lv shows the device however ifconfig does not show any interfaces. From owner-freebsd-questions@freebsd.org Fri Jan 24 18:07:14 2020 Return-Path: Delivered-To: freebsd-questions@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 2983F1F7389 for ; Fri, 24 Jan 2020 18:07:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4846YF0fgWz4LpY for ; Fri, 24 Jan 2020 18:07:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([188.103.185.52]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1MF418-1ioPX42Smu-00FRAP; Fri, 24 Jan 2020 19:07:10 +0100 Date: Fri, 24 Jan 2020 19:07:10 +0100 From: Polytropon To: Michael Watters Cc: freebsd-questions@freebsd.org Subject: Re: QLogic 4x10GE QL41164HMCU CNA Support Message-Id: <20200124190710.2690c590.freebsd@edvax.de> In-Reply-To: <2aa331ca-3d03-984d-ce2c-4d86a1faa633@watters.ws> References: <2aa331ca-3d03-984d-ce2c-4d86a1faa633@watters.ws> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:DoOqKfs4q2ipSEw6KBAv7iLGj0LrtTKJoTfB4cFLRmJWOnFc5wk MhAmHR5dmNUbfdIzW+ZacAre1qLuxUdpQNmOQGLkwnxEc1UGnvNGMH7Fy2nw8EQeXTdOAR4 OVUvzOJTi3eR1rg4HdDI8IMD0hlVecKGWEJmICiXvR4W7a9aJyaIY7N6AjE3ag33hPWaYNC gdUPMYHgC4JU2ATvi2WWg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:SN8Ct5G6Ck4=:DVjBJJsNXxSHBgosJUSt8Y KZ3hD2xbVKmP7CFvhagmAC8FXJRILCbTLreIkFX28tjsIRz+uxbPMewpexDKn9uCya2y5TK2y iLWMVgt9GydNGmMOKqAxdDyIcpq5JO08qEAKXNBAwn0fjepU2fX74vTCqxvX9RCiAg97M9pha c2CP34YBIshXbj0S+OegkMvzGkdVIKo+YhJOLV7dCzZsXj4XJGmxr1k3RjqWsYmffNUr2rY5i 9MqzFLkmOnfoZxUoS9I9VPSPg2J3hrM7Kx5hfCJIodietnU+SfZqB0dYuqhCm9se8ntUIlTFv ddQlystt3SU/tdIx/I4B0G21lDUv00ERiK9NzESdVD+7Rzeb7zwUnK+oP1Y2rSTgMgebmc5Yh +9hokcrnOJ+s5lr7ioVqsZlTO3tng3y9DT0qfPn01fyzpKsxGDU3ySn2mBh/JHtnzFhHS2nEp s0j1swMJg+bWw4Sr49y4h90JrAXlRDVp4IgCoUzwSfHEfPLiV2eMigQyMgkS9S1MnBIiQXTcU H87W0qhJWJhBJnoAyMFI2ndbQhRyTo7FyLQIUpIzzGHS5OT4rYOk619GsSInJhVGS0KCaxHxB pBBpZODgguSAMa5Ug5EtisjZoSxnQy/5ODfx3nk9fKWW6A0yyqHNKires5p1LHDttEiOIpyiS RY5Fk6+14sgEeKQzSvA4kD86XFCqt40HOLloT/af2EdohA0uTq3lo8VJATtm6XsFwBcRzLage KXUOI7K1i8Ky1eA0M+N52XOqFP4o24z+POYynuqRfg84qLQvO+lHT1EYbEfe44C4UAwwmHBhU zioKDFApuJVuHBX+rB16dXEVwPDBGi+8wSjXMXFIdZJXxbtN0otC3+DQxiqB+p8rkZpO0C9 X-Rspamd-Queue-Id: 4846YF0fgWz4LpY X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.75) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.72 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[52.185.103.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.997,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[75.192.72.217.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[75.192.72.217.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.33)[ip: (-0.87), ipnet: 217.72.192.0/20(0.28), asn: 8560(2.25), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 18:07:14 -0000 On Fri, 24 Jan 2020 11:18:22 -0500, Michael Watters wrote: > I'm attempting to set up a new server running FreeBSD 12.1 however the > network interfaces are not being detected by the kernel.=A0 Does anybody > know how to get the OS to see this device?=A0 pciconf -lv shows the device > however ifconfig does not show any interfaces. According to "man 4 qlxne", that driver "supports 25/40/100 Gigabit Ethernet & CNA Adapter based on the following chipsets: [...] QLogic 41000 series". Maybe you have to manually load that module and see if the driver can pick up your particular model? --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Jan 24 18:22:44 2020 Return-Path: Delivered-To: freebsd-questions@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 1687E1F79B9 for ; Fri, 24 Jan 2020 18:22:44 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (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 4846v70Z1gz4Mdr for ; Fri, 24 Jan 2020 18:22:42 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 00OIMaRV089776 for ; Fri, 24 Jan 2020 13:22:36 -0500 (EST) (envelope-from doug@safeport.com) Date: Fri, 24 Jan 2020 13:22:36 -0500 (EST) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: Is this just the way it is?? Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Fri, 24 Jan 2020 13:22:36 -0500 (EST) X-Rspamd-Queue-Id: 4846v70Z1gz4Mdr X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-1.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[safeport.com]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.84)[ip: (-4.34), ipnet: 198.74.228.0/22(-2.17), asn: 11288(2.36), country: US(-0.05)]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 18:22:44 -0000 I recently undated my laptop and desktop to 11.3. The laptop around Thanksgiving and the Desktop in January. I came across an application to replace one that was changed in the 11-rel tree with no way to convert a database without the old version. Which programs really do not matter to my question. On the desktop, the new package installed and just worked with no issues. It turns out this program can not be run on my desktop via an ssh tunnel. So I thought I would just install in on my laptop as I am 1,000+ miles away. The package installed fine again no issues. When run however the package wants Qt5.13.2 and Qt5.13.0 was installed. Again fine, just compile the program. Oops no option to accept the installed Qt and the build failed anyway. Okay no program, just upgrade Qt5. It turns out doing that will upgrade firefox thunderbird, add a 3rd version of python and upgrade about 1/3 of the 550 packages installed. So is this just the way things are? Relative to python, I'm 99% sure python36-3.6.9_1 works just as well as python36-3.6.9_3 or python37-3.7.6. I thought (hoped??) the with recent change to package/ports would result them not being this tied to sub-sub version changes. I'm just going for a yes or no. In the past you had a python 3 and 2.7 if you needed it. No so now I guess?? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Fri Jan 24 18:42:57 2020 Return-Path: Delivered-To: freebsd-questions@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 22C031F85D9 for ; Fri, 24 Jan 2020 18:42:57 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 4847LS0wjyz4NsB for ; Fri, 24 Jan 2020 18:42:55 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1579891376; x=1582483376; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=qldLehWo1qvdGBs9xzP75tyP5Y4j/9tdmlrhnI3DhKo=; b=AgI4owZSm7Vufa8lHmMo52WihZp+sHWUqyW2PZ5g1uDh4cV+q1qFraFH4/D873wFQXavyoQxyvTxQMRk0OuG/fE+cGnmUkhSoH2G+gQZwtvBkar8r733cxXdo9bLnjBOPIgIEMTVivGXFdoqlYXeOXzR2GESfSTsndI9I/stQD0= X-Thread-Info: NDI1MC4xMi42ZTAwMDAwMGZhMTYyYy5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r4.h.in.socketlabs.com (s1-b40f.socketlabs.email-od.com [142.0.180.15]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 24 Jan 2020 13:42:53 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r4.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 24 Jan 2020 13:42:52 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iv3us-000Fv8-TQ for freebsd-questions@freebsd.org; Fri, 24 Jan 2020 18:42:50 +0000 Date: Fri, 24 Jan 2020 18:42:50 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Is this just the way it is?? Message-Id: <20200124184250.0553d75734a8657b4be61634@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4847LS0wjyz4NsB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=AgI4owZS; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.10.freebsd-questions=freebsd.org@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.10.freebsd-questions=freebsd.org@email-od.com X-Spamd-Result: default: False [-0.74 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.884,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; FORGED_SENDER_VERP_SRS(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.984,0]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; ENVFROM_VERP(0.00)[]; IP_SCORE(0.13)[ip: (-0.35), ipnet: 142.0.176.0/22(0.67), asn: 7381(0.40), country: US(-0.05)]; FORGED_SENDER(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 18:42:57 -0000 On Fri, 24 Jan 2020 13:22:36 -0500 (EST) Doug Denault wrote: > The package installed fine again no issues. When run however the package > wants Qt5.13.2 and Qt5.13.0 was installed. Again fine, just compile the > program. Oops no option to accept the installed Qt and the build failed > anyway. Okay no program, just upgrade Qt5. It turns out doing that will > upgrade firefox thunderbird, add a 3rd version of python and upgrade > about 1/3 of the 550 packages installed. I rather fear it is, I install from packages mostly (with one or two ports carefully added in where I want changes to the defaults) and I find I have multiple versions of all sorts of things. One thing I did notice was that after the quarter shifted I wound up with some oddities like python 3.6 and 3.7 and a raft of py36 and py37 packages mostly duplicated - a little digging with pkg info revealed that the 3.6 ones had nothing depending on them and I was able to remove them without ill effect. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Fri Jan 24 19:00:11 2020 Return-Path: Delivered-To: freebsd-questions@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 30F4C1F8FE5 for ; Fri, 24 Jan 2020 19:00:11 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 4847kL2cr1z4PbS for ; Fri, 24 Jan 2020 19:00:10 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from lowell-desk.be-well.ilk.org (router.lan [172.30.250.2]) by be-well.ilk.org (Postfix) with ESMTP id 7B17D33C3B; Fri, 24 Jan 2020 13:59:59 -0500 (EST) Received: by lowell-desk.be-well.ilk.org (Postfix, from userid 1147) id A9B3921FBA03; Fri, 24 Jan 2020 13:59:58 -0500 (EST) From: Lowell Gilbert To: Doug Denault Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Is this just the way it is?? References: Reply-To: freebsd-questions@FreeBSD.ORG Date: Fri, 24 Jan 2020 13:59:58 -0500 In-Reply-To: (Doug Denault's message of "Fri, 24 Jan 2020 13:22:36 -0500 (EST)") Message-ID: <44h80k3ck1.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4847kL2cr1z4PbS X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-questions-local@be-well.ilk.org has no SPF policy when checking 23.30.133.173) smtp.mailfrom=freebsd-questions-local@be-well.ilk.org X-Spamd-Result: default: False [4.04 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@FreeBSD.ORG]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[ilk.org]; AUTH_NA(1.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_SPAM_MEDIUM(0.93)[0.934,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.99)[0.990,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7922, ipnet:23.30.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.12)[ip: (0.15), ipnet: 23.30.0.0/15(1.19), asn: 7922(-0.68), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 19:00:11 -0000 Doug Denault writes: > So is this just the way things are? Relative to python, I'm 99% sure > python36-3.6.9_1 works just as well as python36-3.6.9_3 or > python37-3.7.6. I thought (hoped??) the with recent change to > package/ports would result them not being this tied to sub-sub version > changes. > > I'm just going for a yes or no. In the past you had a python 3 and 2.7 > if you needed it. No so now I guess?? You shouldn't need the python36 versions at all. If you follow the UPDATING directions, you *should* end up without them. From owner-freebsd-questions@freebsd.org Fri Jan 24 19:56:29 2020 Return-Path: Delivered-To: freebsd-questions@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 644B11FA7B0 for ; Fri, 24 Jan 2020 19:56:29 +0000 (UTC) (envelope-from doug@safeport.com) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4848zK22Jcz4TcW for ; Fri, 24 Jan 2020 19:56:29 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 888C563B7B for ; Fri, 24 Jan 2020 19:56:28 +0000 (UTC) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.15.2/8.15.2) with ESMTP id 00OJuSlh041514 for ; Fri, 24 Jan 2020 14:56:28 -0500 (EST) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.15.2/8.15.2/Submit) with ESMTP id 00OJuSR4041511 for ; Fri, 24 Jan 2020 14:56:28 -0500 (EST) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Fri, 24 Jan 2020 14:56:28 -0500 (EST) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org To: freebsd-questions@FreeBSD.ORG Subject: Re: Is this just the way it is?? In-Reply-To: <44h80k3ck1.fsf@be-well.ilk.org> Message-ID: References: <44h80k3ck1.fsf@be-well.ilk.org> 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: 4848zK22Jcz4TcW X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 19:56:29 -0000 On Fri, 24 Jan 2020, Lowell Gilbert wrote: > Doug Denault writes: > >> So is this just the way things are? Relative to python, I'm 99% sure >> python36-3.6.9_1 works just as well as python36-3.6.9_3 or >> python37-3.7.6. I thought (hoped??) the with recent change to >> package/ports would result them not being this tied to sub-sub version >> changes. >> >> I'm just going for a yes or no. In the past you had a python 3 and 2.7 >> if you needed it. No so now I guess?? > > You shouldn't need the python36 versions at all. If you follow > the UPDATING directions, you *should* end up without them. ah - /usr/ports/UPDATING -- thank you Don't know that I have gone past /usr/src/UPDATING, silly me :( For ports users wanting to keep version 3.6 as default, add DEFAULT_VERSIONS+= python=3.6 python3=3.6 to make.conf and (maybe) 20170602: AFFECTS: users of Qt 5 in presence of binutils : ...lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `__bss_start at Qt_5' ...lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here ...lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `_edata at Qt_5' ...lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here ...lib/libQt5Core.so:(.dynamic+0x2b2d0): multiple definition of `_end at Qt_5' So python for sure - thanks again. With some of the sub-sub version stuff can the port/package makers not cover this with the way the Makefile-s define requirements? Qt is a pretty basic component. It just went 4-->5 I do not remember having this issue during the "4" days. Sad to say if I knew about /usr/ports/UPDATING I forgot. Call it a senior moment. Thanks guys Doug From owner-freebsd-questions@freebsd.org Fri Jan 24 20:03:04 2020 Return-Path: Delivered-To: freebsd-questions@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 829D21FAAB8 for ; Fri, 24 Jan 2020 20:03:04 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (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 48496v4BrDz4V0X for ; Fri, 24 Jan 2020 20:03:03 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id F084E138A48 for ; Fri, 24 Jan 2020 20:02:56 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Q6yeV4kE4iQW for ; Fri, 24 Jan 2020 20:02:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 1B747138A5E for ; Fri, 24 Jan 2020 20:02:56 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.antonovs.family 1B747138A5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=D65AA412-CB7F-11E9-A561-802C9D403B77; t=1579896176; bh=7mtYmtc7AHcQbYPQik28WqSqaLU82kcrJ/7d6ehvvAY=; h=Date:From:To:Message-ID:MIME-Version; b=BvQ0MJRAkxJ5cNolpjtEe2K9SkS12//QBmZIASp9sZxogYdpHjRf1C+oAdH+tuNLh MSGMgfXTeWkfBh0bEKm1Za4IPJuQ7bb+tVEFKin8TLuXrc8OPZQcKxdUfq0Vkjhf+Y Dwlm3KOk9uOkk/OIooyivH15q9H13XBJ/FDdjZCGl9zmGXN5OREm4Ovsta/5ZvR4eV mLOML7Ob5ZMkfpd2HAddcJ1FTY0f1PP025k4NS8Mvpx5GtfDzeDZZizGof0a0cnIOS mftLT90FuQpJ1qGJt8oOpTdqfoxE4d1pbQuO5x8llNdrlpSBPVU/kFlJQ6rIZH1EL2 QPdBvrT/hf3Kw== X-Virus-Scanned: amavisd-new at antonovs.family Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id D-4n8jAutdy8 for ; Fri, 24 Jan 2020 20:02:55 +0000 (UTC) Received: from mail.antonovs.family (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id E14C2138A48 for ; Fri, 24 Jan 2020 20:02:55 +0000 (UTC) Date: Fri, 24 Jan 2020 20:02:55 +0000 (UTC) From: Ihor Antonov To: freebsd-questions@freebsd.org Message-ID: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> Subject: Rust in base MIME-Version: 1.0 X-Originating-IP: [10.193.1.27] X-Mailer: Zimbra 8.8.12_GA_3866 (ZimbraWebClient - FF68 (Linux)/8.8.12_GA_3844) Thread-Index: cJM3Cv19SdAZDCvza/k7onqK4Dnu8g== Thread-Topic: Rust in base X-Rspamd-Queue-Id: 48496v4BrDz4V0X X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=antonovs.family header.s=D65AA412-CB7F-11E9-A561-802C9D403B77 header.b=BvQ0MJRA; dmarc=pass (policy=none) header.from=antonovs.family; spf=pass (mx1.freebsd.org: domain of ihor@antonovs.family designates 100.25.240.195 as permitted sender) smtp.mailfrom=ihor@antonovs.family X-Spamd-Result: default: False [-5.51 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[antonovs.family:s=D65AA412-CB7F-11E9-A561-802C9D403B77]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.51)[ip: (-6.78), ipnet: 100.24.0.0/13(-2.67), asn: 14618(-3.04), country: US(-0.05)]; DKIM_TRACE(0.00)[antonovs.family:+]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:14618, ipnet:100.24.0.0/13, country:US]; MID_RHS_MATCH_FROM(0.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 20:03:04 -0000 Hi folks, As I was reading this article [1] I started wondering what would it take to bring Rust into base? Examples of Rust code could be kernel modules, or userland utilities. I know that this probably is not going to happen without a real usecase (FreeBSD book states - do not add extra functionality unless a real task can't be completed without it"), but there is a bootstrapping problem. You cannot have rust code until you have rust code unless you have rust compiler, and rust compiler is written in rust... This could be a major roadblock for someone who wants to contribute a kernel module or new tool written in rust. There is a growing interest in Rust language and if FreeBSD allows to add rust code in base it would allow to attract more contributors interested that are interested in developing operating systems. It would also be something that Linux does not have. So there are 2 questions: - technical one: how bootstrapping issue can be solved? - what does FreeBSD community think of the idea to have Rust in base? Thanks. Ihor [1] https://www.leidinger.net/blog/2019/01/27/strategic-thinking-or-what-i-think-what-we-need-to-do-to-keep-freebsd-relevant/ From owner-freebsd-questions@freebsd.org Fri Jan 24 20:07:21 2020 Return-Path: Delivered-To: freebsd-questions@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 86BB31FAC3D for ; Fri, 24 Jan 2020 20:07:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4849Cr3pkhz4V8K for ; Fri, 24 Jan 2020 20:07:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([188.103.185.52]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1M894P-1iyfrf0Dit-005EU4; Fri, 24 Jan 2020 21:07:12 +0100 Date: Fri, 24 Jan 2020 21:07:11 +0100 From: Polytropon To: Doug Denault Cc: freebsd-questions@freebsd.org Subject: Re: Is this just the way it is?? Message-Id: <20200124210711.a1deab26.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:K2klqq4hU1lR/XN3bTTrWGzrlBwn43DekoqOIBvEShrG9ZKwgMN +EQW/q5TC242dmyhTINDLsNAmXV1pSTbAoa8RVvPuy56M3dGlU4fbOi0U0uq7MFv45LQInV JzmaCcnyzglmpEmD2AqmKZrsJZiNzzGgfOwkBQpLhS4kBLelFHPsGCrxSxS6JqzWpL/zziR 59bxMaweu4vh41h9O6I+w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Sw31KhNmBs4=:TLXkqkSxDdi8tKpwf4Aznv OzfTiFniT/AnbLcKBhJRypYDKx0YrbnK1PfsPaP6gCn1ZGcJwWM/XRtx1Q8s/b5LcdFOHYRng kqK7xyr89d3X39bjMoa6oQuPclTb2VK1d7+k0COB2WrMDtivoG8xnDMeI7VrK2miuzv4rQ90H 1UnXDGxz1IsMmpAJ+WOrvkGdxptuZdiauTVMS3c3czNsh5TNqUIBOelWLt1h2JdGk+gHOXooQ BnOufd1UfXeiGNQiElSghuACieSwbVZ6OUSYdDOTDwVMZfKm/plwUsOtn1UFmS0Lc7qRVs9Zg z1MHLbhluhjnBuje8rdr4L0OUOJ8tauoZ+vLzAW2pf1NbX0H4ZJ7Oefha6evYxHb9rmueEZrC Qui71Vdi/qBEmDWTQe7lCLS7XsG2nLbveWAlqjD3QLDEwRG0E3Qp5c9QEMbuk9X+6pDgrcuFT NnpGjFu88qqMlW8PeMndav3ywc9EI7bxvn1xGczae+x+mvwEx/tnwYs/uc8Z2z41oxRs6aWqt ltuKlEvoV473tvZupjNhlt+5z6U21cssEC4NoEIXgWjMHb0eGAQlxok0DPAl/u4oyS+GwcKBC X8qJPb8Iq5KONsxZHRjDdr4ZCyS7yMKJuBcSmc8h95uTJCELKVe+0qJczSe9nsJjARz1ImYj7 n8ed4k+gZ8cKelm8/nZ23lRJlww66yb0eBZf2wiaeZ/9u3oEo780hnYRrKHQACMx4MIXOIged zQCwaH8koYP3Wd1QtrvzmCrQDy0YN09Tpd9e9t2temsY4EaCWDW4PaXkU5GUt+6j2byox/5iN d7KsFMTsrijTEe5q3jtKJsHLd6HCH8cuq06TXUGT8BGbWtsuA+lOcA0sZcYoxaBRvWvOakb X-Rspamd-Queue-Id: 4849Cr3pkhz4V8K X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.13) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.51 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[52.185.103.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.998,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[13.17.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.11)[ip: (-0.54), ipnet: 212.227.0.0/16(-1.15), asn: 8560(2.25), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 20:07:21 -0000 On Fri, 24 Jan 2020 13:22:36 -0500 (EST), Doug Denault wrote: > I recently undated my laptop and desktop to 11.3. The laptop around > Thanksgiving > and the Desktop in January. I came across an application to replace > one that > was changed in the 11-rel tree with no way to convert a database > without > the old > version. Which programs really do not matter to my question. Sidenote: FreeBSD version 11 is on its way to EOL. In case you perform a new installation, you should probably use version 12 (the latest release of that branch), except you have a good reason to use older and (as it will become) unsupported version. > On the desktop, the new package installed and just worked with no > issues. It > turns out this program can not be run on my desktop via an ssh tunnel. > So I > thought I would just install in on my laptop as I am 1,000+ miles away. > > The package installed fine again no issues. When run however the package > wants > Qt5.13.2 and Qt5.13.0 was installed. Again fine, just compile the > program. That indicates some problem. When you install something via pkg, the dependencies _should_ be correct, i. e., if a program requires Qt as a runtime dependency, and Qt is not installed, it will install the exact version needed, in your case, 5.13.2. In the package sources, the newest version should be present anyway, and 5.13.0 numerically is the older version. > Oops > no option to accept the installed Qt and the build failed anyway. Okay no > program, just upgrade Qt5. It turns out doing that will upgrade firefox > thunderbird, add a 3rd version of python and upgrade about 1/3 of the 550 > packages installed. Yes, because all programs linked against the older version will now have to be linked to the newer one. What you see looks like a version mismatch of ports and packages. An old problem. If you want to use both packaged software _and_ your own compiled software, you need to make sure that _before_ you start, you have the most recent ports tree ("portsnap fetch extract"). > So is this just the way things are? Relative to python, I'm 99% sure > python36-3.6.9_1 works just as well as python36-3.6.9_3 or > python37-3.7.6. I > thought (hoped??) the with recent change to package/ports would > result them not > being this tied to sub-sub version changes. Exactly my observation. In my message "FreeBSD updating experience" dated Thu, 19 Dec 2019 18:15:47 +0100, I wrote: * quote * If I install the Midnight Commander, both Python 2.7 and 3.6 get installed, with several modules, each in the 2.7 and 3.6 version. Some user-facing "normal" application (whose name I forgot) will install gcc, even though no compiling takes place, and the program itself is not related to any kind of programming. I think it was something like pdftk that installed gcc and binutils, and wine installs gcc9... * end quote * With software components _not_ conflicting, this surely is not a problem, but as in your case, massive recompiling is definitely annoying. > I'm just going for a yes or no. In the past you had a python > 3 and 2.7 if you > needed it. No so now I guess?? No, yes, it depends. ;-) Maybe (!) what you're seeing is due to the fact that you're using FreeBSD 11 instead of 12, combined with a slight version mismatch of ports tree and pkg source. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Jan 24 21:07:49 2020 Return-Path: Delivered-To: freebsd-questions@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 03D011FC1A6 for ; Fri, 24 Jan 2020 21:07:49 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 484BYc1LhJz4YT3 for ; Fri, 24 Jan 2020 21:07:48 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.139.151]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 5B3554E66C; Fri, 24 Jan 2020 14:59:47 -0600 (CST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: Rust in base From: Valeri Galtsev In-Reply-To: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> Date: Fri, 24 Jan 2020 14:59:45 -0600 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6C860899-4D38-4BD0-AFDB-E44165B0461A@kicp.uchicago.edu> References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> To: Ihor Antonov X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 484BYc1LhJz4YT3 X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [7.75 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; RECEIVED_SPAMHAUS_PBL(0.00)[151.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; RECEIVED_SPAMHAUS_XBL(5.00)[151.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.15)[ip: (0.43), ipnet: 128.135.0.0/16(0.21), asn: 160(0.17), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; GREYLIST(0.00)[pass,body]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 21:07:49 -0000 > On Jan 24, 2020, at 2:02 PM, Ihor Antonov = wrote: >=20 > Hi folks,=20 >=20 > As I was reading this article [1] I started wondering what would it = take to bring Rust into base?=20 A side note from user (sysadmin running a bunch of fReeBSD servers), not = FreeBSD developer. We use FreeBSD because the base is slim. Bringing variety of stuff in = the the base will bloat the base system. If I were allowed to express an = opinion, mine would be: strong NO. Just my two cents. Valeri > Examples of Rust code could be kernel modules, or userland utilities.=20= >=20 > I know that this probably is not going to happen without a real = usecase (FreeBSD book states - do not add extra functionality unless a = real task can't be completed without it"), but there is a bootstrapping = problem.=20 > You cannot have rust code until you have rust code unless you have = rust compiler, and rust compiler is written in rust... This could be a = major roadblock for someone who wants to contribute a kernel module or = new tool written in rust.=20 >=20 > There is a growing interest in Rust language and if FreeBSD allows to = add rust code in base it would allow to attract more contributors = interested that are interested in developing operating systems. It would = also be something that Linux does not have.=20 >=20 >=20 > So there are 2 questions:=20 > - technical one: how bootstrapping issue can be solved?=20 > - what does FreeBSD community think of the idea to have Rust in base?=20= >=20 > Thanks.=20 >=20 >=20 > Ihor=20 >=20 >=20 > [1] = https://www.leidinger.net/blog/2019/01/27/strategic-thinking-or-what-i-thi= nk-what-we-need-to-do-to-keep-freebsd-relevant/=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Fri Jan 24 21:49:42 2020 Return-Path: Delivered-To: freebsd-questions@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 1C2D01FCC8E for ; Fri, 24 Jan 2020 21:49:42 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (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 484CTx2QpHz4bMy for ; Fri, 24 Jan 2020 21:49:40 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 00OLndZV099675 for ; Fri, 24 Jan 2020 16:49:39 -0500 (EST) (envelope-from doug@safeport.com) Date: Fri, 24 Jan 2020 16:49:39 -0500 (EST) From: Doug Denault To: freebsd-questions@freebsd.org Subject: Re: Is this just the way it is?? In-Reply-To: <20200124210711.a1deab26.freebsd@edvax.de> Message-ID: References: <20200124210711.a1deab26.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Fri, 24 Jan 2020 16:49:39 -0500 (EST) X-Rspamd-Queue-Id: 484CTx2QpHz4bMy X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-1.86 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[safeport.com]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.76)[ip: (-4.07), ipnet: 198.74.228.0/22(-2.03), asn: 11288(2.35), country: US(-0.05)]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 21:49:42 -0000 On Fri, 24 Jan 2020, Polytropon wrote: > On Fri, 24 Jan 2020 13:22:36 -0500 (EST), Doug Denault wrote: >> I recently undated my laptop and desktop to 11.3. The laptop around >> Thanksgiving and the Desktop in January. I came across an application to >> replace one that was changed in the 11-rel tree with no way to convert a >> database without the old version. Which programs really do not matter to my >> question. > > Sidenote: FreeBSD version 11 is on its way to EOL. In case you perform a new > installation, you should probably use version 12 (the latest release of that > branch), except you have a good reason to use older and (as it will become) > unsupported version. > > > >> On the desktop, the new package installed and just worked with no issues. It >> turns out this program can not be run on my desktop via an ssh tunnel. So I >> thought I would just install in on my laptop as I am 1,000+ miles away. >> >> The package installed fine again no issues. When run however the package >> wants Qt5.13.2 and Qt5.13.0 was installed. Again fine, just compile the >> program. > > That indicates some problem. When you install something via pkg, the > dependencies _should_ be correct, i. e., if a program requires Qt as a runtime > dependency, and Qt is not installed, it will install the exact version needed, > in your case, 5.13.2. In the package sources, the newest version should be > present anyway, and 5.13.0 numerically is the older version. > > > >> Oops >> no option to accept the installed Qt and the build failed anyway. Okay no >> program, just upgrade Qt5. It turns out doing that will upgrade firefox >> thunderbird, add a 3rd version of python and upgrade about 1/3 of the 550 >> packages installed. > > Yes, because all programs linked against the older version will now have to be > linked to the newer one. > > What you see looks like a version mismatch of ports and packages. An old > problem. If you want to use both packaged software _and_ your own compiled > software, you need to make sure that _before_ you start, you have the most > recent ports tree ("portsnap fetch extract"). > >> So is this just the way things are? Relative to python, I'm 99% sure >> python36-3.6.9_1 works just as well as python36-3.6.9_3 or python37-3.7.6. I >> thought (hoped??) the with recent change to package/ports would result them >> not being this tied to sub-sub version changes. > > Exactly my observation. In my message "FreeBSD updating experience" > dated Thu, 19 Dec 2019 18:15:47 +0100, I wrote: > > * quote * > > If I install the Midnight Commander, both Python 2.7 and 3.6 get > installed, with several modules, each in the 2.7 and 3.6 version. > > Some user-facing "normal" application (whose name I forgot) will install gcc, > even though no compiling takes place, and the program itself is not related to > any kind of programming. I think it was something like pdftk that installed > gcc and binutils, and wine installs gcc9... > > * end quote * > > With software components _not_ conflicting, this surely is not a problem, but > as in your case, massive recompiling is definitely annoying. > >> I'm just going for a yes or no. In the past you had a python 3 and 2.7 if you >> needed it. No so now I guess?? > > No, yes, it depends. ;-) > > Maybe (!) what you're seeing is due to the fact that you're > using FreeBSD 11 instead of 12, combined with a slight version > mismatch of ports tree and pkg source. Not really, at least with python, as per /usr/ports.UPDATING. I understand all this. My question was/is all this really necessary. The answer seems be be not with python. I pondered about Qt as that is a pretty basic component in a GUI environment. In any case I think having to essentially rebuild my workstation to install a utility to store passwords is not something that should be defended. I can slide to 11.4 when the time comes. I appreciate all the comments and information. I have information as to going forward with my obsession of using FreeBSD as a workstation. Doug _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Fri Jan 24 22:13:27 2020 Return-Path: Delivered-To: freebsd-questions@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 8C99E1FD920 for ; Fri, 24 Jan 2020 22:13:27 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 484D1L3JdXz4d9R for ; Fri, 24 Jan 2020 22:13:26 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1579904006; x=1582496006; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=Cb/YE+skXLlMRICyOUrluRPJSiC3NtMon46Cpfi8YII=; b=LoyHSgPSzdhHXrQHEK0rtwUUKWXg7PBNR4e7q6TE039O+Mz8ilCo1/TFv/TKs/NI6kUllLNPnWPIv+miH7p3duVHLp4T3AJySoYN9Cw9E08ntmwbK6Oq3H30s+OocrWKPj7Rbe5ZSro7Bq26Ef9rwcRESxfg3yrbftSG0ZttgrA= X-Thread-Info: NDI1MC4xMi42ZTAwMDAwMTAyNWZmNy5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r1.us-east-1.aws.in.socketlabs.com (r1.us-east-1.aws.in.socketlabs.com [142.0.191.1]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 24 Jan 2020 17:13:21 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 24 Jan 2020 17:13:21 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iv7CZ-000Gbz-QG for freebsd-questions@freebsd.org; Fri, 24 Jan 2020 22:13:19 +0000 Date: Fri, 24 Jan 2020 22:13:19 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Rust in base Message-Id: <20200124221319.d4e7fa438cbb1f30da10af2d@sohara.org> In-Reply-To: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 484D1L3JdXz4d9R X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=LoyHSgPS; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.10.freebsd-questions=freebsd.org@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.10.freebsd-questions=freebsd.org@email-od.com X-Spamd-Result: default: False [-1.85 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; FORGED_SENDER_VERP_SRS(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.13)[ip: (-0.35), ipnet: 142.0.176.0/22(0.66), asn: 7381(0.39), country: US(-0.05)]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; ENVFROM_VERP(0.00)[]; FORGED_SENDER(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 22:13:27 -0000 On Fri, 24 Jan 2020 20:02:55 +0000 (UTC) Ihor Antonov wrote: > So there are 2 questions: > - technical one: how bootstrapping issue can be solved? > - what does FreeBSD community think of the idea to have Rust in base? Some years back a great deal of work was done to remove perl from the base so adding Rust (or anything else) would be a step back. An old BSD goal is that base should be just enough to be self hosting and be BSD (removing the traditional games from the base took some discussion). -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Fri Jan 24 23:01:27 2020 Return-Path: Delivered-To: freebsd-questions@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 ADCAB1FEE24 for ; Fri, 24 Jan 2020 23:01:27 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 484F4k0rKcz3Bqp for ; Fri, 24 Jan 2020 23:01:25 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qk1-x735.google.com with SMTP id g195so3723956qke.13 for ; Fri, 24 Jan 2020 15:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Fa4RlVYqkVAUg6WNFImO8NcBxs2M0WFlSMDHyvlSMik=; b=h3qHtpTtft02kf24vT5d+3r9tD8IPR+J4jmNLo+elpiD/rNpt5BPiZo9rxy83T6IDJ gD4uHghPO54OOkNqm+pxBv3THFQvn8SF/fFK4OxEXBpo/kbHwasIg6H7x3sRG5CD3fzi 1H/61tfTNlz4gZBZk2nH8hq7Po/O4nb7jUjgOFi6Spi/2UIzRrAnY7ofSOsen/VH3Pti Br+m1Vk5aeSGrUQ505xQaQwQlSZ3D0a3qAItRQdMHjmeYcKkCy8/85uA88pTJBypRbBD KyhizqQmIkJ+EQwqHorl4FXiFS6UXbCMxWN6WrztgnhIWRjy2vGpXW36Ih9DEv3J4Nt/ NcFw== 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=Fa4RlVYqkVAUg6WNFImO8NcBxs2M0WFlSMDHyvlSMik=; b=KChhMXeubn4wkfRS8Wf/neneS1yhXtt48+tQx/ZU28o+ej29t/y9w4K39GQM8bccyQ 4uxH8nfc0Y9KJrCf/S8dwGJLTseIs9mTDAVs0Dt5dF8mXU5A3PJPU0bLkAPCZWLdRIwS qn1QB/ZfC9dM3e5/x47OSCRzPkMVGS0C0YGsKe694P0aWCmPAQXwEa9rq+89a3vrGalP LwIcJw4Sjx24WbLJPFTchOzDT0Nb5imwifmmI0aZqIjooRnu3GCr4bAdMDaODf0op2MZ 0vIDu+7HCuVA6LblgB5iNnd3rLlCDAgSdwODiyqrJjuSt211t3sadh9aY8mnL9B1lE/C 9WNQ== X-Gm-Message-State: APjAAAUjk7SKVZW+C6uQF0icSOkoq30d/1tBoIa0dshvmK6hvyaibyXP DjaZOAGjgCewnrlksSnxr1S05e0k1tPXPBgJoTAlcUS0t3g= X-Google-Smtp-Source: APXvYqxsQbQIOv2TWVrgLKEFPUCxvRluORzElkkkHZspm6tVpThZYRRCTvNUuM/jiUa+Xc3jg1K9uIgA9oZl7jMTWOE= X-Received: by 2002:a37:6cc1:: with SMTP id h184mr5223193qkc.96.1579906884973; Fri, 24 Jan 2020 15:01:24 -0800 (PST) MIME-Version: 1.0 References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> <20200124221319.d4e7fa438cbb1f30da10af2d@sohara.org> In-Reply-To: <20200124221319.d4e7fa438cbb1f30da10af2d@sohara.org> From: Michael Sierchio Date: Fri, 24 Jan 2020 15:00:48 -0800 Message-ID: Subject: Re: Rust in base To: "Steve O'Hara-Smith" Cc: FreeBSD Questions X-Rspamd-Queue-Id: 484F4k0rKcz3Bqp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=h3qHtpTt; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2607:f8b0:4864:20::735) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-4.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[5.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)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.64)[ip: (-9.30), ipnet: 2607:f8b0::/32(-2.06), asn: 15169(-1.80), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 23:01:27 -0000 On Fri, Jan 24, 2020 at 2:13 PM Steve O'Hara-Smith wrote= : > On Fri, 24 Jan 2020 20:02:55 +0000 (UTC) > Ihor Antonov wrote: > > > So there are 2 questions: > > - technical one: how bootstrapping issue can be solved? > > - what does FreeBSD community think of the idea to have Rust in base? > > Some years back a great deal of work was done to remove perl from > the base so adding Rust (or anything else) would be a step back. An old B= SD > goal is that base should be just enough to be self hosting and be BSD > (removing the traditional games from the base took some discussion). > > As a fellow embedded guy, +1 to what Steve says. Even things in the "Base" should probably have package db entries so they can be removed. Target systems don't necessarily need a compiler or a full tool chain. Then we can converge on a consensus set of basic tools that most people will need, with the opportunity to remove them =E2=80=93 rather than creating a mini/micro/nano-FreeBSD =E2=80=93 Michael --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-questions@freebsd.org Fri Jan 24 23:31:41 2020 Return-Path: Delivered-To: freebsd-questions@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 44FFE1FF8D0 for ; Fri, 24 Jan 2020 23:31:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 484Flc2DLJz3Cy0 for ; Fri, 24 Jan 2020 23:31:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([188.103.185.52]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1MvKGv-1jlj6u0awb-00rHpE; Sat, 25 Jan 2020 00:31:37 +0100 Date: Sat, 25 Jan 2020 00:31:36 +0100 From: Polytropon To: Michael Sierchio Cc: "Steve O'Hara-Smith" , FreeBSD Questions Subject: Re: Rust in base Message-Id: <20200125003136.a1485866.freebsd@edvax.de> In-Reply-To: References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> <20200124221319.d4e7fa438cbb1f30da10af2d@sohara.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:ZiYSKxG6mgjc9bE1K8DT1ZDGD5uJYFvJii+Y5KFW6TvAGWU5LNw QJT+f8zCc7rQhTfRqG0PxX9p7THYu+FEY+fD1ISLcUkroJmT7wsvoeC9DA7/eANYnb/HpfW qKkpYf7Sl9Utf2SESHOQJdqQZz2vh4/7V1dY9+76sUQpT7pxVGlZ145OpjbhqYe225amocl GMjQTNabstiGE9UL2aUTw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:l6ul6xpRwLw=:anyUJgVQDYDe0m5ePWcvVe QQJLG8ct+U78QFN/qfrlsDPSTVTkP8noh5lJbSH24QzxFWvRm0sG/iE5LSV1hTQSUco28JNQX R+Ox+IiFnJVJQy+9uhVE96JInps66ReeQEkwrL+1KOM+WL+dFvjU5MAvSlGYgiLGs+SuExGaI ZAEqqVLMp0zKU0SsHUTqdXgE98DomBZwHyK5i+sAG7IL5XxhfCgpOTC0W0YTEThtBk8MxAU2z IoRLymCWXDrANTPz+eMCcvW6bsnWst8uVyLiPIx2q4i4kdrwBazNgNxiXdIeeLJHR8TBe5TcN f/2bXP8C79S/sY1xxyyCVbXwnJ3kJhqYzJpu+lC45c5Q++VdyE0ww1LXWwnaeumEd1BXrFNLx hWlXUWzb6lYkh70xOPz8plA8b4AqPvY14T/k+cjfsP2QWVoJjysknI8Fs5OJf6hYg+z3p7yhb auKkgcl86Ude+B2mb2Ac7ggPPFIzMtlFWgUPhxn1LjKRxJxu6KfkWO4Asfw4jGIelTnny2EI7 pDg0fgcWUCU7FrMzjpr9PEbUh6oMSkJSxThw4vcIecncrPXD2PqlneSFEiHYpowPfgb/fBcgj SMTkpGiqKl//OvYrDjCz4jTHICQ8DOKzOVLXG1fi1shGMb7pM5iXIApbvtXiwkZAMmH2xBIPF nbidavnBQloi3Ph5NMHmEN5IXeS2y3wGuovN44281Ypt9pt/NeIEcReil5Pm5/vjaKCjReTtw +GfRWv+Kfd5s8Rr6cnfErRCXfuVz0zKsm0D1bmnwMXFGUppD4VQxeumndTjT1B/p7deR7nR0F qDtK7b0xiiFtcu1qJRjNjLwsNNKtS4/QEthY6toDvrtT7M9WFkLsD+mSyhlAQvqRpDJzHob X-Rspamd-Queue-Id: 484Flc2DLJz3Cy0 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.94 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[52.185.103.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.999,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[134.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.54)[ip: (1.60), ipnet: 212.227.0.0/16(-1.15), asn: 8560(2.25), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 23:31:41 -0000 On Fri, 24 Jan 2020 15:00:48 -0800, Michael Sierchio wrote: > On Fri, Jan 24, 2020 at 2:13 PM Steve O'Hara-Smith wrote: > > > On Fri, 24 Jan 2020 20:02:55 +0000 (UTC) > > Ihor Antonov wrote: > > > > > So there are 2 questions: > > > - technical one: how bootstrapping issue can be solved? > > > - what does FreeBSD community think of the idea to have Rust in base? > > > > Some years back a great deal of work was done to remove perl from > > the base so adding Rust (or anything else) would be a step back. An old BSD > > goal is that base should be just enough to be self hosting and be BSD > > (removing the traditional games from the base took some discussion). > > > > > As a fellow embedded guy, +1 to what Steve says. Even things in the "Base" > should probably have package db entries so they can be removed. That is a "longer term goal", but development is heading into the direction of making the base OS more modular, and finally abandoning freebsd-update in favor of "pkg for base". It would enable FreeBSD to become even more suitable for "specialized applications" where you intendedly want a minimal or tailored footprint of the OS. > Target > systems don't necessarily need a compiler or a full tool chain. Then we > can converge on a consensus set of basic tools that most people will need, > with the opportunity to remove them – rather than creating a > mini/micro/nano-FreeBSD I just hope it doesn't bring us the "joy" known from Linux land where a failed update (in this context: of application software, here: installed ports / packages) will render the whole system unusable beyong recovery... "even the kernel is a package". ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Jan 24 23:45:32 2020 Return-Path: Delivered-To: freebsd-questions@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 A0DD81FFEED for ; Fri, 24 Jan 2020 23:45:32 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 484G3b5NZNz3DWl for ; Fri, 24 Jan 2020 23:45:31 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1579909532; x=1582501532; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=UIFMTuWe7Ofhsriaw6Uf/hR2Ct4R/z+CVSO8Q1bb1l4=; b=FqrMvdI9NJbuUnzSU31Ad5PtlNe1JUO3TrkXJSAK81TQiTV2iooc/QCihfLVEwirjsD07zgYF0yCKTbeqWQ19AIIWFAPfpzzu6MFn474FXSNUl1Mg+pqUcaJZ91yukGW+fHpEvvkj+LIv0XA/8wkFqfF3vADAUCPYujCiBv7zGE= X-Thread-Info: NDI1MC4xMi42ZTAwMDAwMTA1YTllZS5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r3.h.in.socketlabs.com (r3.h.in.socketlabs.com [142.0.180.13]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 24 Jan 2020 18:45:26 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 24 Jan 2020 18:45:25 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iv8df-000Gt2-Qs; Fri, 24 Jan 2020 23:45:23 +0000 Date: Fri, 24 Jan 2020 23:45:23 +0000 From: Steve O'Hara-Smith To: Michael Sierchio Cc: FreeBSD Questions Subject: Re: Rust in base Message-Id: <20200124234523.931e00a22ebea691c8cd863b@sohara.org> In-Reply-To: References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> <20200124221319.d4e7fa438cbb1f30da10af2d@sohara.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 484G3b5NZNz3DWl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=FqrMvdI9; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.10.freebsd-questions=freebsd.org@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.10.freebsd-questions=freebsd.org@email-od.com X-Spamd-Result: default: False [-1.83 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.972,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; FORGED_SENDER_VERP_SRS(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.988,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; ENVFROM_VERP(0.00)[]; IP_SCORE(0.13)[ip: (-0.34), ipnet: 142.0.176.0/22(0.66), asn: 7381(0.39), country: US(-0.05)]; FORGED_SENDER(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 23:45:32 -0000 On Fri, 24 Jan 2020 15:00:48 -0800 Michael Sierchio wrote: > On Fri, Jan 24, 2020 at 2:13 PM Steve O'Hara-Smith > wrote: > > As a fellow embedded guy, +1 to what Steve says. Even things in the > "Base" should probably have package db entries so they can be removed. pkg base is coming. > Target systems don't necessarily need a compiler or a full tool chain. True but I hope that the full base system will always be capable of building itself. > Then we can converge on a consensus set of basic tools that most people > will need, with the opportunity to remove them – rather than creating a > mini/micro/nano-FreeBSD I think that's essentially the plan. -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/ From owner-freebsd-questions@freebsd.org Fri Jan 24 23:53:39 2020 Return-Path: Delivered-To: freebsd-questions@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 113032282C1 for ; Fri, 24 Jan 2020 23:53:39 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (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 484GDx48QDz3F5V for ; Fri, 24 Jan 2020 23:53:37 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 67D1A138A48; Fri, 24 Jan 2020 23:53:36 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id dkyjSjUHv-WC; Fri, 24 Jan 2020 23:53:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 18E3E138A5E; Fri, 24 Jan 2020 23:53:36 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.antonovs.family 18E3E138A5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=D65AA412-CB7F-11E9-A561-802C9D403B77; t=1579910016; bh=NcmK53tKQX7/MewFgbj/EItWrMi73S1ly65w6UnGKNE=; h=Date:From:To:Message-ID:MIME-Version; b=ebSeGSHay68FRdA26zBwxIcKCHRHC8k0obX/1lMF9i6rV4chrip5TXLaskn7A1UAF 2asA2elTBFJPXupxKhvz7da6wMkyQpkKEMXvID+fkmEp72PVCWnzRzPuHWRDcp/JA7 UTL6QqPozFxQ9w9wbH2EN6SPcONpmxHzHJTR1eOKzmmTE3vfpw5BD8IeFgvqOV3vUt 8Y1hA4vbLgjy9cEt3QHisYXteEjz8XTS3OKV4DTVV5ukAH71TbbPEfYbT4b7tnSnyi zgUb/Pk09+xoF8uIrLPDIgVEpxcVy1RsmrBnZD4bsPNu4kqZc8zRxo+gkmEhIX6GVg GB52FR+gv1wyQ== X-Virus-Scanned: amavisd-new at antonovs.family Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xfps-qowfXRa; Fri, 24 Jan 2020 23:53:36 +0000 (UTC) Received: from mail.antonovs.family (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id E8D13138A48; Fri, 24 Jan 2020 23:53:35 +0000 (UTC) Date: Fri, 24 Jan 2020 23:53:35 +0000 (UTC) From: Ihor Antonov To: Polytropon Cc: Michael Sierchio , Steve O'Hara-Smith , freebsd-questions Message-ID: <1678077549.5929.1579910015816.JavaMail.zimbra@antonovs.family> In-Reply-To: <20200125003136.a1485866.freebsd@edvax.de> References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> <20200124221319.d4e7fa438cbb1f30da10af2d@sohara.org> <20200125003136.a1485866.freebsd@edvax.de> Subject: Re: Rust in base MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.193.1.27] X-Mailer: Zimbra 8.8.12_GA_3866 (ZimbraWebClient - FF68 (Linux)/8.8.12_GA_3844) Thread-Topic: Rust in base Thread-Index: RmsiNt+Tu5e0MEZrrK2VTuBiWmhLkw== X-Rspamd-Queue-Id: 484GDx48QDz3F5V X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=antonovs.family header.s=D65AA412-CB7F-11E9-A561-802C9D403B77 header.b=ebSeGSHa; dmarc=pass (policy=none) header.from=antonovs.family; spf=pass (mx1.freebsd.org: domain of ihor@antonovs.family designates 100.25.240.195 as permitted sender) smtp.mailfrom=ihor@antonovs.family X-Spamd-Result: default: False [-5.76 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[antonovs.family:s=D65AA412-CB7F-11E9-A561-802C9D403B77]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-2.76)[ip: (-7.54), ipnet: 100.24.0.0/13(-3.16), asn: 14618(-3.04), country: US(-0.05)]; RCVD_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[antonovs.family:+]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:14618, ipnet:100.24.0.0/13, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 23:53:39 -0000 > >=20 > > > On Fri, 24 Jan 2020 20:02:55 +0000 (UTC) Ihor Antonov > > > wrote: > > > > > > > So there are 2 questions: - technical one: how bootstrapping issue = can > > > > be solved? - what does FreeBSD community think of the idea to have > > > > Rust in base? > > > > > > Some years back a great deal of work was done to remove perl = from > > > the base so adding Rust (or anything else) would be a step ba= ck. > > > An old BSD goal is that base should be just enough to be self > > > hosting and be BSD (removing the traditional games from the b= ase > > > took some discussion). > > > > > > > > As a fellow embedded guy, +1 to what Steve says. Even things in the "B= ase" > > should probably have package db entries so they can be removed. > > Target systems don't necessarily need a compiler or a full tool chain. > > Then we can converge on a consensus set of basic tools that most people > > will need, with the opportunity to remove them =E2=80=93 rather than cr= eating a > > mini/micro/nano-FreeBSD > I just hope it doesn't bring us the "joy" known from Linux land where a > failed update (in this context: of application software, here: installed > ports / packages) will render the whole system unusable beyong recovery..= . > "even the kernel is a package". ;-) Thanks your for replies,=20 I have probably mixed different things into one bag. Base should be as minimalist / configurable as people need. If you are doing embedded indeed= you don't need toolchain on your target system, all you need is the binary code that does exactly and only what you need. What I meant is probably not "bring rust into base", but more like "allow Rust(or Oberon, or any other language that fits the purpose) software in th= e lower levels of the system", without compromising flexibility/configuration= of the system. And breaking base into smaller packages would help greatly here= . > That is a "longer term goal", but development is heading into the directi= on > of making the base OS more modular, and finally abandoning freebsd-update= in > favor of "pkg for base". It would enable FreeBSD to become even more suit= able > for "specialized applications" where you intendedly want a minimal or > tailored footprint of the OS. Polytropon, can you share elaborate on this? Who is doing this? How can one participate in this effort? Thanks, Ihor From owner-freebsd-questions@freebsd.org Sat Jan 25 05:37:44 2020 Return-Path: Delivered-To: freebsd-questions@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 6E7C62341A4 for ; Sat, 25 Jan 2020 05:37:44 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 484Psz2J6Hz476j for ; Sat, 25 Jan 2020 05:37:42 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1579930663; x=1582522663; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=OsZS3chHoURgnrRlJuPop0eGtZrdIG03jCcYvN5C3D0=; b=Ez1zTwlgFeeJvXUqaqVfXiRvohcuAGwPBlT+bJE/EKzE+pgnyc7iKzbw4YlJgb4rQIK7CJdlALBjIHIWhjh8bWEXqJikUrIt3kdPwlyOosof5TbLwgB4eWrR+mteHFrobD1CREFR9U0eSFsur87q39gMWAItn91sjywuqtI6Oqk= X-Thread-Info: NDI1MC4xMi42ZTAwMDAwMTA4NjlkZC5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r2.us-east-2.aws.in.socketlabs.com (r2.us-east-2.aws.in.socketlabs.com [142.0.189.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 25 Jan 2020 00:37:41 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-east-2.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 25 Jan 2020 00:37:39 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1ivE8X-000J6n-Qs; Sat, 25 Jan 2020 05:37:37 +0000 Date: Sat, 25 Jan 2020 05:37:37 +0000 From: Steve O'Hara-Smith To: Ihor Antonov Cc: Polytropon , Michael Sierchio , freebsd-questions Subject: Re: Rust in base Message-Id: <20200125053737.5af7fefe1f94404210c9cfb3@sohara.org> In-Reply-To: <1678077549.5929.1579910015816.JavaMail.zimbra@antonovs.family> References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> <20200124221319.d4e7fa438cbb1f30da10af2d@sohara.org> <20200125003136.a1485866.freebsd@edvax.de> <1678077549.5929.1579910015816.JavaMail.zimbra@antonovs.family> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 484Psz2J6Hz476j X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=Ez1zTwlg; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.10.freebsd-questions=freebsd.org@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.10.freebsd-questions=freebsd.org@email-od.com X-Spamd-Result: default: False [-1.81 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.966,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; FORGED_SENDER_VERP_SRS(0.00)[]; NEURAL_HAM_LONG(-0.97)[-0.973,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; ENVFROM_VERP(0.00)[]; IP_SCORE(0.13)[ip: (-0.34), ipnet: 142.0.176.0/22(0.65), asn: 7381(0.39), country: US(-0.05)]; FORGED_SENDER(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2020 05:37:44 -0000 On Fri, 24 Jan 2020 23:53:35 +0000 (UTC) Ihor Antonov wrote: > > > > > > > On Fri, 24 Jan 2020 20:02:55 +0000 (UTC) Ihor Antonov > > > > wrote: > > > > > > > > > So there are 2 questions: - technical one: how bootstrapping > > > > > issue can be solved? - what does FreeBSD community think of the > > > > > idea to have Rust in base? > > > > > > > > Some years back a great deal of work was done to remove > > > > perl from the base so adding Rust (or anything else) would be a > > > > step back. An old BSD goal is that base should be just enough to be > > > > self hosting and be BSD (removing the traditional games from the > > > > base took some discussion). > > > > > > > > > > > As a fellow embedded guy, +1 to what Steve says. Even things in the > > > "Base" should probably have package db entries so they can be removed. > > > > > > Target systems don't necessarily need a compiler or a full tool chain. > > > Then we can converge on a consensus set of basic tools that most > > > people will need, with the opportunity to remove them – rather than > > > creating a mini/micro/nano-FreeBSD > > > I just hope it doesn't bring us the "joy" known from Linux land where a > > failed update (in this context: of application software, here: installed > > ports / packages) will render the whole system unusable beyong > > recovery... "even the kernel is a package". ;-) > > > Thanks your for replies, > > I have probably mixed different things into one bag. Base should be as > minimalist / configurable as people need. If you are doing embedded > indeed you don't need toolchain on your target system, all you need is > the binary code that does exactly and only what you need. > > What I meant is probably not "bring rust into base", but more like "allow > Rust(or Oberon, or any other language that fits the purpose) software in > the lower levels of the system", without compromising > flexibility/configuration of the system. And breaking base into smaller > packages would help greatly here. > > > > That is a "longer term goal", but development is heading into the > > direction of making the base OS more modular, and finally abandoning > > freebsd-update in favor of "pkg for base". It would enable FreeBSD to > > become even more suitable for "specialized applications" where you > > intendedly want a minimal or tailored footprint of the OS. > > Polytropon, can you share elaborate on this? Who is doing this? How can > one participate in this effort?https://wiki.freebsd.org/PkgBase A couple of links to get you started: https://wiki.freebsd.org/PkgBase https://wiki.freebsd.org/DevSummit/201905/PackageBase -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Jan 25 07:26:31 2020 Return-Path: Delivered-To: freebsd-questions@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 A26AE236F75 for ; Sat, 25 Jan 2020 07:26:31 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) (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 484SHV5b9dz4Cmp for ; Sat, 25 Jan 2020 07:26:30 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: by mail-ot1-x344.google.com with SMTP id 66so3838815otd.9 for ; Fri, 24 Jan 2020 23:26:30 -0800 (PST) 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=XbCWrbbc7JIjLJi4EmHXWmAZYZA6pKZQRriCWmhLcGg=; b=T2nLptkpjK3BYNNF0UsDYCy831DhOlTedPnGUNfiSuXCrGFv42qthSBCvpcFmCB88d qw84m9gmUCPLZ66H/QQQyKuVQz2QpMW6TXuj9KOjZZFzQpx8yjLN8g91/w5xroJ1lgfn u4B1wyyWnoz5E0yMF0OjAozqmFB9TNoYjRikP18sLA1DRgfz79phL62EPP7Hu5HVq6Cw OrUxst/tz1tDlpAEBMUHvOHYKYGF6fFiM593V1R7/lBgS1wNuEwSpzvFRhBbFTqCQXsF cyduPGmHNW6sFjcHvmXzUpP2mn3ug5P2DoiAeInBuKVfpStOMguexQgG1vQb3taitqNY 2raQ== 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=XbCWrbbc7JIjLJi4EmHXWmAZYZA6pKZQRriCWmhLcGg=; b=jKPlCAxq++RaAHrxwR43fgqfJ6tkFRslnArQ6Qm/a4srrWMmFTFmHPrS6qiDgRsFAA /8oH8ubeMc0pnCMbvDWv9u5wKZqzgZUDsGgAUsolzq2KzJsUEOFnjRxR+t7hi5GRrq5x 082q259FajDTOtkwTRovxynMb7J5535nvtTahVfzMjP0EQwWn3jqv1Mw7WNPTPpslROA 9v0qkrUZDAcPMU5oJBVKBmVDcwW0ZM1gdUos6P45s+yIxJbSDP1yXYpq4y0Rusa0dS6a WUG0eCjPZwtBJa56u9Y4i6UIVmhVdAexFHfHuqBOMsvCpCBsc/UunMecey1EuF85xVBN 9ksw== X-Gm-Message-State: APjAAAWsbGnFd2gRZzrSmTwf6YLPvofghz/n5btCd9s6cm0ApBZqBA/R fIJNJpJvGzpMHPHQXiKqQnwPoo9q0xjePSxqelk6pqB4 X-Google-Smtp-Source: APXvYqwEjgipB2G80fXVXVnpfakcLDNi2VPrbfpRelrrpL/Qzjhb29hpqATrqHi3DEX2LGK5Wp5O/v1u2EA3HY+irvI= X-Received: by 2002:a05:6830:1401:: with SMTP id v1mr5493045otp.360.1579937189802; Fri, 24 Jan 2020 23:26:29 -0800 (PST) MIME-Version: 1.0 References: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> In-Reply-To: <775662956.5865.1579896175788.JavaMail.zimbra@antonovs.family> From: Rares Aioanei Date: Sat, 25 Jan 2020 09:26:18 +0200 Message-ID: Subject: Re: Rust in base To: Ihor Antonov Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 484SHV5b9dz4Cmp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=T2nLptkp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bsdlisten@gmail.com designates 2607:f8b0:4864:20::344 as permitted sender) smtp.mailfrom=bsdlisten@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)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.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]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (2.97), ipnet: 2607:f8b0::/32(-2.05), asn: 15169(-1.80), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; 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] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2020 07:26:31 -0000 On Fri, Jan 24, 2020 at 08:02:55PM +0000, Ihor Antonov wrote: [...] > > There is a growing interest in Rust language and if FreeBSD allows to add rust code in base it would allow to attract more contributors interested that are interested in developing operating systems. It would also be something that Linux does not have. > Personally I don't think there's a competition here, with Linux or any other OS. > > So there are 2 questions: > - technical one: how bootstrapping issue can be solved? > - what does FreeBSD community think of the idea to have Rust in base? > > Thanks. > > > Ihor > > > [1] https://www.leidinger.net/blog/2019/01/27/strategic-thinking-or-what-i-think-what-we-need-to-do-to-keep-freebsd-relevant/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sat Jan 25 12:33:29 2020 Return-Path: Delivered-To: freebsd-questions@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 4E78723E423 for ; Sat, 25 Jan 2020 12:33:29 +0000 (UTC) (envelope-from hamdi20193d@gmail.com) Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933]) (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 484b5h0fQ1z4SV3 for ; Sat, 25 Jan 2020 12:33:27 +0000 (UTC) (envelope-from hamdi20193d@gmail.com) Received: by mail-ua1-x933.google.com with SMTP id h32so1814083uah.4 for ; Sat, 25 Jan 2020 04:33:27 -0800 (PST) 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=qVld3hrmKQmINsm5uSbRp662J2MfLZhALP4h0UbUnrY=; b=qlCFNCRE7xhMns/Bbx7jNTSy4KYZNv3Gw6K9wX15aB7brbrmrIEAGykfS9R7PGrBI2 t2MNGIaYsLmSQaT0Era3z18j0eoJprEg0d1QrOIIC/AYvwoV6EizMGNnlJKjxU7aKQsZ nAw1qsfnaB+sPmkIFFKgu0w2iauMCesDwlIGZEmc2ge4kp77tHQw5v27Bx0liVpt0Z+L RCLDxes3oQJ49RGqMzKAmxm7XWj6ROUetjJ77m2DyLaclJhsWxX9W0B9kZrf51Lt5m29 Xoz5Acwiz8DqoysmBky1UgyyEua/Uhb6b8uY+LDRANyELSDSAsJX9ehtOd7dNZWc0FCj OtsA== 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=qVld3hrmKQmINsm5uSbRp662J2MfLZhALP4h0UbUnrY=; b=hsd+kd5AFyWphhtSq0kH6wgkjW5Heip40s0Z7Y2Dv6fZM9Q1le6GO/AuVsTkgHWB8R MkOt1iW+T5mjiZXr6hNLBKu+MgZ1GEzCDumC+5kzstW9f83I2TO6xGWVzzCHxIecwWaq JDcvRXKoNXdjre89YMuY07M4nU9Gfak5WNoV6Z8BH0ZLeMDuA0PytnbKzDjjPUJCWPDq m7wQoikwJI946dM1F4bU4PdadVlLI/7vBhku5PIp9R+psHu46vL82YOyEWAZdYNmBLak 2qrNdztCHIlugntHyQie/0XHzX6pb6YRUzkWRoov8hE5JDWiLe4alTcUA4XJo/G6g8Wm fXeA== X-Gm-Message-State: APjAAAVSa1XFI6nXEB0BjIsbJagkZmhggSJirrMgli/ti+lMnRxJiudW DSP3oQTUIhgqPApFO2f7McHzKRP8o52D5DrgGzyYcTjeAtg= X-Google-Smtp-Source: APXvYqw8l/G0JfnoN0tkO+r+Ve1IJq56O8o5Ti1ccyg5hUDMqo3hDk2VvPr8YVDlKKnDIYWRggtcBfGGr40dezC/VGY= X-Received: by 2002:ab0:3415:: with SMTP id z21mr4737963uap.9.1579955606643; Sat, 25 Jan 2020 04:33:26 -0800 (PST) MIME-Version: 1.0 From: Handreas Date: Sat, 25 Jan 2020 15:33:14 +0300 Message-ID: Subject: FreeBSD 12.1 sysctl optimization for Web server To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 484b5h0fQ1z4SV3 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=qlCFNCRE; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hamdi20193d@gmail.com designates 2607:f8b0:4864:20::933 as permitted sender) smtp.mailfrom=hamdi20193d@gmail.com X-Spamd-Result: default: False [-2.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]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-9.45), ipnet: 2607:f8b0::/32(-2.05), asn: 15169(-1.80), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.9.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]; NEURAL_HAM_LONG(-1.00)[-1.000,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-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2020 12:33:29 -0000 Hi everyone. Could you please have a look at the following sysctl.conf optimisation of mine on a FreeBSD 12.1 box that'll be running only on the purpose of web serving with a good amount of traffic, PHP-FPM, Nginx and MariaDB, with 10Gbe NIC card, 2 Gbit Up/Down connection: https://pastebin.com/TWL6DfFP The priority here is, stable Nginx connections/requests, and fast enough. The server has enough hardware specs, carrying 64GB ddr4 ram and a Xeon cpu. Any suggestions, additions would be much appreciated. Thank you. From owner-freebsd-questions@freebsd.org Sat Jan 25 16:21:00 2020 Return-Path: Delivered-To: freebsd-questions@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 A57AC1F36AD for ; Sat, 25 Jan 2020 16:21:00 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05olkn2099.outbound.protection.outlook.com [40.92.90.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 484h8C1mWVz4gF0 for ; Sat, 25 Jan 2020 16:20:58 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TlEAfsh4u+R/NXMB+lY6TWlzJD8eC99kaLjq0E2rN1OlmwCiQqMUyFMORY9RYgB1yXh0yWRdUuQVzR/pbL4PXgjLEEgPGV99FCsboWuJ3XAg85TZvR6n2G3l0TD8rlBetoGKPTvL8LmDUHsM/P6fEub59Fz2LY06jSzQPEJrAbkXfSOkZl5qKoGwJIu9BQ3zAR8I6HmhINNlaIRvd9evznqepFa5FV2yIYA00VNq6OwrxmjQTgKgUdnF010v9yAZRkyn6hS2JMa9MY/p1g01AhXmubbCZ5yN48g/CNuikrLW+orUB6sMvoSX/jRpupIInkRcLGFzKmVB6JRbx1uXDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kDbvlIFU9vLJz+izw1DAChC4Nl5nvd13ZAsm5A/dfkg=; b=KjvEJk5oWGquiuktGRxC/+DU51t/y7sJG225kySqDbmNq4M3wVO6rtSF5sESBu73YYxSzmGyidW6tid88MQm5O89qVQgudvYh9mVtNbMa0N4IiOhVujv9T81ueio0zKdB3Vqun2hqHZbByO9aY55e8TxoJ07sivx17t5DX/1O2HNjnqKZvP6PyJmCUJS+7gX23Isv+FihK0q64k1RBI7uVkUz+KLsngd3Jvn8buoTVfhiwY9jQ7NkXDYY1mXMuxFfgIsywXu9+l10ovSAMkfxS0OE5ZcauLQEAfaIRYVcO9VWtGq8K1QZ1OSmvX5n6yD2rHekHneVTUfSTwmFqRIbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kDbvlIFU9vLJz+izw1DAChC4Nl5nvd13ZAsm5A/dfkg=; b=QFT+pi60D4WJ6rtmK8CM5UkJDv3Sl12pEctNlCW+PKMy+4ZFmDB3BcVAlSkVZa/FARbr21CGkmUosX9LpPBSlIUU+Y2v/2yeptkDjEvfiPCmfKSqErviiZv9tBofIS0H8PqH/rU/iH6D8QX8wNHviLB4jbP2otdGGanXbVANo3I7wJ/mhazJg1fuCfMZSll3QZgGCyU0PzkN5vVxBcxp+l6QxfKpH9ISm0Hj3L6PJWU3hLNT4CqanEpvrCRY4BEnPfaWLIrGyBZIPfhHWF78/1tFh8QODVIOF116dwN2kQuEVfsnUWgi852nz7J+3uMVGv1YtZgvtWJ1n7m/kEzZSw== Received: from DB8EUR05FT005.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::34) by DB8EUR05HT063.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.18; Sat, 25 Jan 2020 16:20:57 +0000 Received: from VI1PR06MB6448.eurprd06.prod.outlook.com (10.233.238.54) by DB8EUR05FT005.mail.protection.outlook.com (10.233.239.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.18 via Frontend Transport; Sat, 25 Jan 2020 16:20:57 +0000 Received: from VI1PR06MB6448.eurprd06.prod.outlook.com ([fe80::e5a8:5481:eda6:4ac7]) by VI1PR06MB6448.eurprd06.prod.outlook.com ([fe80::e5a8:5481:eda6:4ac7%3]) with mapi id 15.20.2665.017; Sat, 25 Jan 2020 16:20:57 +0000 Received: from fbsd12.local (117.203.21.8) by BM1PR01CA0103.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.19 via Frontend Transport; Sat, 25 Jan 2020 16:20:55 +0000 From: Manish Jain To: "freebsd-questions@freebsd.org" Subject: Virtualbox shows only 32-bit machine options Thread-Topic: Virtualbox shows only 32-bit machine options Thread-Index: AQHV05tsy0Dz7Eacs0mykJIF/lB5XA== Date: Sat, 25 Jan 2020 16:20:56 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0103.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::19) To VI1PR06MB6448.eurprd06.prod.outlook.com (2603:10a6:800:12e::13) x-incomingtopheadermarker: OriginalChecksum:579F454ADD68A2CC9B0179EE9B62A2BFB7DD2E05A7FC28790F2AB92BD18A7DF6; UpperCasedChecksum:C7EE6C539B43489190F6D32AD27B3170B110603A555B4260BD24508F0C80BA56; SizeAsReceived:7360; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [VAAcPqOtvLohUSQR/C/+lfeRdW24QI6g] x-microsoft-original-message-id: x-ms-publictraffictype: Email x-incomingheadercount: 47 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 5991ac0a-d958-45dc-79f5-08d7a1b28e72 x-ms-traffictypediagnostic: DB8EUR05HT063: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AXU3SDcBZL70KaD+6UlyKcYZzbwEZuXPVe8MiTm1L2eOitHkcv3OSA+dAki43ZBKTLDqylFILJaK+7rZySuEe6Qoo2S86L9pl1N2PXnpiXJ5+Kmk828IwzUfy7tJ4wpK8pwQ/veh2oJ6QWbINbaHq7eZH7KcqdL7N+RbzR0yk1B8pVuWn+R9UzVfoHUeaKfV x-ms-exchange-antispam-messagedata: uTPCWT7b5qO0kkTg4tKDFTmI5VhHJjqBc7E72lW9Vn+Kypm5Yqd7qvVzGB9QWn8gJjky5awcz0U4W0oKYI+16Lm+EfXoo89idbXsuH+AcsXZbyV2a8ND0wl1xbFlK/csvA/+jOTWQSkYnHecGWst/Q== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 5991ac0a-d958-45dc-79f5-08d7a1b28e72 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2020 16:20:56.9729 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT063 X-Rspamd-Queue-Id: 484h8C1mWVz4gF0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=QFT+pi60; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.90.99 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [-3.90 / 15.00]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; FREEMAIL_FROM(0.00)[hotmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; MIME_BASE64_TEXT(0.10)[]; RCVD_IN_DNSWL_NONE(0.00)[99.90.92.40.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(0.00)[ipnet: 40.64.0.0/10(-3.83), asn: 8075(-3.03), country: US(-0.05)]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[8.21.203.117.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; ARC_ALLOW(-1.00)[i=1]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2020 16:21:00 -0000 SGksDQoNCkkgYW0gb24gRnJlZUJTRCAxMi4xLVJlbGVhc2UgYW1kNjQuDQoNCkkgaW5zdGFsbGVk IHZpcnR1YWxib3gtb3NlIGFzIHRoZSBkb2N1bWVudGF0aW9uLCBidXQgd2hlbiBJIHRyeSB0byAN CmNyZWF0ZSBhIG5ldyB2aXJ0dWFsIG1hY2hpbmUgKFdpbiAxMC02NGJpdCksIFZpcnR1YWxib3gg c2hvd3Mgb25seSANCjMyLWJpdCBvcHRpb25zLiBUaGF0J3Mgbm90IHNwZWNpZmljIHRvIFdpbjEw LiBFdmVuIExpbnV4IG9wdGlvbnMgYXJlIA0Kb25seSAzMi1iaXQuDQoNClNvIGhvdyBkbyBJIGlu c3RhbGwgYSA2NC1iaXQgdmlydHVhbCBtYWNoaW5lID8NCg0KDQpUaGFua3MgZm9yIGFueSBoZWxw Lg0KTWFuaXNoIEphaW4NCg== From owner-freebsd-questions@freebsd.org Sat Jan 25 18:05:45 2020 Return-Path: Delivered-To: freebsd-questions@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 3B88D1F571C for ; Sat, 25 Jan 2020 18:05:45 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic302-21.consmr.mail.ir2.yahoo.com (sonic302-21.consmr.mail.ir2.yahoo.com [87.248.110.84]) (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 484kT30rrzz3JkV for ; Sat, 25 Jan 2020 18:05:42 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: c0OGr_oVM1k5hxystBZ.Y7tBX64uF4FxAakpA.9AUGCpUwskja0yGxdwQsX8eJt 07VIwYtvyZPKdARtZLSixce553bVwf4jvFwYGpbow0BwVTioJmquSE8t.WEZZhfFPbPi6HvaQHuH vL24_1cNnBQG817ibgf6J8r7BZ1SkL2MWNS4XBXjsNjUb6qNunDSlrspcv.9jskIjdioQ8kAP9qs cKdV2zgLiw3CAR0AGgJ9mSWA3s69kHyujy6y0WA1.8iA5Z6kW1n4UbVe1eLp04A6_QD10BAzAaDR sXNhvB9we4_c7HmTVGiZpCf9enJQtxZDsJT0ninGjXOEmNeKpQ3.MIxkOgx3HBNiv.b.0fczobbo hipFEqJMQttfZ7rELMVUAnO98X9EW19OoD7VHC8hF5Zo7jVnyuxcKY2YMxqcox.UHBcxuEYBLwmo nw6WmL1MAogYeIhHDBNRb4RQDPU3I3f7piIB9W9p2hHmTk90vKqqpoFEc7eJQQBn4N9aakVaJohM 18.EcTl6G4c1XZVfYUSdudALO8X1tMclPmXATObvE4D_e_vPi9eQQpU8PJnvmn5UPJNR2X2Eq8To sldm9LqkEUV1oh_4NNuVKjLlajOTONxnFZfkwWlcyg1PAFYRQ2Kns70R3yiCAV3Uk_KgpkPUgmOc kRmTY7ZJo8McnM.LvZD9nANSCuMwzkkMkN7tCBF4gIZ466OnHSThd1SLi9x60p8FZqcmixSuCxiY cJG45BsrC2e5OKASt8nptdREU3b2sj7j5oUa8uhIkVgZMhJVN1W3Qro9jxc3jwAQNZeCzhPMuc.0 cjoO6.dApGkXSeduHo8jv.mCjwQjW1rV6Wx8UNeM8qpgSJIokj7r_cjt7FqR1So8bIwXu.x1rWY8 PVedRMgjQNfdz338PnmOhEeZKEGpGRnXOTRBWzET5J2up_vGETVwTjA.eHoECopA.2lnzuqf7jVL UIX52oQ0iJDW7N7PKavraVb3k92FRccIH3vQ9vmq0GgWYyyfm9QyrqfRpLemNDPP4._cvPiG4soG p4cnSg1wiGrVAKjg.3wc3omi5ysMtvj3V_McCq1Icw81AxPHqUFog6WW1i5FB6wEXp9Mz3n1lPx5 fmbnkKezXTqq4eyiwna3qEMEQN.kP9QWoQAI5DupM6wdcRuHgQUh2ZsXAsN10Np1O_ZMmhbIKd3F THeSoiwLbgglA4ktaBnJisFcRwqZwWBAyhtT0K9B5UUinJMBIG7To1XJlKKR4wJqGXiX95IK.wd0 C7emMWLzuXzj1ivwvFDzBHC9xlqZGsFBHWbbtlu1tvwzC2aNvt5WpInyXT4ks_w4LGos6Qb9kLJV sUlFR2O.sIJzgec6tDbKH.6g6XvGIuMf3yHAFs4RGvrpC6vuLW_YEm1rn5mCIj69yYTtAX28M2lz .FlPKM69U7pr_Bw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Sat, 25 Jan 2020 18:05:39 +0000 Received: by smtp426.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 02f4e4e2b85a762fa3c393d50547e99c; Sat, 25 Jan 2020 18:05:36 +0000 (UTC) Message-ID: <14c8c7019bd0060944e3ba5a79561502673c53be.camel@rocketmail.com> Subject: Re: Virtualbox shows only 32-bit machine options From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Sat, 25 Jan 2020 19:05:42 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.3 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.14873 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_181) X-Rspamd-Queue-Id: 484kT30rrzz3JkV X-Spamd-Bar: - X-Spamd-Result: default: False [-1.13 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rocketmail.com:s=s2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[rocketmail.com]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.45)[0.452,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.59)[-0.586,0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[rocketmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[rocketmail.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[84.110.248.87.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (3.01), ipnet: 87.248.110.0/24(2.39), asn: 34010(1.73), country: GB(-0.08)]; RWL_MAILSPIKE_POSSIBLE(0.00)[84.110.248.87.rep.mailspike.net : 127.0.0.17]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[rocketmail.com]; ASN(0.00)[asn:34010, ipnet:87.248.110.0/24, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2020 18:05:45 -0000 On Sat, 2020-01-25 at 16:20 +0000, Manish Jain wrote: > I installed virtualbox-ose as the documentation, but when I try to > create a new virtual machine (Win 10-64bit), Virtualbox shows only > 32-bit options. That's not specific to Win10. Even Linux options are > only 32-bit. > > So how do I install a 64-bit virtual machine ? There might be virtualization settings provided by the BIOS of your computer and/or by FreeBSD that needs to be enabled or disabled. Perhaps you even need to update the BIOS. Even while a missing Oracle VM VirtualBox Extension Pack shouldn't matter related to the available guest architectures, you never know. If the Extension pack isn't installed, consider to install it. On a Linux host running the Oracle branded non-OSE version, I always need to fix the *.vbox file after installing a new release of virtualbox, resp. after installing new guest additions for a Windows 10 guest. I don't need to do it for a Windows 7 guest. For the Windows 10 guest I get "Cannot register the DVD image because UUID already exists", even while the guest additions were ejected from the virtual DVD drive. It requires to delete the entries between "" and "". On my Linux host I fortunately are able to run the Oracle branded non- OSE version. While it's said that nowadays the OSE version is the same as the non-OSE version, it's actually not true. Differences between the OSE and non-OSE version already start by mouse cursor rendering. In my experiences with Linux hosts the OSE version is way more a PITA, than the non-OSE version is. Oracle seems not to provide a non-OSE version for FreeBSD. There are way better, less failure prone virtual machines than virtualbox available. I'm just using virtualbox, because it's the easiest to set up VM, e.g. regarding shared folders or even how to get the desktop visible on the host. However, if for what ever reason virtualbox should become more a PITA than it already is, I would migrate to another VM. Virtualbox always is a little bit fishy. It works for me on a Linux host, running Windows guests for a relatively short time. It already is risky to run guests for a long time, or to rely on USB, if a connected device might disconnect the USB connection, regarding an update done for the connected device via the guest. In my experiences it needs to be carefully considered, if the advantages of using virtualbox outshine the disadvantages, compared to less easy to set up, but more reliable VMs. Hopefully somebody is able to answer your request regarding 64 bit guests on a FreeBSD host. Anyway, keep in mind that virtualbox has got pros and cons compared with other virtual machines.