From owner-freebsd-questions@freebsd.org Sun Mar 22 13:30:43 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 B1725261517 for ; Sun, 22 Mar 2020 13:30:43 +0000 (UTC) (envelope-from dvoich@aim.com) Received: from sonic317-26.consmr.mail.bf2.yahoo.com (sonic317-26.consmr.mail.bf2.yahoo.com [74.6.129.81]) (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 48ldgQ09L7z3JXl for ; Sun, 22 Mar 2020 13:30:41 +0000 (UTC) (envelope-from dvoich@aim.com) X-YMail-OSG: eGek1L0VM1lPSmqfWXKoWSzAfsdwWhbJ_vT7GVuT.J2VwRNtxgvU1e.sx.9joyU 6BSj38yptv1g_hYYm._ZfcvWHnUQCRSpqXp3h_CYeOriXy_PQVXxQFPxaWD3nxAqozwkPORaRSB8 uaWS22HNr58KZj3IuuPUFqx1hsCp.5CqRaznodkbRvW0hFJ54QyDWF8oAb.WoPgPKrjAwJKCMGLL v5kYRXKqT3T3mrN67Rw0JJFZ3utIKCquSh5DWG.ZseBLhUxtucrqy8Juw3.6gVHMWVuy94r43faA 5H1V8kMleZkX9DRoBOCyTvCQhQZ37S1pDzNgq60Ltc7uuzZGdP.4HazOgPDDfCMoML7m5orsAMt_ rksTRvO4VhiNv2krYEt52ekwk4jISBXA_IgCD18te8R2PTMxscnw0st1njqLW8zhl_DUju4ycF3I V.6nplTcONWIll9vmVTqUbecx4b0_uk2lkv76I92zhy7mYZ74L0pLcxxiIKa.zyiGjiHeNe2K0Px JhIjndTw88nmew_8DPzSQtEbNX0o6Hte4fwcUGpfYTlWs1hSdQwaHinE6bneGTPM6qkfQYSuHe.H LVhFGZmJqHOtnK.L.wywqDS3QWqBPVp20g4x8GzMqqMAVP2fNU6qoa5__T8yx_pncWPYXR1Wx1qE HIUR6owtZW6Ocm87jepGFSprxDZocCOTOVMNmXxzX0Z1q.pfEvEx0iZlzVg1KvHCFF8gLj60zsxD a4A.4NjYRe6u1s9IM5ruQOfcrcNdePhT0qbzbrj703dC0HQDexbWTbufpq1H36I.YktQBSjJh6_o WzK4F1WaUtx0BiC2SJ3MCvJj.xrNHhPba1BggaSG9FsjfFwl0LgtEmzUzljG9u15bHKpWbP81K_M dpLCtPM_FV9PlPFjU6AfXcWpQaq9TiIQvB3NoQhh73M9Mi9R5ZfIfk5AMuj7NX_rnNJdSBcPBGqg D_ZXupjm1uTuhJeb4M6.QL6p4vqflS21SrSyEGRyvRN8gV0tX.HvwakqXnQoPCajzuj_6u0Bfdff z55nFhOEgCFZPFJVyW51bnQQD7Xcqaf2ZRGOhKzDEfOhQmCYyxmTUTDrHgg32Trcvi9jBz2fdKJH giuLqyEZge8suHtLxXbUt8iVRhLiCWStzwrrdRkA8qI.5QHo1H_JfxlFqMVcxZFjpUFL7M7x1KmS ZXvyp4UYVEpTPtVbqeYYbnF1_0StBqUUDAOT3M7aNGHVDfmsKSI01oLazAM6ycX5.KPvrJeHO_Lf RL8jXI.pd4jzVk5__1IW8KRK8lEVmc_zaJdQPQWqVcbhastI_C5eYn.fJS6Ugb4LymL.2oliFZsi CclR5YCTGqZqWvz8kwoHImOOLe4369sj43sY7j4yo4AiLd16JfHzO5_4Fu.gSpeMK Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Sun, 22 Mar 2020 13:30:40 +0000 Received: by smtp419.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 87a3cbf6211468814cfc12afe7222ccb; Sun, 22 Mar 2020 13:30:38 +0000 (UTC) Date: Sun, 22 Mar 2020 09:30:38 -0400 From: "Vlad D. Markov" To: freebsd-questions@freebsd.org Cc: "Vlad D. Markov" Subject: Re: sane crashes Message-Id: <20200322093038.1f6933c3e68d6622c7d39427@aim.com> In-Reply-To: <20200321184307.8fb232b54dd802ae8c0a11bb@aim.com> References: <20200321183703.9566f2b45dd4193a51381291.ref@aim.com> <20200321183703.9566f2b45dd4193a51381291@aim.com> <20200321184307.8fb232b54dd802ae8c0a11bb@aim.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48ldgQ09L7z3JXl X-Spamd-Bar: + X-Spamd-Result: default: False [1.40 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:74.6.128.0/21]; FREEMAIL_FROM(0.00)[aim.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[aim.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[aim.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[aim.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[aim.com:s=a2048]; URIBL_BLOCKED(0.00)[aim.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.28), ipnet: 74.6.128.0/21(1.29), asn: 26101(1.03), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.90)[0.904,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.993,0]; RCVD_IN_DNSWL_NONE(0.00)[81.129.6.74.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[81.129.6.74.rep.mailspike.net : 127.0.0.17]; FREEMAIL_CC(0.00)[aim.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, 22 Mar 2020 13:30:43 -0000 On Sat, 21 Mar 2020 18:43:07 -0400 "Vlad D. Markov via freebsd-questions" wrote: > On Sat, 21 Mar 2020 18:37:03 -0400 > "Vlad D. Markov via freebsd-questions" wrote: > > > > > I am having some problems using sane for scanning. > > > > My version of FreeBSD: > > FreeBSD happy 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64 > > > > My version of sane: > > happy$ scanimage -V > > scanimage (sane-backends) 1.0.29; backend version 1.0.29 > > > > I have tried multiple approaches to get things working: > > > > The scanner is an HP so I set the URI and tried: > > > > happy$ xsane "hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37" > > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. > > Abort trap (core dumped) > > > > Next try: > > > > happy$ scanimage -L > > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. > > Abort trap > > > > Recompile minus Avahi: > > happy$ scanimage -L > > device `hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37' is a Hewlett-Packard OfficeJet_Pro_6970 all-in-one > > > > Maybe this will help the next person. > > > > Vlad > > > Jumped the gun here. The last method also has an issue when doing a scan: > > happy$ dbus[8796]: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3311. > This is normally a bug in some application using the D-Bus library. > > D-Bus not built with -rdynamic so unable to print a backtrace > > > > avahi-daemon and dbusd weren't running. For some reason they didn't start via rc.conf. From owner-freebsd-questions@freebsd.org Sun Mar 22 14:24: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 3FE1A262EB1 for ; Sun, 22 Mar 2020 14:24:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (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 48lfsX56Czz3NjL for ; Sun, 22 Mar 2020 14:24:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.94.224]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1N5G5b-1jNThd0MdR-011DHt; Sun, 22 Mar 2020 15:24:24 +0100 Date: Sun, 22 Mar 2020 15:24:24 +0100 From: Polytropon To: "Vlad D. Markov" Cc: "Vlad D. Markov via freebsd-questions" Subject: Re: sane crashes Message-Id: <20200322152424.6fd38112.freebsd@edvax.de> In-Reply-To: <20200322093038.1f6933c3e68d6622c7d39427@aim.com> References: <20200321183703.9566f2b45dd4193a51381291.ref@aim.com> <20200321183703.9566f2b45dd4193a51381291@aim.com> <20200321184307.8fb232b54dd802ae8c0a11bb@aim.com> <20200322093038.1f6933c3e68d6622c7d39427@aim.com> 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:x1HvftNq1hHyhamww0ufR90dpZiEbe5YL7xR60z7PbsJarxapYD 91BJCR9chk9As26U4KA80LzDWIkoydTf4bpK+QXvkluHz+UX9e4YGiil2P2rub+j25cq/Rs u/8ZjiZzRkl+jMAUY9AVGExQJF4rCnE5BNOGBySqk+B+EBF4JUPF4G1AbOKlAzy3lGsoGg+ W6icEVqURxWTBPeFxvBNA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:zaf0pzo+R9o=:RzrAWZWFntxcyvaJTA10vm vxKWfMfL4pZYUNEXRKLyuGW7VplDgMU7JXcfHwBHV6ycIpBLgRqFFcFYlMLdO48DfUwoxlE9l qPoCO8/8N/XTpKrvqUXpFmeaKhdX+MveOJoRf4xmUScui1Xa8jkz2Qtr7w9vdwrSqvow5QW7B aSxM0d6tVDMQJZGmzdYD8YnW9URTET5x/I/ojy+Z44+eDIBy3xPZJ+TCUfIXHdCJIMbeC4jKl cV/HecJHdfriVzyRyUStP2VyK4reUBZwME9gEKk/6PB0AtvjL+wTvHLMSFxwLqKSdSKGMMzgz 8Vfuy1GPQ8bqqMVzr+uXyqOoEaQ2FYQDjenNE7ABG5qKKdSbNBvT/yti7uI3IeN1t6+zpLJlO 5I88b9buEtlHGO01Sc+GUu2p7OJmIEM/s9fTehyyG+3sesqZRyM+a4KhQOiNIHUY1U24S9q+t +qNGyqXJ1Q0ibTslHLCATY4/VHabzbQFmEluBjOx9B73SAem7OcXFarpvhe9I685JJG1qjtjA ADyqLbKGO0WhzfWkgs7v1xZwahblB58px2OgztYCISdf7KO9dQrLsVEVA9KL+KA9FhzqbRwhz 4hXsYU5JoVC4CbTiUwBjF/5JTHpBKrQRxs9iP6/fcNFQioMVjs4vjQDBAml4O/yue2ZeBLHf/ ABg5sfmw4v5Wxmqkj2XnODnJkL1yR41R5iOLkCWtLuXf9eCxaMGU0l8LuUsukEt//a43awBoM i3peeyXcxz+Q9lxtCS6s4IBIeQ3672vD96Wlz8rtXZPmyPz7AYLFhx4iHYVPsd7de4GBp0gGX xUTRSM8X1Z08BAGLicK0/DftEpI8X+1oa4tivBoEGAxsgD8v3GCusDPR5r+pjnIHFzlDwWJ X-Rspamd-Queue-Id: 48lfsX56Czz3NjL 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.73) 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)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[aim.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(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:+]; RECEIVED_SPAMHAUS_PBL(0.00)[224.94.5.178.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(1.00)[0.999,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[73.192.72.217.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.54)[ip: (0.17), ipnet: 217.72.192.0/20(0.36), asn: 8560(2.17), 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, 22 Mar 2020 14:24:35 -0000 On Sun, 22 Mar 2020 09:30:38 -0400, Vlad D. Markov via freebsd-questions wrote: > On Sat, 21 Mar 2020 18:43:07 -0400 > "Vlad D. Markov via freebsd-questions" wrote: > > > On Sat, 21 Mar 2020 18:37:03 -0400 > > "Vlad D. Markov via freebsd-questions" wrote: > > > > > > > > I am having some problems using sane for scanning. > > > > > > My version of FreeBSD: > > > FreeBSD happy 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64 > > > > > > My version of sane: > > > happy$ scanimage -V > > > scanimage (sane-backends) 1.0.29; backend version 1.0.29 > > > > > > I have tried multiple approaches to get things working: > > > > > > The scanner is an HP so I set the URI and tried: > > > > > > happy$ xsane "hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37" > > > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. > > > Abort trap (core dumped) > > > > > > Next try: > > > > > > happy$ scanimage -L > > > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. > > > Abort trap > > > > > > Recompile minus Avahi: > > > happy$ scanimage -L > > > device `hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37' is a Hewlett-Packard OfficeJet_Pro_6970 all-in-one > > > > > > Maybe this will help the next person. > > > > > > Vlad > > > > > Jumped the gun here. The last method also has an issue when doing a scan: > > > > happy$ dbus[8796]: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3311. > > This is normally a bug in some application using the D-Bus library. > > > > D-Bus not built with -rdynamic so unable to print a backtrace > > > > > > > > > avahi-daemon and dbusd weren't running. For some reason they didn't > start via rc.conf. Do you have dbus_enable="YES" in your /etc/rc.conf file? Do the system logs contain an error message about why DBus could not be started? (If you're using Gnome, the related _enable variable usually implies starting HAL and DBus.) Reacting to a non-running DBus by core dumping doesn't look very good... oh, and according to "man 8 avahi-daemon": Upon startup avahi-daemon interprets its configuration file /home/lennart/tmp/avahi/usr/local/etc/avahi/avahi-daemon.conf and reads XML fragments from /home/lennart/tmp/avahi/etc/avahi/services/*.service which may define static DNS-SD services. Because /home/lennart/tmp is a standard system configuration location present on every FreeBSD box... ;-) Source: https://www.freebsd.org/cgi/man.cgi?query=avahi-daemon -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Mar 22 16:36:19 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 A0A4B2669AA for ; Sun, 22 Mar 2020 16:36:19 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Received: from sonic310-24.consmr.mail.ne1.yahoo.com (sonic310-24.consmr.mail.ne1.yahoo.com [66.163.186.205]) (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 48ljnY33Bwz4WKb for ; Sun, 22 Mar 2020 16:36:16 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) X-YMail-OSG: XVBmrS0VM1k1dAvEHnNv6djJgunjqx43Ley88dAyv79Zf02BizmtRLs6WnOqNJV .FPl.yo0uvKVawQUUw2ikDo0WVx5e4IUhFvu8OLWUI37HspEA94sRFMj6kUN7pS7FI0.8jNTADH0 vt8H9n66Fs8J3mJiiW8qsTYxKiCISa_lQGil8pBmjTuF0slsYTRZTt2xrKyegs.10EgYRRwG5c7a cshMH4lyI3hSEWbYrQosF22IvLIclCI_ihE.5fpqm7fIAZytWGMMMNqpOTvaUk3uj16QXIRNp4yt qX4qBTl_RKRD4Af2xqXmnKdgYI0Au5ykdWakLrNF70V9zypVDtwVrcg99EIubKX3X3Oj0esFULcQ oVPJisLABUbZPdfJPmMP8Zg2saiD5CB5Xx8j5apu8l1vDhPW4WVsuMSsq7B3KUJqAJzlXzm8CK62 axzJzO6ubEO4scgzQNaZ29C1VOHTGLG.JlGI2vGev9zs8OWWNIXo0fLQRjhRgayYLD0KJQ.nzDjZ 93y2wOEyaHtmiThVJVSGNA3KLY59mC_YFk0z5II301Vqm0WFymwEM6i6tnEODX_5V4a0rPi6QRp0 XtoVID01XYjvVRC4ys0B8Z7n1Iq9CxOKFo7F64HiVbyOPGT0by023qbkCuuloKkdkJjBcOGV6LPc RNsy.tNJUPv8HAMUG9dDDJrtdr8WoAwmfHA5OY5ptoz4HIgpiKP9Z9tkIS4prFa9lu6B_bHFAdVy 15D_FfYzGpFQT1yE8vAI.imzvPoLHMQ6JpCY_J8TK0rSujYvo0zTGHJivnx41YvkctnfyGXYXVDP Mtn3rIH6LfVCdmU0YMWWz5T2eun1YK8T03tCCuomR7D8H7GfS7aTxiW.JhPOfxnCEBkH0r9KJwLn rM27XaHU3OVwMXgHhcLQxzDnlNoZtQQJCxmaytwLY9FRa3eDqprVE.5Aseb0KQLrekqWwb4nq6uo vQSN5xjfHDwAcscF0iosVg4ICjp9Axmzo2LEbZ1JNXLkOBD7q9q06KsIZYOcyC.OK6lUj0pAdgIp y4mgSu6UX6X0NJAY2ImmK9FmTRdhbPNs6qSTpnCJ8x8kcvDBcdrseDzGryTX0UPwMKecUynddip9 MoMonUx.8665LhUEF3a3rm6bChdLomJA_LwkC9TPjx2cAW.X.ZB.xpGSFJSN7B0HcRd3VAOE0gY2 WobtWLMaf3qh74x2j8Hwa9KB2EKUrVcxZJ18vF0_wf99IZXinFG0unlYRUp1KOyH0bVWHbzZvVuS s2d9EReifkxjLppsDMHEpyCZDiOIFzYacYfFwUm3EM83twXLeBF_GGFp2cM.cslp9gNllCjQXF75 23biSi.yPsw.gRukrxbmaH6V_yVdvHA9tyzA9CV9hMYETCco- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Sun, 22 Mar 2020 16:36:14 +0000 Date: Sun, 22 Mar 2020 16:36:14 +0000 (UTC) From: Paul Pathiakis To: "Vlad D. Markov" , Polytropon Cc: "Vlad D. Markov via freebsd-questions" Message-ID: <1270065762.180915.1584894974045@mail.yahoo.com> In-Reply-To: <20200322152424.6fd38112.freebsd@edvax.de> References: <20200321183703.9566f2b45dd4193a51381291.ref@aim.com> <20200321183703.9566f2b45dd4193a51381291@aim.com> <20200321184307.8fb232b54dd802ae8c0a11bb@aim.com> <20200322093038.1f6933c3e68d6622c7d39427@aim.com> <20200322152424.6fd38112.freebsd@edvax.de> Subject: Re: sane crashes MIME-Version: 1.0 X-Mailer: WebService/1.1.15518 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0 X-Rspamd-Queue-Id: 48ljnY33Bwz4WKb X-Spamd-Bar: + X-Spamd-Result: default: False [1.97 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; URI_COUNT_ODD(1.00)[7]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[aim.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(0.00)[ip: (2.37), ipnet: 66.163.184.0/21(1.17), asn: 36646(0.94), country: US(-0.05)]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; URIBL_BLOCKED(0.00)[localhost.multi.uribl.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; NEURAL_SPAM_MEDIUM(0.99)[0.987,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.981,0]; RCVD_IN_DNSWL_NONE(0.00)[205.186.163.66.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[205.186.163.66.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 22 Mar 2020 16:36:19 -0000 Hi, I have this running and there's a number of things that could be blocking i= t. 1) install hplip=C2=A0 (since it's an HP this is a very useful tool on a GU= I)2) try running all the xsane commands as 'root' (scanimage, etc).=C2=A0 I= f they work, there's a problem with device permissions.3) if 2), you'll nee= d to look at install info for xsane.=C2=A0 It will tell you all the things = in devd.conf that need to be modified. I have this running on an HP all-in-one wireless. (HP 4250 I think)=C2=A0 I= also have the android interface running on my phones that allows me to pri= nt directly to the printer. Also, try looking at the cups interface and verify that you can at least se= e the printer part of this. It's, typically, located at http://localhost:631 Paul On Sunday, March 22, 2020, 10:24:59 AM EDT, Polytropon wrote: =20 =20 On Sun, 22 Mar 2020 09:30:38 -0400, Vlad D. Markov via freebsd-questions w= rote: > On Sat, 21 Mar 2020 18:43:07 -0400 > "Vlad D. Markov via freebsd-questions" wr= ote: >=20 > > On Sat, 21 Mar 2020 18:37:03 -0400 > > "Vlad D. Markov via freebsd-questions" = wrote: > >=20 > > >=20 > > > I am having some problems using sane for scanning. > > >=20 > > > My version of FreeBSD: > > > FreeBSD happy 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC=C2=A0 a= md64 > > >=20 > > > My version of sane: > > > happy$ scanimage -V > > > scanimage (sane-backends) 1.0.29; backend version 1.0.29 > > >=20 > > > I have tried multiple approaches to get things working: > > >=20 > > > The scanner is an HP so I set the URI and tried: > > >=20 > > > happy$ xsane "hpaio:/net/OfficeJet_Pro_6970?ip=3D192.168.1.37" > > > Assertion failed: (p), function avahi_threaded_poll_lock, file thread= -watch.c, line 171. > > > Abort trap (core dumped) > > >=20 > > > Next try: > > >=20 > > > happy$ scanimage -L > > > Assertion failed: (p), function avahi_threaded_poll_lock, file thread= -watch.c, line 171. > > > Abort trap > > >=20 > > > Recompile minus Avahi: > > > happy$ scanimage -L > > > device `hpaio:/net/OfficeJet_Pro_6970?ip=3D192.168.1.37' is a Hewlett= -Packard OfficeJet_Pro_6970 all-in-one > > >=20 > > > Maybe this will help the next person. > > >=20 > > > Vlad > > >=20 > > Jumped the gun here. The last method also has an issue when doing a sca= n: > >=20 > > happy$ dbus[8796]: arguments to dbus_connection_send() were incorrect, = assertion "connection !=3D NULL" failed in file dbus-connection.c line 3311= . > > This is normally a bug in some application using the D-Bus library. > >=20 > >=C2=A0 D-Bus not built with -rdynamic so unable to print a backtrace > >=20 > >=20 > >=20 > >=20 > avahi-daemon and dbusd weren't running. For some reason they didn't > start via rc.conf. Do you have dbus_enable=3D"YES" in your /etc/rc.conf file? Do the system logs contain an error message about why DBus could not be started? (If you're using Gnome, the related _enable variable usually implies starting HAL and DBus.) Reacting to a non-running DBus by core dumping doesn't look very good... oh, and according to "man 8 avahi-daemon": =C2=A0=C2=A0=C2=A0 Upon=C2=A0 startup=C2=A0=C2=A0=C2=A0 avahi-daemon=C2=A0 = interprets=C2=A0 its=C2=A0=C2=A0=C2=A0 =C2=A0 configuration=C2=A0=C2=A0=C2= =A0 =C2=A0 file =C2=A0=C2=A0=C2=A0 /home/lennart/tmp/avahi/usr/local/etc/avahi/avahi-daemon= .conf and reads =C2=A0=C2=A0=C2=A0 XML fragments from /home/lennart/tmp/avahi/etc/avahi/ser= vices/*.service =C2=A0=C2=A0=C2=A0 which=C2=A0 may define static=C2=A0=C2=A0=C2=A0 DNS-SD s= ervices. Because /home/lennart/tmp is a standard system configuration location present on every FreeBSD box... ;-) Source: https://www.freebsd.org/cgi/man.cgi?query=3Davahi-daemon --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ 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= " =20 From owner-freebsd-questions@freebsd.org Sun Mar 22 21:52:53 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 8F46A26E835 for ; Sun, 22 Mar 2020 21:52:53 +0000 (UTC) (envelope-from dvoich@aim.com) Received: from sonic303-3.consmr.mail.bf2.yahoo.com (sonic303-3.consmr.mail.bf2.yahoo.com [74.6.131.42]) (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 48lrpr0bDDz4QQ5 for ; Sun, 22 Mar 2020 21:52:51 +0000 (UTC) (envelope-from dvoich@aim.com) X-YMail-OSG: DVq9BvYVM1kwrBoVfArf8FDLaLnYKzZVpXyOOpI.l.dPERvl91mB0H61rX.KDV0 G_x2on_i6U3tAyKXxmb_ONEdSm9Bm9RdHcmyBSM0IAU0igLL0zAe23XkUVR8Thc77qCUPOhydp76 s8qBU9iCUr8ZxQbQ3X.erJ0.yfx6_GyFRZ11QrtPM6GDmu1Fi1i09tMLEaqv4MOH3ZWlg8hWqb8R 0h.iwUZ_1BYn7F5Ppnr3wx4wSLgRiPbblVlLm8aU7Bn5Mo5OKtiPj307izf1bONjnvfh5YPR08Wf HcQn4pUJWKsM8JTxaq3r9K8Md591Kahx8T1mFzhFxzEOQpjPWI5RO.tu.jWYA98FhB140B.8L6Ug WZWjoumSr6iQeXpaR7JkaqYQd_fAqzQNmRsX7wviIgON_EHn.f2.1._d21dfbtNuEfvj6v2d61tD hWhVgncB2bH_82nP1iUeVHI9OoprmVDFFt.rTzrzrdpRp4ceeXuDeqY.7OgxgIULvntVV5KmWlKk jOpBa8ipUB.9IZkSsFlenLeDC.JegSrU0YFxSp4igYvg3KynBLYY96ykKIxjnsmDrZq_fD.c5jOG CZgLq7jNgQe6HE2fBNbzK.6XcSzDpD4YU0BIOL3iaVNCr4aN4NB2lyrjAbV0KPZxIVDtIM5Tdo_k _2hjayIzUfe8WxE1ts.r6Evna1hsELiUPFqq5L8xxSbENEgvPQrdT0nkJQBTd_TWJA3wgv.SqFIl q8cxtiJaTGlgiFcrVkHj6ATojB4GXjaWUUm9_.mxnA25XHdVB5gI.hSVQCR6seJoXuYWAD_x2RK8 KGFkSj27hadLpTGtCxsRIgLgG1gDql9mXVZuKDwfRs1J_d.aqMR20cSVHWMbtRsvLUt7tFO6JWax vJBzPc_ry096azBmD.bf1WYkvQm9CUG1iiZlOqYwd.BNF.r_YIaj1SFbhEuQfLZdTan84prj4353 PkdvHG_cZJxAWWxAnctFJufXe9TeYz94K4EzHRhmKt8FAAly9fr8djWIwQBuvNHsgs41Ib7ubMD7 ZlQzfPKjs8Ng75gbakieKAG4uKzxl2W98ge2A9srTuDNi4St._zKRj4KX77hTf_XZyQRAbZ7iTjS uNl9buUkjBdwGRWT8cC22tsXPZ.ZINqoKxOsh6d3NWIcuAjxo5nsJ9LP8GqAnhDLbrhnJfGH6j1Z V_Mcn7R56gxxWsSxikNNdTec0W0XZbM2TQtW.zCiYMV3BLfwpuA52quvskN4BqNtiH7rw42NAKPy vrOlNAp6YlRbHI9bxiiys7ZqEt5rcCTX9ZbLnjwdSMuf20sWt3SsBQavJxwtdVyEEQslzSMR00cU BLTpJnEfYJbd_FHuf2wuhlMvRcFApXlrSS2OnXQfvH7rJ1w-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Sun, 22 Mar 2020 21:52:50 +0000 Received: by smtp404.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 7b335453cd9e6cc510e5992514b28596; Sun, 22 Mar 2020 21:52:48 +0000 (UTC) Date: Sun, 22 Mar 2020 17:52:47 -0400 From: "Vlad D. Markov" To: freebsd-questions@freebsd.org Subject: Re: sane crashes Message-Id: <20200322175247.fc82ac9b590f745d35ab47da@aim.com> In-Reply-To: <1270065762.180915.1584894974045@mail.yahoo.com> References: <20200321183703.9566f2b45dd4193a51381291.ref@aim.com> <20200321183703.9566f2b45dd4193a51381291@aim.com> <20200321184307.8fb232b54dd802ae8c0a11bb@aim.com> <20200322093038.1f6933c3e68d6622c7d39427@aim.com> <20200322152424.6fd38112.freebsd@edvax.de> <1270065762.180915.1584894974045@mail.yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48lrpr0bDDz4QQ5 X-Spamd-Bar: + X-Spamd-Result: default: False [1.49 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:74.6.128.0/21]; FREEMAIL_FROM(0.00)[aim.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[aim.com:+]; DMARC_POLICY_ALLOW(-0.50)[aim.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[aim.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[aim.com:s=a2048]; URIBL_BLOCKED(0.00)[aim.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.83), ipnet: 74.6.128.0/21(1.29), asn: 26101(1.03), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.99)[0.991,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.996,0]; RCVD_IN_DNSWL_NONE(0.00)[42.131.6.74.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[42.131.6.74.rep.mailspike.net : 127.0.0.17]; 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, 22 Mar 2020 21:52:53 -0000 On Sun, 22 Mar 2020 16:36:14 +0000 (UTC) Paul Pathiakis wrote: > Hi, > I have this running and there's a number of things that could be blocking= it. > 1) install hplip=A0 (since it's an HP this is a very useful tool on a GUI= )2) try running all the xsane commands as 'root' (scanimage, etc).=A0 If th= ey work, there's a problem with device permissions.3) if 2), you'll need to= look at install info for xsane.=A0 It will tell you all the things in devd= .conf that need to be modified. > I have this running on an HP all-in-one wireless. (HP 4250 I think)=A0 I = also have the android interface running on my phones that allows me to prin= t directly to the printer. > Also, try looking at the cups interface and verify that you can at least = see the printer part of this. > It's, typically, located at http://localhost:631 > Paul >=20 > On Sunday, March 22, 2020, 10:24:59 AM EDT, Polytropon wrote: =20 > =20 > On Sun, 22 Mar 2020 09:30:38 -0400, Vlad D. Markov via freebsd-questions= wrote: > > On Sat, 21 Mar 2020 18:43:07 -0400 > > "Vlad D. Markov via freebsd-questions" = wrote: > >=20 > > > On Sat, 21 Mar 2020 18:37:03 -0400 > > > "Vlad D. Markov via freebsd-questions" wrote: > > >=20 > > > >=20 > > > > I am having some problems using sane for scanning. > > > >=20 > > > > My version of FreeBSD: > > > > FreeBSD happy 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC=A0 am= d64 > > > >=20 > > > > My version of sane: > > > > happy$ scanimage -V > > > > scanimage (sane-backends) 1.0.29; backend version 1.0.29 > > > >=20 > > > > I have tried multiple approaches to get things working: > > > >=20 > > > > The scanner is an HP so I set the URI and tried: > > > >=20 > > > > happy$ xsane "hpaio:/net/OfficeJet_Pro_6970?ip=3D192.168.1.37" > > > > Assertion failed: (p), function avahi_threaded_poll_lock, file thre= ad-watch.c, line 171. > > > > Abort trap (core dumped) > > > >=20 > > > > Next try: > > > >=20 > > > > happy$ scanimage -L > > > > Assertion failed: (p), function avahi_threaded_poll_lock, file thre= ad-watch.c, line 171. > > > > Abort trap > > > >=20 > > > > Recompile minus Avahi: > > > > happy$ scanimage -L > > > > device `hpaio:/net/OfficeJet_Pro_6970?ip=3D192.168.1.37' is a Hewle= tt-Packard OfficeJet_Pro_6970 all-in-one > > > >=20 > > > > Maybe this will help the next person. > > > >=20 > > > > Vlad > > > >=20 > > > Jumped the gun here. The last method also has an issue when doing a s= can: > > >=20 > > > happy$ dbus[8796]: arguments to dbus_connection_send() were incorrect= , assertion "connection !=3D NULL" failed in file dbus-connection.c line 33= 11. > > > This is normally a bug in some application using the D-Bus library. > > >=20 > > >=A0 D-Bus not built with -rdynamic so unable to print a backtrace > > >=20 > > >=20 > > >=20 > > >=20 > > avahi-daemon and dbusd weren't running. For some reason they didn't > > start via rc.conf. >=20 > Do you have dbus_enable=3D"YES" in your /etc/rc.conf file? Do the > system logs contain an error message about why DBus could not be > started? (If you're using Gnome, the related _enable variable > usually implies starting HAL and DBus.) >=20 > Reacting to a non-running DBus by core dumping doesn't look very > good... oh, and according to "man 8 avahi-daemon": >=20 > =A0=A0=A0 Upon=A0 startup=A0=A0=A0 avahi-daemon=A0 interprets=A0 its=A0= =A0=A0 =A0 configuration=A0=A0=A0 =A0 file > =A0=A0=A0 /home/lennart/tmp/avahi/usr/local/etc/avahi/avahi-daemon.conf a= nd reads > =A0=A0=A0 XML fragments from /home/lennart/tmp/avahi/etc/avahi/services/*= .service > =A0=A0=A0 which=A0 may define static=A0=A0=A0 DNS-SD services. >=20 > Because /home/lennart/tmp is a standard system configuration > location present on every FreeBSD box... ;-) >=20 > Source: >=20 > https://www.freebsd.org/cgi/man.cgi?query=3Davahi-daemon >=20 >=20 I think something is broken in my rc subsystem. I got past the xsane issue using rc.local to start things. Then I noticed other things like cupsd & privoxy would not start. So I went= into debug mode and got this: root@happy:/var/log # grep cupsd messages Mar 22 17:34:59 happy root[1302]: /usr/local/etc/rc.d/cupsd: DEBUG: checkye= sno: cupsd_enable is set to YES. Mar 22 17:34:59 happy root[1303]: /usr/local/etc/rc.d/cupsd: DEBUG: run_rc_= command: start_precmd: cupsd_prestart=20 Mar 22 17:34:59 happy root[1304]: /usr/local/etc/rc.d/cupsd: DEBUG: run_rc_= command: doit: limits -C daemon /usr/local/sbin/cupsd =20 Mar 22 17:37:57 happy root[1711]: /usr/local/etc/rc.d/cupsd: DEBUG: checkye= sno: cupsd_enable is set to YES. root@happy:/var/log # service cupsd status /usr/local/etc/rc.d/cupsd: DEBUG: checkyesno: cupsd_enable is set to YES. cupsd is not running.r So I do this: root@happy:/var/log # limits -C daemon /usr/local/sbin/cupsd=20 root@happy:/var/log # service cupsd status /usr/local/etc/rc.d/cupsd: DEBUG: checkyesno: cupsd_enable is set to YES. cupsd is running as pid 1754. I am confused. It started via the terminal yet not via the script ( I think= ). From owner-freebsd-questions@freebsd.org Mon Mar 23 02: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 0191427617D for ; Mon, 23 Mar 2020 02:42:57 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (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 48lzFW08nQz47y3 for ; Mon, 23 Mar 2020 02:42:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.12.41]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPA (Nemesis) id 1MiJhQ-1jmoaC2NYE-00fVCd; Mon, 23 Mar 2020 03:42:50 +0100 Date: Mon, 23 Mar 2020 03:42:50 +0100 From: Polytropon To: "Vlad D. Markov" Cc: "Vlad D. Markov via freebsd-questions" Subject: Re: sane crashes Message-Id: <20200323034250.be7371f1.freebsd@edvax.de> In-Reply-To: <20200322175247.fc82ac9b590f745d35ab47da@aim.com> References: <20200321183703.9566f2b45dd4193a51381291.ref@aim.com> <20200321183703.9566f2b45dd4193a51381291@aim.com> <20200321184307.8fb232b54dd802ae8c0a11bb@aim.com> <20200322093038.1f6933c3e68d6622c7d39427@aim.com> <20200322152424.6fd38112.freebsd@edvax.de> <1270065762.180915.1584894974045@mail.yahoo.com> <20200322175247.fc82ac9b590f745d35ab47da@aim.com> 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:cBarZ2kKrECt2MLlXvTw67A5Q60I+ljngb3AwBOlcWvj6L/PT27 RlJcxPs8mjECSt8gxTG9KpKYiRAN3F1+xLHYMnrDDPER8SjeqvBzqNZHSQpFFIW81981XZx wfehGuljEhN5eLnekeb6gBUWLqk8jWh28EAxhCTiiWxb3DYguHzXAbIIgqk9AQ2Ey4cCuAg fZ1J15Z0bK4k2ZHPglpKQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ceme1xWpv/I=:v2jGxjYy3TCnsPfWNGrPV8 nY43pRry0qfRq/JZT0oKXtbYFrPGLQuJ3z3boIv2IgnXolcXArcEI0EMNriajAEja7iteggCz M7Lq1Jt93wkQgsGuHD55uj0kyk6oT4XWwGIuo9aRQZNZLZGTtzORqQQIstWsxPKMiV9gQVzWD ykiXKKcKj//1P3Uy4gLaYAWD3XgNxDbTQIK4hBbBkZvVPV+UlmTY8PfiVxDSywfBnF8yEPU7V IAhR+FgEs3oTM5A3FrbhvO3NQe/zcVJLbynaGk2vD/UYk28nK1MwlC8b/vXHStC8IIU3Ud89N 2VfrlqqTzP8JMR2HadRt/BtYdweyJt5PbG0J7QcZBDzu2BHUEVbck2i2RLYXk180LwXbsmuHC 0xVJHjusogfliCr5U68cJmAH6gaCCmAWprHwib7Duv07U7NGU5ihBpz0QJ+NJ/VtuG+vzm5mV sXQrJIxYzVYZyw74wmHnsD2YtcZFwChCvIHn1e6iRVpaNI+vZqbaofm0QXVqzi5ZFrExYX+Mw SOefjFPABf70LNoDiFsrn7qX3OigpcJZuU5wWb/K9TsUwXdlTdSyxSDobVOeNJelon+uqqXP2 l/BNC/34Hia8kggAkFzrrhzFUQPVPg4pL5pHefWiC+JIgmURlxqp/l55wEZDSvIirePcpr9Jq R5QZMQn16aqsGX+PhF9adZ61jVFlQvpSMmpXECuywJvSCl+sNIWXSXO79HDDZka05AFTk9x5i /7aRLQE7YaEpD+uzFydo20Yvi/FQs/ANKzZyWuUo9HNqeLP+zt4r74PDV25uZgbyxZNxU6ORk k+pzN7WF0UKGoq+sfCpBQWyAc6fvw5ZgUsGOkEUlYieF1ioaB4JrzZqEIx6FhrTUKWB5eQA X-Rspamd-Queue-Id: 48lzFW08nQz47y3 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.74) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.80 / 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)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[aim.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(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:+]; RECEIVED_SPAMHAUS_PBL(0.00)[41.12.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(1.00)[0.997,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[74.192.72.217.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.41)[ip: (-0.48), ipnet: 217.72.192.0/20(0.36), asn: 8560(2.17), 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: Mon, 23 Mar 2020 02:42:57 -0000 On Sun, 22 Mar 2020 17:52:47 -0400, Vlad D. Markov via freebsd-questions wrote: > I think something is broken in my rc subsystem. > > I got past the xsane issue using rc.local to start things. This is possible, but should not be needed. Also note that there _might_ be problems caused by the point in time during the system startup process when /etc/rc.local is being executed (things needed could be started _after_ it). > Then I noticed other things like cupsd & privoxy would not start. > So I went into debug mode and got this: > > root@happy:/var/log # grep cupsd messages > Mar 22 17:34:59 happy root[1302]: /usr/local/etc/rc.d/cupsd: > DEBUG: checkyesno: cupsd_enable is set to YES. > Mar 22 17:34:59 happy root[1303]: /usr/local/etc/rc.d/cupsd: > DEBUG: run_rc_command: start_precmd: cupsd_prestart > Mar 22 17:34:59 happy root[1304]: /usr/local/etc/rc.d/cupsd: > DEBUG: run_rc_command: doit: limits -C daemon /usr/local/sbin/cupsd > Mar 22 17:37:57 happy root[1711]: /usr/local/etc/rc.d/cupsd: > DEBUG: checkyesno: cupsd_enable is set to YES. > root@happy:/var/log # service cupsd status > /usr/local/etc/rc.d/cupsd: DEBUG: checkyesno: cupsd_enable is set to YES. > cupsd is not running.r That is a problem. Does the CUPS error log file contain anything that is related? > So I do this: > > root@happy:/var/log # limits -C daemon /usr/local/sbin/cupsd > root@happy:/var/log # service cupsd status > /usr/local/etc/rc.d/cupsd: DEBUG: checkyesno: cupsd_enable is set to YES. > cupsd is running as pid 1754. > > I am confused. It started via the terminal yet not via the script ( I think). This looks wrong. Can you try re-installing CUPS & related things? Usually, cupsd_enable="YES" in /etc/rc.conf is fully sufficient to get CUPS running. Maybe there is also something wrong that similarly stops DBus from running? It should not matter if CUPS is started interactively or by the rc.d subsystem - at least not to CUPS... If, by some reason, your OS is damaged, a re-installation (or at least a repair) of the OS could help. Also note the permissions advice from Paul Pathiakis: For testing, prefix sane / xscanimage commands with "sudo"; if you get it working, check the permissions. For example, /etc/devfs.rules can be extended with a ruleset to give certain usb*, ulpt* and xpt* (!) devices to the "cups" group in mode 0660; scanners could also require the pass* devices, if I remember correctly. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Mar 23 16:58:26 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 D45FD268689 for ; Mon, 23 Mar 2020 16:58:26 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (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 "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48mLDd4tnWz4NMv for ; Mon, 23 Mar 2020 16:58:25 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.206] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id b7ced8ff (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 23 Mar 2020 16:58:18 +0000 (UTC) Subject: Re: NodeJS on FreeBSD To: Ihor Antonov , freebsd-questions@freebsd.org References: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> From: Pete Wright Message-ID: <6742b7b7-67fc-a8d1-c7d4-c259f3c41f3c@nomadlogic.org> Date: Mon, 23 Mar 2020 09:58:17 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 48mLDd4tnWz4NMv X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[239.162.243.23.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_MEDIUM(-0.98)[-0.984,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.75)[ip: (-9.27), ipnet: 174.136.96.0/20(-4.06), asn: 25795(-0.40), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, 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: Mon, 23 Mar 2020 16:58:26 -0000 On 3/20/20 9:40 PM, Ihor Antonov wrote: > Hello everyone! > > I have a need to run Javascript (NodeJS 12) application. Does anyone > have experience running this on FreeBSD? Does NodeJS perform well/stable > on FreeBSD? If so then please share your feedback. I've used it (and periodically continue to do so) to run node services.  It is pretty stable and performant, unfortunately the upstream development community has historically had a negative attitude towards the BSD's which I think we've tried to address. i've been fortunate enough to steer developers away from node.js as a server platform for highly loaded systems though, as I find the debugging node apps to be difficult in the best of times. I also use it extensively for development workflows, for example building webpack bundles which are distributed to webservers.  This mostly just works except for the random npm package that is brain dead. cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA From owner-freebsd-questions@freebsd.org Mon Mar 23 20:15: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 460BF26D575 for ; Mon, 23 Mar 2020 20:15:41 +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 48mQcC0vS5z4JYw for ; Mon, 23 Mar 2020 20:15:38 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 255DF138A98; Mon, 23 Mar 2020 20:15:30 +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 uo2zaYtpkoEJ; Mon, 23 Mar 2020 20:15:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id DA023138B18; Mon, 23 Mar 2020 20:15:29 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.antonovs.family DA023138B18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=D65AA412-CB7F-11E9-A561-802C9D403B77; t=1584994529; bh=dJSu1KwEAQP4rn4ptlnCrNAziZ48FBENAVJuNsiyc/4=; h=Date:From:To:Message-ID:MIME-Version; b=f4N/Nn9E/uf5ACc/sdTmJOxhImQomi1VwDq9ZrAk8nVledDnkauoAAZEDKYDxiMrH oF8b7McpZgC/6UABiU+5kdzVGob6XWaicMicORg4GAyAde2TnJyszmEJJn9qnIdw57 bk0cII2dgDoACkW6MvV+IDQBDO8U8WCzL5aahpq+JN5VlGRuCGux+MjqiZ7FBe2ryy EKZq7j/t4/N05aO4ZhJLo+DEkitlf2EwapGnwMsr5lJRxK8DUPAh3rUF+vRolYYqW2 loBQM7ehmAnRtCgx9hCqg3AUniDHuhNkiy3dfvatVb+5Wk725+I05z2q+D6W7Xk/y9 VEFhQp1nmQQNA== 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 oqOJ1Ko1nc_M; Mon, 23 Mar 2020 20:15:29 +0000 (UTC) Received: from localhost (c-73-83-210-79.hsd1.wa.comcast.net [73.83.210.79]) by mail.antonovs.family (Postfix) with ESMTPSA id 84AB3138A98; Mon, 23 Mar 2020 20:15:29 +0000 (UTC) Date: Mon, 23 Mar 2020 13:15:27 -0700 From: Ihor Antonov To: Pete Wright Cc: freebsd-questions@freebsd.org Subject: Re: NodeJS on FreeBSD Message-ID: <20200323201527.yeae67icceifel6d@sea-ll-10936> References: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> <6742b7b7-67fc-a8d1-c7d4-c259f3c41f3c@nomadlogic.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6742b7b7-67fc-a8d1-c7d4-c259f3c41f3c@nomadlogic.org> Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48mQcC0vS5z4JYw X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=antonovs.family header.s=D65AA412-CB7F-11E9-A561-802C9D403B77 header.b=f4N/Nn9E; 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.86 / 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)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.38)[ip: (-9.33), ipnet: 100.24.0.0/13(-4.53), asn: 14618(-3.01), country: US(-0.05)]; NEURAL_HAM_MEDIUM(-0.98)[-0.977,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[antonovs.family:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+]; 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: Mon, 23 Mar 2020 20:15:41 -0000 On 2020-03-23 09:58, Pete Wright wrote: >=20 >=20 > On 3/20/20 9:40 PM, Ihor Antonov wrote: > > Hello everyone! > >=20 > > I have a need to run Javascript (NodeJS 12) application. Does anyone > > have experience running this on FreeBSD? Does NodeJS perform well/sta= ble > > on FreeBSD? If so then please share your feedback. > I've used it (and periodically continue to do so) to run node services.= =C2=A0 It > is pretty stable and performant, unfortunately the upstream development > community has historically had a negative attitude towards the BSD's wh= ich I > think we've tried to address. i've been fortunate enough to steer devel= opers > away from node.js as a server platform for highly loaded systems though= , as > I find the debugging node apps to be difficult in the best of times. I with you on that. I believe NodeJS/Javascript is a dead-end branch of c= omputing evolution and I hate it with burning passion. But there are times when you don't have a choice... > I also use it extensively for development workflows, for example buildi= ng > webpack bundles which are distributed to webservers.=C2=A0 This mostly = just works > except for the random npm package that is brain dead. Thanks for the feedback! ------------ Ihor Antonov From owner-freebsd-questions@freebsd.org Mon Mar 23 20:43:19 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 AE74926E493 for ; Mon, 23 Mar 2020 20:43:19 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gal.iecc.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48mRD66VpYz3R7j for ; Mon, 23 Mar 2020 20:43:18 +0000 (UTC) (envelope-from johnl@iecc.com) Received: (qmail 69295 invoked from network); 23 Mar 2020 20:43:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=10ead.5e791f5f.k2003; bh=capHb8tudaESwZViikBraXRuBrI250HJGQZHljs5+vk=; b=lkUSR9h5W+z+wEm/KCq3uxej9fKB/s984a0ne0pCZ+HXjBpo5oDbCTW0R1NUWJkvnkFcn305JUQNEgBlmfCZtQ8rucQ8O15hsVU73xnajj7Vnr1GbzmkwfoAdhnmcXmcVtFkONsWuvgKf/P1TH48j+HzWMAuo4K0gKyFV5nM/9+Z0i2FmzC2d0sQAGhQKTVaE7/BmpO1c61owe/MTYzPW94uDsGhrF/fzOajgjcZw5cPA8yN5Cgin3BqXqFpobbk Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTP via TCP6; 23 Mar 2020 20:43:11 -0000 Received: by ary.qy (Postfix, from userid 501) id 2DF05166C7B0; Mon, 23 Mar 2020 16:43:10 -0400 (EDT) Date: 23 Mar 2020 16:43:10 -0400 Message-Id: <20200323204311.2DF05166C7B0@ary.qy> From: "John Levine" To: freebsd-questions@freebsd.org Cc: ihor@antonovs.family Subject: Re: NodeJS on FreeBSD In-Reply-To: <20200323201527.yeae67icceifel6d@sea-ll-10936> Organization: Taughannock Networks X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-Rspamd-Queue-Id: 48mRD66VpYz3R7j X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=iecc.com header.s=10ead.5e791f5f.k2003 header.b=lkUSR9h5; dmarc=pass (policy=none) header.from=iecc.com; spf=pass (mx1.freebsd.org: domain of johnl@iecc.com designates 2001:470:1f07:1126:0:43:6f73:7461 as permitted sender) smtp.mailfrom=johnl@iecc.com X-Spamd-Result: default: False [-8.13 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; R_DKIM_ALLOW(-0.20)[iecc.com:s=10ead.5e791f5f.k2003]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[iecc.com.dwl.dnswl.org : 127.0.4.2]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f07:1126::/64]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[iecc.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[iecc.com,none]; IP_SCORE(-3.64)[ip: (-9.90), ipnet: 2001:470::/32(-4.66), asn: 6939(-3.59), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, 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: Mon, 23 Mar 2020 20:43:19 -0000 In article <20200323201527.yeae67icceifel6d@sea-ll-10936> you write: >I with you on that. I believe NodeJS/Javascript is a dead-end branch of computing >evolution and I hate it with burning passion. ... I doubt it. Its transaction model is essentially that of the SABRE airline reservation system from 1960 which borrowed it from the SAGE air defense system that ran on vacuum tube computers in the 1950s. If you have a lot of transactions and want high performance, it's the only design that has stood the test of time. I agree it's not much fun to program unless you have that kind of mind, which most people don't. R's, John From owner-freebsd-questions@freebsd.org Mon Mar 23 21:55: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 800002712FD for ; Mon, 23 Mar 2020 21:55:39 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (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 48mSqY3j6dz45wl for ; Mon, 23 Mar 2020 21:55:37 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x134.google.com with SMTP id g15so5733136ilj.10 for ; Mon, 23 Mar 2020 14:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=soUs26Vj8l19f3NxQ4CEhMZVFpgksU1EIyZSWBzEJ54=; b=iiuEwJQ1N5OF53iBpGtx9Nvm6mjl39TIbm8V8G+wS6ofgqzr2zDLuo4S7ckJjsc5L6 rLT1AuahjgAG75eB1HbUKP3dJYFePu4/iTrSMbFimD9qOUG26APUbbzkVbHhmcypapTE TLiOU+Wgy0Q7P2Ooa6F0eYndk4/bvSFOEbslcWVe/oC6pETi8jSxYSDeJCKciLpjC69I 1gduCow2ZmHSUKmlrifkDhTvSRuJIsuFXfKTxhB1c6C/kb48Muy0ZkTe+hjRmYgNWMJS jB4EqgCqE1d5AkyGHqp9czvUz9vjpkRaTSjA2BwLdp5gg6OiQprjmWsxALvkYTeLH+2B LMSg== 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=soUs26Vj8l19f3NxQ4CEhMZVFpgksU1EIyZSWBzEJ54=; b=ZWend8pJSGBfRY4KpNIHoBEvBaPB5A13WxxhJY89YNM1AUfTYoXWGFSWnYGvRQyWOs n4uX1nATXyRUdLT3MrY7B6vo9noyHulUsIzrEafd+taYGMRQZmixUQ4TYLu0TYzdHI8K sZqYT87+xB50+fOaiNUqQj55gFNd2jkNFb0zOIxW7SaiHIGUMH4tyIGR5RlgoCxN6Xq9 quFvFNXZug8KmD179r2ykr356mH8jzdRT0HoEUbVV1G0PMnGddEIoTVmnu4mwuL6o3nm OFtR5PCMJRCJkrlrdjVj58urY5tCiPHxo1rNf9//giypQdSJSqAE4ETaTaDlq9M+Ed1M ydXA== X-Gm-Message-State: ANhLgQ13r/IUB+IeBfuDOUGDA7RMmAdCUO8KUHE3PldFfbu3Ii7Bncn0 SaWqpVswD3pxynkjHVKrEgshiSQRl2Whg8R9a7419/ck X-Google-Smtp-Source: ADFU+vtZrIvdU7iKzhvpcXb9hfqnGeNRSEJleVlKHdNt+gVU1RLXe/B7gKYrYz18WGitB9Gz3pqE1a9VBwida5Y+iCs= X-Received: by 2002:a92:9606:: with SMTP id g6mr22917316ilh.119.1585000535031; Mon, 23 Mar 2020 14:55:35 -0700 (PDT) MIME-Version: 1.0 References: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> <6742b7b7-67fc-a8d1-c7d4-c259f3c41f3c@nomadlogic.org> <20200323201527.yeae67icceifel6d@sea-ll-10936> In-Reply-To: <20200323201527.yeae67icceifel6d@sea-ll-10936> From: Aryeh Friedman Date: Mon, 23 Mar 2020 17:55:23 -0400 Message-ID: Subject: Re: NodeJS on FreeBSD To: Ihor Antonov Cc: Pete Wright , FreeBSD Mailing List X-Rspamd-Queue-Id: 48mSqY3j6dz45wl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=iiuEwJQ1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::134 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; TO_DN_ALL(0.00)[]; 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.90), ipnet: 2607:f8b0::/32(-0.42), asn: 15169(-0.53), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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, 23 Mar 2020 21:55:39 -0000 On Mon, Mar 23, 2020 at 4:16 PM Ihor Antonov wrote: > > I with you on that. I believe NodeJS/Javascript is a dead-end branch of > computing > evolution and I hate it with burning passion. But there are times when > you don't have a choice... > > IMO JS is not even fully Turing complete! (HALT doesn't even mean *HALT* it means become a zombie and mysterious come back from the dead at random times) -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Mon Mar 23 22:12:17 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 608B7271990 for ; Mon, 23 Mar 2020 22:12:17 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) (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 48mTBm4PV3z4Qt8 for ; Mon, 23 Mar 2020 22:12:16 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: by mail-qt1-x841.google.com with SMTP id 10so13326584qtp.1 for ; Mon, 23 Mar 2020 15:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=sf/j8s+wQIGmr/4D2/zL8/X5uXP72lv3NUcChT0Qbm4=; b=TCXISvaPU7A+qcwj8mLlYReeBi8EH1a5CLUydzvB4hQy7gWbVJbdUoWuDVk1WMhU/2 OgeurO3AJVPH/dRe5gtA3rXn8DRtu3cIccI5LfLqVWvb/vyp1JDKWCf94Uo66WcMpruO bcUORBhId/DsaNu9wmsxFjefBOy8AJ4nWdvVW9IIGt7jNIk1lTb36ON8gYu5LOcYjrnm RPLP1sMlcIYZxB4H0VKIMqRry4iWhxvsoFoN9YFrsZfxbh3Xn+hWgUlxD/Uu4P7+3+pt wG1kFTXoOY/ayj9l7RYi9HL10yPoJdvmHkAwhpE1AjHZ9iAGb1BLNL+3GvYc9EUskfMs uoKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=sf/j8s+wQIGmr/4D2/zL8/X5uXP72lv3NUcChT0Qbm4=; b=WIBJ9P3Kn4DulqXKoErZmanD6T7AZS4dzZqneYe5xHaz2pcOrPHg5CYUJn9gFEfaXx PewHz/zs6RPo/w+/Qxmy3t6uZcKM+1NY8RGNPUD3kCIK6KkYbb47ikpNsIxdm9ASkFP0 /nfvCHk/b3d9WAN5Crp379zK4dkaqpWux/1jPkoNz4Sc2/zH759nt6GWk/yD8p7YOoxt oGBMqZjN7R5zoDs/StBRTfvucuUCrC3e+dKt7mpRb10ZWsSdCmMzpsniXxtWIex0mv46 hnwA4jk1Xn0fAAridhgiWIj4vBcm0ywbtWxjnVBe/wyI0ibmafHVSQ/mh+YKcm6pSZi7 tP5g== X-Gm-Message-State: ANhLgQ2Xaj+nJ7aYgaFN2KgcxWpdovbitYtTahfAiacLUkTflFeoSPMn O/XG8nFzmjH2wN5wCJe1McE= X-Google-Smtp-Source: ADFU+vukrWuF1OG+5HXcDnkme8FTyLeRtvHZqgkDLrltYtdYjDq2Cy96dlUVJB5j7XP6neKC2rSqTg== X-Received: by 2002:ac8:5557:: with SMTP id o23mr16677573qtr.169.1585001536181; Mon, 23 Mar 2020 15:12:16 -0700 (PDT) Received: from ?IPv6:2601:18c:c900:5070:3d1e:73d6:dced:571b? ([2601:18c:c900:5070:3d1e:73d6:dced:571b]) by smtp.gmail.com with ESMTPSA id 69sm11840138qki.131.2020.03.23.15.12.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2020 15:12:14 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: How do you mount a Virtualbox shared folder? Group or permissions issue? From: Nicholas Papadonis In-Reply-To: Date: Mon, 23 Mar 2020 18:12:13 -0400 Cc: "freebsd-questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Mario Lobo X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 48mTBm4PV3z4Qt8 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=TCXISvaP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nickpapadonisml@gmail.com designates 2607:f8b0:4864:20::841 as permitted sender) smtp.mailfrom=nickpapadonisml@gmail.com X-Spamd-Result: default: False [-1.34 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.877,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.961,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.8.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]; IP_SCORE(0.00)[ip: (0.05), ipnet: 2607:f8b0::/32(-0.42), asn: 15169(-0.53), country: US(-0.05)]; 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: Mon, 23 Mar 2020 22:12:17 -0000 What version of FreeBSD? 6.0? > On Nov 7, 2019, at 9:38 AM, Mario Lobo wrote: >=20 > On Wed, Nov 6, 2019 at 1:57 PM Nicholas Papadonis < > nick.papadonis.ml@gmail.com> wrote: >=20 >> Has anyone tested FreeBSD inclusive VirtualBox drivers with = VirtualBox >> 6.0? I looked on the manual page, however it is referencing Sun >> Microsystems. Therefore I'm considering this manual page about 10 = years >> outdated. >>=20 >> = https://www.freebsd.org/doc/handbook/virtualization-guest-virtualbox.html >>=20 >> Thank you >>=20 >> On Wed, Nov 6, 2019 at 12:40 AM Nicholas Papadonis < >> nick.papadonis.ml@gmail.com> wrote: >>=20 >>> Does anyone know the procedure for a non-root user to gain access to >>> Virtualbox shared folders? >>>=20 >>> This was fairly straightforward in Debian, however I'm having = challenges >>> with FreeBSD. It looks like a group and permissions issue. In = Debian, I >>> simply created a group "vboxsf", added my unprivileged user to it, = chgrp >>> the mount folder and then mounted. I tried this in FreeBSD I used = this >>> procedure, however the group gets changed on the folder to "wheel" = after >>> mounting the shared folder. >>>=20 >>> Your guidance appreciated. >>>=20 >>> $ mkdir /mnt/srcr >>>=20 >>> $ ls -ld /mnt/srcr >>> drwxr-xr-x 2 root vboxsf 512 Nov 6 00:03 /mnt/srcr >>>=20 >>> $ sudo mount -t vboxvfs Source /mnt/srcr >>>=20 >>> $ ls -ld /mnt/srcr >>> drwxr-xr-x 1 root wheel 576 Oct 14 21:45 /mnt/srcr >>>=20 >>> $ whoami >>> np >>> $ pwd >>> /mnt/srcr >>> $ ls /mnt/src >>> drwx------ 10 root wheel 320 Oct 14 21:35 X/ >>> $ ls /mnt/src/X >>> ls: X/: Permission denied >>>=20 >>>=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" >>=20 >=20 > Running VBox 6.0.8 on my desktop without problems. >=20 > --=20 > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] > _______________________________________________ > 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 Mon Mar 23 22:21: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 CD2F5271CE2 for ; Mon, 23 Mar 2020 22:21:09 +0000 (UTC) (envelope-from 4250.82.1d4c100000b8e7b.1a15ba374033c067d1f0b0e4acc3b2fc@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 48mTP00BV2z4bxv for ; Mon, 23 Mar 2020 22:21:07 +0000 (UTC) (envelope-from 4250.82.1d4c100000b8e7b.1a15ba374033c067d1f0b0e4acc3b2fc@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=1585002068; x=1587594068; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=IXfQauK4V9JPndXiPle5xNfDLHaHvcPVAYwGrwmqk8I=; b=WELdgCJLGTvBSZJSIZMPQt849DOIBC/b8Vy/jXqnEDOhWkfbl7tM046ABkx75Kb+zq49wTW5eYfj2IVGqlT02SvfXh7E3GgWfZGKfulNWrvlrzICJ4O1z8XXWl3DUIXbcvtDgRjbQaaVmCmBijgHGrkxuyvsDLNzcZl+weEB1P4= X-Thread-Info: NDI1MC45Mi4xZDRjMTAwMDAwYjhlN2IuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.sg.in.socketlabs.com (r2.sg.in.socketlabs.com [142.0.179.12]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 23 Mar 2020 18:20:57 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 23 Mar 2020 18:20:57 -0400 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 1jGVRH-000HgB-KH for freebsd-questions@freebsd.org; Mon, 23 Mar 2020 22:20:55 +0000 Date: Mon, 23 Mar 2020 22:20:55 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: NodeJS on FreeBSD Message-Id: <20200323222055.d785bbabbeb613661d30ca80@sohara.org> In-Reply-To: References: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> <6742b7b7-67fc-a8d1-c7d4-c259f3c41f3c@nomadlogic.org> <20200323201527.yeae67icceifel6d@sea-ll-10936> 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: 48mTP00BV2z4bxv X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=WELdgCJL; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c100000b8e7b.1a15ba374033c067d1f0b0e4acc3b2fc@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c100000b8e7b.1a15ba374033c067d1f0b0e4acc3b2fc@email-od.com X-Spamd-Result: default: False [1.97 / 15.00]; ARC_NA(0.00)[]; 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]; NEURAL_SPAM_MEDIUM(0.59)[0.586,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.09)[ip: (-0.25), ipnet: 142.0.176.0/22(0.51), asn: 7381(0.26), country: US(-0.05)]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_SPAM_LONG(0.99)[0.988,0]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c100000b8e7b.1a15ba374033c067d1f0b0e4acc3b2fc@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.82.1d4c100000b8e7b.1a15ba374033c067d1f0b0e4acc3b2fc@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: Mon, 23 Mar 2020 22:21:09 -0000 On Mon, 23 Mar 2020 17:55:23 -0400 Aryeh Friedman wrote: > IMO JS is not even fully Turing complete! It's as Turing complete as any language (limited by resources). There's even a PC emulator that can boot Linux written in JavaScript which is a pretty good demonstration of completeness. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon Mar 23 22:30:51 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 11A6F271FA8 for ; Mon, 23 Mar 2020 22:30:51 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (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 "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48mTc96tSPz3H3m for ; Mon, 23 Mar 2020 22:30:49 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.206] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id ba2c6619 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 23 Mar 2020 22:30:48 +0000 (UTC) Subject: Re: NodeJS on FreeBSD To: Steve O'Hara-Smith , freebsd-questions@freebsd.org References: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> <6742b7b7-67fc-a8d1-c7d4-c259f3c41f3c@nomadlogic.org> <20200323201527.yeae67icceifel6d@sea-ll-10936> <20200323222055.d785bbabbeb613661d30ca80@sohara.org> From: Pete Wright Message-ID: <75a140b8-b1bb-6f0f-8c82-f1919b94d599@nomadlogic.org> Date: Mon, 23 Mar 2020 15:30:48 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200323222055.d785bbabbeb613661d30ca80@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48mTc96tSPz3H3m X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[239.162.243.23.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_MEDIUM(-0.96)[-0.963,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.76)[ip: (-9.27), ipnet: 174.136.96.0/20(-4.07), asn: 25795(-0.40), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, 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: Mon, 23 Mar 2020 22:30:51 -0000 On 3/23/20 3:20 PM, Steve O'Hara-Smith wrote: > On Mon, 23 Mar 2020 17:55:23 -0400 > Aryeh Friedman wrote: > >> IMO JS is not even fully Turing complete! > It's as Turing complete as any language (limited by resources). > There's even a PC emulator that can boot Linux written in JavaScript which > is a pretty good demonstration of completeness. > not to extend this bikeshed any more but don't forget netbsd's did something similar in 2012 or so :) https://blog.netbsd.org/tnf/entry/kernel_drivers_compiled_to_javascript -p -- Pete Wright pete@nomadlogic.org @nomadlogicLA From owner-freebsd-questions@freebsd.org Mon Mar 23 23:24: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 860E92730A4 for ; Mon, 23 Mar 2020 23:24:42 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 48mVpK3mWgz3JXY for ; Mon, 23 Mar 2020 23:24:41 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x133.google.com with SMTP id f16so5657560ilj.9 for ; Mon, 23 Mar 2020 16:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wlP6iZaVwpq6lQfeCWM6g95TEZj0k6k+k3lbUHFQ7tY=; b=UfFI4RyDGJOIeJlU50r+SrX/gIZOZIdKfhDBF0H26ejRBvj7QbkBRKagXhn+ElLaeD QQuGL8jM67o00d8lQQMdvhGsBDd0/8hH7YUlgjL7rM9nhcnHdychVK1kez9evW9aOmR8 LwFJY2O0CZQbxqYmoaN8PxlIkyEQyqeYQXXDNcoS76wfo8jowiAU10KYjTciCNAElhSV fjTZNrJA/TB02Z0rsOjyAQzZ6Jl3gXaRgqvJAoCJBP0hV3/kDvZhFdr+0FpGq1/PLO7E OXL8Y31Gz5W5XsKL9gu7hU4j+o8vU2TtE9BATG5f/6YCRFxU5XqNcz60BwGKndu08+Xr SYhw== 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=wlP6iZaVwpq6lQfeCWM6g95TEZj0k6k+k3lbUHFQ7tY=; b=lExjvEcCwrL/X0oT3SAvlPbfsPSIEdKQD3crP6sOYsl/CHG+bJwnTdMBi60UYUNBt7 4/+JVi4+F/Zf3s0K8tXXzw3IrWP6xyIBYpMYiiEAIWajVDd68ZTArp1jYObrrsPRiw8h EF3iim860yK+hymnLP9AD2CDr1/TF7Fg+192Q4jJXcK3vcL37OwZMb7sskm7AYFJcedg ct0HIdhuONiuNkH2Y3L0G9yhzI4qrjJLth6SRklPUvQLMxEtQ1QbC9RXaxJQ06dymIEy PEx/AuZQSiWP++mGUXTmbmQzPAolFRvJ6Qk7hzxmSpxL6ssCvc20VwnOzdKEcwqSh7Vm 1Ing== X-Gm-Message-State: ANhLgQ3A+iiurb8UIj1b0aTRDLygmjAU5vuSB3AjMT1J2EOYOxoXR0Yp kOrseNvu3yxzr5axwwn8DRcnUU7gM9sLyVDCvxQ= X-Google-Smtp-Source: ADFU+vumDyb6v6KcKZj4bSafyAx5Zgb3zqw6rrqosxFsvulYYSDV9d5TjB6SNOOVDfY8YpCYlwTlayJorOqTucvSLqc= X-Received: by 2002:a92:8fdd:: with SMTP id r90mr23505701ilk.29.1585005880413; Mon, 23 Mar 2020 16:24:40 -0700 (PDT) MIME-Version: 1.0 References: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> <6742b7b7-67fc-a8d1-c7d4-c259f3c41f3c@nomadlogic.org> <20200323201527.yeae67icceifel6d@sea-ll-10936> <20200323222055.d785bbabbeb613661d30ca80@sohara.org> <75a140b8-b1bb-6f0f-8c82-f1919b94d599@nomadlogic.org> In-Reply-To: <75a140b8-b1bb-6f0f-8c82-f1919b94d599@nomadlogic.org> From: Aryeh Friedman Date: Mon, 23 Mar 2020 19:24:29 -0400 Message-ID: Subject: Re: NodeJS on FreeBSD To: Pete Wright Cc: "Steve O'Hara-Smith" , FreeBSD Mailing List X-Rspamd-Queue-Id: 48mVpK3mWgz3JXY X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UfFI4RyD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::133 as permitted sender) smtp.mailfrom=aryehfriedman@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)[]; RCPT_COUNT_THREE(0.00)[3]; 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]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_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.1.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]; IP_SCORE(0.00)[ip: (-8.49), ipnet: 2607:f8b0::/32(-0.41), asn: 15169(-0.52), country: US(-0.05)]; 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]; TAGGED_FROM(0.00)[]; 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: Mon, 23 Mar 2020 23:24:42 -0000 On Mon, Mar 23, 2020 at 6:31 PM Pete Wright wrote: > > > On 3/23/20 3:20 PM, Steve O'Hara-Smith wrote: > > On Mon, 23 Mar 2020 17:55:23 -0400 > > Aryeh Friedman wrote: > > > >> IMO JS is not even fully Turing complete! > > It's as Turing complete as any language (limited by resources). > > There's even a PC emulator that can boot Linux written in JavaScript > which > > is a pretty good demonstration of completeness. > > > not to extend this bikeshed any more but don't forget netbsd's did > something similar in 2012 or so :) > > https://blog.netbsd.org/tnf/entry/kernel_drivers_compiled_to_javascript > Find me a UTM that randomly turns on without human intervention after HALT'ed and then explain to me why it qualifies as a UTM. Just because it can run a tape through and if the tape's instruction complete in a finite of time (or infinite amount of time depending on the instructions) it stops that tape does not make it a UTM that can be used to the answer the halting problem (it has to stay halted for the question to even be meaningful). In JS terms here is a statement that makes the halting problem meaningless at best and impossible to even ask about decidablity on: function func() { setTimeout(func,Math.random()*10000000); // do the rest of the program we are attempting to decide on HALT } Due to how JS VM's work the program (aka the tape we are asking the halting problem of) will pause for a random amount of time (which may or may not be long enough to allow the rest of the program to complete if it is finite runtime). The tape *DOES NOT* know it has been paused and/or run multiple times. Therefor the entire question of does it HALT or not can not be answered by looking at the tape alone without knowing stuff that only an oracle (the machine running the tape) could answer. Thus JS is not Turing complete. QED. Disclaimer: Just because I am forced to use this monstrosity in browser apps does not mean it is not monstrosity -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Mon Mar 23 23:39:05 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 D827927355B for ; Mon, 23 Mar 2020 23:39:05 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2027.outbound.protection.outlook.com [40.92.89.27]) (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 48mW6w5MFgz47PQ for ; Mon, 23 Mar 2020 23:39:04 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b2rTdPogNXxCvbd7/xpv9EKQZW5p/Zf7+MsJeWfLGxsY8hVELhumW5W3vtYkJx3xITMGhvD8AdwZFatVVidZ2dhuu/iwGY9kI2VRw9ruzeLw40Pz7H3R9kBJkN1tNbsNTt1N8HJ+awSnw8e7XMTcosc59ZfIzJ/Kt38Xk4oE6f8cAkpcQkJeQE5RTP/eMtwAN7j5PSZZ1fZIQ+HBpIBHx0hYkk1LnybHltCqzG1eXenmZNl5SbnTUvKeoV9GV/QC4Ts6JvopT3KSMAIBv4GPXJiVtS57z9awqSkZrHys5PIHltx5I+6Q3A7roHOtB9NOsq4L9co3GrImszqtuC6oOw== 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=DQdzTug522/xdnktNj+785gHVluMVgYGbBa1yh7WnPc=; b=HESjWvGUoBcoQKCL+94gwJNcSdFI1qsaKbH/o2nd0a0QtBvTs+i7Vz/+TGf444t67N5ulhSMnaPwg7qgAJliaZW5FJjEUwm+movbOIfCjgvIS7PgQa+bvsB4X88DSHD+q0AMh2vJwhwXo0pOgX/xKYBG55M6xVWWp/CbR/2xN9SIORHmtj6ZZ/EkPvm3zBE5wPClaH4xhun2JgwfgvwUu1CtueiDYlgtRAAorR+oGN3FyIUqIB5g94+yF5SWaOzRxN+TqZH4m4p5RGKRLEF62B4QKKG2rMFiTgEU5Rm7f9nVp4bIRRjBLGfrZ8Tyqud5HRVgvo2uGH0He5BITGCZLQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hotmail.com; dmarc=pass action=none header.from=hotmail.com; dkim=pass header.d=hotmail.com; 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=DQdzTug522/xdnktNj+785gHVluMVgYGbBa1yh7WnPc=; b=ZM0a7X4N4Mxx79E/xTVVW4f0WGtURk6DTSpUkvXtKSFvV3PmcbBz2UCiwM+t9eZJH5OMARC4n33ACSFuW9RrihDJrB7ddhnEddtB5acL7fmURU3pqqaB7Kb0sLbUieXlqLS0Xj/MWPUNzXQS5FprSOBLz3IPGw3GBOqGWNnOL2nYgxC7sQ+wRW6+QerSXRuj21wWj91e3QCIXCpaPqLt0iuZ5NPM8etgC/Z1HupXabwQKgpkrcOZ2z/LrZYOePMKcGVNRGL44RFT3d/ok6AlVya1DvTFpt1eDMyGcoTF1cDzn5hD2f5lsz+TmaCf9Yqu8OZOjxebdErEZuzL5G0yKQ== Received: from DB8EUR05FT006.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::34) by DB8EUR05HT228.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13; Mon, 23 Mar 2020 23:23:34 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (10.233.238.53) by DB8EUR05FT006.mail.protection.outlook.com (10.233.238.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13 via Frontend Transport; Mon, 23 Mar 2020 23:23:34 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:228D6DFE8E07A09ADFEAB26DD907EBE07CEA0E4B39C68313B727450FC1252FB2; UpperCasedChecksum:B27DDC8A4E3A14D6BCB9F1CB73B71169969E57FA212FBA639714FC3F8D1F1E3A; SizeAsReceived:9110; Count:50 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::a401:c5ea:9494:b900]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::a401:c5ea:9494:b900%2]) with mapi id 15.20.2835.021; Mon, 23 Mar 2020 23:23:34 +0000 Subject: Re: How do you mount a Virtualbox shared folder? Group or permissions issue? To: Nicholas Papadonis , Mario Lobo Cc: "freebsd-questions@freebsd.org" References: From: Manish Jain Message-ID: Date: Tue, 24 Mar 2020 04:54:00 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN1PR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::23) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <8944fe28-bea3-ffa2-d318-93ea47e8391d@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from bourne.2dent2ty (45.127.44.72) by PN1PR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.20 via Frontend Transport; Mon, 23 Mar 2020 23:23:33 +0000 X-Microsoft-Original-Message-ID: <8944fe28-bea3-ffa2-d318-93ea47e8391d@hotmail.com> X-TMN: [9/TO5z70afBX9VG6PMv8kIzkRfz/M1Zv] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 50 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: ed6740c3-3c60-43c3-7c43-08d7cf8134d7 X-MS-TrafficTypeDiagnostic: DB8EUR05HT228: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hABHS2eLLZuvPW0ununcf0l8bDB1+nz5SJ7auwN5uvXx+yrfCwY9oKVHNpvsP9DPce3lXGgI2CCwyHiueDfpPayOhbS4YPgRY4nMaDJDQDNRSh+/7e+qxQCTsxilZI7gC6LBjBXyQ1A3sMpmIJlVe0Nn6APiJHHLMscM+Ht+02FDciqeTbmaJLSXzrmFJwU+ X-MS-Exchange-AntiSpam-MessageData: +ve2Wu12Q9kJtlMb0qYUe+8tnBY0+9hJGSHg7/LWkbVa59FjbDhsavKgzeWNiWTfdFdSkqMNP2USnC/ndHhYCRq4DrJ4x6BrAOBpwRIlA8dMrsTrbf/+m/6i6mzBd5uBZisCBoXZPVG6fgVaChxfug== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed6740c3-3c60-43c3-7c43-08d7cf8134d7 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2020 23:23:34.4604 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT228 X-Rspamd-Queue-Id: 48mW6w5MFgz47PQ X-Spamd-Bar: +++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=ZM0a7X4N; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.89.27 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [9.21 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15]; FREEMAIL_FROM(0.00)[hotmail.com]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(0.00)[i=1]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[72.44.127.45.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; RECEIVED_SPAMHAUS_PBL(0.00)[72.44.127.45.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.19)[0.190,0]; RCVD_COUNT_FIVE(0.00)[5]; BAD_REP_POLICIES(0.10)[]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.52)[0.515,0]; RCVD_IN_DNSWL_NONE(0.00)[27.89.92.40.list.dnswl.org : 127.0.3.0]; IP_SCORE(0.00)[ipnet: 40.64.0.0/10(-3.75), asn: 8075(-3.12), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; GREYLIST(0.00)[pass,body] 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: Mon, 23 Mar 2020 23:39:05 -0000 On 24/03/2020 03:42, Nicholas Papadonis wrote: > sudo mount -t vboxvfs Source /mnt/srcr I think that command is wrong. Try: sudo mount -t vboxvfs -o uid=1000 Source /mnt/srcr (Presuming your non-root user is UID 1000) Regards, Manish Jain From owner-freebsd-questions@freebsd.org Mon Mar 23 23:47:07 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 27B33273B3F for ; Mon, 23 Mar 2020 23:47:07 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02olkn082a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::82a]) (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 48mWJB0ZD5z4Jrf for ; Mon, 23 Mar 2020 23:47:05 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W1BXF85+21gSTa3sDzOP+823l7z2kgWcVJedAxJqPDsk3cNzd1CKB29ROsxMC+qPdjOgIo2NZMZNA5/9+nvr+LfG1KMj1FHl+NXLP3UWGKBSIlVoGXtNb0dz5S0615SGZG71P3q/dRWv4f1WvrLZ/YB0waN5o7m8ILWN6Z28zzGUnRLdvFBps6cAHR/xgztNd2gbWanentb/qmiF1MRNk9wYLeD/Qk3ZxAemnAa6Xno06+BxacweRU5KiqRo8wcqHgu10N7g1T6J8nP6YdmS5hE37/cqLykOj1C/tm4vIfg1wAYSUBiDehzcQuZo4POEjPFr1eImDmbu3c3Oe5tuSQ== 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=xj9XGsfzeW3bBX3lvw5CYZ6zRfHPfT5eiMw9GUw24ns=; b=BwWk2GITqsS90TPCMmfwmpM2DmPq971Jms02BvEO7AAxU9GbtUppuL4bOpk2yRsYeDsCxyEcd+kaK0O1dzNMm1HuqE17SsKVKb1e8iE9fBbwHGVFyKcwm/cWsz2j++vR7PLF9Ne9dMKydpRR0cPQktReCjp82OKPcJGHvvh3KlgVReyNuira79u2P5mDsMdCB8GowvzprG35ZJQrIV5rcdhHzP6MO2Xb72RHgT7HI+SGgtXv5nYNxvN62yRPU1F6bhsCZxVx/cJOZjsUItokTAmSQj0d1dZpxlyXuqxEujC5n9ls76/mjF/2WkREjgj0wU4JOp9lmaSI5Q/ggeRNQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hotmail.com; dmarc=pass action=none header.from=hotmail.com; dkim=pass header.d=hotmail.com; 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=xj9XGsfzeW3bBX3lvw5CYZ6zRfHPfT5eiMw9GUw24ns=; b=ljl8JUnx8SkyI456DKCRCEmGgn7nuLyg7ngStMZrDvvwyv60PwWHRDkHkbqok8IGhnas/9I7yb+QGgAqDOWSctcRRWosaPM5dm2ElHY/eEZp/lE2oirumeDjNWP/554DMs1t5Stc+uLMbuk/9yP+xMvt2KdhySI+7jS5BwWBukETALVPFHCGvZeb2mb6M3be1xJtJqNY5K2C1DawceKv5XJJi/AHM5hWbfDNZdPRn89yRUHeS7ylIluGiddFtZ04Ftmax2PTVXxGWxuvHMdiIdAtN99j/M2pYNNIX+xA193j+EqOTTwDyKr+3fn6hHVMkdTvObbuD1VVHnwrCpEtpg== Received: from HE1EUR02FT058.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1d::3c) by HE1EUR02HT184.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1d::219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13; Mon, 23 Mar 2020 23:32:49 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (10.152.10.52) by HE1EUR02FT058.mail.protection.outlook.com (10.152.11.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13 via Frontend Transport; Mon, 23 Mar 2020 23:32:49 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:7768121AEA99ADEA5C49F8DF4681C33B59FF728E779AE6177DEAC5D0523D9361; UpperCasedChecksum:D6D05579CDDEE70505DB5D6E85165185A665420E979C17CC3DA91AF860F42DC7; SizeAsReceived:9229; Count:50 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::a401:c5ea:9494:b900]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::a401:c5ea:9494:b900%2]) with mapi id 15.20.2835.021; Mon, 23 Mar 2020 23:32:49 +0000 Subject: Re: How do you mount a Virtualbox shared folder? Group or permissions issue? From: Manish Jain To: Nicholas Papadonis , Mario Lobo Cc: "freebsd-questions@freebsd.org" References: Message-ID: Date: Tue, 24 Mar 2020 05:03:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BM1PR01CA0157.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:68::27) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <6b49b23c-094f-dfda-559f-05dc020fcd7b@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from bourne.2dent2ty (45.127.44.72) by BM1PR01CA0157.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:68::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19 via Frontend Transport; Mon, 23 Mar 2020 23:32:48 +0000 X-Microsoft-Original-Message-ID: <6b49b23c-094f-dfda-559f-05dc020fcd7b@hotmail.com> X-TMN: [IE4jLL542LwXjruS+ymcBZNEOcJjyQz6] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 50 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: f8d27eaa-b5b1-47dc-b247-08d7cf827fac X-MS-TrafficTypeDiagnostic: HE1EUR02HT184: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hT0rjwjWxJhsKr+lAn/sqk7BM2eXRc+8cE3gI9Jwv2n2IG6UdCZr8mYszlK1U0RwvC5WFjNAJJXPSOK12t0tRByFBhf91FFW5n5KNVPmJuLBqDvCep4RDxpjPZIDf4D2sFgLKWVNe2+QEJMwQQ4nzitiekAq3E7JKYq0hADREagg185wuKhZ5fJK426+vwR5 X-MS-Exchange-AntiSpam-MessageData: YAkZzihZBnqKhi1DixJSCOJTx14am+YGTeS2OdMTQ7VyKW1Dc/mtLUqPXSrdnNS8/1OqXFVvTdiIqbj6onTIa++GldntZACSSHby9XuuwkmA8LpmtOsGmOQBWvGN/hV3xqsd0TDinyp0B6/iDupp4Q== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: f8d27eaa-b5b1-47dc-b247-08d7cf827fac X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2020 23:32:49.4003 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT184 X-Rspamd-Queue-Id: 48mWJB0ZD5z4Jrf X-Spamd-Bar: +++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=ljl8JUnx; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 2a01:111:f400:fe06::82a as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [9.08 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2a01:111:f400::/48]; FREEMAIL_FROM(0.00)[hotmail.com]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[72.44.127.45.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(0.00)[i=1]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0]; RECEIVED_SPAMHAUS_XBL(5.00)[72.44.127.45.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.13)[0.130,0]; BAD_REP_POLICIES(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.45)[0.447,0]; RCVD_IN_DNSWL_NONE(0.00)[a.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.6.0.e.f.0.0.4.f.1.1.1.0.1.0.a.2.list.dnswl.org : 127.0.3.0]; RCVD_TLS_LAST(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; GREYLIST(0.00)[pass,body]; IP_SCORE(0.00)[ipnet: 2a01:111:f000::/36(-4.02), asn: 8075(-3.12), country: US(-0.05)] 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: Mon, 23 Mar 2020 23:47:07 -0000 Another correction : the type should not be vboxvfs, rather vboxsf : sudo mount -t vboxsf -o uid=1000 Source /mnt/srcr On 24/03/2020 04:54, Manish Jain wrote: > > > On 24/03/2020 03:42, Nicholas Papadonis wrote: >> sudo mount -t vboxvfs Source /mnt/srcr > > I think that command is wrong. Try: > > sudo mount -t vboxvfs -o uid=1000 Source /mnt/srcr > > (Presuming your non-root user is UID 1000) > > > Regards, > Manish Jain From owner-freebsd-questions@freebsd.org Tue Mar 24 02:02:36 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 20AAD2774C3 for ; Tue, 24 Mar 2020 02:02:36 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (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 "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48mZJW0vsLz3NBy for ; Tue, 24 Mar 2020 02:02:34 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.141] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 20aaae4d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 24 Mar 2020 02:02:33 +0000 (UTC) Subject: Re: NodeJS on FreeBSD To: "Kevin P. Neal" Cc: Steve O'Hara-Smith , freebsd-questions@freebsd.org References: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> <6742b7b7-67fc-a8d1-c7d4-c259f3c41f3c@nomadlogic.org> <20200323201527.yeae67icceifel6d@sea-ll-10936> <20200323222055.d785bbabbeb613661d30ca80@sohara.org> <75a140b8-b1bb-6f0f-8c82-f1919b94d599@nomadlogic.org> <20200324013527.GA5662@neutralgood.org> From: Pete Wright Message-ID: <2b9e58f6-edf4-24b5-9b7c-bb2a7e28d994@nomadlogic.org> Date: Mon, 23 Mar 2020 19:02:34 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200324013527.GA5662@neutralgood.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 48mZJW0vsLz3NBy X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.04 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[239.162.243.23.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.974,0]; IP_SCORE(-2.76)[ip: (-9.28), ipnet: 174.136.96.0/20(-4.09), asn: 25795(-0.40), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, 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: Tue, 24 Mar 2020 02:02:36 -0000 On 3/23/20 6:35 PM, Kevin P. Neal wrote: > On Mon, Mar 23, 2020 at 03:30:48PM -0700, Pete Wright wrote: >> >> On 3/23/20 3:20 PM, Steve O'Hara-Smith wrote: >>> On Mon, 23 Mar 2020 17:55:23 -0400 >>> Aryeh Friedman wrote: >>> >>>> IMO JS is not even fully Turing complete! >>> It's as Turing complete as any language (limited by resources). >>> There's even a PC emulator that can boot Linux written in JavaScript which >>> is a pretty good demonstration of completeness. >>> >> not to extend this bikeshed any more but don't forget netbsd's did something >> similar in 2012 or so :) >> >> https://blog.netbsd.org/tnf/entry/kernel_drivers_compiled_to_javascript > That's so ... NetBSD. Anyone remember the ARM board they once built into > a toaster? Because of course a toaster needs to run NetBSD. That would have > been, hmmm, pre-2004. > > Honestly, it's all in good fun. i do!  i remember helping man the netbsd table at one of the early Socal Linux Expo's and it was a toss up between people checking that out and the amiga running netbsd.  it most certainly was all in good fun :^) -p -- Pete Wright pete@nomadlogic.org @nomadlogicLA From owner-freebsd-questions@freebsd.org Tue Mar 24 16:12: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 7F0F5260DD2 for ; Tue, 24 Mar 2020 16:12:59 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 48mx9R386Bz4TBd for ; Tue, 24 Mar 2020 16:12:42 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: by mail-qk1-x733.google.com with SMTP id d11so19834394qko.3 for ; Tue, 24 Mar 2020 09:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qaz2gr1C0TRDRAhW6GQ/ILQyaa9zSgQDCefxX0cuPIU=; b=hIXshzayn4mj+3rtVTsBQydvvPt1eS0d44M6Yd2yBOOxPppVp5qzZmkDo1u7jsyS6J byjeboI+9AlxmnMtk8Bvu/aEPCIu13yhoEyLHxssY8bU+QxxAi8R0fxXxQRVPI+oRgnn zMHdsd+DPNJxopoLhPzqqTl54/6dNIhAd33qP4gTSEH27P5UomMVR3mCfFV7HWMXbi8/ uanxvLEP14TIEnyYm24ySlCE2jm+f6uvaSVdGx4DLejYUaVskKw/F/TWf/pqa/wTmwUC FqRx5X9u17TUD6NjrDjT9pfniGR3QgYBKUWg8bqVPcTlk3Fs8yunQ3qr5wLiqbTNn67g g/+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:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qaz2gr1C0TRDRAhW6GQ/ILQyaa9zSgQDCefxX0cuPIU=; b=T7d2/dq8vv5knxiJUeIDr0dOZ5m/+6FWephyftp/C/P0WhbRYnSEqoUDkuN75kYU9M dXlHUbGqEMxaejd3UN/XDJGP/wAwrSREEZD5gIn2bnRmSU5TNYVlHFR8ssEFBfeueJ/k wV4i1qNITMHM1eCdSfpmVwHE8oI5GWGeZMReJ77gxmVozYsIapiz7IP/9azNe/dmAgbp jvVCkvT5dchQjX74itcBfw38MSPumB5n8kEcZQ358mi8a2AK4s7WokCiYvEvUz8s+V7Z baLIyNJk9H7tPEh9fG6o1nQnkp9FGuFYhkZHha7aFLaUovS8vARuSgv9Z27jTohWLM8T clyQ== X-Gm-Message-State: ANhLgQ2fUjotUSAMROs6ewan/VDmLKSD3QPyMaO06FlOxVLMi+HkK0XG ld1H7hSub5IIBSWSEspmD5HSwIgKEY0= X-Google-Smtp-Source: ADFU+vuojb41wfCFVMxWHZdabQoMEuJHj/bX6rip8g1vv6PZ1JkBxCdRafJZPq87BzsdSjKYOFp7oA== X-Received: by 2002:a37:6244:: with SMTP id w65mr26748662qkb.350.1585066351209; Tue, 24 Mar 2020 09:12:31 -0700 (PDT) Received: from ?IPv6:2601:18c:c900:5070:cc56:bcd2:d92f:89e2? ([2601:18c:c900:5070:cc56:bcd2:d92f:89e2]) by smtp.gmail.com with ESMTPSA id q34sm13758344qtb.41.2020.03.24.09.12.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2020 09:12:30 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: How do you mount a Virtualbox shared folder? Group or permissions issue? From: Nicholas Papadonis In-Reply-To: Date: Tue, 24 Mar 2020 12:12:29 -0400 Cc: Mario Lobo , "freebsd-questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0438AA11-06BB-4D8B-BDF9-8F15E785882D@gmail.com> References: To: Manish Jain X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 48mx9R386Bz4TBd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hIXshzay; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nickpapadonisml@gmail.com designates 2607:f8b0:4864:20::733 as permitted sender) smtp.mailfrom=nickpapadonisml@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.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]; IP_SCORE(0.00)[ip: (-9.13), ipnet: 2607:f8b0::/32(-0.38), asn: 15169(-0.49), country: US(-0.05)]; 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: Tue, 24 Mar 2020 16:12:59 -0000 I updated to the latest and it works! $ sudo mount -t vboxvfs -o uid=3D1001 Source /mnt/srcr $ uname -a FreeBSD fbsd 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC amd64 The only issue is the mount points are not made permanent according to = the Shared Folders dialog in VirtualBox. I tried editing fstab, however the changes were lost. Does anyone know = where to place the mount options? Thanks > On Mar 23, 2020, at 7:33 PM, Manish Jain = wrote: >=20 > Another correction : the type should not be vboxvfs, rather vboxsf : >=20 > sudo mount -t vboxsf -o uid=3D1000 Source /mnt/srcr >=20 >=20 > On 24/03/2020 04:54, Manish Jain wrote: >> On 24/03/2020 03:42, Nicholas Papadonis wrote: >>> sudo mount -t vboxvfs Source /mnt/srcr >> I think that command is wrong. Try: >> sudo mount -t vboxvfs -o uid=3D1000 Source /mnt/srcr >> (Presuming your non-root user is UID 1000) >> Regards, >> Manish Jain From owner-freebsd-questions@freebsd.org Tue Mar 24 16:34:51 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 68E5B26158B for ; Tue, 24 Mar 2020 16:34:51 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) 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 48mxfZ72npz4br2 for ; Tue, 24 Mar 2020 16:34:30 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: by mail-qk1-x72e.google.com with SMTP id c145so19834900qke.12 for ; Tue, 24 Mar 2020 09:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/BNCAVDVAKMaYJfP0cOviFAyWv0ZtG7OLTZgUJ+J9n0=; b=ci5W3pN0cgGcJC+Te1CCg3ECMcRpzDg3gYBFlYLXSkxuIkuhw6pxFt3XH2isVboNVY FaVkMacxVMZgnjOpE1FRMxZ+o4gjwmqnuvKCVDGUwMtLxF9cK2VYhZS13EGTrTJtIgQi Qfp0/S5MUXRio5C5DLLrW3TNZ8qhuOXw3Md3hmPcxg/cbiBPX4Yayhy0GnW3cx92ifgj ObjfbvNWeZj0AM8rTk9aogDzWsvajFbcwHPJ1H2sGA1SviBhVwqhEH5ntOnG+NA7cTpn TZyyVFck0mxCHuAKJWvFVag11Z7/5U8lVO0Q5zpll40eH9FuraBb1CRltLb87jcL2K88 GqwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/BNCAVDVAKMaYJfP0cOviFAyWv0ZtG7OLTZgUJ+J9n0=; b=JJcNwuhalh/P6AUQwukUEnA4AeEgzbsQcvVTLKSpm7HVbHvK+LxvLXTvsbIkr7sTyF YamGzLWcMTVsmg3zTrn9d9Rif3D4jhwkeHgOR/vvtUf1N7KCTWJvAqbhpdaopu1N/1W7 rWE8E0nGNRMbvqcgllkmireQ6BtIz1l88jNRz7tM9GWL9EcOF7VmO5rL2fd9EwR8D7st Lsc4eSWaWysvxGVCpEaTJTox8w3jX8R8RB4jEXNqcarXTzy4WIf4zDCVkTC6IYDHBunU lXmZFxbHmSN4n5ciuquKpDF7y13zzCOM1lucZEfIrwpdRBt7vUhh3BhlZ+QS0sC3xKvK pOhA== X-Gm-Message-State: ANhLgQ2H6xcCFOKopaxBZqqVupN9euLV+WlqMaxqDKDIy4vARDewLaZn y/7U83PicnZeGCNSp241vNc= X-Google-Smtp-Source: ADFU+vtV7PoSx/J2FhCXmCoic1pTFtzXzEx6A5gOLLLZdC1/kGgozYVqhT37ASNA2t1E8B5ghVFDvQ== X-Received: by 2002:a37:8645:: with SMTP id i66mr25870614qkd.91.1585067661340; Tue, 24 Mar 2020 09:34:21 -0700 (PDT) Received: from ?IPv6:2601:18c:c900:5070:cc56:bcd2:d92f:89e2? ([2601:18c:c900:5070:cc56:bcd2:d92f:89e2]) by smtp.gmail.com with ESMTPSA id n21sm14595646qtn.17.2020.03.24.09.34.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2020 09:34:20 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: How do you mount a Virtualbox shared folder? Group or permissions issue? From: Nicholas Papadonis In-Reply-To: <0438AA11-06BB-4D8B-BDF9-8F15E785882D@gmail.com> Date: Tue, 24 Mar 2020 12:34:18 -0400 Cc: Mario Lobo , "freebsd-questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <27A6356A-AC35-4526-898B-88C87FAC703B@gmail.com> References: <0438AA11-06BB-4D8B-BDF9-8F15E785882D@gmail.com> To: Manish Jain X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 48mxfZ72npz4br2 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ci5W3pN0; dmarc=temperror reason="query timed out" header.from=gmail.com (policy=temperror); spf=pass (mx1.freebsd.org: domain of nickpapadonisml@gmail.com designates 2607:f8b0:4864:20::72e as permitted sender) smtp.mailfrom=nickpapadonisml@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_DNSFAIL(0.00)[gmail.com : query timed out]; RCVD_IN_DNSWL_NONE(0.00)[e.2.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]; IP_SCORE(0.00)[ip: (-9.09), ipnet: 2607:f8b0::/32(-0.38), asn: 15169(-0.49), country: US(-0.05)]; 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: Tue, 24 Mar 2020 16:34:51 -0000 Solved. /etc/fstab: Source /mnt/srcr vboxvfs rw,uid=3D1001 0 0 > On Mar 24, 2020, at 12:12 PM, Nicholas Papadonis = wrote: >=20 > I updated to the latest and it works! >=20 > $ sudo mount -t vboxvfs -o uid=3D1001 Source /mnt/srcr >=20 > $ uname -a > FreeBSD fbsd 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC amd64 >=20 > The only issue is the mount points are not made permanent according to = the Shared Folders dialog in VirtualBox. >=20 > I tried editing fstab, however the changes were lost. Does anyone = know where to place the mount options? >=20 > Thanks >=20 >> On Mar 23, 2020, at 7:33 PM, Manish Jain = wrote: >>=20 >> Another correction : the type should not be vboxvfs, rather vboxsf : >>=20 >> sudo mount -t vboxsf -o uid=3D1000 Source /mnt/srcr >>=20 >>=20 >> On 24/03/2020 04:54, Manish Jain wrote: >>> On 24/03/2020 03:42, Nicholas Papadonis wrote: >>>> sudo mount -t vboxvfs Source /mnt/srcr >>> I think that command is wrong. Try: >>> sudo mount -t vboxvfs -o uid=3D1000 Source /mnt/srcr >>> (Presuming your non-root user is UID 1000) >>> Regards, >>> Manish Jain >=20 From owner-freebsd-questions@freebsd.org Tue Mar 24 17:06:12 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 3602C2621B8 for ; Tue, 24 Mar 2020 17:06:12 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (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 48myLq6j42z3KcY for ; Tue, 24 Mar 2020 17:05:55 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: by mail-qt1-x835.google.com with SMTP id t9so11618993qto.9 for ; Tue, 24 Mar 2020 10:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LAGEiBdEFdREszmRCLmVHkPGQYBbLpZG85BUuZHTtGo=; b=sOQJN5W8jPqJw2LmZ+qFKKXawePUb149y3s1pokvdenygjln99jDF8CUMXEDcU1R39 YhSvHGSPO4Un/7+2DUoO21TbbmUPusItjewiGEmKXIECGlXqdyS+Br23wL6tZtdhonvG lkTeWnvccbWgquf8vwfhsYOmyP7xsU20Hnbww/5cCGZ/wPVunTacKa7rVC/8gnbmrtOI k+Nf+++ix37klN3IEqVA6316i45H0I1elF5mt2I1dv+0cRFGEWsjWgn9vSjZab3buRdr wIzTG+qVeJthnWYgI8huWpPiu6YqWB2X91wuBfd1SwhgjPqfNb6dzAkzhNgP2CSg2+l9 N7Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LAGEiBdEFdREszmRCLmVHkPGQYBbLpZG85BUuZHTtGo=; b=ZWbtrGGQ9zy4XObHSV7SFW1PjHbL0Sm1OIdyU9FhS5rqvT6mR4xj0Y8GXnScIU93Bi HkeHR09+1WaBdw81dlATTcEMN3v/j3PCW14z6+5yIMbgAOiYyz2Et5tal7ef/JbI6L+Q 5Bcl9C4Vn7iQ4QJhwm5Tt8yl2kUcadq9NV2Vk485Y1iZmu8vjFNF7u4lVLy0vy8sR8Bn N1w89TZMqe8smQQwtdfEDthNmkQQd+8EGPbc3GbtD1VXAtgwLwxSklb2Anh763ZtEP+7 7qg6+wElfP11rq56nUIJviiAX2pjvMQA+S6cDtUd0trWbIEAkB42vqu8NJ/CcDxE4dhJ A8XQ== X-Gm-Message-State: ANhLgQ2R2mJAnghkI1vZIP21xD3SiHIj67Wruo8qDiCuiLw23NA7y/E+ Bihlk4HJo4hVXtiDDjB/sbhaKv57I0I= X-Google-Smtp-Source: ADFU+vu081zZQ5nfm7YAs3piLROxUchUMIbrCcFVYLF7dz42j/ARTqGC9GKRnztS+v3ENoW3AtGujA== X-Received: by 2002:aed:37c4:: with SMTP id j62mr24969897qtb.279.1585069545447; Tue, 24 Mar 2020 10:05:45 -0700 (PDT) Received: from ?IPv6:2601:18c:c900:5070:8409:e29a:46a6:906b? ([2601:18c:c900:5070:8409:e29a:46a6:906b]) by smtp.gmail.com with ESMTPSA id f127sm11905042qkd.74.2020.03.24.10.05.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2020 10:05:44 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: vboxvfs file integrity problems? From: Nicholas Papadonis In-Reply-To: <27A6356A-AC35-4526-898B-88C87FAC703B@gmail.com> Date: Tue, 24 Mar 2020 13:05:42 -0400 Cc: Mario Lobo , Manish Jain Content-Transfer-Encoding: quoted-printable Message-Id: References: <0438AA11-06BB-4D8B-BDF9-8F15E785882D@gmail.com> <27A6356A-AC35-4526-898B-88C87FAC703B@gmail.com> To: "freebsd-questions@freebsd.org" X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 48myLq6j42z3KcY X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=sOQJN5W8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nickpapadonisml@gmail.com designates 2607:f8b0:4864:20::835 as permitted sender) smtp.mailfrom=nickpapadonisml@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_SENDERSCORE_FAIL(0.00)[5.3.8.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.bl.score.senderscore.com:query timed out]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_FAIL(0.00)[5.3.8.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.dwl.dnswl.org:query timed out]; MV_CASE(0.50)[]; 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)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_SEM_IPV6_FAIL(0.00)[5.3.8.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.bl.ipv6.spameatingmonkey.net:query timed out]; RCVD_IN_DNSWL_NONE(0.00)[5.3.8.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]; IP_SCORE(0.00)[ip: (-9.28), ipnet: 2607:f8b0::/32(-0.38), asn: 15169(-0.49), country: US(-0.05)]; 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: Tue, 24 Mar 2020 17:06:12 -0000 vboxvfs works to mount the directory. I can read and write files, = however I=E2=80=99m observing integrity issues of the mount point. Does anyone know of an application to test file integrity over the = mount? Files in the mount subpath that are accessible from the host and Debian = are not accessible in FreeBSD via vboxvfs. Oddly, command line = completion will show the directory, however the directory is missing = from =E2=80=98ls -l=E2=80=99. Appreciate any guidance on how to test = the integrity of vboxvfs. Thanks > On Mar 24, 2020, at 12:34 PM, Nicholas Papadonis = wrote: >=20 > Solved. >=20 > /etc/fstab: > Source /mnt/srcr vboxvfs rw,uid=3D1001 0 = 0 >=20 >> On Mar 24, 2020, at 12:12 PM, Nicholas Papadonis = wrote: >>=20 >> I updated to the latest and it works! >>=20 >> $ sudo mount -t vboxvfs -o uid=3D1001 Source /mnt/srcr >>=20 >> $ uname -a >> FreeBSD fbsd 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC amd64 >>=20 >> The only issue is the mount points are not made permanent according = to the Shared Folders dialog in VirtualBox. >>=20 >> I tried editing fstab, however the changes were lost. Does anyone = know where to place the mount options? >>=20 >> Thanks >>=20 >>> On Mar 23, 2020, at 7:33 PM, Manish Jain = wrote: >>>=20 >>> Another correction : the type should not be vboxvfs, rather vboxsf : >>>=20 >>> sudo mount -t vboxsf -o uid=3D1000 Source /mnt/srcr >>>=20 >>>=20 >>> On 24/03/2020 04:54, Manish Jain wrote: >>>> On 24/03/2020 03:42, Nicholas Papadonis wrote: >>>>> sudo mount -t vboxvfs Source /mnt/srcr >>>> I think that command is wrong. Try: >>>> sudo mount -t vboxvfs -o uid=3D1000 Source /mnt/srcr >>>> (Presuming your non-root user is UID 1000) >>>> Regards, >>>> Manish Jain >>=20 >=20 From owner-freebsd-questions@freebsd.org Tue Mar 24 18:22: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 169D42653A2 for ; Tue, 24 Mar 2020 18:22:04 +0000 (UTC) (envelope-from FreeBSD@chroot.pl) Received: from mail.apsz.com.pl (mail.apsz.com.pl [91.217.18.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48n02V4wkNz4JmK for ; Tue, 24 Mar 2020 18:21:54 +0000 (UTC) (envelope-from FreeBSD@chroot.pl) Received: from chroot.pl (89-74-178-152.dynamic.chello.pl [89.74.178.152]) by mail.apsz.com.pl (Postfix) with ESMTPS id EF3F1E7460 for ; Tue, 24 Mar 2020 19:05:49 +0100 (CET) To: freebsd-questions@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=chroot.pl; s=mail; t=1585073149; bh=+DxJljFQ1GdVSs30s1BPg+MS1XaFYmZcgH+jZXEGodE=; h=To:From:Subject:Date; b=K6j2cg9YnmKQ0ig9Jumo7xUXIFnui5Ee03miDSL+t2KBGYBPqxcjtJEFWLM0685Af gEbVVQPK8rCIR1yEXOSKq4XsPTLcdoIYem/8P0gCMdMjwotapwOgM0qJdIAn0CXA0T C0CPU+w7Sm0QKqeoIWl4gac1Lh4XJ/v/qJNDrHA+MYaCO+dBZupK8oRDf2LGaUuSbf P8OCHdtwD5C2ZkYHk5kFDh1pwpqg7lz8C1fgQ2qrDTideJSlmI2WcPG85lGJm11qOx KwRGs2gH50bnAoRsdBpIGyXmcpVkQShu2jbi7KqP6UQRQSbl6E0VMiDuWrSsLGS6o1 Bezl6kTUan/lw== From: Lukasz Subject: replace disk in zpool Message-ID: Date: Tue, 24 Mar 2020 19:05:32 +0100 User-Agent: WebMail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: Yes, score=6.3 required=4.0 tests=BAYES_50,KHOP_HELO_FCRDNS, NO_FM_NAME_IP_HOSTN,RDNS_DYNAMIC autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.apsz.com.pl X-Virus-Scanned: clamav-milter 0.102.2 at mail.apsz.com.pl X-Virus-Status: Clean X-Spam-Flag: YES X-Spam-Report: * 2.0 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * 1.7 RDNS_DYNAMIC Delivered to internal network by host with * dynamic-looking rDNS * 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS * 2.2 NO_FM_NAME_IP_HOSTN No From name + hostname using IP address X-Spam-Level: ****** X-Rspamd-Queue-Id: 48n02V4wkNz4JmK X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chroot.pl header.s=mail header.b=K6j2cg9Y; dmarc=pass (policy=none) header.from=chroot.pl; spf=pass (mx1.freebsd.org: domain of FreeBSD@chroot.pl designates 91.217.18.46 as permitted sender) smtp.mailfrom=FreeBSD@chroot.pl X-Spamd-Result: default: False [5.35 / 15.00]; XM_UA_NO_VERSION(0.01)[]; R_SPF_ALLOW(-0.20)[+ip4:91.217.18.46:c]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[chroot.pl:+]; DMARC_POLICY_ALLOW(-0.50)[chroot.pl,none]; RECEIVED_SPAMHAUS_PBL(0.00)[152.178.74.89.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:51426, ipnet:91.217.18.0/23, country:PL]; IP_SCORE(0.01)[country: PL(0.06)]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[chroot.pl:s=mail]; SPAM_FLAG(5.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.52)[0.518,0]; RCPT_COUNT_ONE(0.00)[1]; URIBL_BLOCKED(0.00)[illumos.org.multi.uribl.com,chroot.pl.multi.uribl.com]; NEURAL_SPAM_LONG(0.81)[0.809,0]; RCVD_IN_DNSWL_NONE(0.00)[46.18.217.91.list.dnswl.org : 127.0.10.0]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; 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: Tue, 24 Mar 2020 18:22:04 -0000 Hallo, I replaced one disk in my raidz1 pool, after that new one was resilvered but the entire pool is still in degraded state. In earlier FreeBSD versions zpool always returned to online state. Am I missing something or have I to do something additional? # zpool status pool: mypool state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://illumos.org/msg/ZFS-8000-8A scan: resilvered 180G in 0 days 16:00:55 with 2 errors on Sun Mar 22 05:18:46 2020 config: NAME STATE READ WRITE CKSUM mypool DEGRADED 0 0 2 raidz1-0 DEGRADED 0 0 4 diskid/DISK-WD-WMC1F0521131 ONLINE 0 0 0 replacing-1 DEGRADED 0 0 0 15838717335844820448 UNAVAIL 0 0 0 was /dev/diskid/DISK-WD-WCC130964640 diskid/DISK-K4JG5D2B ONLINE 0 0 0 ada6 ONLINE 0 0 0 ada1 ONLINE 0 0 0 diskid/DISK-WD-WCC130650055 ONLINE 0 0 0 errors: 1 data errors, use '-v' for a list Regards, Lukasz From owner-freebsd-questions@freebsd.org Tue Mar 24 20:45:47 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 63A43269F38 for ; Tue, 24 Mar 2020 20:45:47 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "xray.he.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48n3DL1gThz4FYh for ; Tue, 24 Mar 2020 20:45:37 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 24 Mar 2020 13:45:26 -0700 Subject: Re: replace disk in zpool To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: <18a94704-5411-3b44-a525-2ae50121a467@holgerdanske.com> Date: Tue, 24 Mar 2020 13:45:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48n3DL1gThz4FYh X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-2.66 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; URIBL_BLOCKED(0.00)[illumos.org.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-1.66)[ipnet: 2001:470::/32(-4.66), asn: 6939(-3.59), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.976,0]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_HAM_MEDIUM(-0.92)[-0.923,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, 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: Tue, 24 Mar 2020 20:45:47 -0000 On 2020-03-24 11:05, Lukasz wrote: > Hallo, > > I replaced one disk in my raidz1 pool, after that new one was resilvered > but the entire pool is still in degraded state. In earlier FreeBSD > versions zpool always returned to online state. Am I missing something > or have I to do something additional? > > # zpool status > pool: mypool > state: DEGRADED > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://illumos.org/msg/ZFS-8000-8A > scan: resilvered 180G in 0 days 16:00:55 with 2 errors on Sun Mar 22 > 05:18:46 2020 > config: > > NAME STATE READ WRITE CKSUM > mypool DEGRADED 0 0 2 > raidz1-0 DEGRADED 0 0 4 > diskid/DISK-WD-WMC1F0521131 ONLINE 0 0 0 > replacing-1 DEGRADED 0 0 0 > 15838717335844820448 UNAVAIL 0 0 0 was > /dev/diskid/DISK-WD-WCC130964640 > diskid/DISK-K4JG5D2B ONLINE 0 0 0 > ada6 ONLINE 0 0 0 > ada1 ONLINE 0 0 0 > diskid/DISK-WD-WCC130650055 ONLINE 0 0 0 > > errors: 1 data errors, use '-v' for a list > > Regards, > Lukasz Please run the following commands and paste the console session into a reply: # freebsd-version ; uname -a # zpool status -v mypool So, you had 5 drives in RAIDZ1, one died, you removed the failed drive, you installed a replacement drive, and you issued a 'zpool replace' command? Have you disabled services that use datasets in that pool? Have you set the readonly property on those datasets? Do you have a backup? David From owner-freebsd-questions@freebsd.org Tue Mar 24 21:00:47 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 E65FB26A48C for ; Tue, 24 Mar 2020 21:00:47 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "xray.he.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48n3Yh3LNCz4LFt for ; Tue, 24 Mar 2020 21:00:40 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 24 Mar 2020 14:00:27 -0700 Subject: Re: vboxvfs file integrity problems? To: freebsd-questions@freebsd.org References: <0438AA11-06BB-4D8B-BDF9-8F15E785882D@gmail.com> <27A6356A-AC35-4526-898B-88C87FAC703B@gmail.com> From: David Christensen Message-ID: <86aabd03-404a-c948-17cf-3598f57e3a54@holgerdanske.com> Date: Tue, 24 Mar 2020 14:00:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48n3Yh3LNCz4LFt X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-1.62 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.886,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-1.66)[ipnet: 2001:470::/32(-4.65), asn: 6939(-3.59), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.978,0]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, 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: Tue, 24 Mar 2020 21:00:48 -0000 On 2020-03-24 10:05, Nicholas Papadonis wrote: > Does anyone know of an application to test file integrity over the mount? The best tool I have found for validating filesystem integrity is mtree(8) on FreeBSD. Unfortunately, it is not well supported on other platforms (notably Debian 9). If you know Perl, you can write a script to do essentially the same thing. David From owner-freebsd-questions@freebsd.org Tue Mar 24 21:15: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 8DF1426AD62 for ; Tue, 24 Mar 2020 21:15:49 +0000 (UTC) (envelope-from FreeBSD@chroot.pl) Received: from mail.apsz.com.pl (mail.apsz.com.pl [91.217.18.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48n3ty0Tnbz4R5t for ; Tue, 24 Mar 2020 21:15:36 +0000 (UTC) (envelope-from FreeBSD@chroot.pl) Received: from chroot.pl (89-74-178-152.dynamic.chello.pl [89.74.178.152]) by mail.apsz.com.pl (Postfix) with ESMTPS id 6C8A0E745E; Tue, 24 Mar 2020 22:15:24 +0100 (CET) Subject: Re: replace disk in zpool DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=chroot.pl; s=mail; t=1585084524; bh=jd2aHzbs+JDskwjCI31KRMhsCIIHGRDygIe+KFboG3k=; h=Subject:To:References:From:Cc:Date:In-Reply-To; b=JnSxJUVJ3HYqpARJ3FgYmQC0Ja/13nyWr9Eu3lwCxzdQMfQn7doCHsGZMd63hf3Lj XmKfWB73GRsowWXNBj+jbvIjxGLd+RD9DuoJF/PatlRZtYF9KfkLaInJzkhZIgm4ux F3vY0HkR9t0b/IZYxrFqS+7GDuSWJwoOkUuynd5o8B/YOT+ERl7PMdHL2CrD0w6Nht /dYq5Fk/sZ0WbYz5s/AkHmy3moR45zheClqGhsJKThwK04bnyC6zmSuFsmnuelPJ0z f1rWQ1jofhhjxPpmbI4ocsg7OYt3JW305Rzhjt/u/B2rA/DEk6qxGh0GsGQ55MUwx1 KWaAJPtOS9wUw== To: David Christensen References: <18a94704-5411-3b44-a525-2ae50121a467@holgerdanske.com> From: Lukasz Cc: freebsd-questions@freebsd.org Message-ID: Date: Tue, 24 Mar 2020 22:15:08 +0100 User-Agent: WebMail MIME-Version: 1.0 In-Reply-To: <18a94704-5411-3b44-a525-2ae50121a467@holgerdanske.com> Content-Type: text/plain; charset=utf-8 Content-Language: pl-PL Content-Transfer-Encoding: 8bit X-Spam-Status: Yes, score=4.1 required=4.0 tests=BAYES_50,KHOP_HELO_FCRDNS, RDNS_DYNAMIC autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.apsz.com.pl X-Virus-Scanned: clamav-milter 0.102.2 at mail.apsz.com.pl X-Virus-Status: Clean X-Spam-Flag: YES X-Spam-Report: * 2.0 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * 1.7 RDNS_DYNAMIC Delivered to internal network by host with * dynamic-looking rDNS * 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Spam-Level: **** X-Rspamd-Queue-Id: 48n3ty0Tnbz4R5t X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chroot.pl header.s=mail header.b=JnSxJUVJ; dmarc=pass (policy=none) header.from=chroot.pl; spf=pass (mx1.freebsd.org: domain of FreeBSD@chroot.pl designates 91.217.18.46 as permitted sender) smtp.mailfrom=FreeBSD@chroot.pl X-Spamd-Result: default: False [4.37 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.11)[-0.110,0]; R_DKIM_ALLOW(-0.20)[chroot.pl:s=mail]; SPAM_FLAG(5.00)[]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[chroot.pl.multi.uribl.com,illumos.org.multi.uribl.com]; R_SPF_ALLOW(-0.20)[+ip4:91.217.18.46]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.01)[country: PL(0.06)]; TO_DN_SOME(0.00)[]; GREYLIST(0.00)[pass,meta]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[chroot.pl:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[46.18.217.91.list.dnswl.org : 127.0.10.0]; DMARC_POLICY_ALLOW(-0.50)[chroot.pl,none]; NEURAL_SPAM_LONG(0.46)[0.456,0]; RECEIVED_SPAMHAUS_PBL(0.00)[152.178.74.89.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:51426, ipnet:91.217.18.0/23, country:PL]; 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: Tue, 24 Mar 2020 21:15:50 -0000 Ohh… I forgot mention: it's 12.1-p3 # zpool status -v mypool pool: mypool state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://illumos.org/msg/ZFS-8000-8A scan: resilvered 180G in 0 days 16:00:55 with 2 errors on Sun Mar 22 05:18:46 2020 config: NAME STATE READ WRITE CKSUM mypool DEGRADED 0 0 2 raidz1-0 DEGRADED 0 0 4 diskid/DISK-WD-WMC1F0521131 ONLINE 0 0 0 replacing-1 DEGRADED 0 0 0 15838717335844820448 UNAVAIL 0 0 0 was /dev/diskid/DISK-WD-WCC130964640 diskid/DISK-K4JG5D2B ONLINE 0 0 0 ada6 ONLINE 0 0 0 ada1 ONLINE 0 0 0 diskid/DISK-WD-WCC130650055 ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: mypool/XXXXXXXXXXXX Yes, I did exacly as you wrote - removed the failed drive, installed a replacement drive, and issued a 'zpool replace' command. I tried this way to: I disabled running services in that pool, unmounted and mounted it again. Even I exported/imported that pool. It has no readonly property. Of course I have a backup. On 3/24/20 21:45, David Christensen wrote: > On 2020-03-24 11:05, Lukasz wrote: >> Hallo, >> >> I replaced one disk in my raidz1 pool, after that new one was resilvered >> but the entire pool is still in degraded state. In earlier FreeBSD >> versions zpool always returned to online state. Am I missing something >> or have I to do something additional? >> >> # zpool status >>    pool: mypool >>   state: DEGRADED >> status: One or more devices has experienced an error resulting in data >>          corruption.  Applications may be affected. >> action: Restore the file in question if possible.  Otherwise restore the >>          entire pool from backup. >>     see: http://illumos.org/msg/ZFS-8000-8A >>    scan: resilvered 180G in 0 days 16:00:55 with 2 errors on Sun Mar 22 >> 05:18:46 2020 >> config: >> >>          NAME                             STATE     READ WRITE CKSUM >>          mypool                           DEGRADED     0     0     2 >>            raidz1-0                       DEGRADED     0     0     4 >>              diskid/DISK-WD-WMC1F0521131  ONLINE       0     0     0 >>              replacing-1                  DEGRADED     0     0     0 >>                15838717335844820448       UNAVAIL      0     0     0  was >> /dev/diskid/DISK-WD-WCC130964640 >>                diskid/DISK-K4JG5D2B       ONLINE       0     0     0 >>              ada6                         ONLINE       0     0     0 >>              ada1                         ONLINE       0     0     0 >>              diskid/DISK-WD-WCC130650055  ONLINE       0     0     0 >> >> errors: 1 data errors, use '-v' for a list >> >> Regards, >> Lukasz > > > Please run the following commands and paste the console session into a reply: > > # freebsd-version ; uname -a > > # zpool status -v mypool > > > So, you had 5 drives in RAIDZ1, one died, you removed the failed drive, you installed a replacement drive, and you issued a 'zpool replace' command? > > > Have you disabled services that use datasets in that pool? > > > Have you set the readonly property on those datasets? > > > Do you have a backup? > > > David > > _______________________________________________ > 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 Tue Mar 24 23:35: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 1AD2C26DFC3 for ; Tue, 24 Mar 2020 23:35:27 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48n6zr3h7rz4L9Q for ; Tue, 24 Mar 2020 23:35:03 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by h2.pinyon.org (Postfix, from userid 58) id EB4C523E39; Tue, 24 Mar 2020 16:34:53 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1585092893; bh=IKWTIgzU+ZwNU8DOqZe/PRPCPCvoXOjTKBIUH0EfyVg=; h=To:From:Subject:Date; b=kmGSpadq7qctQGgtPWX716f60mozvEG8nPfAg1WK9shcMNDyXnYdaJGLCw2Ix3Zrm AUl7Zz1gbfgxUMg296eMypS1SAUg339OLNCNKOGXpckro84mxj0S5DnmQa2Nqdu510 syvsieZqEQdWevVdSNYzXM/E5fiMOMRwrqRfahfM= X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on h2.n1.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED shortcircuit=no autolearn=ham autolearn_force=no version=3.4.4 Received: from [10.0.10.15] (unknown [10.0.10.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 0343E23DC9 for ; Tue, 24 Mar 2020 16:34:52 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1585092893; bh=IKWTIgzU+ZwNU8DOqZe/PRPCPCvoXOjTKBIUH0EfyVg=; h=To:From:Subject:Date; b=kmGSpadq7qctQGgtPWX716f60mozvEG8nPfAg1WK9shcMNDyXnYdaJGLCw2Ix3Zrm AUl7Zz1gbfgxUMg296eMypS1SAUg339OLNCNKOGXpckro84mxj0S5DnmQa2Nqdu510 syvsieZqEQdWevVdSNYzXM/E5fiMOMRwrqRfahfM= To: freebsd-questions@freebsd.org From: "Russell L. Carter" Subject: USB keyboard on 3.0 hub at boot Message-ID: <5b9c8400-68a9-b16a-92d1-8e2038396ac2@pinyon.org> Date: Tue, 24 Mar 2020 16:34:52 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48n6zr3h7rz4L9Q X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pinyon.org header.s=DKIM header.b=kmGSpadq; dkim=pass header.d=pinyon.org header.s=DKIM header.b=kmGSpadq; dmarc=temperror reason="query timed out" header.from=pinyon.org (policy=temperror); spf=pass (mx1.freebsd.org: domain of rcarter@pinyon.org designates 65.101.20.170 as permitted sender) smtp.mailfrom=rcarter@pinyon.org X-Spamd-Result: default: False [-5.22 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[pinyon.org:s=DKIM]; URIBL_BLOCKED(0.00)[pinyon.org.multi.uribl.com]; 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]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[pinyon.org:+]; DMARC_DNSFAIL(0.00)[pinyon.org : query timed out]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.72)[ip: (-9.29), ipnet: 65.101.0.0/18(-4.15), asn: 209(-0.10), country: US(-0.05)]; ASN(0.00)[asn:209, ipnet:65.101.0.0/18, 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: Tue, 24 Mar 2020 23:35:27 -0000 Greetings, I have a "Cooler Master Technology Inc. MasterKeys S" plugged into a recent Anker USB 3 hub. On boot, it is not active at the loader prompt, and even after fully booting up, I have to pull the plug, wait a few seconds, and then plug it back in to activate the keyboard for eg the xdm screen. I've been spending some time in man syscons(4), vt(4), atkbd(4), ukbd(4), uhci(4), and ohci(4), and I do not understand: 1) if it's possible to have an active USB keyboard connected to a USB-3 hub at the loader prompt 2) why my USB keyboard doesn't work even after the system is fully booted up, and has to be unplugged/plugged in again to activate. I have sc, vt, atkbd, atkbdc, ukbd, ohci, uhci, and xhci configured in the kernel, and /boot/loader.conf contains: hw.vga.textmode="1" zfs_load="YES" ukbd_load="YES" autofs_load="YES" # man sound(4) EQ section: hint.pcm.0.eq="1" uhid_load="YES" These settings were originally worked out maybe 6 years ago and some might be obsolete. Thanks, Russell From owner-freebsd-questions@freebsd.org Tue Mar 24 23:47: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 4DBA126E42C for ; Tue, 24 Mar 2020 23:47:41 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "xray.he.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48n7G936m5z4PvN for ; Tue, 24 Mar 2020 23:47:28 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 24 Mar 2020 16:47:10 -0700 Subject: Re: replace disk in zpool To: Lukasz Cc: freebsd-questions@freebsd.org References: <18a94704-5411-3b44-a525-2ae50121a467@holgerdanske.com> From: David Christensen Message-ID: <4a8d409e-ecac-77c8-3ad9-025aefdfb4ef@holgerdanske.com> Date: Tue, 24 Mar 2020 16:47:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48n7G936m5z4PvN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-2.74 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; URIBL_BLOCKED(0.00)[wdc.com.multi.uribl.com,illumos.org.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.985,0]; IP_SCORE(-1.66)[ipnet: 2001:470::/32(-4.66), asn: 6939(-3.59), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[holgerdanske.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, 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: Tue, 24 Mar 2020 23:47:41 -0000 On 2020-03-24 14:15, Lukasz wrote: > Ohh… I forgot mention: > it's 12.1-p3 > > # zpool status -v mypool > pool: mypool > state: DEGRADED > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://illumos.org/msg/ZFS-8000-8A > scan: resilvered 180G in 0 days 16:00:55 with 2 errors on Sun Mar 22 > 05:18:46 2020 > config: > > NAME STATE READ WRITE CKSUM > mypool DEGRADED 0 0 2 > raidz1-0 DEGRADED 0 0 4 > diskid/DISK-WD-WMC1F0521131 ONLINE 0 0 0 > replacing-1 DEGRADED 0 0 0 > 15838717335844820448 UNAVAIL 0 0 0 was /dev/diskid/DISK-WD-WCC130964640 > diskid/DISK-K4JG5D2B ONLINE 0 0 0 > ada6 ONLINE 0 0 0 > ada1 ONLINE 0 0 0 > diskid/DISK-WD-WCC130650055 ONLINE 0 0 0 > > errors: Permanent errors have been detected in the following files: > mypool/XXXXXXXXXXXX > > Yes, I did exacly as you wrote - removed the failed drive, installed a replacement drive, and issued a 'zpool replace' command. > I tried this way to: > I disabled running services in that pool, unmounted and mounted it again. Even I exported/imported that pool. > It has no readonly property. > Of course I have a backup. My guess is that resilvering is stuck because ZFS has encountered data corruption. This could be caused by drive(s), cable(s), and/or data port(s) (motherboard or expansion card). What was the failure mode of the bad drive? Did you test it in any other machines? Are the any items of concern in the SMART reports for the current set of drives? Please post anything that looks questionable. Unplug and plug all of your drive power and data cables. Make sure they seat well. If unsure about a data cable, replace it with a new, locking cable. I have experienced too many problems with red SATA cables. Few, if any, are marked with their rated speed (I did mark some StarTech SATA III cables). So, I stocked up on various lengths and configurations of Cable Matters SATA III cables. They are black, marked "6G", and have locking connectors. Now, whenever I am in a system case, I replace most every red SATA cable just to be safe. I appears that you have Western Digital hard drives. Download Data Lifeguard Diagnostic (DLG) for DOS, burn it to a USB flash drive, boot it, and test all of your drives. Please post the results: https://support.wdc.com/downloads.aspx?p=2 David From owner-freebsd-questions@freebsd.org Tue Mar 24 23:52: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 2E05826E6A9 for ; Tue, 24 Mar 2020 23:52:25 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 48n7MZ18hMz4RTs for ; Tue, 24 Mar 2020 23:52:09 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-io1-xd2a.google.com with SMTP id v3so446195iot.11 for ; Tue, 24 Mar 2020 16:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=k2sIAxAFTPe9KqJLAjwJdDn9b/TMwZN05YiNoGUNGIQ=; b=egmuJRFmL8BJT5T4Wddo618Z2YRsXK+05q3j4MVjx317dLqjkEuSp/DnsnIvgmOppM +PsxwUkQWbGdX4PdyHqbmCMdibGYLTj7cb+AFzabF2A/VRnZgxzWdJShKzlMgdqprexU /7neDQD3q4lSKEblXM2eP5HYHwHTOs7x8otu9n69PAd+Yr7511xxQjxAIPM6CoYyGdQh HKRQrFzf+exU3HCMJOeUNwrB1gzLj/ehud86dEhB/V7iNkbpb9GfxKJJMpTiRsXn+AX/ bxsbJwWxL5QcZjoklwXnWExTqzlxFmaQsjSmmrs+GqqpVMb1ESB+PbuPTXCwlxG0pAJm MaFQ== 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=k2sIAxAFTPe9KqJLAjwJdDn9b/TMwZN05YiNoGUNGIQ=; b=DxU+lO1xNYnX8Q0yUcMxpzByGcGVk+XiQTI+G/FLHMGvMF76wdFqAuwSvaJndi9E+c B/4AgbCuNKqaTo/k6QdTRAS7gxgPUgqlwuhWOGfeyd8X0Ne4ShLRNYHDoPuKoJ/pDtY7 3SYCdoHjIyEnEV5XQiZS2nGSwsgKPF+M1Nh3xp3oMi8w9IcBJEmUlYGjonBnVfTvQXAi Iem1+Oz5miYA3hP3MgA6+e2IAHh2T60vrtdGRYzcWMj8Ksc1AtYIgmcigmA61Y26NLg9 zcukSTTKWLu01snQuX4xI3BAG9KV9dA6orATW+mB+wmgeb533hHGlq0n3vZptAP+mPE2 lSeg== X-Gm-Message-State: ANhLgQ3jAUMcq6tEC/t5lHEqYXGn40S1vSslFe80blxcC69B7AbGI45K dGryD8NXE9Y2LIG6UJU2lgO/8vM0mP7WvaMcQn3ppk66 X-Google-Smtp-Source: ADFU+vuUcfnuNGL2LozVGpAkwDTyHeo5v6EmkQCSSg7MzexWbcZzzbU9hSi0ktnhYI+Au6I8Owd1VebtTI4qkOWGGyI= X-Received: by 2002:a5d:878c:: with SMTP id f12mr515767ion.164.1585093920479; Tue, 24 Mar 2020 16:52:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:8487:0:0:0:0:0 with HTTP; Tue, 24 Mar 2020 16:52:00 -0700 (PDT) From: David Mehler Date: Tue, 24 Mar 2020 19:52:00 -0400 Message-ID: Subject: sshd not allowing a subgroup to authenticate according to it's authentication method To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48n7MZ18hMz4RTs X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=egmuJRFm; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2607:f8b0:4864:20::d2a as permitted sender) smtp.mailfrom=davemehler@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-6.59), ipnet: 2607:f8b0::/32(-0.38), asn: 15169(-0.48), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[a.2.d.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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; 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]; TAGGED_FROM(0.00)[]; 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: Tue, 24 Mar 2020 23:52:25 -0000 Hello, I'm running sshd on FreeBSD 12.1. I'm having an issue, I want users in a group sftpusers to be able to be logged in via password and to be chrooted to their home directories. Everytime I try to log in I'm getting no supported authenticationmethods publickey. From the man page I thought that a group definition overrode a global configuration setting. Here's a config snipet: # Authentication: AuthenticationMethods publickey #StrictModes yes #PubkeyAuthentication yes #PasswordAuthentication no #PermitEmptyPasswords no ChallengeResponseAuthentication no UsePAM no AllowAgentForwarding no AllowTcpForwarding no #GatewayPorts no #ChrootDirectory none Subsystem sftp internal-sftp # Set up groups for different types of logins AllowGroups sshusers sftpusers Match Group sshusers PubkeyAuthentication yes PasswordAuthentication no X11Forwarding no AllowTcpForwarding no AllowAgentForwarding no PermitTunnel no Match Group sftpusers ChrootDirectory /home/%u ForceCommand internal-sftp X11Forwarding no AllowTcpForwarding no AllowAgentForwarding no PermitTunnel no PermitTTY no PasswordAuthentication yes Suggestions welcome. Thanks. Dave. From owner-freebsd-questions@freebsd.org Wed Mar 25 00:03: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 7EBA226ECA6 for ; Wed, 25 Mar 2020 00:03:44 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48n7cc5Sr1z4VvG for ; Wed, 25 Mar 2020 00:03:26 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 24 Mar 2020 17:03:11 -0700 Subject: Re: USB keyboard on 3.0 hub at boot To: freebsd-questions@freebsd.org References: <5b9c8400-68a9-b16a-92d1-8e2038396ac2@pinyon.org> From: David Christensen Message-ID: <01a5a95a-676c-14a2-f93d-cb17f04128b3@holgerdanske.com> Date: Tue, 24 Mar 2020 17:03:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <5b9c8400-68a9-b16a-92d1-8e2038396ac2@pinyon.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48n7cc5Sr1z4VvG X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-1.19 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.68)[-0.684,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.60)[ipnet: 184.104.0.0/15(0.62), asn: 6939(-3.59), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.80)[-0.804,0]; DMARC_NA(0.00)[holgerdanske.com]; RCVD_IN_DNSWL_NONE(0.00)[27.128.105.184.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, 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, 25 Mar 2020 00:03:44 -0000 On 2020-03-24 16:34, Russell L. Carter wrote: > Greetings, > > I have a "Cooler Master Technology Inc. MasterKeys S" plugged into a > recent Anker USB 3 hub.  On boot, it is not active at the loader > prompt, and even after fully booting up, I have to pull the plug, wait > a few seconds, and then plug it back in to activate the keyboard for > eg the xdm screen. > > I've been spending some time in man syscons(4), vt(4), atkbd(4), > ukbd(4), uhci(4), and ohci(4), and I do not understand: > > 1) if it's possible to have an active USB keyboard connected to a >    USB-3 hub at the loader prompt > > 2) why my USB keyboard doesn't work even after the system is fully >    booted up, and has to be unplugged/plugged in again to activate. > > I have sc, vt, atkbd, atkbdc, ukbd, ohci, uhci, and xhci configured in > the kernel, and /boot/loader.conf contains: > > hw.vga.textmode="1" > zfs_load="YES" > ukbd_load="YES" > autofs_load="YES" > # man sound(4) EQ section: > hint.pcm.0.eq="1" > uhid_load="YES" > > These settings were originally worked out maybe 6 years ago and some > might be obsolete. > > Thanks, > Russell I find that USB 3.0 still is not reliable on FreeBSD and GNU/Linux. Surprisingly, the same can be said for PS/2 ports on newer hardware. So, I use USB 2.0 ports for keyboards, mice, and bootable USB drives. I do not know the details of the settings you have made in /boot/loader.conf. If you have an original copy from when the system was installed, you might want to try reverting any changes you have made. David From owner-freebsd-questions@freebsd.org Wed Mar 25 03:27: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 3783C2738FD for ; Wed, 25 Mar 2020 03:27:30 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: from mail-qv1-xf41.google.com (mail-qv1-xf41.google.com [IPv6:2607:f8b0:4864:20::f41]) (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 48nD7d6TMTz3Jht for ; Wed, 25 Mar 2020 03:27:09 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: by mail-qv1-xf41.google.com with SMTP id f7so343227qvr.11 for ; Tue, 24 Mar 2020 20:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CvcgeEtv9hLF6718gRnUsz5YlHjr0cbLJqx2DbzKU04=; b=QRCS6NyqAPr6h34szYNeb8ZZLts+d9qXmH+TwLIRcXeUP9WaJvw6GFEVXWrdUqkaOR 1T4+jRhL9ysA1PMaME+MG6iTldlu+GqqRWcUXTmk7CeVZPpcbRC1LnElNcOsSEibOmdl StLh7Z0ktDka75HwFe0uQm+s8rfykTEX4G3umK7rjSlABTZnSKII9VFAYzraZlImEU7V Az5SzhetqSI00/LwH3yNm4w87/dGIxXpREO5Y9ayqe8U0bYi9sYmoGWCpogxmJ/8znzz ctBny3sJ5v8/FVsqBsKxjRxpmcSMhrL+ktN2sCho6xl1TTzpGqIJaQfiZZQWDG/URK9S HrcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CvcgeEtv9hLF6718gRnUsz5YlHjr0cbLJqx2DbzKU04=; b=Cbxm/TMlC68TzsA68TjSxpN53qf005QMN+558DYA/F/DodMu/6NyT3x/2pUSyFXS+X 30rzy0uYLuBfc8Kkx/M/xtUFPZfb/UrI6F3ipa3JVfhaD1dQMNhDZ+LDSce1ZI8xyDZt etbqKxbTZi0B18hIMHcJ/qSFjHHdpSGH3AbgZn1PL6BjPwL9J8hXCGleHJPIBLF/Kens rwM+JKjknwQdt33dEuluygS2jjJPbVZIyZ8PZL9ZtIKca+0xfvfpJW4/U0oiQCWoc1bz 5IxuzNLoaq3UlU1PW8u5WxVJFRWlUVDO+Lf0kjKhcT//KtCR9Uwjd47bYXZy1ZJEvfrM LYQA== X-Gm-Message-State: ANhLgQ3R+V02SA+MG27Za705qMQzkUr5545nbZb/69VU7ZKFJkX87kD0 9q6imk0VWofkVhA8SH6M11vUhlMZsPk= X-Google-Smtp-Source: ADFU+vt88lzDxiygseg5iLgLtO2if39+q2nqPH0yBXPm/6bMN5iOlPptmTjaav75ehQCkhLwISGPCw== X-Received: by 2002:a0c:9e68:: with SMTP id z40mr1278254qve.242.1585106819399; Tue, 24 Mar 2020 20:26:59 -0700 (PDT) Received: from ?IPv6:2601:18c:c900:5070:cc56:bcd2:d92f:89e2? ([2601:18c:c900:5070:cc56:bcd2:d92f:89e2]) by smtp.gmail.com with ESMTPSA id l188sm14340475qkc.106.2020.03.24.20.26.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2020 20:26:59 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: vboxvfs file integrity problems? From: Nicholas Papadonis In-Reply-To: Date: Tue, 24 Mar 2020 23:26:55 -0400 Cc: Mario Lobo , Manish Jain Content-Transfer-Encoding: quoted-printable Message-Id: References: <0438AA11-06BB-4D8B-BDF9-8F15E785882D@gmail.com> <27A6356A-AC35-4526-898B-88C87FAC703B@gmail.com> To: "freebsd-questions@freebsd.org" X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 48nD7d6TMTz3Jht X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QRCS6Nyq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nickpapadonisml@gmail.com designates 2607:f8b0:4864:20::f41 as permitted sender) smtp.mailfrom=nickpapadonisml@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; 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)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; SPAMHAUS_AUTHBL_RECEIVED_FAIL(0.00)[2.e.9.8.f.2.9.d.2.d.c.b.6.5.c.c.0.7.0.5.0.0.9.c.c.8.1.0.1.0.6.2.khpj7ygk5idzvmvt5x4ziurxhy.authbl.dq.spamhaus.net:query timed out]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.f.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]; RBL_BLOCKLISTDE_FAIL(0.00)[1.4.f.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.bl.blocklist.de:query timed out]; IP_SCORE(0.00)[ip: (0.00), ipnet: 2607:f8b0::/32(-0.38), asn: 15169(-0.48), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_FAIL(0.00)[2.e.9.8.f.2.9.d.2.d.c.b.6.5.c.c.0.7.0.5.0.0.9.c.c.8.1.0.1.0.6.2.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net:query timed out] 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, 25 Mar 2020 03:27:30 -0000 I compared the results between configurations of same directory tree. = Using mounted filesystem with vboxvfs, using filesystem directly on Mac, = using NFS mounted filesystem. All of the same data. It appears the results over the vboxvfs driver mounted filesystem differ = in that vboxvfs mount is missing the =E2=80=9Cnlink=3DX=E2=80=9D field. = size is also missing, but I=E2=80=99m assuming that=E2=80=99s expected = as it=E2=80=99s missing on the nfs mount as well. $ diff mtreenfs-mount.txt mtreeonmac.txt|more < branches type=3Ddir nlink=3D2 time=3D1547439167.000000000 --- > branches type=3Ddir nlink=3D2 size=3D64 = time=3D1547439167.000000000 diff mtreenfs-mount.txt mtree-fbsd-vboxvfs.txt |less < branches type=3Ddir nlink=3D2 time=3D1547439167.000000000 --- > branches type=3Ddir time=3D1547439167.000000000 Perhaps the missing nlink is the problem? Thanks > On Mar 24, 2020, at 1:05 PM, Nicholas Papadonis = wrote: >=20 > vboxvfs works to mount the directory. I can read and write files, = however I=E2=80=99m observing integrity issues of the mount point. >=20 > Does anyone know of an application to test file integrity over the = mount? >=20 > Files in the mount subpath that are accessible from the host and = Debian are not accessible in FreeBSD via vboxvfs. Oddly, command line = completion will show the directory, however the directory is missing = from =E2=80=98ls -l=E2=80=99. Appreciate any guidance on how to test = the integrity of vboxvfs. >=20 > Thanks >=20 >=20 >> On Mar 24, 2020, at 12:34 PM, Nicholas Papadonis = wrote: >>=20 >> Solved. >>=20 >> /etc/fstab: >> Source /mnt/srcr vboxvfs rw,uid=3D1001 0 = 0 >>=20 >>> On Mar 24, 2020, at 12:12 PM, Nicholas Papadonis = wrote: >>>=20 >>> I updated to the latest and it works! >>>=20 >>> $ sudo mount -t vboxvfs -o uid=3D1001 Source /mnt/srcr >>>=20 >>> $ uname -a >>> FreeBSD fbsd 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC = amd64 >>>=20 >>> The only issue is the mount points are not made permanent according = to the Shared Folders dialog in VirtualBox. >>>=20 >>> I tried editing fstab, however the changes were lost. Does anyone = know where to place the mount options? >>>=20 >>> Thanks >>>=20 >>>> On Mar 23, 2020, at 7:33 PM, Manish Jain = wrote: >>>>=20 >>>> Another correction : the type should not be vboxvfs, rather vboxsf = : >>>>=20 >>>> sudo mount -t vboxsf -o uid=3D1000 Source /mnt/srcr >>>>=20 >>>>=20 >>>> On 24/03/2020 04:54, Manish Jain wrote: >>>>> On 24/03/2020 03:42, Nicholas Papadonis wrote: >>>>>> sudo mount -t vboxvfs Source /mnt/srcr >>>>> I think that command is wrong. Try: >>>>> sudo mount -t vboxvfs -o uid=3D1000 Source /mnt/srcr >>>>> (Presuming your non-root user is UID 1000) >>>>> Regards, >>>>> Manish Jain >>>=20 >>=20 >=20 From owner-freebsd-questions@freebsd.org Wed Mar 25 05:01:40 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 B87CF275C43 for ; Wed, 25 Mar 2020 05:01:40 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 48nGDV4801z4Ndm for ; Wed, 25 Mar 2020 05:01:30 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-io1-xd33.google.com with SMTP id n21so974408ioo.10 for ; Tue, 24 Mar 2020 22:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gCxt+P97h4FAda9co1abIpDpVSJx8GYHzKKP/WHGbOA=; b=dvOiDGPCSJeOH67DBPpA4G1pmXCGNG1dMWS+4sRql2E3mZfdRR/FVA0oLKhc1A8bej LMEgheOzLeVk1qulB3Uux9pZUNrYlMoBDRlsDEgF3hmKbbzJvddv+j4zzZV8I6PciWaD ZXq/zrk71EaegKQl46TZAwhagY1UeYV14FDSfzok3Q0Y6RhUyAmmoJfU7BGewXvxEP22 98Auybwwp/JQ8ZjvOalfHqLtsA2FoUFeCmUbcx5Ssosy6XE20BBnZZWb5rQuqmMuizoE vtTPFuHTf5k4agHNfjCIqB8k2nVJRYqNS5eFLGe560cmIVWLn56aRwz8UtyFgjrLWe7F xMsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gCxt+P97h4FAda9co1abIpDpVSJx8GYHzKKP/WHGbOA=; b=VNKxWMPlofVswL64mN9wbKjdgi37QgL8Py3l+JVOuEhODCLEemvho4G6o3LFIbPkhR qGGAB82CM+zYhZNPiYjHaprXTU7QauwVLPVe3CycIIiwGiTKPadxz2kOCDhnZMxxYL8i LXoGZsK+t1kY3HGKSGhZOkbRBs25JQSIzICDMw8fUdDej31bR+TxrNhrqZw1Ief1girj uRtm66Ra0L+lKmSbvRuVKIU9sEXSpzm7xnESmcNwZhBAGa2QXDWGEfEdrsRN3NKlsWp+ 1KLSH1ej2fOVpNbTaaejbVLhAYTb1ceuTMZe969sca0MM9WzjN5MZDOdGdjt49h/pxmM DM0g== X-Gm-Message-State: ANhLgQ0XyEtLeCeCP4PNna9dqCae4b0aIIn8xvQHq4MDw4ewh2Z899w1 4W5XQlErmMxVRhzMP/aGsYGS8zB1ljrMqmS6td0GqSzT X-Google-Smtp-Source: ADFU+vvGWvvi8QWPVvEg5IPaCkAgjmJeU7Qk4o8FQVqQcDsrVbmS4Dem8za/4O6MRW16FNymI1OEnGOyoZOjwGaNH8w= X-Received: by 2002:a5d:878c:: with SMTP id f12mr1350549ion.164.1585112483699; Tue, 24 Mar 2020 22:01:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:8487:0:0:0:0:0 with HTTP; Tue, 24 Mar 2020 22:01:23 -0700 (PDT) In-Reply-To: <208460FC-FD0D-48F8-987A-A3B589B3A8B0@huiekin.org> References: <208460FC-FD0D-48F8-987A-A3B589B3A8B0@huiekin.org> From: David Mehler Date: Wed, 25 Mar 2020 01:01:23 -0400 Message-ID: Subject: Re: sshd not allowing a subgroup to authenticate according to it's authentication method To: Jim Trigg Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48nGDV4801z4Ndm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=dvOiDGPC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2607:f8b0:4864:20::d33 as permitted sender) smtp.mailfrom=davemehler@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:c]; 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)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.3.d.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: (-5.68), ipnet: 2607:f8b0::/32(-0.38), asn: 15169(-0.48), 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]; TAGGED_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, 25 Mar 2020 05:01:41 -0000 Hello, Thanks, actually it's not anyone in the sshusers group, that's working fine, and I am not in sftpusers. Other users are in that group and they're being prompted for public keys and rejected because they're trying to use passwords. Thanks. Dave. On 3/25/20, Jim Trigg wrote: > At a guess, you're also a member of sshusers. Try putting the sftpusers > stanza before the sshusers stanza. > > Thanks, > Jim Trigg > > > On March 24, 2020 7:52:00 PM EDT, David Mehler > wrote: >>Hello, >> >>I'm running sshd on FreeBSD 12.1. I'm having an issue, I want users in >>a group sftpusers to be able to be logged in via password and to be >>chrooted to their home directories. Everytime I try to log in I'm >>getting no supported authenticationmethods publickey. From the man >>page I thought that a group definition overrode a global configuration >>setting. Here's a config snipet: >> >># Authentication: >>AuthenticationMethods publickey >>#StrictModes yes >>#PubkeyAuthentication yes >>#PasswordAuthentication no >>#PermitEmptyPasswords no >>ChallengeResponseAuthentication no >>UsePAM no >>AllowAgentForwarding no >>AllowTcpForwarding no >>#GatewayPorts no >>#ChrootDirectory none >>Subsystem sftp internal-sftp >># Set up groups for different types of logins >>AllowGroups sshusers sftpusers >> >>Match Group sshusers >>PubkeyAuthentication yes >>PasswordAuthentication no >>X11Forwarding no >>AllowTcpForwarding no >> AllowAgentForwarding no >> PermitTunnel no >> >>Match Group sftpusers >>ChrootDirectory /home/%u >>ForceCommand internal-sftp >>X11Forwarding no >>AllowTcpForwarding no >> AllowAgentForwarding no >> PermitTunnel no >> PermitTTY no >>PasswordAuthentication yes >> >>Suggestions welcome. >>Thanks. >>Dave. >>_______________________________________________ >>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" > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. From owner-freebsd-questions@freebsd.org Wed Mar 25 07:51:15 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 1E79327964D for ; Wed, 25 Mar 2020 07:51:15 +0000 (UTC) (envelope-from newsgroups@rubenschade.com) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 48nL043cpkz4CVN for ; Wed, 25 Mar 2020 07:51:00 +0000 (UTC) (envelope-from newsgroups@rubenschade.com) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 445865C0296 for ; Wed, 25 Mar 2020 03:50:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 25 Mar 2020 03:50:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rubenschade.com; h=from:to:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=fm2; bh=/qV5xsnZ2oSG29CRyPOgrihoHD 9K9Q7P8z7a7GeX6Lk=; b=jkqOlpqIKLHu9iTMKZ93sQeKSXczVsiZWAt4C70qyy J8DtIEV+SESNDFeKHa1KM9/DrevIlHZCldo+f5Ze1+PU8lHDjKqDGQPLrOLwwWdn M0PmtRpnaHR4KqmLSwrjnU3S5E6nx7LvuciHuw+3fQ7axARqcTLt3SkWRhwOjmYj W+yMA4HXpSCxVhNXlLHQI+VRieUsNwm7uR53h4H7rixCiyR4erIxcy7a/e8Dbp5m KiQqCh1Nw2IgBES3dZNKL3WettUtSntTtxmEXC/7kz0i1dMd8AsMKWrQgNdEb9+6 /3zO3O21eQeDkjHc56TnMot7MtpxYm1yKtee/S6xjEsA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=/qV5xs nZ2oSG29CRyPOgrihoHD9K9Q7P8z7a7GeX6Lk=; b=w1E9rZd+WP0awsKMORihgn kqR18A6r2BZ/Qug5uX7pLEbOXA7vLzUmkHyYkcLo0dWU7S1WGxDLbT0D+tvwIbjA lQzvrZHLlh7ENvIG4thBxYU4f5du5bfC0iM344eWRgAgGVBWetoCJpEe3hIuQ8ah vIZWe7yacaG2dgMOFCeCOWSRElyk6eNHa8+m+z78VWxe+OJ1c/dM9YIxyd4dxgS3 B4kntaTSR/zyunW8jS7BmR98QAO+ND2zEzQ3S+s8UkPWruLEWSBlSGN7Fish8+Q8 33fO94Yd0pTLubWmZ3VSznyeI92CVnf3bwy2236Pnf3ZGXXudVMPfbv4vBdtLvAg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudehvddguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuffkffgfgggtgfesthejre dttdefjeenucfhrhhomheptfhusggvnhcuufgthhgruggvuceonhgvfihsghhrohhuphhs sehruhgsvghnshgthhgruggvrdgtohhmqeenucffohhmrghinheprhhusggvnhgvrhgurd gtohhmnecukfhppeduvddvrdduleelrdegfedrvddvnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepnhgvfihsghhrohhuphhssehruhgsvghnsh gthhgruggvrdgtohhm X-ME-Proxy: Received: from RubenVMmkIII.lan (122-199-43-22.ip4.superloop.com [122.199.43.22]) by mail.messagingengine.com (Postfix) with ESMTPA id 90FBB30660D9 for ; Wed, 25 Mar 2020 03:50:51 -0400 (EDT) From: Ruben Schade To: "freebsd-questions@freebsd.org" Subject: drm-kmod on a ThinkPad T550 Message-ID: <85325692-f237-ee8e-168c-e3dea3a52dd0@rubenschade.com> Date: Wed, 25 Mar 2020 18:50:49 +1100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48nL043cpkz4CVN X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rubenschade.com header.s=fm2 header.b=jkqOlpqI; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=w1E9rZd+; dmarc=none; spf=pass (mx1.freebsd.org: domain of newsgroups@rubenschade.com designates 66.111.4.26 as permitted sender) smtp.mailfrom=newsgroups@rubenschade.com X-Spamd-Result: default: False [-6.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[rubenschade.com:s=fm2,messagingengine.com:s=fm2]; URIBL_BLOCKED(0.00)[messagingengine.com.multi.uribl.com,rubenschade.com.multi.uribl.com,rubenerd.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[26.4.111.66.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[rubenschade.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-3.49)[ip: (-9.82), ipnet: 66.111.4.0/24(-4.89), asn: 11403(-2.69), country: US(-0.05)]; DKIM_TRACE(0.00)[rubenschade.com:+,messagingengine.com:+]; TO_DN_EQ_ADDR_ALL(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[26.4.111.66.list.dnswl.org : 127.0.5.1] 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, 25 Mar 2020 07:51:15 -0000 Hi all, I bought myself a second-hand Broadwell ThinkPad T550 for my birthday! Everything else works well out of the box with amd64 12.1-RELEASE, but I can't get drm-kmod working. Reported graphics: > # pciconf -lv | grep -A2 -B2 Graphics > > ==> vgapci0@pci0:0:2:0: class=0x030000 card=0x222317aa \ > ==> chip=0x161680086 rev=0x09 hdr=0x00 > ==> vendor = 'Intel Corporation' > ==> device = 'HD Graphics 5500' > ==> class = display > ==> subclass = VGA Did a clean install (adding my user to the video group), then updated the system: > # freebsd-update fetch install > # shutdown -r now > # uname -r > > ==> 12.1-RELEASE-p3 Then set pkg to use latest not quarterly, and install the driver: > # pkg bootstrap > # pkg update > # pkg install drm-kmod > # sysrc kld_load="/boot/modules/i915kms.ko" > # pkg info | grep drm > > ==> drm-fbsd12.0-kmod-4.16-g20200221 > ==> drm-kmod-g20190710 > ==> gpu-firmware-kmod-g20200130 After rebooting, vt still loads as 640x480, and dmesg shows nothing: > # dmesg | grep drm > > ==> *crickets!* I saw there was an issue in 12.1-RELEASE's errata about drm-kmod, but the bugzilla threads say the package is now being built with 12.1-R so it should work. Anyone see what I could be doing wrong? Cheers, -- Ruben Schade https://rubenerd.com/ From owner-freebsd-questions@freebsd.org Wed Mar 25 08:18:53 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 E708927A27F for ; Wed, 25 Mar 2020 08:18:51 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (fournil.foucry.net [95.217.83.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48nLbz4Dllz4NPx for ; Wed, 25 Mar 2020 08:18:38 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.localdomain (dontpanic.foucry.net [80.67.176.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.foucry.net (Postfix) with ESMTPSA id C80493E7FA for ; Wed, 25 Mar 2020 08:18:16 +0000 (UTC) Received: from mithril.foucry.net (mithril.foucry.net [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mithril.localdomain (Postfix) with ESMTPS id EC38D307D2 for ; Wed, 25 Mar 2020 09:18:15 +0100 (CET) Date: Wed, 25 Mar 2020 09:18:14 +0100 From: Jacques Foucry To: freebsd-questions@freebsd.org Subject: Re: replace disk in zpool Message-ID: <20200325081814.GK35528@mithril.foucry.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <18a94704-5411-3b44-a525-2ae50121a467@holgerdanske.com> <4a8d409e-ecac-77c8-3ad9-025aefdfb4ef@holgerdanske.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4a8d409e-ecac-77c8-3ad9-025aefdfb4ef@holgerdanske.com> X-Spam-Status: No, score=-0.10 X-Rspamd-Server: mail.foucry.net X-Spam-Score: -0.10 X-Rspamd-Queue-Id: 48nLbz4Dllz4NPx X-Spamd-Bar: - X-Spamd-Result: default: False [-1.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[foucry.net:s=dkim]; URIBL_BLOCKED(0.00)[foucry.net.multi.uribl.com,wdc.com.multi.uribl.com,illumos.org.multi.uribl.com]; 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(-0.14)[-0.139,0]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.59)[-0.587,0]; DKIM_TRACE(0.00)[foucry.net:+]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.51)[ipnet: 95.217.0.0/16(4.13), asn: 24940(-1.55), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:95.217.0.0/16, country:DE]; TAGGED_FROM(0.00)[freebsd]; 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: Wed, 25 Mar 2020 08:18:53 -0000 Le mardi 24 mars 2020 à 16:47:10 (-0700), David Christensen à écrit: > On 2020-03-24 14:15, Lukasz wrote: > > Ohh… I forgot mention: > > it's 12.1-p3 > > > > # zpool status -v mypool > > pool: mypool > > state: DEGRADED > > status: One or more devices has experienced an error resulting in data > > corruption. Applications may be affected. > > action: Restore the file in question if possible. Otherwise restore the > > entire pool from backup. > > see: http://illumos.org/msg/ZFS-8000-8A > > scan: resilvered 180G in 0 days 16:00:55 with 2 errors on Sun Mar 22 > > 05:18:46 2020 > > config: > > > > NAME STATE READ WRITE CKSUM > > mypool DEGRADED 0 0 2 > > raidz1-0 DEGRADED 0 0 4 > > diskid/DISK-WD-WMC1F0521131 ONLINE 0 0 0 > > replacing-1 DEGRADED 0 0 0 > > 15838717335844820448 UNAVAIL 0 0 0 was /dev/diskid/DISK-WD-WCC130964640 > > diskid/DISK-K4JG5D2B ONLINE 0 0 0 > > ada6 ONLINE 0 0 0 > > ada1 ONLINE 0 0 0 > > diskid/DISK-WD-WCC130650055 ONLINE 0 0 0 > > > > errors: Permanent errors have been detected in the following files: > > mypool/XXXXXXXXXXXX > > > > Yes, I did exacly as you wrote - removed the failed drive, installed a replacement drive, and issued a 'zpool replace' command. > > I tried this way to: > > I disabled running services in that pool, unmounted and mounted it again. Even I exported/imported that pool. > > It has no readonly property. > > Of course I have a backup. > > > My guess is that resilvering is stuck because ZFS has encountered data > corruption. This could be caused by drive(s), cable(s), and/or data port(s) > (motherboard or expansion card). > > > What was the failure mode of the bad drive? Did you test it in any other > machines? > > > Are the any items of concern in the SMART reports for the current set of > drives? Please post anything that looks questionable. > > > Unplug and plug all of your drive power and data cables. Make sure they > seat well. If unsure about a data cable, replace it with a new, locking > cable. I have experienced too many problems with red SATA cables. Few, if > any, are marked with their rated speed (I did mark some StarTech SATA III > cables). So, I stocked up on various lengths and configurations of Cable > Matters SATA III cables. They are black, marked "6G", and have locking > connectors. Now, whenever I am in a system case, I replace most every red > SATA cable just to be safe. > > > I appears that you have Western Digital hard drives. Download Data > Lifeguard Diagnostic (DLG) for DOS, burn it to a USB flash drive, boot it, > and test all of your drives. Please post the results: > > https://support.wdc.com/downloads.aspx?p=2 If you permit an advice, ALWAYS (when it's possible) buy and use disks from different brand (mix seagate, WD, etc..) in order to avoid same series and same MTBF. I know this to late in this case, but keep this in mind. I know this will not help in this case, please excuse my intervention if it's inappropriate. -- Jacques Foucry From owner-freebsd-questions@freebsd.org Wed Mar 25 10:26: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 93B3D27CD5E for ; Wed, 25 Mar 2020 10:26:59 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48nPRh6nN9z4D0j for ; Wed, 25 Mar 2020 10:26:40 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id B56411066F; Wed, 25 Mar 2020 10:26:25 +0000 (GMT) Subject: Re: drm-kmod on a ThinkPad T550 To: Ruben Schade , "freebsd-questions@freebsd.org" References: <85325692-f237-ee8e-168c-e3dea3a52dd0@rubenschade.com> From: Arthur Chance Message-ID: Date: Wed, 25 Mar 2020 10:26:25 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <85325692-f237-ee8e-168c-e3dea3a52dd0@rubenschade.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48nPRh6nN9z4D0j X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.241 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-4.73 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RBL_SENDERSCORE_FAIL(0.00)[241.128.155.217.bl.score.senderscore.com:query timed out]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[qeng-ho.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.43)[ip: (-7.61), ipnet: 217.155.0.0/16(-3.80), asn: 13037(-0.68), country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, 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: Wed, 25 Mar 2020 10:26:59 -0000 On 25/03/2020 07:50, Ruben Schade wrote: > Hi all, > > I bought myself a second-hand Broadwell ThinkPad T550 for my birthday! > Everything else works well out of the box with amd64 12.1-RELEASE, but I > can't get drm-kmod working. > > Reported graphics: > >> # pciconf -lv | grep -A2 -B2 Graphics >> >> ==> vgapci0@pci0:0:2:0: class=0x030000 card=0x222317aa \ >> ==>     chip=0x161680086 rev=0x09 hdr=0x00 >> ==> vendor = 'Intel Corporation' >> ==> device = 'HD Graphics 5500' >> ==> class  = display >> ==> subclass = VGA > > Did a clean install (adding my user to the video group), then updated > the system: > >> # freebsd-update fetch install >> # shutdown -r now >> # uname -r >> >> ==> 12.1-RELEASE-p3 > > Then set pkg to use latest not quarterly, and install the driver: > >> # pkg bootstrap >> # pkg update >> # pkg install drm-kmod >> # sysrc kld_load="/boot/modules/i915kms.ko" sysrc sets variables in /etc/rc.conf. IIRC the module needs to be loaded at boot time so you need to edit /boot/loader.conf. >> # pkg info | grep drm >> >> ==> drm-fbsd12.0-kmod-4.16-g20200221 >> ==> drm-kmod-g20190710 >> ==> gpu-firmware-kmod-g20200130 > > After rebooting, vt still loads as 640x480, and dmesg shows nothing: > >> # dmesg | grep drm >> >> ==> *crickets!* > > I saw there was an issue in 12.1-RELEASE's errata about drm-kmod, but > the bugzilla threads say the package is now being built with 12.1-R so > it should work. > > Anyone see what I could be doing wrong? > > Cheers, > -- Violets are red And roses are blue When metamaterials Alter their hue. From owner-freebsd-questions@freebsd.org Wed Mar 25 10:50: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 9E72F27D5B3 for ; Wed, 25 Mar 2020 10:50:21 +0000 (UTC) (envelope-from mattik@bigpond.net.au) Received: from nsstlmta26p.bpe.bigpond.com (nsstlmta26p.bpe.bigpond.com [203.38.21.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "", Issuer "Openwave Messaging Inc." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48nPyf1vCGz4M9Z for ; Wed, 25 Mar 2020 10:50:00 +0000 (UTC) (envelope-from mattik@bigpond.net.au) Received: from smtp.telstra.com ([10.10.24.4]) by nsstlfep26p-svc.bpe.nexus.telstra.com.au with ESMTP id <20200325104946.QFIJ3040.nsstlfep26p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com>; Wed, 25 Mar 2020 21:49:46 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedugedrudehfedgudekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuuffpveftpgfvgffnuffvtfetpdfqfgfvnecuuegrihhlohhuthemucegtddtnecunecujfgurhepfffhvffukfgjfhfogggtgfesthhqredtredtjeenucfhrhhomhepmhgrthhtihcukhcuoehmrghtthhikhessghighhpohhnugdrnhgvthdrrghuqeenucfkphepuddtuddrudeigedruddvrddvfeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepfihsuddpihhnvghtpedutddurdduieegrdduvddrvdefiedpmhgrihhlfhhrohhmpeeomhgrthhtihhksegsihhgphhonhgurdhnvghtrdgruheqpdhrtghpthhtohepoehfrhgvvggsshguqdhquhgvshhtihhonhhssehfrhgvvggsshgurdhorhhgqedprhgtphhtthhopeeofhhrvggvsghsugesqhgvnhhgqdhhohdrohhrgheqpdhrtghpthhtohepoehnvgifshhgrhhouhhpshesrhhusggvnhhstghhrgguvgdrtghomheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean X-Authentication-Info: Submitted using ID mattik@bigpond.net.au Received: from ws1 (101.164.12.236) by smtp.telstra.com (5.8.418) (authenticated as mattik@bigpond.net.au) id 5DF700DA2245B672; Wed, 25 Mar 2020 21:49:46 +1100 Date: Wed, 25 Mar 2020 21:49:32 +1100 From: matti k To: Arthur Chance Cc: Ruben Schade , "freebsd-questions@freebsd.org" Subject: Re: drm-kmod on a ThinkPad T550 Message-ID: <20200325214932.3b01a906@ws1> In-Reply-To: References: <85325692-f237-ee8e-168c-e3dea3a52dd0@rubenschade.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48nPyf1vCGz4M9Z X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=bigpond.net.au; spf=pass (mx1.freebsd.org: domain of mattik@bigpond.net.au designates 203.38.21.26 as permitted sender) smtp.mailfrom=mattik@bigpond.net.au X-Spamd-Result: default: False [-2.40 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:203.38.21.0/24]; FREEMAIL_FROM(0.00)[bigpond.net.au]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[bigpond.net.au,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(0.00)[ipnet: 203.36.0.0/14(-3.93), asn: 1221(-2.46), country: AU(0.01)]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[26.21.38.203.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:1221, ipnet:203.36.0.0/14, country:AU]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[bigpond.net.au]; RECEIVED_SPAMHAUS_PBL(0.00)[236.12.164.101.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: Wed, 25 Mar 2020 10:50:21 -0000 On Wed, 25 Mar 2020 10:26:25 +0000 Arthur Chance wrote: > On 25/03/2020 07:50, Ruben Schade wrote: > > Hi all, > >=20 > > I bought myself a second-hand Broadwell ThinkPad T550 for my > > birthday! Everything else works well out of the box with amd64 > > 12.1-RELEASE, but I can't get drm-kmod working. > >=20 > > Reported graphics: > >=20 > >> # pciconf -lv | grep -A2 -B2 Graphics > >> > >> =3D=3D> vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x222317aa \ > >> =3D=3D>=C2=A0=C2=A0=C2=A0=C2=A0 chip=3D0x161680086 rev=3D0x09 hdr=3D0x= 00 > >> =3D=3D> vendor =3D 'Intel Corporation' > >> =3D=3D> device =3D 'HD Graphics 5500' > >> =3D=3D> class=C2=A0 =3D display > >> =3D=3D> subclass =3D VGA > >=20 > > Did a clean install (adding my user to the video group), then > > updated the system: > >=20 > >> # freebsd-update fetch install > >> # shutdown -r now > >> # uname -r > >> > >> =3D=3D> 12.1-RELEASE-p3 > >=20 > > Then set pkg to use latest not quarterly, and install the driver: > >=20 > >> # pkg bootstrap > >> # pkg update > >> # pkg install drm-kmod > >> # sysrc kld_load=3D"/boot/modules/i915kms.ko" >=20 kld_list=3D cheers, matti From owner-freebsd-questions@freebsd.org Wed Mar 25 11:00: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 99B2527DADB for ; Wed, 25 Mar 2020 11:00:32 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (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 48nQBR5LzGz4QXR for ; Wed, 25 Mar 2020 11:00:15 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf1-f67.google.com with SMTP id c20so1407972lfb.0 for ; Wed, 25 Mar 2020 04:00:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=PtbvVdlADpTy9NysOtp9xihLAZp/YqmpZNm41eWQeXg=; b=lG5qZdeKn427EEqEVtXA3NuEru5otpYW0EOS2eBRu53d02KE+cZANZaZY3GOzu0xJy 3cO8vScz/3C/ErD7FEHV8Xhuox5AedB3Yy7NTara5HqP8zThgVjlxvAc/6ZlottVyHG4 05AGwwxZ2sLCqmUoNdLQHxjEa/fGdnhqMUFCx4h1tBU6Jooy2CTpPrXdRNeIEPREI0Nm kq9j0hmfoPgICywfXmA/epzzO/fZQdnjCGJ3kpCr18sf99F4y6v9F557DVvTd8PvDzge paZtA85RWII5ZFv9GYXFHdt0rBKIkqblw0b1xepNCyWaCPhfJm0yQelf12blE/w7NDbB 2Fpg== X-Gm-Message-State: ANhLgQ2JQ9h8mLgWzAhZqGgcRcvQXYWiKYkjt5vxIifejUiUPQsLzzx3 4cPKylz0K6FgGHNnlnLD6zTZJ58O X-Google-Smtp-Source: ADFU+vtavxD+74GGt68DzyayFr6MtcRs9eBgaY5BX/2c9cFcbmaWc629g6JzEfWThdpIro1jbjxv+g== X-Received: by 2002:adf:db49:: with SMTP id f9mr2620590wrj.145.1585133667950; Wed, 25 Mar 2020 03:54:27 -0700 (PDT) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id u16sm33763895wro.23.2020.03.25.03.54.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Mar 2020 03:54:27 -0700 (PDT) Subject: Re: drm-kmod on a ThinkPad T550 To: Arthur Chance , Ruben Schade , "freebsd-questions@freebsd.org" References: <85325692-f237-ee8e-168c-e3dea3a52dd0@rubenschade.com> From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: Date: Wed, 25 Mar 2020 11:54:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48nQBR5LzGz4QXR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.167.67 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-2.54 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[67.167.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-0.55)[ip: (-0.40), ipnet: 209.85.128.0/17(-1.80), asn: 15169(-0.48), country: US(-0.05)]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[67.167.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.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: Wed, 25 Mar 2020 11:00:33 -0000 On 3/25/20 11:26 AM, Arthur Chance wrote: > On 25/03/2020 07:50, Ruben Schade wrote: >> I bought myself a second-hand Broadwell ThinkPad T550 for my birthday! >> Everything else works well out of the box with amd64 12.1-RELEASE, but I >> can't get drm-kmod working. ... >>> # sysrc kld_load="/boot/modules/i915kms.ko" > sysrc sets variables in /etc/rc.conf. IIRC the module needs to be loaded > at boot time so you need to edit /boot/loader.conf. It is not be necessary to load this driver via loader.conf(5) as far as I know. I always load it via rc.conf(5) and it works just fine. From owner-freebsd-questions@freebsd.org Wed Mar 25 11:16:34 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 129EA27E2C3 for ; Wed, 25 Mar 2020 11:16:34 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48nQYF0mC3z4WkD; Wed, 25 Mar 2020 11:16:32 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id A961410193; Wed, 25 Mar 2020 11:10:21 +0000 (GMT) Subject: Re: drm-kmod on a ThinkPad T550 To: Mateusz Piotrowski <0mp@FreeBSD.org>, Ruben Schade , "freebsd-questions@freebsd.org" References: <85325692-f237-ee8e-168c-e3dea3a52dd0@rubenschade.com> From: Arthur Chance Message-ID: <8dd3546c-3975-0ab7-b13f-0fe9c775bd63@qeng-ho.org> Date: Wed, 25 Mar 2020 11:10:21 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48nQYF0mC3z4WkD X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,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: Wed, 25 Mar 2020 11:16:34 -0000 On 25/03/2020 10:54, Mateusz Piotrowski wrote: > On 3/25/20 11:26 AM, Arthur Chance wrote: >> On 25/03/2020 07:50, Ruben Schade wrote: >>> I bought myself a second-hand Broadwell ThinkPad T550 for my birthday! >>> Everything else works well out of the box with amd64 12.1-RELEASE, but I >>> can't get drm-kmod working. > ... >>>> # sysrc kld_load="/boot/modules/i915kms.ko" >> sysrc sets variables in /etc/rc.conf. IIRC the module needs to be loaded >> at boot time so you need to edit /boot/loader.conf. > It is not be necessary to load this driver via loader.conf(5) as far as > I know. I always load it via rc.conf(5) and it works just fine. You're right. From https://wiki.freebsd.org/Graphics Example Configuration For Post Broadwell System A common configuration is a user who has an Intel laptop with a Kabylake Intel i915 HD Graphics chip. To enable the chipset one would follow these instructions: Install the drm-kmod package $ sudo pkg install drm-kmod Take note of the post-install package message as it contains important information - specifically add this to your /etc/rc.conf or /etc/rc.conf.d/intel file: kld_list="/boot/modules/i915kms.ko" Ensure your UID is a member of the "video" group. Restart your system; you should see the i915kms.ko get loaded and a flash on your console as we switch over to the new display driver. Start Xorg via your usual method (i.e. startx, GDM, etc.) -- Violets are red And roses are blue When metamaterials Alter their hue. From owner-freebsd-questions@freebsd.org Wed Mar 25 14:08: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 8EB1E2A31A0 for ; Wed, 25 Mar 2020 14:08:14 +0000 (UTC) (envelope-from newsgroups@rubenschade.com) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 48nVM65HWFz4cfv; Wed, 25 Mar 2020 14:08:01 +0000 (UTC) (envelope-from newsgroups@rubenschade.com) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 537995C006D; Wed, 25 Mar 2020 09:58:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 25 Mar 2020 09:58:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rubenschade.com; h=subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=n t7oOtttldQB8kJRJQ6qUPo3AO+IL2nxDHonLAw/Flw=; b=NF71PNoY0gJZYXxMI ec2y1LlTfcF/iIN5xrNKY1cfFV2h24zJlE8To3A1sV7RkeUT+5k0Z3DsMrJ3Bq3P dFSHV3Z8stdkp9sdbqna80smuWOt9ILovnWM0xOHrvt3cGl/CKuH7buAOs9M9/Yw ekB+63ptcwJ7t6mBzlJmraOEQLKiGZu60E32A1nPO9vMVC3P5J7zan39CoNfdI4n lF+80B2l0PpFiC9U47SmE3kIes/XYZ4qK+Dp3umJgEJ/3huStfKBk1FfBrXNVTSx CeMpIM/gFKtEMPlCe2VykuESime2y1SgoNjfgaN0cQql3VpkdlOqyDNsG2qT8RGF JLiNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=nt7oOtttldQB8kJRJQ6qUPo3AO+IL2nxDHonLAw/F lw=; b=g2Tq5GK40MHCOJOmB+SHTkXRwVNX7cKTNRvwUfFLuqsJGwkLsAFZd21O2 8Xd7xSKQNgpsQytYNy6i4pHA4GVJC2LCFyoLztjtrO7TwaD7K8u8NJlF/sToFXgD SWFdypsa9b0UQ9/4iqOp1/nYdF7iZD72E/YktP49SHZBzTLOonEUjCNozNGCjo8O 5llWq8Yrvrzvb+stXUhbI0yuIkmxfKvuNG0Cgfqk5HxtbzeNnKscL+PF1WLQYFly YXEyZl9/4g3sxNchtx4PNIRkvNpv7wMBcDI7cxg4R59Pcr9EZqtcxhrpjbQVdsqZ yT15jA/VvMn89QAZp7nwbWZFdN62g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudehgedgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeftuhgsvghnucfutghhrgguvgcuoehnvgifshhgrhhouhhp shesrhhusggvnhhstghhrgguvgdrtghomheqnecuffhomhgrihhnpehfrhgvvggsshgurd horhhgpdhruhgsvghnvghrugdrtghomhenucfkphepuddvvddrudelledrgeefrddvvden ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehnvgifsh hgrhhouhhpshesrhhusggvnhhstghhrgguvgdrtghomh X-ME-Proxy: Received: from RubenVMmkIII.lan (122-199-43-22.ip4.superloop.com [122.199.43.22]) by mail.messagingengine.com (Postfix) with ESMTPA id 9A6523280067; Wed, 25 Mar 2020 09:58:29 -0400 (EDT) Subject: Re: drm-kmod on a ThinkPad T550 To: Arthur Chance , Mateusz Piotrowski <0mp@FreeBSD.org>, "freebsd-questions@freebsd.org" References: <85325692-f237-ee8e-168c-e3dea3a52dd0@rubenschade.com> <8dd3546c-3975-0ab7-b13f-0fe9c775bd63@qeng-ho.org> From: Ruben Schade Message-ID: <49104f3b-1f82-a1d2-e25c-ee2fa61aeed8@rubenschade.com> Date: Thu, 26 Mar 2020 00:58:26 +1100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <8dd3546c-3975-0ab7-b13f-0fe9c775bd63@qeng-ho.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48nVM65HWFz4cfv X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rubenschade.com header.s=fm2 header.b=NF71PNoY; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=g2Tq5GK4; dmarc=none; spf=pass (mx1.freebsd.org: domain of newsgroups@rubenschade.com designates 66.111.4.27 as permitted sender) smtp.mailfrom=newsgroups@rubenschade.com X-Spamd-Result: default: False [-6.09 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[rubenschade.com:s=fm2,messagingengine.com:s=fm2]; URIBL_BLOCKED(0.00)[messagingengine.com.multi.uribl.com,rubenschade.com.multi.uribl.com,rubenerd.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[rubenschade.com]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[rubenschade.com:+,messagingengine.com:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-3.49)[ip: (-9.84), ipnet: 66.111.4.0/24(-4.89), asn: 11403(-2.69), country: US(-0.05)]; RCVD_IN_DNSWL_LOW(-0.10)[27.4.111.66.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, 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: Wed, 25 Mar 2020 14:08:14 -0000 On 25/3/20 10:10 pm, Arthur Chance wrote: > On 25/03/2020 10:54, Mateusz Piotrowski wrote: >> On 3/25/20 11:26 AM, Arthur Chance wrote: >> ... >> It is not be necessary to load this driver via loader.conf(5) as far as >> I know. I always load it via rc.conf(5) and it works just fine. > > You're right. From https://wiki.freebsd.org/Graphics > ... > > kld_list="/boot/modules/i915kms.ko" > Awesome that did it, thanks guys. And to matti for pointing out too. Cheers, -- Ruben Schade https://rubenerd.com/ From owner-freebsd-questions@freebsd.org Wed Mar 25 14:35: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 DAE9F2A3868 for ; Wed, 25 Mar 2020 14:35:36 +0000 (UTC) (envelope-from christofer.c.bell@gmail.com) Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (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 48nVyf41Qmz3K1f for ; Wed, 25 Mar 2020 14:35:21 +0000 (UTC) (envelope-from christofer.c.bell@gmail.com) Received: by mail-io1-xd43.google.com with SMTP id k9so2425806iov.7 for ; Wed, 25 Mar 2020 07:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2ygIc3CPuWYNsRq0iPxRzQoNkv+TIdi27wldiq2FWCE=; b=EAjgVtxP35Xrkvx1rVDCMEZ+/vX6OcQs02qdmu7dYMdr+g3LwTah/KRXH8FTgNAI9h 91xUyxOai062OJ9nQK1fXwb0YPco0Fc9tfgYKNWLgD0zDkALjiDlBAMCisJ2zR2DUTgh u2q4afslFiS6wzGms0DEU0/pudPwlhr6ZYONjsUkY2avUFCISAlmjcwsJgl5v7a7LbSV MzXzWf2aOIB4C0Ir7U6/2o+BlDZ3XFxixwP6KiDsZ+DpgWzLFypBu89Du2lZxTJILXAD uynrVg1UsY8F9S2xkH90/UR5Arbz380T8bDsxnCXWwUoBlYLaXfHGCK3nWKX3Ek2dKk+ e/EA== 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=2ygIc3CPuWYNsRq0iPxRzQoNkv+TIdi27wldiq2FWCE=; b=URXuQRiYarX9DOq1OYUAqaOa5PZ+2r3i/tdgbMFbh/aumqp1+MBi2Cq3mulkPyeDk1 I1GVvctia/z9d1w14L/rXCsj7ibl2pJXMuKoorLKEbHsBmyiQcsrjN78E6HqYkRMRCuK cjzTPaFrVL6ddpgXWDJRMCHtakWzSiwpamPD8JxziPKYWirpDfIYzKEUUAcsB0FiOFyt 1w2BZWrEkpRL36XFbBNJN46G/rGAC1dQfgeZH1srdSImVJdavKlIi+M4ysZnrdvaeY6R npYEGhU7yd0hDXlrFNjRuEPYT3KLWOOnFoGM3ZxJ+sUThyJoFjedznm3cOLQQ58KKFQq Fd8w== X-Gm-Message-State: ANhLgQ1ll+8z2NMathvx5RTU3dGP2K81ZdfpFqBPU7WPkGqt3t6EzZHn vknaL73pi7btZG7VJFdeeGk+hfPWk0GHFaI+1Iwn6vsi X-Google-Smtp-Source: ADFU+vuB7lNsUNoJ+3F0+qD9cnU+ciVvKDVeX2ZqMfaxmRg4+9ewMuUXGRIJRd4Qk9FRLUX8vYOX6LbVIrW/q38cztk= X-Received: by 2002:a5e:d50f:: with SMTP id e15mr3179010iom.195.1585146912323; Wed, 25 Mar 2020 07:35:12 -0700 (PDT) MIME-Version: 1.0 References: <20200321122609.GB5709@schmorp.de> <20200321141203.GC5911@schmorp.de> In-Reply-To: <20200321141203.GC5911@schmorp.de> From: "Christofer C. Bell" Date: Wed, 25 Mar 2020 09:34:55 -0500 Message-ID: Subject: Re: FreeBSD asking contributors to fix their opinions - is it official? To: FreeBSD Questions Cc: Ottavio Caruso , Marc Lehmann X-Rspamd-Queue-Id: 48nVyf41Qmz3K1f X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EAjgVtxP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of christofercbell@gmail.com designates 2607:f8b0:4864:20::d43 as permitted sender) smtp.mailfrom=christofercbell@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; URIBL_BLOCKED(0.00)[makefile.pl.multi.uribl.com,metacpan.org.multi.uribl.com,freshports.org.multi.uribl.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.d.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]; IP_SCORE(0.00)[ip: (0.47), ipnet: 2607:f8b0::/32(-0.38), asn: 15169(-0.48), country: US(-0.05)]; FREEMAIL_CC(0.00)[yahoo.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-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, 25 Mar 2020 14:35:37 -0000 On Sat, Mar 21, 2020 at 9:13 AM Marc Lehmann wrote: > On Sat, Mar 21, 2020 at 01:50:09PM +0000, Ottavio Caruso < > ottavio2006-usenet2012@yahoo.com> wrote: > > I'm not affiliated to FreeBSD, but I see nothing wrong in a developer > > from another project posting onto a public mailing list of another > > project and voicing his concerns about a particular issue > > Me neither - I am merely concerned that the particular issue is an > unspecified _personal opinion_. I see a lot of wrong in going around and > asking people to remove personal opinion in the name of a big Project. > > This together with the fact that this ports page: > > https://www.freshports.org/devel/p5-Canary-Stability/ > > is not only full of personal opinion but, much worse, also of made-up > false claims should give you an idea of where we would be heading if we > tried to police all that. > > > same time I think you are taking it a bit too personal. I've read [1] > > and I see nothing that induces to thinking he was speaking on behalf > > of the whole of FreeBSD. > > Well, he has since pretty much clarified that he does and that the project > is fine with that, so my reading seemed to have been spot on. > For what it's worth, I checked out https://metacpan.org/changes/distribution/Canary-Stability as cited on https://www.freshports.org/devel/p5-Canary-Stability/ figuring I'd see some personal opinions. I found a lot of them. I strongly agree with the adamw@freebsd.org that they don't belong in the port. (Some of the extraneous "opinions" are citations of fact meant to call attention to your concern about some issue that isn't germane to the port itself -- I'm referring to these, as well). It doesn't really pass the smell test when you claim to not know what he's talking about. Revision history for Perl extension Canary::Stability 2013 Mon Apr 22 12:38:45 CEST 2019 - carbon-dioxide levels hit 400ppm first time in recorded history. - during AUTOMATED_TESTING, turn minimum version recommendations into hard requirements to avoid false positives in unsupported perl versions. - added dummy testsuite. 2012 Sun Sep 25 01:45:56 CEST 2016 - another year where the UNFCCC had to adjust their predictions in the worse direction. - do not print the big intro blob in yellow. 2011 Sun Mar 13 04:41:48 CET 2016 - the year the terrorists won and the free world sacrificed the free. - added more explanatory blurb, based on ideas by Kent Fredric. - colour wasn't reset in time to catch further Makefile.PL output in some cases. 2006 Tue Jan 31 01:00:00 UTC 2006 - the year when things were in good shape still. - the compatibility version test for 5.22 was wrong and errornously takes 5.20.1+ as unsupported. - fix urls. 2001 Tue Jul 3 02:18:41 CEST 2001 - the year where perl was still accomodating enough to inspire module authors to do cool stuff, as opposed to abusing policy to stifle criticism. 1996 Wed Jun 5 09:34:41 GFT 1996 - ariane 5 destructed due to a software compatibility problem. From owner-freebsd-questions@freebsd.org Wed Mar 25 17:43:36 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 2C71E2A7081 for ; Wed, 25 Mar 2020 17:43:36 +0000 (UTC) (envelope-from jjohnstone@tridentusa.com) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on20617.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5a::617]) (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 48nb7Y4KCQz41v2 for ; Wed, 25 Mar 2020 17:43:19 +0000 (UTC) (envelope-from jjohnstone@tridentusa.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gY3JoOwZaSMBDl+X1JV9gK1ng/lUSdf9Ub9ZpeTUztQL/p1QNd0kSiOp7jmv/B7p2v66t4saYlNNRxUiCn5jShz5eFRy9IH1AUDV/0VISMdKDm3vFOjWX0yhtDjw8CgjtDV4H17RdhaJp18GSTK2dNs/TnkpqtSO77SOPQdj8FYRb6AO74R4yV1FzOBYDfRsfgTIiSDjpgMGVS1Do0h3+QXfI5za0mmy917I49pzpskS/JP61zelLzc1hc3IuzqnpB5wNjmCMTwRBSBWpzWRNNNO9LE0ZEEmofUYoZ4n0bnoij8l6NbHCEZH4X91l4h0r3yqd1jly2ciifWbkyjYEw== 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=rknLfMXuHf1gvbAb86Aj60PgGmp0BRO0hA5+ccMUoAs=; b=SJ71GavmJxW0itvmf1P44AZI6lQeKfTvFvxJHr8sa/p2t+h9096ERWdz3PoQyuK8ngA3jwUcsQsqlvI1w10qqq+SBytHLoWBT5srG/IXr5onvJp1rqBj1ov9A5N+MPr7bFtDbl4oDykKMwxiAxcKopzyq/8A/RjyvqGDTL+DdXJcXLody15kvVw+ZaTSR5GLWv5XIm2RWHcBbPhltdcYZ/YhRLjIgWlmsCHghgkcv9P8TmneIUA6LcFesXcZXblgQsdaa+w3FtmIJlSluu6yCtBDDPaUfQ27U0jhWKPl6D2tC+p3HXictUgsFivMI7sSfoC0ZWV/nTC66mfEr//SEw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tridentusa.com; dmarc=pass action=none header.from=tridentusa.com; dkim=pass header.d=tridentusa.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tridentusa90.onmicrosoft.com; s=selector1-tridentusa90-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rknLfMXuHf1gvbAb86Aj60PgGmp0BRO0hA5+ccMUoAs=; b=ZIK0dEddh7l4Rv6wnT5WfPfVZH313u1dACEPUVZ3EMMGAzfPWDzr601R4U2VGiMC5Lttvc6JvourFyZZxOsUadurwBavPiscseN33kaJZ+FnpDa/W+4zbH9oVswKd6XoWnMQ0KkXSz6XXEb/wqx0HgxZUqf139UPo7NT3buKcys= Received: from MN2PR20MB3118.namprd20.prod.outlook.com (2603:10b6:208:1b8::27) by MN2PR20MB2846.namprd20.prod.outlook.com (2603:10b6:208:f5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Wed, 25 Mar 2020 17:43:09 +0000 Received: from MN2PR20MB3118.namprd20.prod.outlook.com ([fe80::29ed:73e:66dd:a5d9]) by MN2PR20MB3118.namprd20.prod.outlook.com ([fe80::29ed:73e:66dd:a5d9%6]) with mapi id 15.20.2835.023; Wed, 25 Mar 2020 17:43:08 +0000 Subject: Re: sshd not allowing a subgroup to authenticate according to it's authentication method To: freebsd-questions@freebsd.org References: <208460FC-FD0D-48F8-987A-A3B589B3A8B0@huiekin.org> From: John Johnstone Message-ID: <08e9df84-343c-1cf1-a0eb-ccd63e25deeb@tridentusa.com> Date: Wed, 25 Mar 2020 13:42:54 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL0PR0102CA0012.prod.exchangelabs.com (2603:10b6:207:18::25) To MN2PR20MB3118.namprd20.prod.outlook.com (2603:10b6:208:1b8::27) MIME-Version: 1.0 Sender: John Johnstone X-MS-Exchange-MessageSentRepresentingType: 2 Received: from Johns-MBP.fios-router.home (71.255.81.56) by BL0PR0102CA0012.prod.exchangelabs.com (2603:10b6:207:18::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.18 via Frontend Transport; Wed, 25 Mar 2020 17:43:07 +0000 X-Originating-IP: [71.255.81.56] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a2adef96-9d53-4e55-a2d3-08d7d0e3fa97 X-MS-TrafficTypeDiagnostic: MN2PR20MB2846: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-Forefront-PRVS: 0353563E2B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(346002)(396003)(39840400004)(366004)(376002)(316002)(956004)(2616005)(6486002)(508600001)(31696002)(8676002)(8936002)(26005)(81166006)(81156014)(186003)(16526019)(6666004)(6512007)(66946007)(2906002)(31686004)(52116002)(53546011)(36756003)(6506007)(5660300002)(7846003)(66476007)(6916009)(66556008); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR20MB2846; H:MN2PR20MB3118.namprd20.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: tridentusa.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uIEEWxn2X6mVXf+Cz/DZlxMuDcpjcc2RevEPgLMLZKQ5+AEU8Glp/PFSKRHN9mLGl4B66s7Xj+MqBUnyoQQ7mwip7FaJx9VvsQmNY4rLGnr3Df0H5XkgZIALv+KLM45g3vn/qxed2EcqdQS+I6Td2ND0RHXOzcA9ZbsEzfbBJ2OKU12cziboue+wJWzxsKUhQIStxyjk0LwbTcqKTgFXVV1mnHN4Qw2QyhYOelSDcfGwND0Ow/lxka3sznj9V9+TGSsKl7FipSHvHN1mJjYEitXs8AJkahoofkbfE1e/Qbz07+M9E76ScsBnHf6mKgTq/Jt83xdG5MqfGl/MAGQNKwcDq5iwSyQUeVjoOjoVCNSqK93iIHHw5UnP3Gbb+qgIfpjPhIyrAdlodlVhRJq3QGHnPLQ2G8qYuZDhdRRG6LgiQA42zYcDSbMOImyVsQN2 X-MS-Exchange-AntiSpam-MessageData: qgflfKVYa4LV3dTta5dDdIrXY/NAG/USXttQWkhiy4oeeSngKmeVAsh/YCBzuUDLDv2xodylJdKBKkZl17sPYBE4GQwzdOCu7pGQZATUzrm8BM04SV/I25fEWOR4R5c1hh1S1GTBogxgnYVB9iqWtQ== X-OriginatorOrg: tridentusa.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2adef96-9d53-4e55-a2d3-08d7d0e3fa97 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2020 17:43:08.2906 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a5d010c5-207b-4510-bdaf-c382c7a8c714 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3QSapoKDxBGEBk3EFjkBZWUgEN5wCN/GZgqUsWRfo6JEyGkD5N1NVNYaUEEw40VoUpUuNBWTzVPXkNxXnVLW7c4ZND2gjj0CHkDyjCd9yrE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR20MB2846 X-Rspamd-Queue-Id: 48nb7Y4KCQz41v2 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tridentusa90.onmicrosoft.com header.s=selector1-tridentusa90-onmicrosoft-com header.b=ZIK0dEdd; dmarc=none; spf=pass (mx1.freebsd.org: domain of jjohnstone@tridentusa.com designates 2a01:111:f400:fe5a::617 as permitted sender) smtp.mailfrom=jjohnstone@tridentusa.com X-Spamd-Result: default: False [-4.64 / 15.00]; RECEIVED_SPAMHAUS_FAIL(0.00)[7.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.1.0.8.0.2.0.6.b.0.1.3.0.6.2.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net:query timed out]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tridentusa90.onmicrosoft.com:s=selector1-tridentusa90-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tridentusa.com]; RCPT_COUNT_ONE(0.00)[1]; URIBL_BLOCKED(0.00)[onmicrosoft.com.multi.uribl.com]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-1.44)[ipnet: 2a01:111:f000::/36(-4.03), asn: 8075(-3.12), country: US(-0.05)]; DKIM_TRACE(0.00)[tridentusa90.onmicrosoft.com:+]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FORGED_SENDER(0.30)[jjohnstone-freebsdquestions@tridentusa.com,jjohnstone@tridentusa.com]; RECEIVED_SPAMHAUS_PBL(0.00)[56.81.255.71.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; FROM_NEQ_ENVFROM(0.00)[jjohnstone-freebsdquestions@tridentusa.com,jjohnstone@tridentusa.com]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[i=1] 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, 25 Mar 2020 17:43:36 -0000 On 3/25/20 1:01 AM, David Mehler wrote: > Hello, > > Thanks, actually it's not anyone in the sshusers group, that's working > fine, and I am not in sftpusers. Other users are in that group and > they're being prompted for public keys and rejected because they're > trying to use passwords. > Thanks. > Dave. > > > On 3/25/20, Jim Trigg wrote: >> At a guess, you're also a member of sshusers. Try putting the sftpusers >> stanza before the sshusers stanza. >> >> Thanks, >> Jim Trigg I have a configuration for user accounts that are restricted to sftp only that is working. Here is a diff of my sshd_config to the original 12.0 one. > diff /etc/ssh/sshd_config /etc/ssh/sshd_config.orig > 123,131d121 > < > < Match Group chrootgrp > < ChrootDirectory %h > < ForceCommand internal-sftp -d data -l INFO > < AllowAgentForwarding no > < AllowTcpForwarding no > < PermitTTY no > < PermitTunnel no > < X11Forwarding no The only difference I see to what you have, is that mine doesn't have PasswordAuthentication yes A script is used to create new users that does: pw useradd $username $uidflag -c "$ugecos" -G $groupname -s /usr/sbin/nologin -e +$acctexp -w random where groupname is chrootgrp. Then it creates the home directory: mkdir -p /home/$username/data chown root:wheel /home/$username chown $username:$username /home/$username/data For syslog logging: mkdir -p /home/$username/dev chown root:wheel /home/$username/dev With syslogd_flags in /etc/rc.conf getting: -l /home/$username/dev/log added to it. Which only works for a small number of users because of the 19 additional syslogd sockets limit. - John J. From owner-freebsd-questions@freebsd.org Wed Mar 25 22:20:01 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 7C40D2650B0 for ; Wed, 25 Mar 2020 22:20:01 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48njGc2CDFz3JJm for ; Wed, 25 Mar 2020 22:19:51 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 25 Mar 2020 15:19:35 -0700 Subject: drive selection for disk arrays References: <20200325081814.GK35528@mithril.foucry.net> To: freebsd-questions@freebsd.org From: David Christensen X-Forwarded-Message-Id: <20200325081814.GK35528@mithril.foucry.net> Message-ID: <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> Date: Wed, 25 Mar 2020 15:19:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200325081814.GK35528@mithril.foucry.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48njGc2CDFz3JJm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-2.68 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; URIBL_BLOCKED(0.00)[backblaze.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-1.66)[ipnet: 2001:470::/32(-4.66), asn: 6939(-3.59), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.981,0]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_HAM_MEDIUM(-0.94)[-0.944,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, 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, 25 Mar 2020 22:20:01 -0000 Jacques Foucry wrote: > ALWAYS (when it's possible) buy and use disks from different brand > (mix seagate, WD, etc..) in order to avoid same series and same > MTBF. > > I know this to late in this case, but keep this in mind. > > I know this will not help in this case, please excuse my > intervention if it's inappropriate. To date, most of my arrays have been composed of similar drives. But, I run a SOHO LAN and have limited experience. I have been wondering about using dissimilar drives to prevent simultaneous common-mode failures. Backblaze publishes statistics for individual drives: https://www.backblaze.com/blog/hard-drive-stats-q2-2019/ I would be curious to read any data or reports comparing arrays of similar drives vs. arrays of dissimilar drives. Have anyone seen a failure involving multiple similar drives all failing in the same mode at the same time? David From owner-freebsd-questions@freebsd.org Thu Mar 26 09:22:05 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 543572799CC for ; Thu, 26 Mar 2020 09:22:05 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48nzyM72DVz41Dj for ; Thu, 26 Mar 2020 09:21:47 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id 74A511035E; Thu, 26 Mar 2020 09:14:32 +0000 (GMT) Subject: Re: drive selection for disk arrays To: David Christensen , freebsd-questions@freebsd.org References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> From: Arthur Chance Message-ID: <24b684fe-35c4-5959-b02a-7c3ac1df3477@qeng-ho.org> Date: Thu, 26 Mar 2020 09:14:32 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48nzyM72DVz41Dj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.241 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-4.78 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[qeng-ho.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.48)[ip: (-7.73), ipnet: 217.155.0.0/16(-3.87), asn: 13037(-0.74), country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, 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: Thu, 26 Mar 2020 09:22:05 -0000 On 25/03/2020 22:19, David Christensen wrote: > Jacques Foucry wrote: > >> ALWAYS (when it's possible) buy and use disks from different brand >> (mix seagate, WD, etc..) in order to avoid same series and same MTBF. >> >> I know this to late in this case, but keep this in mind. >> >> I know this will not help in this case, please excuse my >> intervention if it's inappropriate. > > > To date, most of my arrays have been composed of similar drives.  But, I > run a SOHO LAN and have limited experience.  I have been wondering about > using dissimilar drives to prevent simultaneous common-mode failures. > > > Backblaze publishes statistics for individual drives: > > https://www.backblaze.com/blog/hard-drive-stats-q2-2019/ > > > I would be curious to read any data or reports comparing arrays of > similar drives vs. arrays of dissimilar drives. > > > Have anyone seen a failure involving multiple similar drives all failing > in the same mode at the same time? Not at exactly the same time, but the first time I ever built a zraid array, shortly after zfs was first released, I used a batch of four identical disks. About 5-6 years later they all failed over a period of about 2-3 months. There was long enough between failures to buy a replacement drive on next day delivery and recover, but this was on a home file server, not a heavily loaded system. Nowadays I buy from a couple of manufacturers based on Backblaze's latest statistics. -- Violets are red And roses are blue When metamaterials Alter their hue. From owner-freebsd-questions@freebsd.org Thu Mar 26 09:49: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 DE95327A327 for ; Thu, 26 Mar 2020 09:49:39 +0000 (UTC) (envelope-from 4250.82.1d4c100004ccc53.f73a93e1012faf0a6a12c8d639815d53@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 48p0ZL2RShz4BJm for ; Thu, 26 Mar 2020 09:49:29 +0000 (UTC) (envelope-from 4250.82.1d4c100004ccc53.f73a93e1012faf0a6a12c8d639815d53@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=1585216170; x=1587808170; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=dUvLgBmL5S3ay3VZnmAB4EUXEnbCsxxim22Vfbgp7kM=; b=A9p5jvbGOo9HeJ0IJOUuXMJF43NIIqZuS8KfqY5dES5hX0N4VUtv6mUIXqxhjlDxscxDrT0Jh5nkJ3e5IT0kp7boMkXZt7AVhk8L000yKghQh3nFqA3jO8DwQN15IioX2shw/w/SuBdxe9Vykr84qDcRxbvz0TNy1LKHqD+qjcI= X-Thread-Info: NDI1MC45Mi4xZDRjMTAwMDA0Y2NjNTMuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.sg.in.socketlabs.com (r3.sg.in.socketlabs.com [142.0.179.13]) by mxsg2.email-od.com with ESMTP; Thu, 26 Mar 2020 05:49:13 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 26 Mar 2020 05:49:13 -0400 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 1jHP8S-0005DC-07 for freebsd-questions@freebsd.org; Thu, 26 Mar 2020 09:49:12 +0000 Date: Thu, 26 Mar 2020 09:49:11 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: drive selection for disk arrays Message-Id: <20200326094911.632d3df6e1396fa565126177@sohara.org> In-Reply-To: <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> 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: 48p0ZL2RShz4BJm X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=A9p5jvbG; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c100004ccc53.f73a93e1012faf0a6a12c8d639815d53@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c100004ccc53.f73a93e1012faf0a6a12c8d639815d53@email-od.com X-Spamd-Result: default: False [-1.33 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.78)[-0.777,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]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.95)[-0.947,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.09)[ip: (-0.25), ipnet: 142.0.176.0/22(0.50), asn: 7381(0.25), 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]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c100004ccc53.f73a93e1012faf0a6a12c8d639815d53@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.82.1d4c100004ccc53.f73a93e1012faf0a6a12c8d639815d53@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: Thu, 26 Mar 2020 09:49:40 -0000 On Wed, 25 Mar 2020 15:19:35 -0700 David Christensen wrote: > Have anyone seen a failure involving multiple similar drives all failing > in the same mode at the same time? Not quite that, but I have seen a new array populated with new drives from the same batch have a drive fail and while the replacement was being populated another drive failed. Fortunately it was a new array undergoing testing before going into production so there was no data that mattered on it. For home use I go for second hand 3.5" enterprise grade SAS drives. They've usually been used in nearline backup servers and similar low load environments and are nicely run in past the front of the bathtub with most of the flat bit still to go. I've had less trouble with these than with any big name consumer drives and they cost a lot less. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Thu Mar 26 11:55:02 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 1DE5127CC34 for ; Thu, 26 Mar 2020 11:55:02 +0000 (UTC) (envelope-from SRS0=OQRW=5L=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 48p3Lr3Vltz3yww for ; Thu, 26 Mar 2020 11:54:44 +0000 (UTC) (envelope-from SRS0=OQRW=5L=perdition.city=julien@bebif.be) Received: from x1 (77.109.114.237.adsl.dyn.edpnet.net [77.109.114.237]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id C7A451D4FC10; Thu, 26 Mar 2020 12:54:35 +0100 (CET) Date: Thu, 26 Mar 2020 12:54:34 +0100 From: Julien Cigar To: David Christensen Cc: freebsd-questions@freebsd.org Subject: Re: drive selection for disk arrays Message-ID: <20200326115434.GC1179@x1> References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> X-Rspamd-Queue-Id: 48p3Lr3Vltz3yww X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=OQRW=5L=perdition.city=julien@bebif.be designates 193.191.208.90 as permitted sender) smtp.mailfrom=SRS0=OQRW=5L=perdition.city=julien@bebif.be X-Spamd-Result: default: False [-4.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[perdition.city]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.208.191.193.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.03)[ip: (-8.97), ipnet: 193.191.192.0/19(-4.48), asn: 2611(-1.67), country: BE(-0.02)]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=OQRW=5L=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[237.114.109.77.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=OQRW=5L=perdition.city=julien@bebif.be]; 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, 26 Mar 2020 11:55:02 -0000 On Wed, Mar 25, 2020 at 03:19:35PM -0700, David Christensen wrote: > Jacques Foucry wrote: > > > ALWAYS (when it's possible) buy and use disks from different brand (mix > > seagate, WD, etc..) in order to avoid same series and same MTBF. > > Not always possible.. On some (?) HPE hardware (but not only?) using Non-HPE drives make the fans to run at maximum speed (I guess it can't read the drives temperatures). > > I know this to late in this case, but keep this in mind. > > > > I know this will not help in this case, please excuse my > > intervention if it's inappropriate. > > > To date, most of my arrays have been composed of similar drives. But, I run > a SOHO LAN and have limited experience. I have been wondering about using > dissimilar drives to prevent simultaneous common-mode failures. > > > Backblaze publishes statistics for individual drives: > > https://www.backblaze.com/blog/hard-drive-stats-q2-2019/ > > > I would be curious to read any data or reports comparing arrays of similar > drives vs. arrays of dissimilar drives. > > > Have anyone seen a failure involving multiple similar drives all failing in > the same mode at the same time? > > > David > _______________________________________________ > 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" -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From owner-freebsd-questions@freebsd.org Thu Mar 26 15:50:19 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 14C792A2FC8; Thu, 26 Mar 2020 15:50:19 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48p8ZB5kPLz4VHL; Thu, 26 Mar 2020 15:49:54 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id C6DA210671; Thu, 26 Mar 2020 15:49:42 +0000 (GMT) Subject: Re: IPv6 in jails To: Victor Sudakov , "Bjoern A. Zeeb" Cc: freebsd-net@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz>, freebsd-questions@freebsd.org References: <20200318151556.GA64871@admin.sibptus.ru> <2dd539ed-0ee3-079b-27b2-28126056c69a@quip.cz> <20200318155046.GD65497@admin.sibptus.ru> <4CA69535-0F6C-40FC-83CF-5000FD728C2D@lists.zabbadoz.net> <20200319021432.GA80800@admin.sibptus.ru> <01EF7656-4F8A-4075-A0B4-27E8AB17B516@lists.zabbadoz.net> <20200319140132.GA93947@admin.sibptus.ru> From: Arthur Chance Message-ID: Date: Thu, 26 Mar 2020 15:49:42 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20200319140132.GA93947@admin.sibptus.ru> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48p8ZB5kPLz4VHL X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.241 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-4.83 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; SURBL_MULTI_FAIL(0.00)[query timed out]; DMARC_NA(0.00)[qeng-ho.org]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.53)[ip: (-7.85), ipnet: 217.155.0.0/16(-3.92), asn: 13037(-0.79), country: GB(-0.07)]; 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, 26 Mar 2020 15:50:19 -0000 On 19/03/2020 14:01, Victor Sudakov wrote: > Bjoern A. Zeeb wrote: >> >>>> If it does, can you add a >>>> >>>> exec.start += "sleep 2 "; >>>> >>>> to your config >>> >>> OK, I've added it to the configs of 3 experimental jails. >>> >>>> and see if your problem goes away? >>> >>> It goes away partially (only for sshd in 2 of the 3 available jails), >>> and >>> not for syslogd in any of the 3 available jails. Restarting the daemons >>> from within the jail fixes the problem. An example from a problem jail: >>> >> .. >>> >>>> If it does, the reason is >>>> that you configure an IPv6 address to an interface and DUD has not >>>> yet >>>> completed by the time sshd or other daemons start. Giving it the 2 > > What is "DUD" BTW? > I suspect it's a typo for DAD - duplicate address detection which is part of IPv6. >>>> seconds >>>> avoids this problem and the address is usable at that time. >>> >>> There is obviously a race somewhere, but the 2 second sleep does not >>> eliminate it entirely. >> >> Well not so much of a race but than a “gap”. >> >> The point is you are configuring an address on the base system and the jail >> knows nothing about it so it’ll simply start the daemons. Normally the >> startup scripts would do the right thing. >> >> I don’t think “polluting” jail(8) with logic to check that the addresses >> become available or not is a good idea. However I agree that it should >> automatically do the right thing somehow .. >> >> >> >>> Thank you for the hint in the right direction, what would you suggest >>> further? >> >> If you make it 3 seconds, does it deterministically work then? > > Not quite: https://termbin.com/arvb > syslogd sometimes remains deprived of the IPv6 address. > -- Violets are red And roses are blue When metamaterials Alter their hue. From owner-freebsd-questions@freebsd.org Thu Mar 26 18:31:17 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 0CF2A2A6443 for ; Thu, 26 Mar 2020 18:31:17 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 48pD8H4PVKz4JRv for ; Thu, 26 Mar 2020 18:31:09 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-io1-xd42.google.com with SMTP id o127so7176144iof.0 for ; Thu, 26 Mar 2020 11:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ffbTWo5Ct6iyuITYt3/vn1FrL9v6XJNL4CsiMHEP2dI=; b=P+lXXqrO5PgzThKqu4l6QxdRLbTVnXpvGgOfzHVxbJXkRR3FPCbtt1DPlH58EitsWZ f/e2lsaF7Hc7sr25v3t6vcF48Kpm38Npi+SiV6X8vlSf8Pl1SAeMIbwStb5pQrX5NGKv yA2CPfog0+rhmwPDZ2IxGM0bJPPQADmWsxFSds9KND2qoKuEUk6bujyoV8RW7izdA12S Xevtwe3v2t7/p5iGJQjFPT0SbQAsq6+v0RWdcStFKB1TnANAJu+09li6c8xodnaIRmjv 22FnyqJlTQ2TC9Z3BRA4UEVV5joP6RAGZ0d7r+axELZpEUZlQp6T1JfOnRKneXnhkU62 M1cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ffbTWo5Ct6iyuITYt3/vn1FrL9v6XJNL4CsiMHEP2dI=; b=a/d4kVBR/2hnG6jCDVED56z7bowrPumLavV3NupIHGbpcrS8qiwybq7UZ+5mKo91qB ezdE7hs6OF83FLTkWRwgJF1zUDwDOeuzUOaCQdrMK2qcghmrH6oSSXDH1VQD3l0S1/nQ sZudPJB6L7WBk73NfnVW4Vfde2Vad8SzdYhrUxIPE9sNrkRN7lmwv9c/nVOw3eWAXQZY hU8d+PPZZQBY72IrT9IYLNRu4F2uddurfXJOkCI9UmKlHKhafbYS2mja6GJpYzSgBxf4 N6Erxa+wOZJXWl2FqdZryubcbw3d2hjetTSef73zRRMGVyk2JjWICheLLXBqmOp0V46l LmjQ== X-Gm-Message-State: ANhLgQ28yI2N545q75k2g9MASWRv744/C/nNGQM7+tkoMjkIHPMv3KLW Uig+PYtoZ9IoDoirvT4bAY74+vh3lqUvXtmVXKttvR+u X-Google-Smtp-Source: ADFU+vsjvww7apBf+m+2saXLoOTIdaUeyUY0NcyoDaIwnOsA4+eAbzk3gGFmSinLfbq/pfxCU/IdcDRAumSGZKRTkH0= X-Received: by 2002:a6b:7419:: with SMTP id s25mr8602881iog.45.1585247461227; Thu, 26 Mar 2020 11:31:01 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:8487:0:0:0:0:0 with HTTP; Thu, 26 Mar 2020 11:31:00 -0700 (PDT) In-Reply-To: <08e9df84-343c-1cf1-a0eb-ccd63e25deeb@tridentusa.com> References: <208460FC-FD0D-48F8-987A-A3B589B3A8B0@huiekin.org> <08e9df84-343c-1cf1-a0eb-ccd63e25deeb@tridentusa.com> From: David Mehler Date: Thu, 26 Mar 2020 14:31:00 -0400 Message-ID: Subject: Re: sshd not allowing a subgroup to authenticate according to it's authentication method To: John Johnstone Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48pD8H4PVKz4JRv X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=P+lXXqrO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=davemehler@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]; RCVD_COUNT_TWO(0.00)[2]; 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)[2.4.d.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: (0.45), ipnet: 2607:f8b0::/32(-0.37), asn: 15169(-0.48), 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]; TAGGED_FROM(0.00)[]; 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: Thu, 26 Mar 2020 18:31:17 -0000 Hello, Apparently is with my AuthenticationMethods option, for some reason having that defined will not let any MatchGroup definitions take effect. Any ideas? Thanks. Dave. On 3/25/20, John Johnstone wrote: > On 3/25/20 1:01 AM, David Mehler wrote: >> Hello, >> >> Thanks, actually it's not anyone in the sshusers group, that's working >> fine, and I am not in sftpusers. Other users are in that group and >> they're being prompted for public keys and rejected because they're >> trying to use passwords. >> Thanks. >> Dave. >> >> >> On 3/25/20, Jim Trigg wrote: >>> At a guess, you're also a member of sshusers. Try putting the sftpusers >>> stanza before the sshusers stanza. >>> >>> Thanks, >>> Jim Trigg > > I have a configuration for user accounts that are restricted to sftp > only that is working. Here is a diff of my sshd_config to the original > 12.0 one. > >> diff /etc/ssh/sshd_config /etc/ssh/sshd_config.orig >> 123,131d121 >> < >> < Match Group chrootgrp >> < ChrootDirectory %h >> < ForceCommand internal-sftp -d data -l INFO >> < AllowAgentForwarding no >> < AllowTcpForwarding no >> < PermitTTY no >> < PermitTunnel no >> < X11Forwarding no > > The only difference I see to what you have, is that mine doesn't have > > PasswordAuthentication yes > > A script is used to create new users that does: > > pw useradd $username $uidflag -c "$ugecos" -G $groupname -s > /usr/sbin/nologin -e +$acctexp -w random > > where groupname is chrootgrp. > > Then it creates the home directory: > > mkdir -p /home/$username/data > chown root:wheel /home/$username > chown $username:$username /home/$username/data > > For syslog logging: > > mkdir -p /home/$username/dev > chown root:wheel /home/$username/dev > > With syslogd_flags in /etc/rc.conf getting: > > -l /home/$username/dev/log > > added to it. Which only works for a small number of users because of > the 19 additional syslogd sockets limit. > > - > John J. > _______________________________________________ > 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 Thu Mar 26 18:57: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 A100D2A6F47 for ; Thu, 26 Mar 2020 18:57:56 +0000 (UTC) (envelope-from bob@proulx.com) Received: from havoc.proulx.com (havoc.proulx.com [96.88.95.61]) (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 48pDkv36Llz4TM6 for ; Thu, 26 Mar 2020 18:57:41 +0000 (UTC) (envelope-from bob@proulx.com) Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id DB5A95A4 for ; Thu, 26 Mar 2020 12:57:32 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proulx.com; s=dkim2048; t=1585249052; bh=onXIDwqcxYk4HexrZOw7kx91Ay4T9FcJ8g91IbWZhoE=; h=Date:From:To:Subject:References:In-Reply-To:From; b=mxy5Zy7XA45OMAy+NVjsgo3Xx0rMq8bGwW+qGTiCfaO7GNJAJjnSc8jwubJ9/ztTM Wcp6QfjHtRN7cj6IKRCUrmwgnWTl/ymDiWADb0DnR7hDQPpbob0Y2+g01cpeMfz4DG QcyAYYqHpzp+Ev7ORTlZig3rKNewHCIEWyZQf6UBCxDddcvHr/8I0WYQPS6Vn5oLUK 6SE4jBBQTatTkFQCy2403uw6Mj+NaxfUjY8et4sndM7G6fT2Gs8BSW0lryVyHwpfHr E9otb3OOSN6C3xfB+796FuJllg07eovoNRo9jFAzmY377WKfx9/sL1Q5qs+bIJoVV1 7Rya95/L5M2HQ== Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id AD08121152 for ; Thu, 26 Mar 2020 12:57:32 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id A3BB82DC93; Thu, 26 Mar 2020 12:57:32 -0600 (MDT) Date: Thu, 26 Mar 2020 12:57:32 -0600 From: Bob Proulx To: freebsd-questions@freebsd.org Subject: Re: drive selection for disk arrays Message-ID: <20200326124648725158537@bob.proulx.com> References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> X-Rspamd-Queue-Id: 48pDkv36Llz4TM6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proulx.com header.s=dkim2048 header.b=mxy5Zy7X; dmarc=none; spf=pass (mx1.freebsd.org: domain of bob@proulx.com designates 96.88.95.61 as permitted sender) smtp.mailfrom=bob@proulx.com X-Spamd-Result: default: False [-3.03 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[proulx.com:s=dkim2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; 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_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[proulx.com]; DKIM_TRACE(0.00)[proulx.com:+]; RCVD_IN_DNSWL_NONE(0.00)[61.95.88.96.list.dnswl.org : 127.0.10.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; IP_SCORE(-0.53)[ipnet: 96.64.0.0/11(-1.96), asn: 7922(-0.65), country: US(-0.05)] 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, 26 Mar 2020 18:57:58 -0000 David Christensen wrote: > Have anyone seen a failure involving multiple similar drives all failing in > the same mode at the same time? For a corporate setting with an SLA and so forth the usual solution is enough drives as hot spares and a fast enough SLA response time to replace drives quickly before too many fail. But even so I have twice seen large corporate arrays with multiple drives failed. They weren't running ZFS though and so didn't detect it until too late. Then they had to restore from backup. Twice now I have had two sibling disks that started out brand new together with relatively close serial numbers in a RAID1 configuration fail within a week of each other. Both times they were in a rack environment in a controlled access room. One was mine and I caught it soon enough with a replacement. One was a client site where they did not and it became a restore from backup task for me. For myself I always buy dissimilar drives to decouple failure modes. If that is not possible then I remix older drives into a set to decouple failure modes. For myself I would rather have one brand new drive with one older drive than two brand new drives. Regardless I always ensure that backup is operating properly. Bob From owner-freebsd-questions@freebsd.org Thu Mar 26 20:56:38 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 A460D2616EB for ; Thu, 26 Mar 2020 20:56:38 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mx1.freebsd.org (Postfix) with ESMTP id 48pHMr3RYkz4GCr for ; Thu, 26 Mar 2020 20:56:23 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mail2.nber.org (8.15.2/8.15.2) with ESMTPS id 02QKbwYv061912 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Mar 2020 16:37:59 -0400 (EDT) (envelope-from feenberg@nber.org) Date: Thu, 26 Mar 2020 16:37:58 -0400 (EDT) From: Daniel Feenberg To: Bob Proulx cc: freebsd-questions@freebsd.org Subject: Re: drive selection for disk arrays In-Reply-To: <20200326124648725158537@bob.proulx.com> Message-ID: References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, 1970/01/01 00:00:00 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2020/03/26 15:07:00 #11108036 X-KLMS-AntiVirus-Status: Clean, skipped X-Rspamd-Queue-Id: 48pHMr3RYkz4GCr X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of feenberg@nber.org designates 198.71.6.79 as permitted sender) smtp.mailfrom=feenberg@nber.org X-Spamd-Result: default: False [-6.14 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nber.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[79.6.71.198.list.dnswl.org : 127.0.4.2]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:26287, ipnet:198.71.6.0/23, country:US]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-3.64)[ip: (-9.55), ipnet: 198.71.6.0/23(-4.78), asn: 26287(-3.82), country: US(-0.05)] 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, 26 Mar 2020 20:56:38 -0000 The disturbing frequency of multiple drives going offline in quick succession is, in my view, largely a result of defects being discovered in quick succession, rather than occuring in quick succession. If a defect occurs in a sector that is rarely visited it can remain hidden for a long time. During a resilver that defect will be noticed and the drive failed out. I do think that is an overly aggressive action by the resilvering process, as that may be the only bad sector, it may be possible to recover all the data from the remaining drives (if the first failing drive can read the appropriate sector), and that sector may not even be in an active file. This issue makes scrubbing particularly important, especially in this era of very large filesystems that can take days or weeks to restore. From owner-freebsd-questions@freebsd.org Thu Mar 26 22:20:34 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 6D833263262 for ; Thu, 26 Mar 2020 22:20:34 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) 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 48pKDf71xZz3Jmy for ; Thu, 26 Mar 2020 22:20:18 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qk1-x72e.google.com with SMTP id o10so8799686qki.10 for ; Thu, 26 Mar 2020 15:20:18 -0700 (PDT) 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; bh=ck7HIkb6iRCLatvJkW2w6MFfN+cx9iKoneS0PZaGow8=; b=pZFLftBt/AC+ZAlMzeeOmh4uLZM8lie+eMtF9YePGOYKuQDNbW2CXtsk+K+RVSVUlm o6X1u26LCM4jDUDPv1C+TkEqa4PB36wb3ZPqhpF20c5eCc/aVVAis5cKbeBHdOlfr8PW /QOSzRDUu/lKUO/3BcJ4A50O7znIXwEvTyXTQq5RjT3F2RRWaZMeb2Yj6KA76QyZtYQ+ BiVrR/c+i+oip9qh5f5jvDIScCB/KNzVQLp88/6CJKLD10b0uJRb54HavS6InjepKFoV 1bTf6yFUGjzRBajGfmvvwriSULdhqpMpEGvdf0q5gHo32YG7eqNBiRC1idyJ+LUWSYWO i2bw== 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; bh=ck7HIkb6iRCLatvJkW2w6MFfN+cx9iKoneS0PZaGow8=; b=OJUwcxNFK5yRNC+lU6DRxx8Ni0Bt99qNc28aZmLHuM8bX+Gu5su1OU/q64XRGdlUhe w0BIfMp9THfWX4AZGNmgKZhOkyGYP5V30XoYLxKhBv30MvLvKuBIx6/msDWJs0U9mqey 3l07tEVWDx+0A69qT5EuiYlHw+9jh/XBniYkwy2YI3mWPe1rghGzBX4Fzg4l+lXpEy/o ekMtcWuU6tQdnY0Q7TYGi6C7+M3n7AwTNNg6YCYAs7d3dtay/9Uiridpp1ZGn+0+hnGl DgAdAJ/UnHYvqhinLS1uDngXBhtm9tnaoPzvIPirKyduMjjeinAxWIwyuX1+DoSgkvTP MPgA== X-Gm-Message-State: ANhLgQ3TUnpmTcifpH5oPksBvbsJ9zHkc329nosAAWktYQlmjlLDNBq1 AS4WFVMyQ9Ta2a2wtRJcRZcciUjQE9rA/ad9EEfYTB8Ndqc= X-Google-Smtp-Source: ADFU+vsHjMZjzMw8R8WTsHNVO8h5cy+0TikM+YJ0x2d5go7YjwKlvhxzldgg1aBfC5KVMOOKjVzLlbhs1Z9sEfZnxm0= X-Received: by 2002:a37:62d1:: with SMTP id w200mr10993826qkb.399.1585261210408; Thu, 26 Mar 2020 15:20:10 -0700 (PDT) MIME-Version: 1.0 References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> In-Reply-To: From: Michael Sierchio Date: Thu, 26 Mar 2020 15:19:34 -0700 Message-ID: Subject: Re: drive selection for disk arrays To: FreeBSD Questions X-Rspamd-Queue-Id: 48pKDf71xZz3Jmy X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=pZFLftBt; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2607:f8b0:4864:20::72e) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-4.30 / 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)[]; 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]; DMARC_NA(0.00)[tenebras.com]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[e.2.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.00)[ip: (-9.09), ipnet: 2607:f8b0::/32(-0.37), asn: 15169(-0.47), 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: Thu, 26 Mar 2020 22:20:35 -0000 On Thu, Mar 26, 2020 at 2:02 PM Daniel Feenberg wrote: > > The disturbing frequency of multiple drives going offline in quick > succession is, in my view, largely a result of defects being discovered i= n > quick succession, rather than occuring in quick succession. That really got my attention, and I was guilty of thinking you were committing an epistemological error. Fortunately I was wrong, and the universe (esp. of disk arrays) is counter-intuitive... --=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 Mar 27 09:51: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 3928326FEEC for ; Fri, 27 Mar 2020 09:51:35 +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 48pcZ52MLCz48BC for ; Fri, 27 Mar 2020 09:51:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([188.102.102.35]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1M5jA2-1jBiso3MBm-007AqD; Fri, 27 Mar 2020 10:45:56 +0100 Date: Fri, 27 Mar 2020 10:45:55 +0100 From: Polytropon To: Daniel Feenberg Cc: Bob Proulx , freebsd-questions@freebsd.org Subject: Re: drive selection for disk arrays Message-Id: <20200327104555.1d6d7cd9.freebsd@edvax.de> In-Reply-To: References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> 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:9ZPe62yuzFIWVM/1MJ2wvAlJNYu2LMWnOOgBMYO8rsknfjo2C96 ngOhFWAyrfvOXCy9wU/WBLQSconiUC6ggmT40ChIKwVls12cQuKIxWopc/gL+aWGWcKRAFW FHPEWvhGX/OOvpviHqLvDZF1LLgHNB6Al0ARwq7O94Apg8ZulurqAFnYIHhZmmRdjTv0ScM fys7Do51mMQ8pdmGQHwOg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:8uVa5CBzpFk=:UWqLd7CI2WV/TVRxr1pQGp 6u5gGUit8wJB5HR86ui7PI1LM3zMlb8xZHhhVn4C8K8cWjMjx2SwWWkPT+OSv6Kln0DVHUgIg dY87n7LIv3QHFWUd3MxTw5Gor7eILjTZ8Du+mO3pn4N625bHv2uhiC31zV2a81CNzbvVlKAOo oe43sBWuTFcXchXtyC7qDqWWfvfWCBqMPRa8avNx5F4CLnzsPVrdqkneorim4Qd5cJd2XEVvP 9OYz4WdlvpumK/0Y3RnqAL7v9+ex0wNRQC9dDeNwbnAxC1Q+qr0hxmGFKZtJKfpcggAja2xLa v8c6uZf9DKd3Pmd3pBnHmYGCwUTB4xaIk6KMPLa9W65ga/fAMeKHo8Xj7yaob63ZgfV1QXFrJ XCFxOD5MhLL2fkiBqx/qeWeTAtq5s6+9UyjeLcemJ7t8Iu/agh49fbU6W7vCeSnopdTRHxEAB Vte+b5BOnB37g2Nwh57Hs/rUgH9uNXYCfklV019eXEqlzgDKc4VoDVpaxr76tZ4wj/FqxVW8a atFSBvJm+1MInCj/R8GEbwe7KGtQczAFaDGmHa1EhXIJoX/Hnaj9HT3LqTi5q2z0CMRwuWqFU Q4ZI0xpT68UuSW66cT2Ub6+3Tvb5/wssX4nIQp9S/o6wCeWC8yt4TtPic1hABlZD9jZ6vaxvj xnhLn2I3MCnC97A9achm6T5Ep2+7+fWcKEV4H5GRyfYT65KP6A9XjJ57iHO7ZlvZt461rzqcL 74RESNkZ13Jg+PuhB9ZfYqmdxYsL53LkYtVchb69RNzEAr7e8i+fjqtiOfjteRAUKTIYuMh1j w0vdJzPrC2QJIQ6ChZcuTX5LSjC7am9em275Up77Zifsa5m6XiG9qL/YEesUTuYQySyw8e/ X-Rspamd-Queue-Id: 48pcZ52MLCz48BC 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.81 / 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)[]; RECEIVED_SPAMHAUS_PBL(0.00)[35.102.102.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; 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:+]; FROM_EQ_ENVFROM(0.00)[]; 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(0.97)[0.970,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.998,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)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.44)[ip: (1.15), ipnet: 212.227.0.0/16(-1.10), asn: 8560(2.17), 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, 27 Mar 2020 09:51:35 -0000 On Thu, 26 Mar 2020 16:37:58 -0400 (EDT), Daniel Feenberg wrote: > > The disturbing frequency of multiple drives going offline in quick > succession is, in my view, largely a result of defects being discovered in > quick succession, rather than occuring in quick succession. If a defect > occurs in a sector that is rarely visited it can remain hidden for a long > time. During a resilver that defect will be noticed and the drive failed > out. I do think that is an overly aggressive action by the resilvering > process, as that may be the only bad sector, it may be possible to recover > all the data from the remaining drives (if the first failing drive can > read the appropriate sector), and that sector may not even be in an active > file. I'd like to mention something in this context: When a drive _reports_ bad sectors, at least in the past it was an indication that it already _has_ lots of them. The drive's firmware will remap bad sectors to spare sectors, so "no error" so far. When errors are being reported "upwards" ("read error" or "write error" visible to the OS), it's a sign that the disk has run out of spare sectors, and the firmware cannot silently remap _new_ bad sectors... Is this still the case with modern drives? How transparently can ZFS handle drive errors when the drives only report the "top results" (i. e., cannot cope with bad sectors internally anymore)? Do SMART tools help here, for example, by reading certain firmware-provided values that indicate how many sectors _actually_ have been marked as "bad sector", remapped internally, and _not_ reported to the controller / disk I/O subsystem / filesystem yet? This should be a good indicator of "will fail soon", so a replacement can be done while no data loss or other problems appears. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Mar 27 13:05: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 4A8C6275446 for ; Fri, 27 Mar 2020 13:05:48 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mx1.freebsd.org (Postfix) with ESMTP id 48pht265mTz4NWr for ; Fri, 27 Mar 2020 13:05:30 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [198.71.6.79]) by mail2.nber.org (8.15.2/8.15.2) with ESMTPS id 02RD5IBe031111 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 27 Mar 2020 09:05:18 -0400 (EDT) (envelope-from feenberg@nber.org) Date: Fri, 27 Mar 2020 09:05:18 -0400 (EDT) From: Daniel Feenberg To: "Kevin P. Neal" cc: Bob Proulx , freebsd-questions@freebsd.org Subject: Re: drive selection for disk arrays In-Reply-To: <20200327003131.GA41749@neutralgood.org> Message-ID: References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> <20200327003131.GA41749@neutralgood.org> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, 1970/01/01 00:00:00 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2020/03/27 05:29:00 #11111534 X-KLMS-AntiVirus-Status: Clean, skipped X-Rspamd-Queue-Id: 48pht265mTz4NWr X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of feenberg@nber.org designates 198.71.6.79 as permitted sender) smtp.mailfrom=feenberg@nber.org X-Spamd-Result: default: False [-6.15 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nber.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[79.6.71.198.list.dnswl.org : 127.0.4.2]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:26287, ipnet:198.71.6.0/23, country:US]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-3.65)[ip: (-9.58), ipnet: 198.71.6.0/23(-4.79), asn: 26287(-3.83), country: US(-0.05)] 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, 27 Mar 2020 13:05:49 -0000 On Thu, 26 Mar 2020, Kevin P. Neal wrote: > On Thu, Mar 26, 2020 at 04:37:58PM -0400, Daniel Feenberg wrote: >> >> The disturbing frequency of multiple drives going offline in quick >> succession is, in my view, largely a result of defects being discovered in >> quick succession, rather than occuring in quick succession. If a defect >> occurs in a sector that is rarely visited it can remain hidden for a long >> time. During a resilver that defect will be noticed and the drive failed >> out. I do think that is an overly aggressive action by the resilvering >> process, as that may be the only bad sector, it may be possible to recover >> all the data from the remaining drives (if the first failing drive can read >> the appropriate sector), and that sector may not even be in an active file. > > I thought that got fixed? I thought that a drive wouldn't be failed out > of a pool due to simply bad sectors. Possibly this is only prevented during > a resilver. Can anyone provide an authoritative reference? I would sleep better if I knew this was fixed. When I raised the issue a decade ago, I was told "only an IT admin of low moral character would ask for rsilvering to continue in the presence of an error", or words to that effect. And that was before it took a month to copy out the good data to an alternate store and another month to copy it back. Daniel Feenberg > > Am I remembering wrong? > > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > > "Nonbelievers found it difficult to defend their position in \ > the presense of a working computer." -- a DEC Jensen paper > From owner-freebsd-questions@freebsd.org Fri Mar 27 16:04: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 CB71B279A39 for ; Fri, 27 Mar 2020 16:04:32 +0000 (UTC) (envelope-from thor@irk.ru) Received: from mail.irk.ru (relay2.dsi.ru [195.206.40.175]) (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 48pmrF5thrz4Y5J for ; Fri, 27 Mar 2020 16:04:12 +0000 (UTC) (envelope-from thor@irk.ru) Received: from [194.176.114.54] (helo=[192.168.1.130]) by mail.irk.ru with esmtpa (Exim 4.86 (FreeBSD)) (envelope-from ) id 1jHr5k-0000y4-5R for freebsd-questions@freebsd.org; Fri, 27 Mar 2020 23:40:16 +0800 Subject: Re: drive selection for disk arrays To: freebsd-questions@freebsd.org References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> <20200327104555.1d6d7cd9.freebsd@edvax.de> From: thor Message-ID: <0298b5df-3d40-2469-1372-1bf21b746aa8@irk.ru> Date: Fri, 27 Mar 2020 23:40:15 +0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20200327104555.1d6d7cd9.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48pmrF5thrz4Y5J X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=irk.ru; spf=pass (mx1.freebsd.org: domain of thor@irk.ru designates 195.206.40.175 as permitted sender) smtp.mailfrom=thor@irk.ru X-Spamd-Result: default: False [-3.12 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,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)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[irk.ru,none]; RCVD_IN_DNSWL_NONE(0.00)[175.40.206.195.list.dnswl.org : 127.0.10.0]; IP_SCORE(-0.32)[ip: (-9.17), ipnet: 195.206.32.0/19(4.20), asn: 8345(3.36), country: RU(0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8345, ipnet:195.206.32.0/19, country:RU]; 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, 27 Mar 2020 16:04:32 -0000 Hello! I may be an idiot and total ignorant obscurantist knowing nothing about the modern computers but: 1) If a bad sector appears then it's a big chance that data are irreversibly lost. The drive could remap the sector but it cannot bring back the data. 2) The RAID5 controller usually has a patrol read so every single bad sector will be found and remapped with data being restored. At least "mfi" controllers I use surely do this. 3) It basically means that almost every single bad sector shall be declared by driver in system log, with exception the ones that were successfully restored and remapped by the drive itself. And I don't trust software RAIDs. Thor On 03/27/20 17:45, Polytropon wrote: > On Thu, 26 Mar 2020 16:37:58 -0400 (EDT), Daniel Feenberg wrote: >> The disturbing frequency of multiple drives going offline in quick >> succession is, in my view, largely a result of defects being discovered in >> quick succession, rather than occuring in quick succession. If a defect >> occurs in a sector that is rarely visited it can remain hidden for a long >> time. During a resilver that defect will be noticed and the drive failed >> out. I do think that is an overly aggressive action by the resilvering >> process, as that may be the only bad sector, it may be possible to recover >> all the data from the remaining drives (if the first failing drive can >> read the appropriate sector), and that sector may not even be in an active >> file. > I'd like to mention something in this context: > > When a drive _reports_ bad sectors, at least in the past > it was an indication that it already _has_ lots of them. > The drive's firmware will remap bad sectors to spare > sectors, so "no error" so far. When errors are being > reported "upwards" ("read error" or "write error" > visible to the OS), it's a sign that the disk has run > out of spare sectors, and the firmware cannot silently > remap _new_ bad sectors... > > Is this still the case with modern drives? > > How transparently can ZFS handle drive errors when the > drives only report the "top results" (i. e., cannot cope > with bad sectors internally anymore)? Do SMART tools help > here, for example, by reading certain firmware-provided > values that indicate how many sectors _actually_ have > been marked as "bad sector", remapped internally, and > _not_ reported to the controller / disk I/O subsystem / > filesystem yet? This should be a good indicator of "will > fail soon", so a replacement can be done while no data > loss or other problems appears. > > > > > From owner-freebsd-questions@freebsd.org Fri Mar 27 16:54: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 4A28927AF5D for ; Fri, 27 Mar 2020 16:54:09 +0000 (UTC) (envelope-from jjohnstone@tridentusa.com) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2064.outbound.protection.outlook.com [40.107.93.64]) (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 48pnxc40Tkz3P04 for ; Fri, 27 Mar 2020 16:53:55 +0000 (UTC) (envelope-from jjohnstone@tridentusa.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nq4MMuVt3ERUtLiOkHLU171vufSh2gV+TbPq+qO9uP/YMh56FuZs0P5qq17bOTjes6kZfnSx7EVgC8RthgJAKjlChlpM3g0Mx2fW7rn6dUrFjDuFB2mhnpkuYqI0YvoEOAa0A645tBpwqviiTmUWgyqmdCmA+Ke8LmIYseGqh4HhodHrRXc8+FJGJXOG8bCNttLSAmkxiWr/m5UY8IUYtQc58jleZdDSL2Ak68oWaUsr9cBFT6j/kMXJnIVhhaarDv7EtVa2+7JsyeRigQuVQ1EW8Ru3qTNGZzePIDUrGpsX5WKEdpPMdePMFauEg7yaG2fwQPWLZTuclIUjKtefWA== 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=FP4iHjRPVHJOnMTEScohwCtEFPrDP9rdqgfk+OicD6M=; b=RucsZaMiEz1x6MbMQSlczo5U+f19fMhLcPXgNJCgsBpk4s+NGgFVR1bkjH0SVKC/OlFAvqvT/kCc4HotiZ2WInqhWrtPiC9epG3ceXB86s/wEeUzjFXwMujE2L0FUxeQ4qN0xgZ2+ldDKAIPN1p+ZQaMbZw4M5lO6XzsmTY3pGWbuQEerZQOEf5+ZOK/aQv8xq7ldGWBE1qSTXPiA6BFXmlPyIxf+8i0k5TDsT9HU5z4Ir9p1e0lXjYqfUbBBcZYaB+rw1ds/WjjqdogF1LBQ8wEcFv4dxAPmbanu+odkXbrliRLn7SQHI2Pi9grFBG0sFyZn/GpXyvRPrx07Tdn/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tridentusa.com; dmarc=pass action=none header.from=tridentusa.com; dkim=pass header.d=tridentusa.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tridentusa90.onmicrosoft.com; s=selector1-tridentusa90-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FP4iHjRPVHJOnMTEScohwCtEFPrDP9rdqgfk+OicD6M=; b=TJfh+lK2glJKt8h7MIsIl6zA87GFSOQAhtIvlwSHlITSe+dhuIBkGrvsJTEsv7EY/w9wcCDfVK5zeOcXcmriq8DS9iqQzV8lDd2sQjEn8d17AKV9kA9twqn1eRwmUNchmFQlBHj/vk167HFvGTttIz0srOGNDV4noKc5MUrBybI= Received: from MN2PR20MB3118.namprd20.prod.outlook.com (2603:10b6:208:1b8::27) by MN2PR20MB3088.namprd20.prod.outlook.com (2603:10b6:208:1b5::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.23; Fri, 27 Mar 2020 16:53:46 +0000 Received: from MN2PR20MB3118.namprd20.prod.outlook.com ([fe80::29ed:73e:66dd:a5d9]) by MN2PR20MB3118.namprd20.prod.outlook.com ([fe80::29ed:73e:66dd:a5d9%6]) with mapi id 15.20.2856.019; Fri, 27 Mar 2020 16:53:45 +0000 Subject: Re: drive selection for disk arrays To: freebsd-questions@freebsd.org References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> <20200327104555.1d6d7cd9.freebsd@edvax.de> From: John Johnstone Message-ID: Date: Fri, 27 Mar 2020 12:53:34 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 In-Reply-To: <20200327104555.1d6d7cd9.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MN2PR07CA0013.namprd07.prod.outlook.com (2603:10b6:208:1a0::23) To MN2PR20MB3118.namprd20.prod.outlook.com (2603:10b6:208:1b8::27) MIME-Version: 1.0 Sender: John Johnstone X-MS-Exchange-MessageSentRepresentingType: 2 Received: from Johns-MBP.fios-router.home (71.255.81.56) by MN2PR07CA0013.namprd07.prod.outlook.com (2603:10b6:208:1a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19 via Frontend Transport; Fri, 27 Mar 2020 16:53:45 +0000 X-Originating-IP: [71.255.81.56] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: abe37c8c-e9a7-401e-72b9-08d7d26f69bb X-MS-TrafficTypeDiagnostic: MN2PR20MB3088: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-Forefront-PRVS: 0355F3A3AE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(376002)(39830400003)(346002)(366004)(396003)(6916009)(81156014)(31686004)(6486002)(31696002)(6512007)(2616005)(316002)(81166006)(36756003)(8936002)(7846003)(8676002)(956004)(53546011)(6666004)(5660300002)(26005)(2906002)(508600001)(66556008)(52116002)(6506007)(186003)(66946007)(16526019)(66476007); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR20MB3088; H:MN2PR20MB3118.namprd20.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: tridentusa.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2IMAnAFl2sk9TUIQNAcYCWV3r4YqYaXHn9JOFsDymcncuyulDfE9c2GDBHSCUiKgfwwpJjgjeVzdIFfjMCb89QPE9lP8odCf/HYxet++wjvSJXLtJTrom7+3QpI0sJ4FBxGIbW/Vf6uvXrjpliBYKmdTl2d5TrgpvYItrPoCxIxNLwfVQT6xWU+KJ/SawRjTW/o8V5rgR274RelylZvF0LsVOpBjxAJp07V1VdS9uPlTS+KVr3YF/BLeQ+WNTelZFMS5cinIXejgVvJxYBDfGzkIP+WGh+znuPyTVx3lw2fMJKCaERMqMFBeS0khJ0UgYwK9On6sVQPoGIxikuCRt8db8kq6g7tzxivJRkl5Tsy8eROfHvahdul7kDmqV5gfKE+qtr9px+VsXo0ESNl9q0rcg9MPz0E4CG8e35L8fRHRo07iwfYr1TLKvqmNqhSM X-MS-Exchange-AntiSpam-MessageData: kRm0m9X2FnrjfZauDTIP1lOXeIASsp8cwqJM8dYKCY7lFvrVPM6rm8JTe3NLQ71Y0Gcu3cS01yNbjF7ptNABQcbM13QFvY59HuJbXAae9pehBjhCPqBRD5aOYrgX/4EprjTUHtt+PxW+Zhu3LxW0lg== X-OriginatorOrg: tridentusa.com X-MS-Exchange-CrossTenant-Network-Message-Id: abe37c8c-e9a7-401e-72b9-08d7d26f69bb X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2020 16:53:45.6847 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a5d010c5-207b-4510-bdaf-c382c7a8c714 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HJIzYX6I2VfSgh6cHLs7RhC218m2/0jT3yBoJ/tRUYSzB6mgs9aYIRCFa7nXPMt/KD5LB3Vz/xjxGEs13Os4qlgVppiyqmjM6ER+7KLYTi8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR20MB3088 X-Rspamd-Queue-Id: 48pnxc40Tkz3P04 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tridentusa90.onmicrosoft.com header.s=selector1-tridentusa90-onmicrosoft-com header.b=TJfh+lK2; dmarc=none; spf=pass (mx1.freebsd.org: domain of jjohnstone@tridentusa.com designates 40.107.93.64 as permitted sender) smtp.mailfrom=jjohnstone@tridentusa.com X-Spamd-Result: default: False [-4.58 / 15.00]; IP_SCORE(-1.38)[ipnet: 40.64.0.0/10(-3.75), asn: 8075(-3.13), country: US(-0.05)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tridentusa90.onmicrosoft.com:s=selector1-tridentusa90-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tridentusa.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[tridentusa90.onmicrosoft.com:+]; RCVD_IN_DNSWL_NONE(0.00)[64.93.107.40.list.dnswl.org : 127.0.3.0]; RECEIVED_SPAMHAUS_PBL(0.00)[56.81.255.71.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FORGED_SENDER(0.30)[jjohnstone-freebsdquestions@tridentusa.com,jjohnstone@tridentusa.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.93.107.40.rep.mailspike.net : 127.0.0.17]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; FROM_NEQ_ENVFROM(0.00)[jjohnstone-freebsdquestions@tridentusa.com,jjohnstone@tridentusa.com]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[i=1] 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, 27 Mar 2020 16:54:09 -0000 On 3/27/20 5:45 AM, Polytropon wrote: > When a drive _reports_ bad sectors, at least in the past > it was an indication that it already _has_ lots of them. > The drive's firmware will remap bad sectors to spare > sectors, so "no error" so far. When errors are being > reported "upwards" ("read error" or "write error" > visible to the OS), it's a sign that the disk has run > out of spare sectors, and the firmware cannot silently > remap _new_ bad sectors... > > Is this still the case with modern drives? Yes. And this ties in with the distinction that was made between when an error occurs and when it is noticed or reported. > How transparently can ZFS handle drive errors when the > drives only report the "top results" (i. e., cannot cope > with bad sectors internally anymore)? Do SMART tools help > here, for example, by reading certain firmware-provided > values that indicate how many sectors _actually_ have > been marked as "bad sector", remapped internally, and > _not_ reported to the controller / disk I/O subsystem / > filesystem yet? This should be a good indicator of "will > fail soon", so a replacement can be done while no data > loss or other problems appears. Smartmontools is definitely a help with this. The periodic task /usr/local/etc/periodic/daily/smart is exactly for staying on top of this. If drives are monitored more effectively it makes it more unlikely that you will suffer data loss. Perhaps multiple drives that failed over a short period of time and caused data loss were drives that encountered recoverable errors months, possibly years, before the un-recoverable errors occurred. But those recoverable errors were not handled as well as they could have been by firmware or software. The handling of disk errors is an inherently complicated topic and there is not much time available to discuss it. One thing to keep in mind is the behavior in systems with generic RAID controllers / HBAs and disks is substantially different from those in systems with proprietary controllers / HBAs and disks. The value of proprietary hardware can be debated but when it comes to server class systems, Dell, HP, IBM, Lenovo, etc. and the suppliers they use, go to great lengths in their controller / HBA / disk firmware design to be careful about avoiding failure scenarios that can cause data loss. The SMART technology does allow drives to keep track of various types of errors and to notify hosts before data loss. The proprietary controllers build on top of this with their own design. Their PF and PFA designations are part of this. When people have seen multiple disk failures over a short time period was that with generic hardware or proprietary? This has to be considered in order to properly understand the meaning. In my opinion the relative importance and likelihood a multiple disk failure is different for a generic hardware user compared one using proprietary hardware. No method is perfect but there are differences. SATA vs SAS is also an aspect too. Diversity is also a point for SSDs too. Bulletin: HPE SAS Solid State Drives - Critical Firmware Upgrade Required for Certain HPE SAS Solid State Drive Models to Prevent Drive Failure at 40,000 Hours of Operation which doesn't seem to be specific to HPE. - John J. From owner-freebsd-questions@freebsd.org Fri Mar 27 17:04: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 AFE3827B415 for ; Fri, 27 Mar 2020 17:04:31 +0000 (UTC) (envelope-from jjohnstone@tridentusa.com) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2051.outbound.protection.outlook.com [40.107.244.51]) (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 48pp9d1BKCz3xVT for ; Fri, 27 Mar 2020 17:04:20 +0000 (UTC) (envelope-from jjohnstone@tridentusa.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HTNViLASkSq4ihupJS6cVphwAr1QBHB0orEmo2WkgA7RMxm4S+3btyk5fdRFWmdAYUkqpLRCs8UVQxKzMspLkyFnVvAR17xwgR40iSFk2KraGQpv/wThtdGPQp3nRSWENG+6DFYl8H91YnKap5A7NVaeYjE7d538AneeU6hnKZYbK3Z9sTb9o+lOe0Vqn+jY7bW1uxpHnS2blWUibAvimFZjOMvjhNfJtx3PJG0x/gPlrugPMQUXptPy8qTdlKM4cPajSfb00YmZrFZxT2r3nAdzz6FO2T9g9T+Pt3Ur84nVzs4IzCSxTKVzBnhAkhpxmqtPz1niPIPl7V4UY/LlRw== 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=H58LOpbWNI1Sir+qTENBstkFju0pAllwbgCS86xIaE0=; b=fIuRCVyyKbbA9lmrvJxsK0V8VhfCFFprGTYTc95vFVedvYHxjbm5zmxooHzVRWQdjABpG5JDw8ydEj8h3DiEiE2J2xJRCulh3px1EuIeDmNT6mKMtlRVNJ8SbHSrgRUhip8nn8fRkO8vkJ5/LN0N0iHDR4sK2cTBGldCLePkr+/OKM1p6+gJqu5RxC6Jr+ic7E+fItbQYDq3pXQo5SYGTSBZ216IQwZ4azK7UCQK3svIEhpLdTbqwQlfwu+HGFnJrUbxiGzo8TGK2cWMOArSUAsiYHMMZa5MP8H7VR1ICSBksqufcA/baBRAR2JZvJ/P+vWN7x1TNEOF3GMMjhsylQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tridentusa.com; dmarc=pass action=none header.from=tridentusa.com; dkim=pass header.d=tridentusa.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tridentusa90.onmicrosoft.com; s=selector1-tridentusa90-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H58LOpbWNI1Sir+qTENBstkFju0pAllwbgCS86xIaE0=; b=gG6eHGfl/mKXUqqm3KWEm7heioDPUJYNIn1tJNQST+vAA+zdTJ0SxKzUwicnpciqMMP2H9Mo8yehDlDgb0zoS8PQZjqrqUo7Yqdx8dxMRkG0vf/isNJrniW7UhBcqKR/uNAMLWEQFXR6uwVCb/zBlXdRT2Xbb6qEOOCU9Qq5whw= Received: from MN2PR20MB3118.namprd20.prod.outlook.com (2603:10b6:208:1b8::27) by MN2PR20MB2911.namprd20.prod.outlook.com (2603:10b6:208:1be::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.22; Fri, 27 Mar 2020 17:04:10 +0000 Received: from MN2PR20MB3118.namprd20.prod.outlook.com ([fe80::29ed:73e:66dd:a5d9]) by MN2PR20MB3118.namprd20.prod.outlook.com ([fe80::29ed:73e:66dd:a5d9%6]) with mapi id 15.20.2856.019; Fri, 27 Mar 2020 17:04:10 +0000 Subject: Re: sshd not allowing a subgroup to authenticate according to it's authentication method To: freebsd-questions@freebsd.org References: <208460FC-FD0D-48F8-987A-A3B589B3A8B0@huiekin.org> <08e9df84-343c-1cf1-a0eb-ccd63e25deeb@tridentusa.com> From: John Johnstone Message-ID: <4d8109a6-da41-1adc-382c-ccfe0642c397@tridentusa.com> Date: Fri, 27 Mar 2020 13:04:08 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MN2PR02CA0013.namprd02.prod.outlook.com (2603:10b6:208:fc::26) To MN2PR20MB3118.namprd20.prod.outlook.com (2603:10b6:208:1b8::27) MIME-Version: 1.0 Sender: John Johnstone X-MS-Exchange-MessageSentRepresentingType: 2 Received: from Johns-MBP.fios-router.home (71.255.81.56) by MN2PR02CA0013.namprd02.prod.outlook.com (2603:10b6:208:fc::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19 via Frontend Transport; Fri, 27 Mar 2020 17:04:09 +0000 X-Originating-IP: [71.255.81.56] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 37509314-95e8-46ce-53da-08d7d270ddfc X-MS-TrafficTypeDiagnostic: MN2PR20MB2911: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-Forefront-PRVS: 0355F3A3AE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(366004)(136003)(376002)(39830400003)(346002)(81156014)(31686004)(81166006)(4744005)(66556008)(8936002)(26005)(66946007)(6486002)(6512007)(7846003)(53546011)(6506007)(66476007)(5660300002)(8676002)(316002)(2616005)(2906002)(956004)(52116002)(186003)(16526019)(36756003)(6916009)(508600001)(31696002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR20MB2911; H:MN2PR20MB3118.namprd20.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: tridentusa.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vNp85XiY6+NGkxymYTulX/68o1xpPkEiPrjLUafPGzrxSus4CXdzqkS8abYJ6ntEJP/ULeT/CAy92Zju4XCTgyN+sPZOye1H/JZC1t5oZl1VUjQ8McYy3W6S08sKxlClxIQtm1J7kOIqgFbwBgtKzSI5roSXjNr5JgEaB6LFWoSophFtZAV+VArK3HfoxFBrad8qXvLON6jUu9kmMk2Q89tIeEpJGtvG6t+NOfZkK+AIGwu6DrdctmVoS3NK7rX+DFXG9plZtbENdT6/Rw0Wg4LmMPUfhIqU3aKIySQ0OxDoWBqFp1ElAU5HZKFQxRdolmDJv5nguS2i3oe7j0g0FIXvaR+Wt5G08+6OTy93h+wp9ZKGcYS2XuCjJqv0eQV0mBmLEjZHPknMJ/B8pcoM6MZSKAVqZUxoEUuBQCgnPEhhpCi+AJ7xbj5Dq1312KTe X-MS-Exchange-AntiSpam-MessageData: IY/3gAjTZwB6txP2tv5zgfJ0dD3Y8ayOtBjFO3zdcL85amiUcZMwvP3Mr2xb0K2qU2E1cJE8jNeHnUC6C9wxWTV4dbtPHtf6fKhQXdXUJC4xhDstrDDjrgnfGoRwr8jq5zXmT/c9aj7agiMFS5uKAA== X-OriginatorOrg: tridentusa.com X-MS-Exchange-CrossTenant-Network-Message-Id: 37509314-95e8-46ce-53da-08d7d270ddfc X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2020 17:04:09.9715 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a5d010c5-207b-4510-bdaf-c382c7a8c714 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yT33M7XckuInfyrhsON0ZHqFGtKJk2+nhBsEIq+CcsjlXus8vaIqjyLI1rfTAB/MU//3Rkp2NvylkZALMBej8WVvJ2vjZGBzC/utY9zJE1E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR20MB2911 X-Rspamd-Queue-Id: 48pp9d1BKCz3xVT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tridentusa90.onmicrosoft.com header.s=selector1-tridentusa90-onmicrosoft-com header.b=gG6eHGfl; dmarc=none; spf=pass (mx1.freebsd.org: domain of jjohnstone@tridentusa.com designates 40.107.244.51 as permitted sender) smtp.mailfrom=jjohnstone@tridentusa.com X-Spamd-Result: default: False [-4.58 / 15.00]; IP_SCORE(-1.38)[ipnet: 40.64.0.0/10(-3.75), asn: 8075(-3.13), country: US(-0.05)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tridentusa90.onmicrosoft.com:s=selector1-tridentusa90-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tridentusa.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[tridentusa90.onmicrosoft.com:+]; RCVD_IN_DNSWL_NONE(0.00)[51.244.107.40.list.dnswl.org : 127.0.3.0]; FORGED_SENDER(0.30)[jjohnstone-freebsdquestions@tridentusa.com,jjohnstone@tridentusa.com]; RECEIVED_SPAMHAUS_PBL(0.00)[56.81.255.71.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; FROM_NEQ_ENVFROM(0.00)[jjohnstone-freebsdquestions@tridentusa.com,jjohnstone@tridentusa.com]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[i=1] 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, 27 Mar 2020 17:04:32 -0000 On 3/26/20 2:31 PM, David Mehler wrote: > Hello, > > Apparently is with my AuthenticationMethods option, for some reason > having that defined will not let any MatchGroup definitions take > effect. Any ideas? > > Thanks. > Dave. You could try removing it. AuthenticationMethods is not in my configuration and I think my environment matches what you are looking for. It's also not in the stock sshd_config so perhaps it is not needed. - John J. From owner-freebsd-questions@freebsd.org Fri Mar 27 18:32:26 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 B612B27D6E7 for ; Fri, 27 Mar 2020 18:32:26 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (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 48pr783ysWz4WVh for ; Fri, 27 Mar 2020 18:32:18 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-il1-x132.google.com with SMTP id i75so2419481ild.13 for ; Fri, 27 Mar 2020 11:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=z7qKe7OUQJzZUb+7Pw3+ShAlM1c+aB1fQXIvbzHryZU=; b=qVgDrNrRB2FveafVEMvWX5KKkSozmd7wy9ucuezzkb3EucwKTWL4RJcPSt2uP3f5VL aD3N60jfSGOHUSfjiej62O//rvklt/RDkGyO6gyJQsR+AmSXLMVposY/RMMoDWBjqTrR 0snvx62iGKGTvJl/P/xJB/7IPfB9IBAMtvU2g22b1tkrrQXoiRDETB9clGgKaPJZa1pJ awnEOY1sBPEk4M6tZveY3t4SrRSZRD64r5SJgm4HKNaxAX53j2nE7hM1hjBClHg9J14t VYgWNjbzlFdAOBWYWVuCK8wRuqovrQlOut8MzpkbjDgPNjiw2nt644VKPNuEkcUvl9vY KWqw== 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=z7qKe7OUQJzZUb+7Pw3+ShAlM1c+aB1fQXIvbzHryZU=; b=tUysxxrUqHw6nevHFvpq0HAqo0JuP9ZLFFv/FwMTeTmuQzui140Z4VSU4Xk/HONHli cV/k2n4rh6fQC35lKZjCH0z3lSQssjj//j29ADfqxDdYuD+bCcpLpwHJs1vBZyiGRVLP 6MTVHPzwNWy700R3qqoS2N9SpuMc+8L7xyla8M8LrD5WE68+V6J09Ux0rKatAt/BBGvv 9UjplJEtmB7e4sV1t3V4PKnPNyHYVfQSdKOL0gq1C/NgLQzWYTgAbiX5UaLAtEkgmwW9 jQyrqHNLAyW0PLuEaJO8J0y2UQTdrZFeJOX2z/zd5AcFNojCXLkNPgHoDdfvLtZHh2CU urdg== X-Gm-Message-State: ANhLgQ3KeYcT8SRzOiRl6SCoBwdLd6qWFuWauNUxnr8d9vuM3+S10Vmr r868NAUgQVWbb7CDe3gNrl5uufMutTQEongMZd+asrjl X-Google-Smtp-Source: ADFU+vvsl0qh8p2Z9xR4GrwO+g/hzRH5YintSqJFF3sNMZdi5HKmYlfpTKt3QpT+7lgn84+bnzawHy9S/9LLs8i07Is= X-Received: by 2002:a92:3958:: with SMTP id g85mr457617ila.302.1585333933589; Fri, 27 Mar 2020 11:32:13 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:8487:0:0:0:0:0 with HTTP; Fri, 27 Mar 2020 11:32:12 -0700 (PDT) From: David Mehler Date: Fri, 27 Mar 2020 14:32:12 -0400 Message-ID: Subject: Jail, vnet, zfs, and iocage, networking setup To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48pr783ysWz4WVh X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=qVgDrNrR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2607:f8b0:4864:20::132 as permitted sender) smtp.mailfrom=davemehler@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-8.30), ipnet: 2607:f8b0::/32(-0.37), asn: 15169(-0.47), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.3.1.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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; 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]; TAGGED_FROM(0.00)[]; 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: Fri, 27 Mar 2020 18:32:28 -0000 Hello, I'm trying to get vnet jails going on FreeBSD 12.1. I've set up jails previously by setting up a cloned lo1 interface now i'd like to get zfs, iocage, and vnet jails going. I've got a vps with a single physical interface. I've got zfs working fine, and iocage is installed. When I create a jail it has no network access at all. If I set up a vlan can I then set up a bridge between the vlan and the physical interface? Does anyone have some notes on this? Google has shown results but most with FreeBSD 11.x. Thanks. Dave. From owner-freebsd-questions@freebsd.org Fri Mar 27 18:58:03 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 D6D2627E39B for ; Fri, 27 Mar 2020 18:58:03 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) 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 48prhP50TWz3CQf for ; Fri, 27 Mar 2020 18:57:41 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qk1-x734.google.com with SMTP id j4so11929289qkc.11 for ; Fri, 27 Mar 2020 11:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:face :mime-version; bh=pUMP0IILKmglNiAcg77vlk9Eq2GfodtYI7gba0FKCkc=; b=J5heBggqQq37AkQ5WpI524tIhTXuitNzdc5UMJqRsad1IiRVyMWGpRjCF0LlGW+JG8 QTklin19gFaHCtyRVXDgUNxjNOK0VxU35HfPtjNLbugT2RVn1ocXTshNxvEtEdN/Vfcf IFPVoqD1EoRcm0IoaxphdLWVCCC6QR4SwHOGE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :organization:face:mime-version; bh=pUMP0IILKmglNiAcg77vlk9Eq2GfodtYI7gba0FKCkc=; b=oDDQkjTxcUqcVJZj/EsNCiz42xzMFdnHDyEI89AXvnakVAkkgi82yOQqQfVpTKskz1 nD3bvzrdMx6oFiMCPR1PqPZVrDis2QJ7ZmmxdtZF8uQf4XYBmOMWEBJoi9cRRR9497Ks ppEG9qEPR09UwNi+AtL5yJgiS6FoIO4dMmMm/Q+ulC80dYmpsPdCFbyyE2qYuZGVPlPu V0ALCTQ7V1xhs21bowyzem4tVtiP4ZJVjo1FSvGi46CYm9SSUugkFv6+hpUP7RlpvEuG 3nymPxa7hLUFNYtGx9QW3hSngnsqGcA24VXyvNWAynSuUsal+Yvq6Qz0J+Mp9qtfMCek OhWg== X-Gm-Message-State: ANhLgQ3VXWkMsGbhobMUspQqFoqDEFBYUtPvYTYOYiIL8DEGabNCp3em tI5aawlxyhUvJQGoKt6ZIRyjXNBNPAE= X-Google-Smtp-Source: ADFU+vuB/Q1Pbxui6Usu5LuvAl4nHQwj/hw/VBkKF8dIU04CCE2z6cZQr4EXy9Ogq5CcEG70pHWaIQ== X-Received: by 2002:a37:6411:: with SMTP id y17mr783160qkb.437.1585335451413; Fri, 27 Mar 2020 11:57:31 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-225-250.nc.res.rr.com. [174.109.225.250]) by smtp.gmail.com with ESMTPSA id y13sm4537288qtk.6.2020.03.27.11.57.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 11:57:30 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 48prh93Bf2z42YS for ; Fri, 27 Mar 2020 14:57:29 -0400 (EDT) Date: Fri, 27 Mar 2020 14:57:22 -0400 From: Jerry To: freebsd-questions@freebsd.org Subject: zpool and corrupt file Message-ID: <20200327145722.06ebc5f3@scorpio> Reply-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd11.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEXHx8eCek7////4+fjWs03LZvEkAAAB+UlEQVQ4jY2UC5LbIAyGhfEB0JoDULgAAR8ANrr/mfpL2Em2087UExyiT+hNKJfesVrGB99ri0UvkAtW73+CnBPZs90AL0U5V5N7FXcsuvQBfIFYt3bGQFNQaMaWdVsu0Jd8Hy5+J/G6h5BWRDlJFOLj5OiziWh5SCwcHYd9MnvzQmapxglJFBFmlqC2zLmTCLkKOeprtAWciOlOFcoUFvEALScXI9Gc0ezsItEXRJVXSrlUyMMVU84L2JMADiitXx9gV98tcUs0EG675QWZcPz+xUd1+ygfQGNin+I4Q5APcIqFS1F2IYClXSkh7/NZKSBb4bGcI/XgEL+MTo5kRtSYlhyV1UqhhS5ECbTCPSF7EE4MbSTvomkqqFGGg+3J2nW83JcB9EK+gu/nII/WuYq+GHBwvYWGpmtFs2uPOBQU1JMqB3WM9hK3Mp8KEu2TKNh4IDCPlEu+wPAhbBcY7qouaumcR/gakYbMqxbUCwUZNL21BDkeq3XUs+mJnSB5uu0CeYHdbGEaub06SFalGjDoCTnmF6haV9oe6AVrzhfo/bFAJ23TZcgGrqqtuT3Uya2/JtHiPyrOHT8AjpANqczL0H0/eg0WmTxf+vet7YT5jiF/gt6vy1Zuz8VEdF//91Pet/bfoN8zrsPeF3j/yXT1+pc/mf8FvwFLRp5BkxdhkQAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/C69HRaHA80C5N.MBzEjK=aE"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 48prhP50TWz3CQf X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=J5heBggq; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::734 as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [-1.11 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; DWL_DNSWL_FAIL(0.00)[seibercom.net.dwl.dnswl.org:query timed out]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+]; SIGNED_PGP(-2.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.01)[ip: (-9.16), ipnet: 2607:f8b0::/32(-0.37), asn: 15169(-0.47), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; REPLYTO_EQ_TO_ADDR(5.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[4.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]; RBL_BLOCKLISTDE_FAIL(0.00)[4.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.bl.blocklist.de:query timed out]; RBL_SPAMHAUS_FAIL(0.00)[4.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.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net:query timed out]; MID_RHS_NOT_FQDN(0.50)[]; 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: Fri, 27 Mar 2020 18:58:04 -0000 --Sig_/C69HRaHA80C5N.MBzEjK=aE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable FreeBSD 11.3-RELEASE-p7 Running "zpool status -v" generates the following error message: # zpool status -v pool: zroot state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://illumos.org/msg/ZFS-8000-8A scan: scrub repaired 0 in 0 days 00:31:43 with 0 errors on Fri Mar 27 14:42:22 2020 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 ada0p4 ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: zroot/ROOT/default:<0x28422> =20 Now, I have no idea what file it is referencing so I have no idea how to correct this problem, if there even is one. I have run, "zpool scrub zroot" but it apparently did not correct the problem. My question is should I even worry about this? It does not appear to be causing me any problems. --=20 Jerry --Sig_/C69HRaHA80C5N.MBzEjK=aE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl5+TJIACgkQOHMGOIfe xWT3CQf+K9TNWc66rRcoVlGB4A7SeaJ/LhPd3YtDWlolFC0NU4N6rMbL4zcLmKQH 9m0UlNfb9E2jO6ghVY3YKeCl9xf4HxTyAl6Ewcjcll1LqzVAkwfWVXZ0anPwFsEl v3JXyC0/b4YDid1Jm7rA1rQd6lsCyvMdwxgtGQHLcs6geyzHMo4lXQ792oilNLnE hA7IChCRKjwWJwDsSfQrmCyPYlWnB2T5Yl3DgYcbmTh3tQdoigsKNbhxhUSkVrMQ y4/HDmJCz8tSpH6HxSlSBa2pH6/QwD2D18VJaa74jPwavBBewLbaIV2bmaVdzljs 165Wi0YBOz7gar+2dyGwKh425AY+oA== =BRR/ -----END PGP SIGNATURE----- --Sig_/C69HRaHA80C5N.MBzEjK=aE-- From owner-freebsd-questions@freebsd.org Fri Mar 27 19:10:12 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 0F32127EA23 for ; Fri, 27 Mar 2020 19:10:12 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Received: from www94.your-server.de (www94.your-server.de [213.133.104.94]) (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 48pryY1lFhz3HlH for ; Fri, 27 Mar 2020 19:09:56 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtual-earth.de; s=default_1811; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:In-reply-to:Subject:To:From:References:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Q2djAZTogujFjFyEfhvauWjb1ec5ef4uf8D7eaCKpGo=; b=ER3spqkR7V165NsNc06+IeM9tz 9rjg1CNepJoo386jyyOilnnnYGNwrBImbOCvi6Tjqfsq+/9G1xUjdZQ83PLgtWED96JGG17O6VpbL wsejzz2juK7so32bPVvdASR1mOViBLEkCUwxWlFWlMFqYq8oEWNCyOwLd+ykQUHz7QR+VyonAaK7B vW80AbRttwaYpvvKHCeR3yxx9zo2hRdoHeI0IsUk6jW/qUueP9dyL3k/lc6bt9+7ltA7ErWd4HDXE QNB+iOb6TtJcSn6Fo3oPjQtG7XlrNCMfhOQRudSkbLdPAyusjxbGP4j/jkjVXEJweWgEpUgKekQj9 p0avP/hg==; Received: from sslproxy01.your-server.de ([78.46.139.224]) by www94.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1jHuMV-0000Qt-FN for freebsd-questions@freebsd.org; Fri, 27 Mar 2020 20:09:47 +0100 Received: from [2a01:c23:bc44:d600:1a1d:eaff:fe16:cc77] (helo=Danton.virtual-earth.de) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHuMV-000OVR-BP for freebsd-questions@freebsd.org; Fri, 27 Mar 2020 20:09:47 +0100 References: User-agent: mu4e 1.2.0; emacs 28.0.50 From: Mathias Picker To: freebsd-questions@freebsd.org Subject: Re: Jail, vnet, zfs, and iocage, networking setup In-reply-to: Date: Fri, 27 Mar 2020 20:09:46 +0100 Message-ID: <86wo75iphh.fsf@virtual-earth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: Mathias.Picker@virtual-earth.de X-Virus-Scanned: Clear (ClamAV 0.102.2/25764/Fri Mar 27 14:11:26 2020) X-Rspamd-Queue-Id: 48pryY1lFhz3HlH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=virtual-earth.de header.s=default_1811 header.b=ER3spqkR; dmarc=pass (policy=none) header.from=virtual-earth.de; spf=pass (mx1.freebsd.org: domain of Mathias.Picker@virtual-earth.de designates 213.133.104.94 as permitted sender) smtp.mailfrom=Mathias.Picker@virtual-earth.de X-Spamd-Result: default: False [-4.06 / 15.00]; SEM_URIBL_UNKNOWN_FAIL(0.00)[query timed out]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[virtual-earth.de:s=default_1811]; RCVD_TLS_ALL(0.00)[]; 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)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SEM_URIBL_FRESH15_UNKNOWN_FAIL(0.00)[query timed out]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.06)[ipnet: 213.133.96.0/19(-3.73), asn: 24940(-1.56), country: DE(-0.02)]; DKIM_TRACE(0.00)[virtual-earth.de:+]; DMARC_POLICY_ALLOW(-0.50)[virtual-earth.de,none]; RCVD_IN_DNSWL_NONE(0.00)[94.104.133.213.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_NIXSPAM_FAIL(0.00)[94.104.133.213.ix.dnsbl.manitu.net:query timed out]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(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, 27 Mar 2020 19:10:12 -0000 Hi David, I=E2=80=99ve never used iocage, just jail.conf, maybe my experience can=20 still help. I=E2=80=99m setting up an if_bridge whithout my main interface in it, and=20 configure routing. Bridging can show the jail/bridge mac addresses to the outsinde=20 world, which can get you into trouble with your hosting=20 provider. At least Hetzner didn=E2=80=99t like it at all ;) So, I basically put something like this into rc.conf: ------------------------------------------------------------ cloned_interfaces=3D"bridge0" ifconfig_bridge0_name=3D"jailbridge0" ifconfig_jailbridge0=3D"inet [someaddress/somemask] up" ifconfig_jailbridge0_ipv6=3D"inet6 [someaddress/somemask]=E2=80=9C ifconfig_jailbridge0_alias0=3D"inet6 fe80::1/64" # this was needed=20 for routing, I=E2=80=99m not 100% sure if this should be needed=E2=80=A6 --------------------------------------------------------------- Then I put something like this into jail.conf: --------------------------------------------------------------------- $iface=3D"igb0"; $j=3D"/jail"; path=3D"$j/jails/$name"; mount.devfs; exec.clean; exec.start=3D"sh /etc/rc"; exec.stop=3D"sh /etc/rc.shutdown"; exec.prestart=3D"logger starting jail $name ..."; exec.poststart=3D"logger jail $name has started"; exec.prestop=3D"logger shuttding down jail $name"; exec.poststop=3D"logger jail $name has shut down"; # vnet jails vnet; vnet.interface=3D"${name}_j"; exec.prestart+=3D"/usr/local/bin/jailtobridge $name jailbridge0"; exec.poststop+=3D"/sbin/ifconfig jailbridge0 deletem ${name}_b"; exec.consolelog=3D"/var/log/jails/$name-console.log"; # generic hostnames host.hostname=3D"$name.myhost.example.com"; myhost1 {} myhost2 {} ------------------------------------------------------------------ and installed the jails with =E2=80=98bsdinstall jail /jail/jails/myhost1= =E2=80=99=20 and when finished configured networking in the jails rc.conf. This was my first setup with jail.conf and understanding (well,=20 sort of) if_bridge has taken some time, but otherwise it=E2=80=99s really=20 easy. I update the jails with freebsd-update from the host system. Good luck, Mathias David Mehler writes: > Hello, >=20=09 > I'm trying to get vnet jails going on FreeBSD 12.1. I've set up=20 > jails > previously by setting up a cloned lo1 interface now i'd like to=20 > get > zfs, iocage, and vnet jails going. I've got a vps with a single > physical interface. I've got zfs working fine, and iocage is > installed. When I create a jail it has no network access at=20 > all. If I > set up a vlan can I then set up a bridge between the vlan and=20 > the > physical interface? > > Does anyone have some notes on this? Google has shown results=20 > but most > with FreeBSD 11.x. > > Thanks. > Dave. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" --=20 Mathias Picker=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 Gesch=C3=A4ftsf=C3=BChrer Mathias.Picker@virtual-earth.de virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH http://www.virtual-earth.de/ HRB126870 support@virtual-earth.de Westendstr. 142 089 / 1250 3943=20=20=20=20=20=20=20=20=20=20=20=20 From owner-freebsd-questions@freebsd.org Fri Mar 27 23:13: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 7724A2646F9 for ; Fri, 27 Mar 2020 23:13:29 +0000 (UTC) (envelope-from schmorp@schmorp.de) Received: from mail.nethype.de (mail.nethype.de [5.9.56.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48pyMJ1t81z4Ld1 for ; Fri, 27 Mar 2020 23:13:15 +0000 (UTC) (envelope-from schmorp@schmorp.de) Received: from [10.0.0.5] (helo=doom.schmorp.de) by mail.nethype.de with esmtp (Exim 4.92) (envelope-from ) id 1jHy9v-0046bB-9q; Fri, 27 Mar 2020 23:13:03 +0000 Received: from [10.0.0.1] (helo=cerebro.laendle) by doom.schmorp.de with esmtp (Exim 4.92) (envelope-from ) id 1jHy9v-0008JO-3g; Fri, 27 Mar 2020 23:13:03 +0000 Received: from root by cerebro.laendle with local (Exim 4.92) (envelope-from ) id 1jHy9v-000246-3N; Sat, 28 Mar 2020 00:13:03 +0100 Date: Sat, 28 Mar 2020 00:13:03 +0100 From: Marc Lehmann To: "Christofer C. Bell" Cc: FreeBSD Questions , Ottavio Caruso Subject: Re: FreeBSD asking contributors to fix their opinions - is it official? Message-ID: <20200327231302.GB6241@schmorp.de> References: <20200321122609.GB5709@schmorp.de> <20200321141203.GC5911@schmorp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: OpenPGP: id=904ad2f81fb16978e7536f726dea2ba30bc39eb6; url=http://pgp.schmorp.de/schmorp-pgpkey.txt; preference=signencrypt X-Rspamd-Queue-Id: 48pyMJ1t81z4Ld1 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=schmorp.de; spf=pass (mx1.freebsd.org: domain of schmorp@schmorp.de designates 5.9.56.24 as permitted sender) smtp.mailfrom=schmorp@schmorp.de X-Spamd-Result: default: False [-4.08 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:spf.schmorp.de]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[schmorp.de,none]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:5.9.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.28)[ip: (-7.49), ipnet: 5.9.0.0/16(-2.34), asn: 24940(-1.56), 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, 27 Mar 2020 23:13:30 -0000 On Wed, Mar 25, 2020 at 09:34:55AM -0500, "Christofer C. Bell" wrote: > https://metacpan.org/changes/distribution/Canary-Stability as cited on > https://www.freshports.org/devel/p5-Canary-Stability/ figuring I'd see so= me > personal opinions. I found a lot of them. I strongly agree with the > adamw@freebsd.org that they don't belong in the port. (Some of the > extraneous "opinions" are citations of fact meant to call attention to yo= ur > concern about some issue that isn't germane to the port itself -- I'm > referring to these, as well). > It doesn't really pass the smell test when you claim to not know what he's > talking about. Your mail unfortunately adds nothing to this discussion - you produce more hot air, but again nothing of substance. It would be more productive if you pointed out specific examples of what you think does not belong into the module, and what, and why FreeBSD as a project asks this from upstream authors. I think it is unreasonable to expect me to guess what you complain about when you can't even bring up a single specific example (or even refuse, as adamw does). =46rom what I can see, you can't even agree with adamw on this - he seems to criticise the contents of the module, you seem to criticise the Changelog (which is what you quoted - but this is of course just a guess, as you won't tell). This is important - you seem to claim that personal opinions are not allowed in FreeBSD. Do you also complain about every GPL copy (which contains personal opinions)? Whats the reasoning behind this rather insane-looking rule? In any case, I think I ahd a reasonable question and I am trying to discuss it in a reasonable way. That's not something I can say of you: Your mail does nothing to solve the problem, it only adds more unsubstantiated claims. --=20 The choice of a Deliantra, the free code+content MORPG -----=3D=3D- _GNU_ http://www.deliantra.net ----=3D=3D-- _ generation ---=3D=3D---(_)__ __ ____ __ Marc Lehmann --=3D=3D---/ / _ \/ // /\ \/ / schmorp@schmorp.de -=3D=3D=3D=3D=3D/_/_//_/\_,_/ /_/\_\ From owner-freebsd-questions@freebsd.org Sat Mar 28 00:39: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 AE61B266A8A for ; Sat, 28 Mar 2020 00:39:54 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "xray.he.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48q0H64W6fz3Pxn for ; Sat, 28 Mar 2020 00:39:46 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Fri, 27 Mar 2020 17:39:33 -0700 Subject: Re: drive selection for disk arrays To: freebsd-questions@freebsd.org References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> <20200327104555.1d6d7cd9.freebsd@edvax.de> From: David Christensen Message-ID: <1bcd7aa2-31e5-91f1-5151-926c9d16e16e@holgerdanske.com> Date: Fri, 27 Mar 2020 17:39:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200327104555.1d6d7cd9.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48q0H64W6fz3Pxn X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-1.33 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.83)[-0.835,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.60)[ipnet: 184.104.0.0/15(0.62), asn: 6939(-3.59), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.79)[-0.795,0]; DMARC_NA(0.00)[holgerdanske.com]; RCVD_IN_DNSWL_NONE(0.00)[27.128.105.184.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, 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: Sat, 28 Mar 2020 00:39:54 -0000 On 2020-03-27 02:45, Polytropon wrote: > When a drive _reports_ bad sectors, at least in the past > it was an indication that it already _has_ lots of them. > The drive's firmware will remap bad sectors to spare > sectors, so "no error" so far. If a drive detects an error, my guess is that it will report the error to the OS; regardless of the outcome of a particular I/O operation (data read, data written, data lost) or internal actions taken (block marked bad, block remapped, etc.). It is then up to the OS to decide what to do next. RAID and/or ZFS offer the means for shielding the application from I/O and drive failures. > When errors are being > reported "upwards" ("read error" or "write error" > visible to the OS), it's a sign that the disk has run > out of spare sectors, and the firmware cannot silently > remap _new_ bad sectors... > > Is this still the case with modern drives? > > How transparently can ZFS handle drive errors when the > drives only report the "top results" (i. e., cannot cope > with bad sectors internally anymore)? Do SMART tools help > here, for example, by reading certain firmware-provided > values that indicate how many sectors _actually_ have > been marked as "bad sector", remapped internally, and > _not_ reported to the controller / disk I/O subsystem / > filesystem yet? This should be a good indicator of "will > fail soon", so a replacement can be done while no data > loss or other problems appears. I have been using smartctl(8) occasionally for many years. The "SMART Attributes Data Structure" report would seem to hold statistics that should be useful for predicting failures. This is my SOHO server: 2020-03-27 17:20:00 toor@f3 ~ # freebsd-version ; uname -a 12.1-RELEASE-p2 FreeBSD f3.tracy.holgerdanske.com 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64 This is a data drive: 2020-03-27 17:20:05 toor@f3 ~ # geom disk list ada1 Geom name: ada1 Providers: 1. Name: ada1 Mediasize: 3000592982016 (2.7T) Sectorsize: 512 Mode: r1w1e3 descr: SEAGATE ST33000650NS lunid: 5000c5004e7ce23f ident: rotationrate: 7200 fwsectors: 63 fwheads: 16 2020-03-27 17:20:08 toor@f3 ~ # smartctl -x /dev/ada1 | grep -A 30 'SMART Attributes Data Structure' SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE 1 Raw_Read_Error_Rate POSR-- 078 066 044 - 78783152 3 Spin_Up_Time PO---- 092 091 000 - 0 4 Start_Stop_Count -O--CK 100 100 020 - 20 5 Reallocated_Sector_Ct PO--CK 100 100 036 - 0 7 Seek_Error_Rate POSR-- 066 060 030 - 4532285 9 Power_On_Hours -O--CK 100 100 000 - 612 10 Spin_Retry_Count PO--C- 100 100 097 - 0 12 Power_Cycle_Count -O--CK 100 100 020 - 20 184 End-to-End_Error -O--CK 100 100 099 - 0 187 Reported_Uncorrect -O--CK 100 100 000 - 0 188 Command_Timeout -O--CK 100 100 000 - 0 189 High_Fly_Writes -O-RCK 100 100 000 - 0 190 Airflow_Temperature_Cel -O---K 051 046 045 - 49 (Min/Max 39/54) 191 G-Sense_Error_Rate -O--CK 100 100 000 - 0 192 Power-Off_Retract_Count -O--CK 100 100 000 - 6 193 Load_Cycle_Count -O--CK 100 100 000 - 20 194 Temperature_Celsius -O---K 049 054 000 - 49 (0 21 0 0 0) 195 Hardware_ECC_Recovered -O-RC- 033 031 000 - 78783152 197 Current_Pending_Sector -O--C- 100 100 000 - 0 198 Offline_Uncorrectable ----C- 100 100 000 - 0 199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 0 ||||||_ K auto-keep |||||__ C event count ||||___ R error rate |||____ S speed/performance ||_____ O updated online |______ P prefailure warning The following attributes look like they may be related to drive failure, but I do not know the engineering definition of these attributes nor the engineering definition of the values reported: Reallocated_Sector_Ct Seek_Error_Rate End-to-End_Error Reported_Uncorrect Hardware_ECC_Recovered Offline_Uncorrectable UDMA_CRC_Error_Count I do feel the need to implemented automated SMART monitoring, but have yet to embark on that journey. David From owner-freebsd-questions@freebsd.org Sat Mar 28 00:46:23 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 60227266F13 for ; Sat, 28 Mar 2020 00:46:23 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (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 48q0QS16N7z3xGc for ; Sat, 28 Mar 2020 00:46:07 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id EDEF3211083 for ; Fri, 27 Mar 2020 20:45:26 -0400 (EDT) Received: from [192.168.10.25] (D15.Denninger.Net [192.168.10.25]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id A58B216B80F for ; Fri, 27 Mar 2020 19:45:26 -0500 (CDT) Subject: Re: drive selection for disk arrays To: freebsd-questions@freebsd.org References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> <20200327104555.1d6d7cd9.freebsd@edvax.de> <1bcd7aa2-31e5-91f1-5151-926c9d16e16e@holgerdanske.com> From: Karl Denninger Autocrypt: addr=karl@denninger.net; prefer-encrypt=mutual; keydata= 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 Z0vw7xC5tS+b Message-ID: <8e74482f-b951-ee97-50b8-04ea1f0d46a3@denninger.net> Date: Fri, 27 Mar 2020 19:45:25 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <1bcd7aa2-31e5-91f1-5151-926c9d16e16e@holgerdanske.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms050602030405010701040707" X-Rspamd-Queue-Id: 48q0QS16N7z3xGc X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=denninger.net; spf=pass (mx1.freebsd.org: domain of karl@denninger.net designates 104.236.120.189 as permitted sender) smtp.mailfrom=karl@denninger.net X-Spamd-Result: default: False [-7.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[denninger.net,none]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.60)[ip: (-9.84), ipnet: 104.236.64.0/18(-4.45), asn: 14061(1.37), country: US(-0.05)]; RECEIVED_SPAMHAUS_PBL(0.00)[197.57.1.68.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] 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, 28 Mar 2020 00:46:23 -0000 This is a cryptographically signed message in MIME format. --------------ms050602030405010701040707 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 3/27/2020 19:39, David Christensen wrote: > On 2020-03-27 02:45, Polytropon wrote: > >> When a drive _reports_ bad sectors, at least in the past >> it was an indication that it already _has_ lots of them. >> The drive's firmware will remap bad sectors to spare >> sectors, so "no error" so far.=20 > > If a drive detects an error, my guess is that it will report the error > to the OS; regardless of the outcome of a particular I/O operation > (data read, data written, data lost) or internal actions taken (block > marked bad, block remapped, etc.).=C2=A0 It is then up to the OS to dec= ide > what to do next.=C2=A0 RAID and/or ZFS offer the means for shielding th= e > application from I/O and drive failures. > Yes, but... Those drives that can do "SMART" will report (if you have a patrol daemon for it running) if they do a "silent" sector reassignment.=C2=A0 Otherwise the OS is none the wiser and neither is ZFS (or anything else.)=C2=A0 Needless to say if reassignments increase you might want to think about swapping the drive *before* it blows up! I have the daemon running on all my machines.=C2=A0 It works nicely and h= as warned me a few times over the years.=C2=A0 With that said it doesn't ALW= AYS catch a drive before it pukes. --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms050602030405010701040707 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature 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 --------------ms050602030405010701040707-- From owner-freebsd-questions@freebsd.org Sat Mar 28 01:34: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 955B0269E74 for ; Sat, 28 Mar 2020 01:34:49 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48q1Vc5Sb4z4G55 for ; Sat, 28 Mar 2020 01:34:47 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Fri, 27 Mar 2020 18:34:34 -0700 Subject: Re: zpool and corrupt file To: freebsd-questions@freebsd.org References: <20200327145722.06ebc5f3@scorpio> From: David Christensen Message-ID: Date: Fri, 27 Mar 2020 18:34:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200327145722.06ebc5f3@scorpio> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48q1Vc5Sb4z4G55 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-1.00)[-0.998,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: Sat, 28 Mar 2020 01:34:49 -0000 On 2020-03-27 11:57, Jerry wrote: > FreeBSD 11.3-RELEASE-p7 > > Running "zpool status -v" generates the following error message: > > # zpool status -v > pool: zroot > state: ONLINE > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://illumos.org/msg/ZFS-8000-8A > scan: scrub repaired 0 in 0 days 00:31:43 with 0 errors on Fri Mar 27 > 14:42:22 2020 config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > ada0p4 ONLINE 0 0 0 > > errors: Permanent errors have been detected in the following files: > > zroot/ROOT/default:<0x28422> > > Now, I have no idea what file it is referencing so I have no idea how > to correct this problem, if there even is one. I have run, "zpool scrub > zroot" but it apparently did not correct the problem. My question is > should I even worry about this? It does not appear to be causing me any > problems. I assume ada0 is your system disk and you installed via "Auto (ZFS)"? Unrack and rack the drive or tray, if racked. Remove and install drive from tray, if in tray. Disconnect and reconnect the drive power and data cables in chassis. Use cables with locking connectors, if available. Make sure all connections are fully seated and/or locked. Make sure your bus adapter, data cable, rack, and/or tray are all rated for the same data speed, and it is at least as high as the data speed of the drive. If problems persist, download your disk manufacturer's diagnostic tool and start testing different ports, different cables, different racks, different trays, and different drives to isolate hardware problems or verify everything is good: https://www.seagate.com/support/downloads/seatools/ https://support.wdc.com/downloads.aspx?p=2 If problem persist, reply to list with problem description(s) and console session with the following commands: # freebsd-version ; uname -a # geom disk list ada0 # zpool list zroot # zpool status -v zroot David From owner-freebsd-questions@freebsd.org Sat Mar 28 03:03: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 034FD26DA33 for ; Sat, 28 Mar 2020 03:03:14 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48q3SS58Jzz4p8X for ; Sat, 28 Mar 2020 03:03:04 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Fri, 27 Mar 2020 18:46:42 -0700 Subject: Re: drive selection for disk arrays To: freebsd-questions@freebsd.org References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> <20200327104555.1d6d7cd9.freebsd@edvax.de> <1bcd7aa2-31e5-91f1-5151-926c9d16e16e@holgerdanske.com> <8e74482f-b951-ee97-50b8-04ea1f0d46a3@denninger.net> From: David Christensen Message-ID: Date: Fri, 27 Mar 2020 18:46:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <8e74482f-b951-ee97-50b8-04ea1f0d46a3@denninger.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48q3SS58Jzz4p8X X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-1.05 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.63)[-0.631,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.60)[ipnet: 184.104.0.0/15(0.62), asn: 6939(-3.59), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.71)[-0.710,0]; DMARC_NA(0.00)[holgerdanske.com]; RCVD_IN_DNSWL_NONE(0.00)[27.128.105.184.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, 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: Sat, 28 Mar 2020 03:03:14 -0000 On 2020-03-27 17:45, Karl Denninger wrote: > > On 3/27/2020 19:39, David Christensen wrote: >> On 2020-03-27 02:45, Polytropon wrote: >> >>> When a drive _reports_ bad sectors, at least in the past >>> it was an indication that it already _has_ lots of them. >>> The drive's firmware will remap bad sectors to spare >>> sectors, so "no error" so far. >> >> If a drive detects an error, my guess is that it will report the error >> to the OS; regardless of the outcome of a particular I/O operation >> (data read, data written, data lost) or internal actions taken (block >> marked bad, block remapped, etc.).  It is then up to the OS to decide >> what to do next.  RAID and/or ZFS offer the means for shielding the >> application from I/O and drive failures. >> > Yes, but... > > Those drives that can do "SMART" will report (if you have a patrol > daemon for it running) if they do a "silent" sector reassignment. > Otherwise the OS is none the wiser and neither is ZFS (or anything > else.) I guess I need to RTFM: https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1-3-1.pdf > Needless to say if reassignments increase you might want to > think about swapping the drive *before* it blows up! Agreed. > I have the daemon running on all my machines.  It works nicely and has > warned me a few times over the years.  With that said it doesn't ALWAYS > catch a drive before it pukes. Are you referring to periodic, smartd, or something else? # pkg install smartmontools Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: smartmontools: 7.0_2 Number of packages to be installed: 1 The process will require 2 MiB more space. 495 KiB to be downloaded. [1/1] Fetching smartmontools-7.0_2.txz: 100% 495 KiB 507.1kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing smartmontools-7.0_2... [1/1] Extracting smartmontools-7.0_2: 100% ===== Message from smartmontools-7.0_2: -- smartmontools has been installed To check the status of drives, use the following: /usr/local/sbin/smartctl -a /dev/ad0 for first ATA/SATA drive /usr/local/sbin/smartctl -a /dev/da0 for first SCSI drive /usr/local/sbin/smartctl -a /dev/ada0 for first SATA drive To include drive health information in your daily status reports, add a line like the following to /etc/periodic.conf: daily_status_smart_devices="/dev/ad0 /dev/da0" substituting the appropriate device names for your SMART-capable disks. To enable drive monitoring, you can use /usr/local/sbin/smartd. A sample configuration file has been installed as /usr/local/etc/smartd.conf.sample Copy this file to /usr/local/etc/smartd.conf and edit appropriately To have smartd start at boot echo 'smartd_enable="YES"' >> /etc/rc.conf David From owner-freebsd-questions@freebsd.org Sat Mar 28 03:32:52 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 97E6F26E857 for ; Sat, 28 Mar 2020 03:32:52 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (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 48q46c3476z3Gl5 for ; Sat, 28 Mar 2020 03:32:39 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id 70D3B211083 for ; Fri, 27 Mar 2020 23:32:32 -0400 (EDT) Received: from [192.168.10.25] (D15.Denninger.Net [192.168.10.25]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 1186616BAF9 for ; Fri, 27 Mar 2020 22:32:32 -0500 (CDT) Subject: Re: drive selection for disk arrays To: freebsd-questions@freebsd.org References: <20200325081814.GK35528@mithril.foucry.net> <713db821-8f69-b41a-75b7-a412a0824c43@holgerdanske.com> <20200326124648725158537@bob.proulx.com> <20200327104555.1d6d7cd9.freebsd@edvax.de> <1bcd7aa2-31e5-91f1-5151-926c9d16e16e@holgerdanske.com> <8e74482f-b951-ee97-50b8-04ea1f0d46a3@denninger.net> From: Karl Denninger Autocrypt: addr=karl@denninger.net; prefer-encrypt=mutual; keydata= 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 Z0vw7xC5tS+b Message-ID: <753e87e0-8313-faaa-523e-f630a80cb8a4@denninger.net> Date: Fri, 27 Mar 2020 22:32:31 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms030509040405070200050406" X-Rspamd-Queue-Id: 48q46c3476z3Gl5 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=denninger.net; spf=pass (mx1.freebsd.org: domain of karl@denninger.net designates 104.236.120.189 as permitted sender) smtp.mailfrom=karl@denninger.net X-Spamd-Result: default: False [-7.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[denninger.net,none]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.60)[ip: (-9.84), ipnet: 104.236.64.0/18(-4.46), asn: 14061(1.36), country: US(-0.05)]; RECEIVED_SPAMHAUS_PBL(0.00)[197.57.1.68.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] 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, 28 Mar 2020 03:32:52 -0000 This is a cryptographically signed message in MIME format. --------------ms030509040405070200050406 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 3/27/2020 20:46, David Christensen wrote: > On 2020-03-27 17:45, Karl Denninger wrote: >> >> On 3/27/2020 19:39, David Christensen wrote: >>> On 2020-03-27 02:45, Polytropon wrote: >>> >>>> When a drive _reports_ bad sectors, at least in the past >>>> it was an indication that it already _has_ lots of them. >>>> The drive's firmware will remap bad sectors to spare >>>> sectors, so "no error" so far. >>> >>> If a drive detects an error, my guess is that it will report the erro= r >>> to the OS; regardless of the outcome of a particular I/O operation >>> (data read, data written, data lost) or internal actions taken (block= >>> marked bad, block remapped, etc.).=C2=A0 It is then up to the OS to d= ecide >>> what to do next.=C2=A0 RAID and/or ZFS offer the means for shielding = the >>> application from I/O and drive failures. >>> >> Yes, but... >> >> Those drives that can do "SMART" will report (if you have a patrol >> daemon for it running) if they do a "silent" sector reassignment. >> Otherwise the OS is none the wiser and neither is ZFS (or anything >> else.)=C2=A0=20 > > I guess I need to RTFM: > > https://www.intel.com/content/dam/www/public/us/en/documents/technical-= specifications/serial-ata-ahci-spec-rev1-3-1.pdf > > > >> Needless to say if reassignments increase you might want to >> think about swapping the drive *before* it blows up! > > Agreed. > > >> I have the daemon running on all my machines.=C2=A0 It works nicely an= d has >> warned me a few times over the years.=C2=A0 With that said it doesn't = ALWAYS >> catch a drive before it pukes. > > Are=C2=A0 you referring to periodic, smartd, or something else? > > Smartd. --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms030509040405070200050406 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature 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 --------------ms030509040405070200050406-- From owner-freebsd-questions@freebsd.org Sat Mar 28 06:31:34 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 5F24E271BA3; Sat, 28 Mar 2020 06:31:34 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 48q84s2qnxz3Ndq; Sat, 28 Mar 2020 06:31:24 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42a.google.com with SMTP id p10so14354579wrt.6; Fri, 27 Mar 2020 23:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=gCRr12nEWATdKy7KVNvTzWrukmqkgg7fa1+RdL6xk8w=; b=p0uB+/5rl8rkl95YToKsDsY1g3o3o9G2GnJyhBEb1Sqqzb5KZ9eeOjkITlOoWZwXEy UScKQPygdCoRQcOFx1C4ejDJedyUON8VBZIYIMRcSr4lKEY/4Jm3nrgQiP2cjhtdOaSD umn5L2EV3x1PvgRlVeuTCEmVPjzOqV/ntFck34RcAbcwuiar8WOCYRhUNKACOFDKd7qt yhE5BoqVOs5Z0jUVkiN3UP7k6eFSItXOZ6AILKbCCpMKRu1ugmDvyKytvyAneNkIgjy2 7C/bxvSRSXh4LSqIy9EQEXcT56Bqp00AaqMNweCR84kJkz/OGIn7XTCvcKCRHDNTMJxj yNsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=gCRr12nEWATdKy7KVNvTzWrukmqkgg7fa1+RdL6xk8w=; b=XOEhqsQJTxEL9vRuKKhN63Z2ALiYX4aQ+Oo29aeWd1E1YOvegm2YB8I/rhxgxHv6Gx tYO9yyrVmFgN1BlYRZmdeAZqgCKueaKIPPPDE0Y6pP1TpW8QjDOT787fvg7Osqvvi47u Yvb6NEr9mEaRfM0Po4noophLyU9SGfaNOU4/snLvLm7K4F+txrUKBWcg1aNYfV0npngg D1IAlXTAcHeH75ZxE95bn0X5JkEd9B/ZzPnfmnz/ijZAU5D5mnmRBRyX98ZDwp67/suL Knn24kSdeJjDRuIjcm3YDwyikVu8+C9vNd+fTpRJZMH+s4UagPZ3hwLNX6dMZcg6J6Fp 6pMA== X-Gm-Message-State: ANhLgQ2yiYq9v5YyAoIxWL29BVVjaw3vKZQiAR65GO7SGR0CmKEgitiq I05I7OMxrJBlfVqO96GSwLA0lnxG2OA= X-Google-Smtp-Source: ADFU+vvu/G/GI8s2WZJcd0XJfM04gAjeiCdSjVaRniaCw+95kaR1AUezh4qNJgteLmq9lNx4K7T1nw== X-Received: by 2002:a5d:490f:: with SMTP id x15mr3173305wrq.47.1585377073583; Fri, 27 Mar 2020 23:31:13 -0700 (PDT) Received: from [192.168.1.7] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id n2sm12341249wro.25.2020.03.27.23.31.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Mar 2020 23:31:12 -0700 (PDT) To: freebsd-current@freebsd.org Cc: FreeBSD questions From: Graham Perrin Subject: USB microphones with FreeBSD-CURRENT Message-ID: <5c93c4d2-897b-0671-b29a-9fde6031adf5@gmail.com> Date: Sat, 28 Mar 2020 06:31:11 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Rspamd-Queue-Id: 48q84s2qnxz3Ndq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=p0uB+/5r; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::42a as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[78.147.66.79.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/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]; IP_SCORE(0.00)[ip: (-9.24), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-0.47), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[a.2.4.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]; 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: Sat, 28 Mar 2020 06:31:34 -0000 I can't get web browsers to recognise USB microphones. USB output (e.g. to my headphones) is OK. USB input (e.g. from the microphone part of the headphones) is not. Any suggestions? From : grahamperrin@momh167-gjp4-8570p:~ % date ; uname -v Sun 22 Mar 2020 08:49:07 GMT FreeBSD 13.0-CURRENT #0 r359068: Wed Mar 18 21:14:12 GMT 2020 root@momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG grahamperrin@momh167-gjp4-8570p:~ % cat /dev/sndstat Installed devices: pcm0: (play) pcm1: (play/rec) pcm2: (play/rec) pcm3: (play/rec) default pcm4: (rec) No devices installed from userspace. grahamperrin@momh167-gjp4-8570p:~ % sysctl hw.snd.default_unit hw.snd.default_unit: 3 grahamperrin@momh167-gjp4-8570p:~ % pkg query '%o %v %R' firefox www/firefox 74.0_5,1 FreeBSD grahamperrin@momh167-gjp4-8570p:~ % From owner-freebsd-questions@freebsd.org Sat Mar 28 10:17:46 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 6C8092770FD for ; Sat, 28 Mar 2020 10:17:46 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Received: from www94.your-server.de (www94.your-server.de [213.133.104.94]) (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 48qF5m6Mw9z4K7h for ; Sat, 28 Mar 2020 10:17:31 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtual-earth.de; s=default_1811; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:In-reply-to:Subject:To:From:References:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=U3Q7nMb0riPvATnGpxZlSaK29/RA9VUpr0yybGtPHxQ=; b=ceqNyCuZvUR4NPZE5HTBYJrBek HiNwMvHYAVk3fJ7UPhswwgFUNa6xybHcMVvahwbrq71pZ6W1Y+6zqqKJE2jKsmkonrllXHHjEBkbO M0N8r8w2TwUZsNE5JKKZqa0Jo9slk/2yzibe/P4c+o87CDYxMzviHno0alHOFNgtU6oVXRXCjjDBl WfJzWsvxlWc+x2SF3bOkqeKhwZ8T2gqhtOA8nVEGG+zRI1AGFk5c/L5fHWYD2Z8rMoyf7xQ7fiDgI I36shNHCdJKI1GV6dwYe/QOpWS3kB/r2wsbo7OGe4hYeC5PGBO4KWJ8g99A2ftI5m61+bMfHA0bfh K+sxQDOQ==; Received: from sslproxy06.your-server.de ([78.46.172.3]) by www94.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1jI8Wl-0003bE-Nf for freebsd-questions@freebsd.org; Sat, 28 Mar 2020 11:17:21 +0100 Received: from [2a01:c22:7238:8a00:1a1d:eaff:fe16:cc77] (helo=Danton.virtual-earth.de) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jI8Wl-000Od5-IL for freebsd-questions@freebsd.org; Sat, 28 Mar 2020 11:17:19 +0100 References: <5c93c4d2-897b-0671-b29a-9fde6031adf5@gmail.com> User-agent: mu4e 1.2.0; emacs 28.0.50 From: Mathias Picker To: freebsd-questions@freebsd.org Subject: Re: USB microphones with FreeBSD-CURRENT In-reply-to: <5c93c4d2-897b-0671-b29a-9fde6031adf5@gmail.com> Date: Sat, 28 Mar 2020 11:17:03 +0100 Message-ID: <86v9moiy1s.fsf@virtual-earth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: Mathias.Picker@virtual-earth.de X-Virus-Scanned: Clear (ClamAV 0.102.2/25764/Fri Mar 27 14:11:26 2020) X-Rspamd-Queue-Id: 48qF5m6Mw9z4K7h X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=virtual-earth.de header.s=default_1811 header.b=ceqNyCuZ; dmarc=pass (policy=none) header.from=virtual-earth.de; spf=pass (mx1.freebsd.org: domain of Mathias.Picker@virtual-earth.de designates 213.133.104.94 as permitted sender) smtp.mailfrom=Mathias.Picker@virtual-earth.de X-Spamd-Result: default: False [-4.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[virtual-earth.de:s=default_1811]; RCVD_TLS_ALL(0.00)[]; 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)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[virtual-earth.de:+]; DMARC_POLICY_ALLOW(-0.50)[virtual-earth.de,none]; RCVD_IN_DNSWL_NONE(0.00)[94.104.133.213.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.08)[ipnet: 213.133.96.0/19(-3.82), asn: 24940(-1.56), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(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, 28 Mar 2020 10:17:46 -0000 Hi Graham, which application tries to use the mic? I sometimes had problems=20 with gotomeeting, but other than that everything works. Is the microphone recognized at a testing site like=20 https://www.podcastinsights.com/online-mic-test/ ? I just tested with it & my jabra 310 and it works fine. Actually,=20 firefox asks which recording source should be used., hw.snd.default_unit just preselects a source. My system % uname -a FreeBSD Danton 12.1-STABLE FreeBSD 12.1-STABLE r356939 GENERIC=20 amd64 % cat /dev/sndstat Installed devices: pcm0: (play/rec) pcm1: (rec) pcm2: (play) pcm3: (rec) pcm4: (rec) pcm5: (play/rec) default % mixer -f /dev/mixer5=20 Mixer vol is currently set to 80:80 Mixer pcm is currently set to 75:75 Mixer mic is currently set to 80:80 Recording source: mic % sysctl hw.snd hw.snd.maxautovchans: 16 hw.snd.default_unit: 5 hw.snd.version: 2009061500/amd64 hw.snd.default_auto: 0 hw.snd.verbose: 0 hw.snd.vpc_mixer_bypass: 1 hw.snd.feeder_rate_quality: 1 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_polyphase_max: 183040 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 hw.snd.feeder_eq_exact_rate: 0 hw.snd.feeder_eq_presets:=20 PEQ:16000,0,2500,62,0,2500:-9,9,1,0:44100,48000,88200,96000,176400,192000 hw.snd.basename_clone: 1 hw.snd.compat_linux_mmap: 0 hw.snd.syncdelay: -1 hw.snd.usefrags: 0 hw.snd.vpc_reset: 0 hw.snd.vpc_0db: 45 hw.snd.vpc_autoreset: 1 hw.snd.timeout: 5 hw.snd.latency_profile: 1 hw.snd.latency: 2 hw.snd.report_soft_matrix: 1 hw.snd.report_soft_formats: 1 % pkg info -E firefox firefox-74.0_5,1 Cheers, Mathias Graham Perrin writes: > I can't get web browsers to recognise USB microphones. > > USB output (e.g. to my headphones) is OK. > > USB input (e.g. from the microphone part of the headphones) is=20 > not. > > Any suggestions? > > From : > > grahamperrin@momh167-gjp4-8570p:~ % date ; uname -v > Sun 22 Mar 2020 08:49:07 GMT > FreeBSD 13.0-CURRENT #0 r359068: Wed Mar 18 21:14:12 GMT 2020=20 > root@momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG > grahamperrin@momh167-gjp4-8570p:~ % cat /dev/sndstat > Installed devices: > pcm0: (play) > pcm1: (play/rec) > pcm2: (play/rec) > pcm3: (play/rec) default > pcm4: (rec) > No devices installed from userspace. > grahamperrin@momh167-gjp4-8570p:~ % sysctl hw.snd.default_unit > hw.snd.default_unit: 3 > grahamperrin@momh167-gjp4-8570p:~ % pkg query '%o %v %R' firefox > www/firefox 74.0_5,1 FreeBSD > grahamperrin@momh167-gjp4-8570p:~ % > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" --=20 Mathias Picker=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 Gesch=C3=A4ftsf=C3=BChrer Mathias.Picker@virtual-earth.de virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH http://www.virtual-earth.de/ HRB126870 support@virtual-earth.de Westendstr. 142 089 / 1250 3943=20=20=20=20=20=20=20=20=20=20=20=20 From owner-freebsd-questions@freebsd.org Sat Mar 28 14:37:43 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 3EEDF2A3E9D for ; Sat, 28 Mar 2020 14:37:43 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Received: from www94.your-server.de (www94.your-server.de [213.133.104.94]) (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 48qLsf2Qnrz4P3r for ; Sat, 28 Mar 2020 14:37:24 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtual-earth.de; s=default_1811; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:In-reply-to:Subject:To:From:References:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=I9TH8NLYZvV/MmNdnWSgODNn6Q/Uswr/p1QjDrujE48=; b=ZBPbTOR2lTcFOVEfVJ/riHlUId FJ4cyZP5TlrJs3WFmO5joPZC//1C6O6OWeiEdUoxfrO2eLy5YGF0LY2ZDyac5o8+i1fCBnyBgWn9v Vrf84luIxXZ4KYY710klFz+DaYDtvoUPv0jGv0E7/o7SBBJfurm3SMxm4Mqxv5Pao8Yx6YIZaJx2Q XSOJ+EUJUgvXJVKv5KW2dlivlZWF52Clv093uZRjnL5AyEa6omwh9t8unaZaCeU4moMAZ9eaddd1z 5nmY+q8YJGBz708zfD0nkbZfF7k8fg8EYmcSL9uoTcydnBDWBWYLd3BfvtSlN2Dmh/UluLcm6w8vN wLqpQhrQ==; Received: from sslproxy01.your-server.de ([78.46.139.224]) by www94.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1jICaJ-0006V0-3B for freebsd-questions@freebsd.org; Sat, 28 Mar 2020 15:37:15 +0100 Received: from [2a01:c22:7238:8a00:1a1d:eaff:fe16:cc77] (helo=Danton.virtual-earth.de) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jICaI-0006x6-UC for freebsd-questions@freebsd.org; Sat, 28 Mar 2020 15:37:15 +0100 References: <5c93c4d2-897b-0671-b29a-9fde6031adf5@gmail.com> User-agent: mu4e 1.2.0; emacs 28.0.50 From: Mathias Picker To: freebsd-questions@freebsd.org Subject: Re: USB microphones with FreeBSD-CURRENT In-reply-to: <5c93c4d2-897b-0671-b29a-9fde6031adf5@gmail.com> Date: Sat, 28 Mar 2020 15:37:14 +0100 Message-ID: <86y2rktujp.fsf@virtual-earth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: Mathias.Picker@virtual-earth.de X-Virus-Scanned: Clear (ClamAV 0.102.2/25765/Sat Mar 28 14:16:42 2020) X-Rspamd-Queue-Id: 48qLsf2Qnrz4P3r X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=virtual-earth.de header.s=default_1811 header.b=ZBPbTOR2; dmarc=pass (policy=none) header.from=virtual-earth.de; spf=pass (mx1.freebsd.org: domain of Mathias.Picker@virtual-earth.de designates 213.133.104.94 as permitted sender) smtp.mailfrom=Mathias.Picker@virtual-earth.de X-Spamd-Result: default: False [-4.10 / 15.00]; SEM_URIBL_UNKNOWN_FAIL(0.00)[query timed out]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[virtual-earth.de:s=default_1811]; RCVD_TLS_ALL(0.00)[]; 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)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[virtual-earth.de:+]; DMARC_POLICY_ALLOW(-0.50)[virtual-earth.de,none]; RCVD_IN_DNSWL_NONE(0.00)[94.104.133.213.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.10)[ipnet: 213.133.96.0/19(-3.91), asn: 24940(-1.56), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(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, 28 Mar 2020 14:37:43 -0000 Hi Graham, firefox uses pulseaudio by default, so you might try to tweak=20 pulseaudios source. Set the default with pacmd set-default-source [index] (find the=20 index via pacmd list-sources) and check/rewire audio streams with pavucontrol[-qt] Good luck, Mathias Graham Perrin writes: > I can't get web browsers to recognise USB microphones. > > USB output (e.g. to my headphones) is OK. > > USB input (e.g. from the microphone part of the headphones) is=20 > not. > > Any suggestions? > > From : > > grahamperrin@momh167-gjp4-8570p:~ % date ; uname -v > Sun 22 Mar 2020 08:49:07 GMT > FreeBSD 13.0-CURRENT #0 r359068: Wed Mar 18 21:14:12 GMT 2020=20 > root@momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG > grahamperrin@momh167-gjp4-8570p:~ % cat /dev/sndstat > Installed devices: > pcm0: (play) > pcm1: (play/rec) > pcm2: (play/rec) > pcm3: (play/rec) default > pcm4: (rec) > No devices installed from userspace. > grahamperrin@momh167-gjp4-8570p:~ % sysctl hw.snd.default_unit > hw.snd.default_unit: 3 > grahamperrin@momh167-gjp4-8570p:~ % pkg query '%o %v %R' firefox > www/firefox 74.0_5,1 FreeBSD > grahamperrin@momh167-gjp4-8570p:~ % > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to=20 > "freebsd-questions-unsubscribe@freebsd.org" --=20 Mathias Picker=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 Gesch=C3=A4ftsf=C3=BChrer Mathias.Picker@virtual-earth.de virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH http://www.virtual-earth.de/ HRB126870 support@virtual-earth.de Westendstr. 142 089 / 1250 3943=20=20=20=20=20=20=20=20=20=20=20=20