From owner-freebsd-hackers@freebsd.org Sun Dec 6 05:12:36 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06F3D46C377 for ; Sun, 6 Dec 2020 05:12:36 +0000 (UTC) (envelope-from ekraju@gmail.com) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CpZM708f4z58wW for ; Sun, 6 Dec 2020 05:12:34 +0000 (UTC) (envelope-from ekraju@gmail.com) Received: by mail-il1-x12c.google.com with SMTP id g1so9102339ilk.7 for ; Sat, 05 Dec 2020 21:12:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3o1GsS/7dtz3tRw0Ph5AADYpdjKdu2crf1Zo9hPV2FE=; b=UXGNcdoWjFSsqyXTSr9mWAEIMFBA1B1pM7Ql3UTjl0tz/BVaIXFmcMIaz4W/lYHLy+ k7cLycI9lo3kptyPk3ay+xzm/AStdOIwv6BQ3/T49ptPUoRjHNLx9lN2vChKO5jaPinJ 7wE0X5obegn8EaT0IifQA1V4lcZUP14gAGxEGWxfC7Ltz3EIeTs6ubJoKw5aIkh04BJw h3aUqtoQoIa7qeqq3NgHhxXQBnA16pMWKco70i+JCZNEtLM9z0x0G8sZTuuoBEjQwWSR PvtBmxkiiVAKOuh6bnOHGlhGM6gL2pJxe20QTaSFCh4LGjkLecJRvcezjPDgLGt1/7f4 7G+Q== 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=3o1GsS/7dtz3tRw0Ph5AADYpdjKdu2crf1Zo9hPV2FE=; b=B99jbcSG7wn+XIBCA2yTOWjyinYtZMRuduTysH8F8Hi+yabq297HmukUT3DFe7Cofx Sdc/WM3XjmgrLSGfd1J9Y+2OeD+AnZ+j5wCf7zp//3h8qBnLWnOpaw1WDwNeKazJPCOA keNWYGGSu9PF6HOWzgDLUTZ2k135I5bST1DS6GCI7rodHAwBTMm6B7XEyhRR7gLz/EHS Dd8O4zGkfdFXHs2ASSb+DKpn4XzLxKrz72KcX8cr6ttwD4q2QmUoeC8aFGtM8U0KzZPv qkqI6AXVRBIBreRwFSCkAdgIzritcTJUpLa7SLfQUxO9g5nDVamAB4xfPNwp54D/SK0K 6guQ== X-Gm-Message-State: AOAM5324pMmdjmdeS2LvPzIfvk1Ta4A2cWhYUT2p7uheLjkM+F/olQLx U/x1zMLQs+1WxxPzWO+ra5h2TpwLC2mXWXSvFZE+Phw1Vjk= X-Google-Smtp-Source: ABdhPJwu8c1eTmQYrqIpW7zOezgojq3A3Egt0UBYwYTvIhTXWwV1P7cNVnp+JQHGpd4F639ZB8HN/3LbjOrt8Ppl0Xc= X-Received: by 2002:a92:4101:: with SMTP id o1mr13259902ila.82.1607231553641; Sat, 05 Dec 2020 21:12:33 -0800 (PST) MIME-Version: 1.0 From: Krishnamraju Eraparaju Date: Sun, 6 Dec 2020 10:44:25 +0530 Message-ID: Subject: when to use "/dev/nvme0ns1" To: FreeBSD Hackers X-Rspamd-Queue-Id: 4CpZM708f4z58wW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UXGNcdoW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ekraju@gmail.com designates 2607:f8b0:4864:20::12c as permitted sender) smtp.mailfrom=ekraju@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::12c:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::12c:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12c:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2020 05:12:36 -0000 Hi All, I see there are two ways of accessing NVMe disk: 1)GEOM based: /dev/nvd0 or /dev/nda0 2)/dev/nvme0ns1 When should one use " /dev/nvme0ns1"? Thanks, ekraju From owner-freebsd-hackers@freebsd.org Sun Dec 6 05:35:53 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6038C472F24 for ; Sun, 6 Dec 2020 05:35:53 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) (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 4CpZt05Ch2z3DWH for ; Sun, 6 Dec 2020 05:35:52 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 2B563580290; Sun, 6 Dec 2020 00:28:43 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 06 Dec 2020 00:28:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.dev; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=Q HFlfsWHed64Md7S9uU1hibHySmVhRS55y00WeONEss=; b=Bh1jGwLJE9t5If0Ae 1cjqKcXkXcFpk4dU8C2DH8BBFp94O6FjtiAZy1RhQIluEL1a+pZiy80ejz7AAV76 xhnFmmqG9C/sBLszjDGYewKmVIbjPe1sYjcXipneM5UolX0vaDjd9nU8+Flwbr3B y2C+4Dtc0KYZ23oMZ1iy6CYOjLrxbl1glCRrm+nTTA763QGJDwtPWSIUsJaKnBgf fuGJ+uYN9oyA0ynZ5nmT6fpeoWBL1MVWecyL4UiiOcEpU+cju1YYzLvM1wNW1hSt lxSvUkNKexb3kQRVpRGsur/Pq9nqLd2CzPp/5xRxo2LRVtXeWD4CPJqp4ENROAY1 Pzx0w== 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=fm1; bh=QHFlfsWHed64Md7S9uU1hibHySmVhRS55y00WeONE ss=; b=HV3KACYOJRlcYZUIabs2aQATVMiJO9cPHW28zvgdih7IjSdSYbNVsIBFY g91Nhl0iKdaUAFV4UVHNDN3MvKsxvP1WXDwTUQAQR5K+wuRaqD15GheOQEiw1h8y mO8tZSdnaT5awqMUuGxTgHGjDO5gclF4SoSWynZoP9fFzch2KQcNJ7kgFyj9KLxX hhU87XktpBwWuAv+EVs4x84dgMj00XMvmZPE8/72SmjA19unanw2jcF1QFGFMHPG 3EkQGMUsY86n8kTUilSUKf0bRBTlkdzZkCyql99o1FkiItRotBy5vIlrSWYE3/MS uvE/BL395d3Pq3juTRq5TdQXC2fwg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudejuddgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomhepjghurhhi ucfrrghnkhhovhcuoeihuhhrihhpvheshihurhhiphhvrdguvghvqeenucggtffrrghtth gvrhhnpeduueffgedthefftdfffeekhffgleeiieetgffhueegleefudffgedtueefkefg vdenucfkphepledurddvgedtrdduvdegrdduheejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhephihurhhiphhvseihuhhrihhpvhdruggvvh X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.157]) by mail.messagingengine.com (Postfix) with ESMTPA id 3758F1080059; Sun, 6 Dec 2020 00:28:42 -0500 (EST) Subject: Re: when to use "/dev/nvme0ns1" To: Krishnamraju Eraparaju , FreeBSD Hackers References: From: Yuri Pankov Message-ID: <10a5e607-a852-716a-9872-984e7247996e@yuripv.dev> Date: Sun, 6 Dec 2020 08:28:41 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 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: 4CpZt05Ch2z3DWH X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yuripv.dev header.s=fm1 header.b=Bh1jGwLJ; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=HV3KACYO; dmarc=none; spf=pass (mx1.freebsd.org: domain of yuripv@yuripv.dev designates 66.111.4.230 as permitted sender) smtp.mailfrom=yuripv@yuripv.dev X-Spamd-Result: default: False [1.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:66.111.4.230:c]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yuripv.dev:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.230:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.230:from]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.157:received]; R_DKIM_ALLOW(0.00)[yuripv.dev:s=fm1,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[yuripv]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; NEURAL_HAM_LONG(-0.93)[-0.934]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[yuripv.dev]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[66.111.4.230:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2020 05:35:53 -0000 Krishnamraju Eraparaju wrote: > Hi All, > > > I see there are two ways of accessing NVMe disk: > 1)GEOM based: /dev/nvd0 or /dev/nda0 > 2)/dev/nvme0ns1 > > When should one use " /dev/nvme0ns1"? See nvmecontrol(8) for the commands that operate on namespace ids. And while you could still use nvd/nda devices for those, specifying the namespace explicitly could be helpful. An excerpt from man page: DEVICE NAMES Where ⟨namespace-id⟩ is required, you can use either the nvmeXnsY device, or the disk device such as ndaZ or nvdZ. The leading /dev/ is omitted. From owner-freebsd-hackers@freebsd.org Sun Dec 6 05:43:03 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 30541472FCD for ; Sun, 6 Dec 2020 05:43:03 +0000 (UTC) (envelope-from wlosh@bsdimp.com) 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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cpb2G1vxmz3FGG for ; Sun, 6 Dec 2020 05:43:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x734.google.com with SMTP id z188so9644191qke.9 for ; Sat, 05 Dec 2020 21:43:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EATA5x/+nHxeaydfBdxPx0gNCGOhRyLjtfYirtCyNIA=; b=PA0Nhn+gS88iky/KNKqtAsnKWW3RLzHJl0NB3HXsUO28FnUHQlm8B8Ajdfe0w7nrKC o1vN66ARKpV2xP+jCgPE8SCjcINnfAtsoKVlLraXq4dcKwgovCfovx+zJblaTFEQZvRT fPEYKNXRtm7jy7UYNP/A7CBMC1Jrg/e93wK3z5YpimxEeZUTv0eb8VoCQ3HpGyhbvbxJ v/ror/+tI8Bd/tbuuYkOtbxZxEkOmTCxu0qxTpPyzjBrbDb2rl4so6Who4A017JUO6bI uvR7m5CGaDZcTrh+LICQ0pjMLqmTXUHIh9YuQmlsxiYcYc6YPSBwPpACwCH1KXOkxp34 JVsg== 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=EATA5x/+nHxeaydfBdxPx0gNCGOhRyLjtfYirtCyNIA=; b=pcKjPJ3QDrOqeLvFrvuIGU6FEzxMx7efaZe+LrzuBbVHpJe8R52GtXFJ3W9F0yctnn oHVTG6lFw2r3wVz38LDkkHg1e8IjG8jJ2aGr2GGt+sdvokhtaKLvP7DKm7tldjGmqYnj /OxvQ97yFlZK1R1G7/C9sr+4QAcD6DUSDnkF37u9K+PYViIzQ2ofFahjhrOdr00lHC3T 4daK44RolPKpCAifMH/Fa0/IrmvqgwJhfQ3ubQusC7R1s6Ykrnh+i6pBA8f1nXpQSYWd 0tWP9fQ74cgVtRYamrNHi//U6+8Zta/pSEwinwkoVVCpbOSjFd4uQutwlb/JvHVqkWS0 9nCw== X-Gm-Message-State: AOAM530xhuy0N6U7Q+XwOY4hf5wnZDX+Rornkkmq6BLWmV7Pk/Ygx/wn beSddZTJIkyWLdAalCllz+eoPPqt7RKVHSGANiSK9w== X-Google-Smtp-Source: ABdhPJwwCJ73/KNdELniLe9H1uQ3h3pxdBt2dD3yu5NGwr9mkiX/fsLKiYBbCzBYorGk7UL124czdKnczKsKO3W5JGU= X-Received: by 2002:a05:620a:88e:: with SMTP id b14mr17917247qka.195.1607233380753; Sat, 05 Dec 2020 21:43:00 -0800 (PST) MIME-Version: 1.0 References: <10a5e607-a852-716a-9872-984e7247996e@yuripv.dev> In-Reply-To: <10a5e607-a852-716a-9872-984e7247996e@yuripv.dev> From: Warner Losh Date: Sat, 5 Dec 2020 22:42:49 -0700 Message-ID: Subject: Re: when to use "/dev/nvme0ns1" To: Yuri Pankov Cc: Krishnamraju Eraparaju , FreeBSD Hackers X-Rspamd-Queue-Id: 4Cpb2G1vxmz3FGG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=PA0Nhn+g; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::734) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.55 / 15.00]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::734:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.55)[-0.554]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::734:from]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::734:from]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2020 05:43:03 -0000 On Sat, Dec 5, 2020 at 10:36 PM Yuri Pankov wrote: > Krishnamraju Eraparaju wrote: > > Hi All, > > > > > > I see there are two ways of accessing NVMe disk: > > 1)GEOM based: /dev/nvd0 or /dev/nda0 > > 2)/dev/nvme0ns1 > > > > When should one use " /dev/nvme0ns1"? > > See nvmecontrol(8) for the commands that operate on namespace ids. And > while you could still use nvd/nda devices for those, specifying the > namespace explicitly could be helpful. > > An excerpt from man page: > > DEVICE NAMES > Where =E2=9F=A8namespace-id=E2=9F=A9 is required, you can use eithe= r the nvmeXnsY > device, or the disk device such as ndaZ or nvdZ. The leading /dev/ > is omitted. > Yes. nvd* and nda* are block devices. nvme0ns1 is for administrative things when you may or may not have an nda/nvd device hanging around, or you want to deal with a specific thing and don't know the mapping to the nda/nvd device. Warner From owner-freebsd-hackers@freebsd.org Sun Dec 6 23:36:35 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 723E7470454 for ; Sun, 6 Dec 2020 23:36:35 +0000 (UTC) (envelope-from dave@jetcafe.org) Received: from fedex2.jetcafe.org (fedex2.jetcafe.org [205.147.26.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "fedex2.jetcafe.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cq2ry1PWsz3JBt for ; Sun, 6 Dec 2020 23:36:33 +0000 (UTC) (envelope-from dave@jetcafe.org) X-Envelope-To: Received: from bigus.dream-tech.com (bigus.jetcafe.org [205.147.26.7]) by fedex2.jetcafe.org (8.15.2/8.15.2) with ESMTPS id 0B6NaPf7095607 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 6 Dec 2020 15:36:26 -0800 (PST) (envelope-from dave@jetcafe.org) Date: Sun, 6 Dec 2020 15:36:25 -0800 From: Dave Hayes To: freebsd-hackers@freebsd.org Subject: arc4random initialization Message-ID: <20201206153625.13e349a8@bigus.dream-tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1 ( out of 5.1) ALL_TRUSTED,SHORTCIRCUIT X-Spam-Checker-Version: SpamAssassin version 3.4.4-jetcafeglobal X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 4Cq2ry1PWsz3JBt X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of dave@jetcafe.org designates 205.147.26.23 as permitted sender) smtp.mailfrom=dave@jetcafe.org X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[205.147.26.23:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[205.147.26.23:from:127.0.2.255]; DMARC_NA(0.00)[jetcafe.org]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7397, ipnet:205.147.0.0/18, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2020 23:36:35 -0000 When I'm running FreeBSD on what amounts to a live DVD (no writable filesystems), I get this message: arc4random: no preloaded entropy cache I went looking in the source for this message and near enough to the message source found this troubling comment in sys/libkern/arc4random.c: /* * This is making the best of what may be an insecure * Situation. If the loader(8) did not have an entropy * stash from the previous shutdown to load, then we will * be improperly seeded. The answer is to make sure there * is an entropy stash at shutdown time. */ So security-wise, just how bad is it to be improperly seeded? If I cannot get a valid entropy stash at boot time, can I delay the need for it until I can get a writable filesystem up and running? Thanks in advance for any cogent replies. -- Dave Hayes - Consultant - LA CA, USA - dave@dream-tech.com >>>> *The opinions expressed above are entirely my own* <<<< The person who first said "There is no smoke without fire" may have been describing the state of the technology at the time it was said, not enunciating a truth. From owner-freebsd-hackers@freebsd.org Mon Dec 7 03:42:58 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5BE994756E0 for ; Mon, 7 Dec 2020 03:42:58 +0000 (UTC) (envelope-from ekraju@gmail.com) Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cq8KF0Vkkz3nGF for ; Mon, 7 Dec 2020 03:42:56 +0000 (UTC) (envelope-from ekraju@gmail.com) Received: by mail-yb1-xb34.google.com with SMTP id k78so2824062ybf.12 for ; Sun, 06 Dec 2020 19:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5yA7+8CY8xecT3fZ8aRcUgFViLLPcH2iIkBSTBaPSfA=; b=G2zMX3aHKys0fZzzQ8M4YI1gJ62yFgdZK0z5aAX0fvW4N5pEb4xoaAKDMGrcsjvRez cDnxPN0lIALS4zmAfOegue30YVfYZjN6QiKsHufF3at2EOx5IXTOL0lTJ0RMK9o+ITX7 1hokt1rQiUMJX9JgPFgpaEsdpxWMiiNHXhEbbEzfjQm/nUbX8ifB3YxQrbYvbmZ+0D6L TCHmJT9y9jv9GT3m6xdQrMEhVdpVBTrmOmBOUJtBO2bb87052tksKcwmMG67wb7k7Q1x txRcPXHDlsfIOtIePcl8fMisbh0EXxLFoFiNaZxRk1/vvTG+U/DiQ6DY0lidN9ZXUS4Z TMhA== 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=5yA7+8CY8xecT3fZ8aRcUgFViLLPcH2iIkBSTBaPSfA=; b=OcNSory94cIP11utDtJVcOytWlADBAxKd12P+DaVaBFcvUDWNP6X1yzkajieUEdJV5 7F6kvvHeMmQ/9p7M2K6DRhCipsOHM7cX6YPcqO3o7ZwxHko7joj9BJDvzJW67UEvAV3W 9/m91OJP+gkX0L4vM90hAgmftZbg0ThyToRDMiEL+2Ip+8tG8cUz89mUOcVn6W8Rcabg UhhAm7prqvQ6xqGUu3HyAskRrT+jGg4xdB+UOJu9XzKPHayWm4+nuWSlvwq1I6uWa7Bn MsyKyQHHfl4+WIITy63f1pCFKhJO4Fnbn13tV56Zw4JDT2ZrN4fdnXnSJiUxqpcxGivm ocqw== X-Gm-Message-State: AOAM532EfTUYYOHgB5WfdeKnZIEVDlWHiXfSju+lrZw1XN+S8iWYJW5K DlWJW/Do9IazjZsR61lQiasV6l474ZpExQeTWiJY4Tttq8k= X-Google-Smtp-Source: ABdhPJxxho+ZFCZP8j8+5a1jnJqgAkgO1AbfrHHZXIuvVFBGpl5g+YXH8kmbLzOTRchvvGMaNOL8mhQ0t1mLtiWybxg= X-Received: by 2002:a25:c052:: with SMTP id c79mr7447534ybf.287.1607312576018; Sun, 06 Dec 2020 19:42:56 -0800 (PST) MIME-Version: 1.0 References: <10a5e607-a852-716a-9872-984e7247996e@yuripv.dev> In-Reply-To: From: Krishnamraju Eraparaju Date: Mon, 7 Dec 2020 09:14:47 +0530 Message-ID: Subject: Re: when to use "/dev/nvme0ns1" To: Warner Losh Cc: Yuri Pankov , FreeBSD Hackers X-Rspamd-Queue-Id: 4Cq8KF0Vkkz3nGF X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=G2zMX3aH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ekraju@gmail.com designates 2607:f8b0:4864:20::b34 as permitted sender) smtp.mailfrom=ekraju@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::b34:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::b34:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b34:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 03:42:58 -0000 Thank you Warner Losh & Yuri Pankov. Can I use nvmeXnsY for IO? Looks like fio shows better performance with nvmeXnsY, then nvd/nda devices= . Thanks, ekraju. On Sun, Dec 6, 2020 at 11:13 AM Warner Losh wrote: > > > On Sat, Dec 5, 2020 at 10:36 PM Yuri Pankov wrote: > >> Krishnamraju Eraparaju wrote: >> > Hi All, >> > >> > >> > I see there are two ways of accessing NVMe disk: >> > 1)GEOM based: /dev/nvd0 or /dev/nda0 >> > 2)/dev/nvme0ns1 >> > >> > When should one use " /dev/nvme0ns1"? >> >> See nvmecontrol(8) for the commands that operate on namespace ids. And >> while you could still use nvd/nda devices for those, specifying the >> namespace explicitly could be helpful. >> >> An excerpt from man page: >> >> DEVICE NAMES >> Where =E2=9F=A8namespace-id=E2=9F=A9 is required, you can use eith= er the nvmeXnsY >> device, or the disk device such as ndaZ or nvdZ. The leading /dev= / >> is omitted. >> > > Yes. nvd* and nda* are block devices. nvme0ns1 is for administrative > things when you may or may not have an nda/nvd device hanging around, or > you want to deal with a specific thing and don't know the mapping to the > nda/nvd device. > > Warner > From owner-freebsd-hackers@freebsd.org Mon Dec 7 04:51:10 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 511F3476F5B for ; Mon, 7 Dec 2020 04:51:10 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Cq9qy1nB4z3rN9 for ; Mon, 7 Dec 2020 04:51:10 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3B2CE477303; Mon, 7 Dec 2020 04:51:10 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3AF4947713E for ; Mon, 7 Dec 2020 04:51:10 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cq9qy19npz3r6n; Mon, 7 Dec 2020 04:51:10 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from localhost (unknown [IPv6:2400:4051:a743:3c00:16:ceff:fe34:2700]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: hrs) by smtp.freebsd.org (Postfix) with ESMTPSA id 1D6C31CE; Mon, 7 Dec 2020 04:51:08 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Date: Mon, 07 Dec 2020 13:50:56 +0900 (JST) Message-Id: <20201207.135056.445534109566789594.hrs@FreeBSD.org> To: yuripv@yuripv.dev Cc: thomas.munro@gmail.com, bapt@freebsd.org, hackers@freebsd.org Subject: Re: locale-related review, wcwidth() data From: Hiroki Sato In-Reply-To: <14fbfd11-a5fa-4e7e-422c-33738364c58d@yuripv.dev> References: <20201204133111.uyu55cl7zgll4vk2@ivaldir.net> <14fbfd11-a5fa-4e7e-422c-33738364c58d@yuripv.dev> X-Old-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-PGPkey-fingerprint: 6C0D 2353 27CF 80C7 901E FDD2 DBB0 7DC6 6F1F 737F X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="--Security_Multipart(Mon_Dec__7_13_50_56_2020_585)--" Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 04:51:10 -0000 ----Security_Multipart(Mon_Dec__7_13_50_56_2020_585)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Yuri Pankov wrote in <14fbfd11-a5fa-4e7e-422c-33738364c58d@yuripv.dev>: yu> Thomas Munro wrote: yu> > On Sat, Dec 5, 2020 at 2:31 AM Baptiste Daroussin yu> > wrote: yu> >> I do like what I see here, the only reason I haven't review is that I yu> >> can't yu> >> test, since the last modification from hrs@ in the locale generation yu> >> tools each yu> >> time I try to regenerate the locales it fails. yu> > During install? I noticed that too but wasn't sure of the correct yu> > fix, perhaps: yu> > diff --git a/tools/tools/locale/Makefile b/tools/tools/locale/Makefile yu> > index 76fff6acb17..b6ae2feadac 100644 yu> > --- a/tools/tools/locale/Makefile yu> > +++ b/tools/tools/locale/Makefile yu> > @@ -95,7 +95,7 @@ install: install-${t} yu> > install-${t}: yu> > cd ${LOCALESRCDIR}/${t} && \ yu> > rm -f Makefile *.src && \ yu> > - install -c ${t}/* ${LOCALESRCDIR}/${t} yu> > + install -c ${.OBJDIR}/${t}/* ${LOCALESRCDIR}/${t} yu> > . endif yu> > .endfor yu> yu> Makes sense. yu> yu> BTW, to test what is in this review, you don't need the install target yu> -- new 'width' target depends only on cldr posix data itself, and yu> modifies etc/final-maps/widths.txt directly. Sorry for keeping silence about the report. I fixed it in r368404. -- Hiroki ----Security_Multipart(Mon_Dec__7_13_50_56_2020_585)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iMoEABMKAC4WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCX820sBAcaHJzQGZyZWVi c2Qub3JnAAoJENuwfcZvH3N/qWUCCQG4Y34bepjAvUbW/h7swRh7efUT/82q8BmC aFjJjUUQdJUJRp0z2m0zN8Jy6J3sOkyLuIEVqcnVTG6WHi98+PD7QAIJAWT2Og52 7dDoL0MaFOQHxtnMpc9vdRIUw92MherZBwQiddtP/kRCxz/h+P++fbJd6LzMeMLE 16krBNNb5Xrroa6A =ulMB -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Dec__7_13_50_56_2020_585)---- From owner-freebsd-hackers@freebsd.org Mon Dec 7 07:49:28 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1E3B47A15B for ; Mon, 7 Dec 2020 07:49:28 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (midget.dons.net.au [IPv6:2403:5800:5101:0:ea:1cff:fefa:f00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "dons.net.au", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CqFnd5RDKz4TDZ for ; Mon, 7 Dec 2020 07:49:25 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.16.1/8.16.1) with ESMTPS id 0B77n4Ha072955 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 7 Dec 2020 18:19:09 +1030 (ACDT) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.16.1/8.16.1/Submit) id 0B77mtRd072950 for ; Mon, 7 Dec 2020 18:18:55 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-f0f0b4ff001831caa5b8ac39868c4c7e9b4d12fc: 2001:44b8:1d2:8900:c97d:2e95:9a99:461e Received: from [IPv6:2001:44b8:1d2:8900:c97d:2e95:9a99:461e] ([IPv6:2001:44b8:1d2:8900:c97d:2e95:9a99:461e] [2001:44b8:1d2:8900:c97d:2e95:9a99:461e]) by midget.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id 0B77mn7k072946; Mon, 07 Dec 2020 18:18:55 +1030 From: "Daniel O'Connor" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Date: Mon, 7 Dec 2020 18:18:49 +1030 Subject: zfs send from an ancient system Message-Id: <308513D0-0CA6-462F-B3C6-03BF5A617081@dons.net.au> To: "O'Connor, Daniel via freebsd-hackers" X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Score: 1.4 (*) No, score=1.4 required=5.0 tests=HELO_MISC_IP, HELO_NO_DOMAIN, RDNS_NONE, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.4 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4CqFnd5RDKz4TDZ X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2403:5800:5101:0:ea:1cff:fefa:f00:from]; R_DKIM_ALLOW(-0.20)[dons.net.au:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2403:5800:5101:0:ea:1cff:fefa:f00:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dons.net.au:+]; DMARC_POLICY_ALLOW(-0.50)[dons.net.au,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800:5000::/36, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 07:49:28 -0000 Hi everyone, I am trying to migrate an ancient (FreeBSD 8.2!) ZFS system to something = newer (12.2). I was hoping to be able to zfs send | zfs recv, however I = get this.. root@newsystem:~ # ssh root@oldsystem zfs send tank/www@20201201-0902 | = zfs recv -d tank/Old cannot receive new filesystem stream: invalid backup stream I have also tried zfs send to a file, copying over and verifying they = are identical, but I get the same result. The new system's zstreamdump seems happy with the stream: [midget 18:14] ~ >zcat /tmp/test.gz| zstreamdump BEGIN record hdrtype =3D 1 features =3D 0 magic =3D 2f5bacbac creation_time =3D 5fc49191 type =3D 2 flags =3D 0x0 toguid =3D 54852dc9f8234af4 fromguid =3D 0 toname =3D www@20201201-0902 END checksum =3D = 100209f0a087fed/dd40d3fa795d846e/ae2049c273df5121/f012e76312cbb2a3 SUMMARY: Total DRR_BEGIN records =3D 1 Total DRR_END records =3D 1 Total DRR_OBJECT records =3D 12961 Total DRR_FREEOBJECTS records =3D 2820 Total DRR_WRITE records =3D 13565 Total DRR_WRITE_BYREF records =3D 0 Total DRR_WRITE_EMBEDDED records =3D 0 Total DRR_FREE records =3D 28490 Total DRR_SPILL records =3D 0 Total records =3D 57838 Total write size =3D 148137472 (0x8d46600) Total stream length =3D 169604120 (0xa1bf418) Is there some debugging that can be enabled to get some idea about = what's going wrong? 'dmesg' doesn't show anything on the sender or = receiver side. I am sure I have done this in the past from this machine, unfortunately = I don't have the receiving machine any more as it got repurposed. Thanks. PS I am well aware of the warning in the man page about send format. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum From owner-freebsd-hackers@freebsd.org Mon Dec 7 08:37:46 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6AB4647BAAC for ; Mon, 7 Dec 2020 08:37:46 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CqGsQ2T4gz4WFw; Mon, 7 Dec 2020 08:37:46 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from [IPv6:2a02:8011:300b:42:956d:343c:6661:5533] (unknown [IPv6:2a02:8011:300b:42:956d:343c:6661:5533]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: markm) by smtp.freebsd.org (Postfix) with ESMTPSA id CED5D1F8E; Mon, 7 Dec 2020 08:37:45 +0000 (UTC) (envelope-from markm@FreeBSD.org) Content-Type: multipart/signed; boundary="Apple-Mail=_816BA5CA-C7CD-4F62-AF29-5BB4C6521CA0"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Subject: Re: arc4random initialization From: Mark Murray In-Reply-To: <20201206153625.13e349a8@bigus.dream-tech.com> Date: Mon, 7 Dec 2020 08:37:42 +0000 Cc: freebsd-hackers@freebsd.org Message-Id: References: <20201206153625.13e349a8@bigus.dream-tech.com> To: Dave Hayes X-Mailer: Apple Mail (2.3654.20.0.2.21) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 08:37:46 -0000 --Apple-Mail=_816BA5CA-C7CD-4F62-AF29-5BB4C6521CA0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi > On 6 Dec 2020, at 23:36, Dave Hayes wrote: >=20 > So security-wise, just how bad is it to be improperly seeded? If I = cannot get > a valid entropy stash at boot time, can I delay the need for it until = I can get > a writable filesystem up and running? >=20 > Thanks in advance for any cogent replies. This means that the random(4) device and relevant infrastructure like arc4random starts up in an insecure state and is not to be trusted for = e.g. generating SSH keys. After you have used the machine for a while (exactly how long = "depends"), it will reseed itself and become secure. Essentially, expect every boot off a DVD on the same hardware to reuse cryptographic keys and therefore be insecure. Once you've installed on some R/W medium and rebooted, the necessary entropy will have been stashed for you, and the first SSH keys will be generated properly. M -- Mark R V Murray --Apple-Mail=_816BA5CA-C7CD-4F62-AF29-5BB4C6521CA0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 Comment: GPGTools - http://gpgtools.org iQEzBAEBCgAdFiEEyzPHvybPbOpU9MCxQlsJDh9CUqAFAl/N6dYACgkQQlsJDh9C UqB9ugf+Oiy1edwgcZTasII/+42wtdkhq44/xp6PMi3a0jmyxw6EsaD+CW7ET474 x87V4SVP/2DTgqW0ljtK0sinYB7u1BdP3NXPk0x0Bs/U18BJ6K+COcmDexx2HsMg Lyp9h16a94C9GuHVnxxSBFdKYENaoWCQksVV6HwkZxK2xFIpLcyrWg2sR4S/qUVV dc+miQ5k2mC3ubte8lyc36zwSEXR+XNR04e+MKe64tyfmddLzdlbLdWOPHXIKyPv Na/IaQB6lJIbbpUUh7oNAeI9xjdkW5fIoTZXwDN6/jfoioiJoqHe32eDND1NX05E TWMuDQTUllkKrxOedgNkFX4Ht3SMsQ== =cJJt -----END PGP SIGNATURE----- --Apple-Mail=_816BA5CA-C7CD-4F62-AF29-5BB4C6521CA0-- From owner-freebsd-hackers@freebsd.org Mon Dec 7 09:46:01 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 503C147D07C for ; Mon, 7 Dec 2020 09:46:01 +0000 (UTC) (envelope-from hmurray@megapathdsl.net) Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mx1.freebsd.org (Postfix) with ESMTP id 4CqJN83Vclz4Zvx; Mon, 7 Dec 2020 09:46:00 +0000 (UTC) (envelope-from hmurray@megapathdsl.net) Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 74A3D40605C; Mon, 7 Dec 2020 01:45:52 -0800 (PST) X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: Mark Murray cc: freebsd-hackers@freebsd.org, hmurray@megapathdsl.net From: Hal Murray Subject: Re: arc4random initialization In-Reply-To: Message from Mark Murray of "Mon, 07 Dec 2020 08:37:42 GMT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Dec 2020 01:45:52 -0800 Message-Id: <20201207094552.74A3D40605C@ip-64-139-1-69.sjc.megapath.net> X-Rspamd-Queue-Id: 4CqJN83Vclz4Zvx X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of hmurray@megapathdsl.net has no SPF policy when checking 64.139.1.69) smtp.mailfrom=hmurray@megapathdsl.net X-Spamd-Result: default: False [-1.50 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[64.139.1.69:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[megapathdsl.net]; AUTH_NA(1.00)[]; TO_DN_SOME(0.00)[]; SPAMHAUS_ZRD(0.00)[64.139.1.69:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4565, ipnet:64.139.0.0/18, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 09:46:01 -0000 markm@FreeBSD.org said: > Once you've installed on some R/W medium and rebooted, the necessary entropy > will have been stashed for you, and the first SSH keys will be generated > properly. If I do a fresh install, when does the host's SSH key get generated and where does the entropy for that step come from? I assume lots of entropy is generated during the install. Does that get written to the new system's disk so it has some at first boot? Does the on-disk entropy file get updated occasionally (as compared to only at shutdown) so it doesn't get reused if the system crashes? If so, how often is "occasionally"? Will that turn into a wear-out problem if running on a flash drive? (eg Raspberry Pi) -- These are my opinions. I hate spam. From owner-freebsd-hackers@freebsd.org Mon Dec 7 11:12:37 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75CB847E560 for ; Mon, 7 Dec 2020 11:12:37 +0000 (UTC) (envelope-from dave@jetcafe.org) Received: from fedex2.jetcafe.org (fedex2.jetcafe.org [205.147.26.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "fedex2.jetcafe.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CqLJ51j8Rz4fd1; Mon, 7 Dec 2020 11:12:36 +0000 (UTC) (envelope-from dave@jetcafe.org) X-Envelope-To: freebsd-hackers@freebsd.org Received: from bigus.dream-tech.com (bigus.jetcafe.org [205.147.26.7]) by fedex2.jetcafe.org (8.15.2/8.15.2) with ESMTPS id 0B7BCZRR080434 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 7 Dec 2020 03:12:35 -0800 (PST) (envelope-from dave@jetcafe.org) Date: Mon, 7 Dec 2020 03:12:35 -0800 From: Dave Hayes To: Mark Murray Cc: freebsd-hackers@freebsd.org Subject: Re: arc4random initialization Message-ID: <20201207031235.11ec2570@bigus.dream-tech.com> In-Reply-To: References: <20201206153625.13e349a8@bigus.dream-tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1 ( out of 5.1) ALL_TRUSTED,SHORTCIRCUIT X-Spam-Checker-Version: SpamAssassin version 3.4.4-jetcafeglobal X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 4CqLJ51j8Rz4fd1 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 11:12:37 -0000 On Mon, 7 Dec 2020 08:37:42 +0000 Mark Murray wrote: > > On 6 Dec 2020, at 23:36, Dave Hayes wrote: > > > > So security-wise, just how bad is it to be improperly seeded? If I cannot > > get a valid entropy stash at boot time, can I delay the need for it until I > > can get a writable filesystem up and running? > This means that the random(4) device and relevant infrastructure like > arc4random starts up in an insecure state and is not to be trusted for e.g. > generating SSH keys. > > After you have used the machine for a while (exactly how long "depends"), > it will reseed itself and become secure. Thank you for this response. Is there any indication as to when it has safely reseeded? Is one able to force a reseed by any mechanism? -- Dave Hayes - Consultant - LA CA, USA - dave@dream-tech.com >>>> *The opinions expressed above are entirely my own* <<<< Sunshine proves it's own existence. From owner-freebsd-hackers@freebsd.org Mon Dec 7 12:36:56 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 668614A955F for ; Mon, 7 Dec 2020 12:36:56 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (midget.dons.net.au [IPv6:2403:5800:5101:0:ea:1cff:fefa:f00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "dons.net.au", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CqN9K01BYz4lK0 for ; Mon, 7 Dec 2020 12:36:51 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.16.1/8.16.1) with ESMTPS id 0B7CaZB8080647 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 7 Dec 2020 23:06:36 +1030 (ACDT) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.16.1/8.16.1/Submit) id 0B7CaOIx080642 for ; Mon, 7 Dec 2020 23:06:24 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-f0f0b4ff001831caa5b8ac39868c4c7e9b4d12fc: 2403:5800:5101:0:25fd:9f9e:d5c3:e56b Received: from [IPv6:2403:5800:5101:0:25fd:9f9e:d5c3:e56b] ([IPv6:2403:5800:5101:0:25fd:9f9e:d5c3:e56b] [2403:5800:5101:0:25fd:9f9e:d5c3:e56b]) by midget.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id 0B7CaJnW080638; Mon, 07 Dec 2020 23:06:24 +1030 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: zfs send from an ancient system From: "Daniel O'Connor" In-Reply-To: <308513D0-0CA6-462F-B3C6-03BF5A617081@dons.net.au> Date: Mon, 7 Dec 2020 23:06:19 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: <3363BCBC-0F1A-4B28-8A1A-58D0950DF15A@dons.net.au> References: <308513D0-0CA6-462F-B3C6-03BF5A617081@dons.net.au> To: "O'Connor, Daniel via freebsd-hackers" X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Score: -1 () No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.4 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4CqN9K01BYz4lK0 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2403:5800:5101:0:ea:1cff:fefa:f00:from]; R_DKIM_ALLOW(-0.20)[dons.net.au:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2403:5800:5101:0:ea:1cff:fefa:f00:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dons.net.au:+]; DMARC_POLICY_ALLOW(-0.50)[dons.net.au,quarantine]; NEURAL_SPAM_SHORT(0.70)[0.697]; R_SPF_ALLOW(-0.20)[+mx]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800:5000::/36, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 12:36:56 -0000 > On 7 Dec 2020, at 18:18, Daniel O'Connor wrote: > I am sure I have done this in the past from this machine, = unfortunately I don't have the receiving machine any more as it got = repurposed. I created a new test FS on the 8.2 machine with a single file in it and = it reproduces the problem. I did some tests with an md(4) backed zpool and it works on = 11.3-RELEASE-p5 and fails on 12.0-RELEASE-p10. Also, it appears I can 'launder' the send through the 11.3 machine, ie = recv on it then send to the 12.2 system and it works. Tested with the following: truncate -s 100M /tmp/zfs.1 sudo mdconfig -t vnode -f /tmp/zfs.1 sudo zpool create testtank /dev/md0 curl http://www.gsoft.com.au/~doconnor/test.zfssend.gz | gzip -d | sudo = zfs recv -vd testtank sudo zpool destroy testtank sudo mdconfig -u md0 -d rm /tmp/zfs.1 -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum From owner-freebsd-hackers@freebsd.org Mon Dec 7 22:59:16 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 330E64B9851 for ; Mon, 7 Dec 2020 22:59:16 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CqdzR1Y0gz4Rk0 for ; Mon, 7 Dec 2020 22:59:14 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm1-x329.google.com with SMTP id v14so672118wml.1 for ; Mon, 07 Dec 2020 14:59:14 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=iYy7Np0pCPrwWGaIbZfq1hTsQtd+nPVQsf3RyrrRfM0=; b=YtgJ1325g05kRlXWaKyilArfQrWzFqX9asjpF1HW0wHrGY6Vo2LM72viAWBSjjYx8N P9i0yiSz/d/vVjb2UPtPQvrUsWD4hHQQQSPv+4Vy7yhkaHPm5/4mIZ0NDo6eZuc3gitt XvChkW8f6fl5lFL/R5ryFqMIQIl1WPxAk87sOXkOh3QS6mm9B6KOM8tjQgYOQF3tXTGQ l9ZhqOXRgmga6KnFbAFHUUHlJUp8LS7iZD8+2gwPtKAnKHtKIblsM0aEF1btZ9h4BwCd qsmiFgAvFQgf3AJj3TVq+dxPHm/bbQ1I2H5DsvekFeiu9/StFdtutw0Dn7FTfazOdee7 uK6Q== X-Gm-Message-State: AOAM53215AeUMG8P69xgSHr8Ecyky/QIo9vmVjj2sugJHXAkLI4Xc97+ xZcN1eoowogDk7ugsvb+9K4RvgIANY2NUw== X-Google-Smtp-Source: ABdhPJz8NvJTDJti4pOFvOj8Rn816mMCF8spEtmy9Y1Ktthiv5wyPUDWQsdL/+M5u6kE4mHQN8o7lw== X-Received: by 2002:a7b:cd90:: with SMTP id y16mr1031167wmj.115.1607381953035; Mon, 07 Dec 2020 14:59:13 -0800 (PST) Received: from gumby.homeunix.com ([2.222.24.253]) by smtp.gmail.com with ESMTPSA id h2sm871418wme.45.2020.12.07.14.59.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 14:59:12 -0800 (PST) Date: Mon, 7 Dec 2020 22:59:09 +0000 From: RW To: freebsd-hackers@freebsd.org Subject: Re: arc4random initialization Message-ID: <20201207225909.650818c2@gumby.homeunix.com> In-Reply-To: References: <20201206153625.13e349a8@bigus.dream-tech.com> X-Mailer: Claws Mail 3.17.5 (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: 4CqdzR1Y0gz4Rk0 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.99)[-0.992]; RECEIVED_SPAMHAUS_PBL(0.00)[2.222.24.253:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::329:from]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::329:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::329:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 22:59:16 -0000 On Mon, 7 Dec 2020 08:37:42 +0000 Mark Murray wrote: > Hi > > > On 6 Dec 2020, at 23:36, Dave Hayes wrote: > > > > So security-wise, just how bad is it to be improperly seeded? If I > > cannot get a valid entropy stash at boot time, can I delay the need > > for it until I can get a writable filesystem up and running? The warning doesn't mean it was unseeded, just that it didn't seed from the boot entropy file. I think it's unlikely that this is a significant problem if your cpu has RDRAND or similar, but it depends on the timing of calls. sysctl -o -B 65536 kern.arandom > /dev/null should force a reseed if you want one. > This means that the random(4) device and relevant infrastructure like > arc4random starts up in an insecure state and is not to be trusted > for e.g. generating SSH keys. > > After you have used the machine for a while (exactly how long > "depends"), it will reseed itself and become secure. > > Essentially, expect every boot off a DVD on the same hardware to reuse > cryptographic keys That's easy to test. > and therefore be insecure. Kernel arc4random() also reads entropy from Fortuna via read_random(). If there's a hardware generator Fortuna will get enough entropy to reach the default minpoolsize within 0.7s of initialization. If arc4random is called before that it will get reseeded on the first call to read_random() that occurs after Fortuna is able to seed. The risk would be that kernel arc4random is initialized early and insecurely and there's no appropriate read_random() call to reseed it before something critical uses it. IMO it would be better to eliminate that 0.7s period by getting enough entropy from the hardware generator instantaneously when Fortuna initializes. Whatever the paranoia over these generators they're better than no seeding at all. From owner-freebsd-hackers@freebsd.org Tue Dec 8 02:52:17 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AEC574BF693 for ; Tue, 8 Dec 2020 02:52:17 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cql8J5zx2z4hl6 for ; Tue, 8 Dec 2020 02:52:16 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-oi1-f173.google.com with SMTP id d27so10386872oic.0 for ; Mon, 07 Dec 2020 18:52:16 -0800 (PST) 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:reply-to :from:date:message-id:subject:to:content-transfer-encoding; bh=K05rV60y0l12s5WmaTKbhJ6/SJ+2sZlheLBiGFdzaQQ=; b=Uo8J2xQrNWMsh/7nfZXqenJv/xk/UrGye/DIYO980J/7AIMnFI37EBYEhk6wn8af+z 2ik58q4M+nFr+iVzhf9BmE9/VJ3QvI2OLUB9TE7SeK/ZAH3naxEjtrImB2uWvEdIsYmq TFYtIbW5GLweITs7wo4eFBTeyFaSBOQqvngRzKCl4cocKjETLzohAHeb4CRNx0wVAKKN WVU62jUiqC6uI+SCIj1llwQ7X9u0wjSDpyvUdZ3AqaXON0sSLfWPpBrhi+xGCyAq9DXT ji6phb5V6iY+gGVSFzNJQxP0ABul2CQRI/dzv5UzCZGBECo/CX+KyRDWGDtQO7RDI6Fh eDJg== X-Gm-Message-State: AOAM532ruEs8G2Au/ep6BZdbxTdP8XAkn+g5nh4FpH+whQv3lNFWHZiu eVrsLaFrv0cgubN+RTCXPYPPKd9Flo0= X-Google-Smtp-Source: ABdhPJzirEd+Nhu5O8AxFDSQJBCCG8/9ZAd1GxLpH7K69WFvJ+Tn+n5X0Jxb7WRLozFZD0EAHwLy2A== X-Received: by 2002:aca:fc96:: with SMTP id a144mr1314257oii.146.1607395935408; Mon, 07 Dec 2020 18:52:15 -0800 (PST) Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com. [209.85.167.176]) by smtp.gmail.com with ESMTPSA id y204sm2006626oiy.38.2020.12.07.18.52.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Dec 2020 18:52:15 -0800 (PST) Received: by mail-oi1-f176.google.com with SMTP id p126so17918158oif.7 for ; Mon, 07 Dec 2020 18:52:14 -0800 (PST) X-Received: by 2002:aca:2301:: with SMTP id e1mr1300802oie.8.1607395934755; Mon, 07 Dec 2020 18:52:14 -0800 (PST) MIME-Version: 1.0 References: <20201206153625.13e349a8@bigus.dream-tech.com> In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Mon, 7 Dec 2020 18:52:03 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: arc4random initialization To: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Cql8J5zx2z4hl6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of csecem@gmail.com designates 209.85.167.173 as permitted sender) smtp.mailfrom=csecem@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; HAS_REPLYTO(0.00)[cem@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_DKIM_NA(0.00)[]; TAGGED_FROM(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.167.173:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[209.85.167.173:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.173:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.173:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2020 02:52:17 -0000 On Mon, Dec 7, 2020 at 12:37 AM Mark Murray wrote: > > Hi > > > On 6 Dec 2020, at 23:36, Dave Hayes wrote: > > > > So security-wise, just how bad is it to be improperly seeded? If I cann= ot get > > a valid entropy stash at boot time, can I delay the need for it until I= can get > > a writable filesystem up and running? > > > > Thanks in advance for any cogent replies. > > This means that the random(4) device and relevant infrastructure like > arc4random starts up in an insecure state and is not to be trusted for e.= g. > generating SSH keys. > > After you have used the machine for a while (exactly how long "depends"), > it will reseed itself and become secure. > > Essentially, expect every boot off a DVD on the same hardware to reuse > cryptographic keys and therefore be insecure. > > Once you've installed on some R/W medium and rebooted, the necessary > entropy will have been stashed for you, and the first SSH keys will be > generated properly. +1 to what Mark wrote. To add a little bit more, in CURRENT we have some sysctls around initial seeding: the kern.random.initial_seeding subtree. There are four keys there: Admin-configured (configuration): kern.random.initial_seeding.bypass_before_seeding: if disabled we will potentially deadlock boot rather than provide bad random data to kernel consumers and user applications. If enabled, we will provide bad entropy if we're unseeded. kern.random.initial_seeding.disable_bypass_warnings: if enabled, we log messages when the former situation occurred. Read-only knobs that reflect random safety during the boot process (diagnos= tic): kern.random.initial_seeding.arc4random_bypassed_before_seeding: kern.random.initial_seeding.read_random_bypassed_before_seeding: If these are non-zero, it means the corresponding operation (arc4random(9), read_random(9)) was accessed when random(4) was unseeded. If these knobs are both zero, you know that all randomness used during boot was high-quality (seeded). To comment on some various other ideas / questions raised in the thread (Hal, Dave): > If I do a fresh install, when does the host's SSH key get generated and w= here does the entropy for that step come from? The system /etc/rc.d/sshd script generates SSH host keys if they aren't present already. So that's well into multiuser, by which time the system random device is usually well-seeded, even on extremely limited platforms. An installer might also write those host keys, although I'm not aware of one that does so. > I assume lots of entropy is generated during the install. Does that get = written to the new system's disk so it has some at first boot? bsdinstall has a script which does so from the runtime environment of the installer, which is probably well-seeded: usr.sbin/bsdinstall/scripts/entropy. Other installers may or may not write the unique entropy file; I'm not familiar with all installers. Ideally they would all do something like what bsdinstall is doing for entropy. > Does the on-disk entropy file get updated occasionally (as compared to on= ly at shutdown) so it doesn't get reused if the system crashes? Yes. cron runs libexec/save-entropy/save-entropy.sh periodically. Unfortunately, this entropy location (/var/db/entropy) is only available after userspace has started (/etc/rc.d/random) =E2=80=94 it is no= t used to seed the kernel during the early boot process. Only bootloader entropy is loaded very early on (/boot/entropy), and that location is only saved on clean shutdown (/etc/rc.d/random). > If so, how often is "occasionally"? Will that turn into a wear-out probl= em if running on a flash drive? (eg Raspberry Pi) usr.sbin/cron/cron/crontab: once every 11 minutes, by default. The save-entropy default is 4kB, and each save is a new file (so you're probably doing a directory entry write, an inode write, as well as a data block write). So call it 12kB/11min, or about 1.5 MB/day. > Is there any indication as to when it has safely reseeded? For the core random device, the message "random: unblocking device." is printed in dmesg and logged to /var/log/messages. RW wrote: > The risk would be that kernel arc4random is initialized early and insecur= ely and there's no appropriate read_random() call to reseed it before somet= hing critical uses it. arc4random(9) is integrated with random(4), so that arc4random is immediately reseeded when the random device is seeded. This logic can be found in libkern/arc4random.c and dev/random/randomdev.c; look for the variable 'arc4rand_iniseed_state' and the 'ARC4_ENTR_HAVE' constant. However, the concern still applies to userspace arc4random(3), which is not integrated with core random(4) reseeds. (And in CURRENT, the FXRNG random(4) mode *does* integrate userspace arc4random(3) with random(4) reseeds, but that code isn't yet enabled in GENERIC kernels.) > IMO it would be better to eliminate that 0.7s period by getting enough en= tropy from the hardware generator instantaneously when Fortuna initializes.= Whatever the paranoia over these generators they're better than no seeding= at all. Totally agree. We actually do this on CURRENT if kern.random.initial_seeding.bypass_before_seeding=3D0 and a fast random source (e.g., RDRAND) is available. Look for randomdev_wait_until_seeded() (both function body and callers) in sys/dev/random/randomdev.c. Hope that helps, Conrad From owner-freebsd-hackers@freebsd.org Tue Dec 8 06:31:31 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 52C5E4738AC for ; Tue, 8 Dec 2020 06:31:31 +0000 (UTC) (envelope-from dave@jetcafe.org) Received: from fedex2.jetcafe.org (fedex2.jetcafe.org [205.147.26.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "fedex2.jetcafe.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cqr1G28zrz4ssH; Tue, 8 Dec 2020 06:31:30 +0000 (UTC) (envelope-from dave@jetcafe.org) X-Envelope-To: cem@freebsd.org Received: from bigus.dream-tech.com (bigus.jetcafe.org [205.147.26.7]) by fedex2.jetcafe.org (8.15.2/8.15.2) with ESMTPS id 0B86VNU9025706 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 7 Dec 2020 22:31:23 -0800 (PST) (envelope-from dave@jetcafe.org) Date: Mon, 7 Dec 2020 22:31:22 -0800 From: Dave Hayes To: freebsd-hackers@freebsd.org Cc: cem@freebsd.org Subject: Re: arc4random initialization Message-ID: <20201207223122.28c188f5@bigus.dream-tech.com> In-Reply-To: References: <20201206153625.13e349a8@bigus.dream-tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1 ( out of 5.1) ALL_TRUSTED,SHORTCIRCUIT X-Spam-Checker-Version: SpamAssassin version 3.4.4-jetcafeglobal X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 4Cqr1G28zrz4ssH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of dave@jetcafe.org designates 205.147.26.23 as permitted sender) smtp.mailfrom=dave@jetcafe.org X-Spamd-Result: default: False [-3.29 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[205.147.26.23:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[jetcafe.org]; SPAMHAUS_ZRD(0.00)[205.147.26.23:from:127.0.2.255]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.993]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7397, ipnet:205.147.0.0/18, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2020 06:31:31 -0000 On Mon, 7 Dec 2020 18:52:03 -0800 Conrad Meyer wrote: > > Is there any indication as to when it has safely reseeded? > > For the core random device, the message "random: unblocking device." > is printed in dmesg and logged to /var/log/messages. Note that I am not running CURRENT, but 12.2-STABLE (r367506). Given this, the order of messages I see is: arc4random: no preloaded entropy cache random: entropy device external interface random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" arc4random: no preloaded entropy cache random: unblocking device. arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache (...at least 20 more of these). That is from "dmesg | grep random", which might be naive, but nonetheless illustrates my lack of certainty as to whether or not the appropriate generator has reseeded such that subsequent generation of cryptographic random numbers is safe. Just how do I know which messages are from arc4random(9) and which are from arc4random(3)? -- Dave Hayes - Consultant - LA CA, USA - dave@dream-tech.com >>>> *The opinions expressed above are entirely my own* <<<< No system is any use if you merely possess it. Ownership requires operation. No system is useful if one can only experiment with it. For a system to be useful, it must be correctly operated. From owner-freebsd-hackers@freebsd.org Tue Dec 8 16:25:41 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A2F904A565F for ; Tue, 8 Dec 2020 16:25:41 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cr5Bs41DBz4bR5 for ; Tue, 8 Dec 2020 16:25:41 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-ot1-f49.google.com with SMTP id h18so12325287otq.12 for ; Tue, 08 Dec 2020 08:25:41 -0800 (PST) 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:reply-to :from:date:message-id:subject:to:cc; bh=PAdOWzf9ruuu8ev95C+EVty2CgRgQaVVMa5hzoE5Yh0=; b=A/1y0BXPXkAsPuliTVACGS01iYOm2ebJsH5blIzuCFiCICqiIu31LS56HUhb0zgrXK XQg3oH3rYfqXKUAz78GbwdxzajRNgrxt8CmiChnycPPsP3lCGuk0n9H/Nc3rjxAXajCM IbEBHCaFGmbv26ZshunGSk7oOagDlyorAGHrNpdZUjkIMgriGja+vQJlpn0EC+OlnFgf LF7JcPZJQrFUUmUVJqETkjNeb2kfvzhk9r17eeQVnOEShF1Uo+BswMDBYeUr89Aq36Nc VknlG9Xi2zZ8iURujmtypO6ZaZRUjtlZXSmaLKIfkfaI2ZP0lTq+Niu7tvuj8sV1oAQk Ag8g== X-Gm-Message-State: AOAM531vA0WlEkAsd3dqD163VPImPjbMPrFBepOXBPRvZf/Dunn6ZtJu sdAu5xPwF3ILdbH7MOcyt+jldcKm+50= X-Google-Smtp-Source: ABdhPJyncSa+dXnlBjltLGdlW1zg1YCDNbsucsWHs6VCU0TxugCMC1M9i0abR+rgGZobtMkHD4+BAw== X-Received: by 2002:a05:6830:1650:: with SMTP id h16mr1332087otr.266.1607444740240; Tue, 08 Dec 2020 08:25:40 -0800 (PST) Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com. [209.85.210.42]) by smtp.gmail.com with ESMTPSA id k5sm3421467oot.30.2020.12.08.08.25.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Dec 2020 08:25:40 -0800 (PST) Received: by mail-ot1-f42.google.com with SMTP id f16so16280212otl.11 for ; Tue, 08 Dec 2020 08:25:40 -0800 (PST) X-Received: by 2002:a05:6830:1286:: with SMTP id z6mr17408232otp.334.1607444739932; Tue, 08 Dec 2020 08:25:39 -0800 (PST) MIME-Version: 1.0 References: <20201206153625.13e349a8@bigus.dream-tech.com> <20201207223122.28c188f5@bigus.dream-tech.com> In-Reply-To: <20201207223122.28c188f5@bigus.dream-tech.com> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 8 Dec 2020 08:25:29 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: arc4random initialization To: Dave Hayes Cc: freebsd-hackers@freebsd.org X-Rspamd-Queue-Id: 4Cr5Bs41DBz4bR5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2020 16:25:41 -0000 I don=E2=80=99t know how the logic in stable/12 works. I don=E2=80=99t beli= eve any of those messages come from userspace arc4random. On Mon, Dec 7, 2020 at 22:31 Dave Hayes wrote: > On Mon, 7 Dec 2020 18:52:03 -0800 > Conrad Meyer wrote: > > > Is there any indication as to when it has safely reseeded? > > > > For the core random device, the message "random: unblocking device." > > is printed in dmesg and logged to /var/log/messages. > > Note that I am not running CURRENT, but 12.2-STABLE (r367506). Given this= , > the order of messages I see is: > > arc4random: no preloaded entropy cache > random: entropy device external interface > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > arc4random: no preloaded entropy cache > random: unblocking device. > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > (...at least 20 more of these). > > That is from "dmesg | grep random", which might be naive, but nonetheless > illustrates my lack of certainty as to whether or not the appropriate > generator > has reseeded such that subsequent generation of cryptographic random > numbers is > safe. > > Just how do I know which messages are from arc4random(9) and which are fr= om > arc4random(3)? > -- > Dave Hayes - Consultant - LA CA, USA - dave@dream-tech.com > >>>> *The opinions expressed above are entirely my own* <<<< > > No system is any use if you merely possess it. Ownership > requires operation. No system is useful if one can only > experiment with it. For a system to be useful, it must be > correctly operated. > From owner-freebsd-hackers@freebsd.org Wed Dec 9 02:17:58 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E1D604B333A for ; Wed, 9 Dec 2020 02:17:58 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (midget.dons.net.au [IPv6:2403:5800:5101:0:ea:1cff:fefa:f00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "dons.net.au", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CrLLD50xxz3l58 for ; Wed, 9 Dec 2020 02:17:55 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.16.1/8.16.1) with ESMTPS id 0B92Hdwb098773 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 9 Dec 2020 12:47:39 +1030 (ACDT) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.16.1/8.16.1/Submit) id 0B92HHnx098760 for ; Wed, 9 Dec 2020 12:47:17 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-f0f0b4ff001831caa5b8ac39868c4c7e9b4d12fc: 2001:44b8:1d2:8900:c994:33e1:76d8:4115 Received: from [IPv6:2001:44b8:1d2:8900:c994:33e1:76d8:4115] ([IPv6:2001:44b8:1d2:8900:c994:33e1:76d8:4115] [2001:44b8:1d2:8900:c994:33e1:76d8:4115]) by midget.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id 0B92HCIk098759; Wed, 09 Dec 2020 12:47:17 +1030 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: zfs send from an ancient system From: "Daniel O'Connor" In-Reply-To: <3363BCBC-0F1A-4B28-8A1A-58D0950DF15A@dons.net.au> Date: Wed, 9 Dec 2020 12:47:12 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <308513D0-0CA6-462F-B3C6-03BF5A617081@dons.net.au> <3363BCBC-0F1A-4B28-8A1A-58D0950DF15A@dons.net.au> To: "O'Connor, Daniel via freebsd-hackers" X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Score: 2.2 (**) No, score=2.2 required=5.0 tests=HELO_MISC_IP, HELO_NO_DOMAIN, RDNS_NONE, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.4 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4CrLLD50xxz3l58 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2403:5800:5101:0:ea:1cff:fefa:f00:from]; R_DKIM_ALLOW(-0.20)[dons.net.au:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2403:5800:5101:0:ea:1cff:fefa:f00:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dons.net.au:+]; DMARC_POLICY_ALLOW(-0.50)[dons.net.au,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800:5000::/36, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2020 02:17:58 -0000 > On 7 Dec 2020, at 23:06, Daniel O'Connor wrote: >> On 7 Dec 2020, at 18:18, Daniel O'Connor wrote: >> I am sure I have done this in the past from this machine, = unfortunately I don't have the receiving machine any more as it got = repurposed. >=20 > I created a new test FS on the 8.2 machine with a single file in it = and it reproduces the problem. >=20 > I did some tests with an md(4) backed zpool and it works on = 11.3-RELEASE-p5 and fails on 12.0-RELEASE-p10. I did a bisect and found the commit: commit 46cdbe4a7a57c13eb35e99a5abea862ef346524f (HEAD) Author: mmacy Date: Sun Aug 12 00:45:53 2018 +0000 MFV/ZoL: Implement large_dnode pool feature commit 50c957f702ea6d08a634e42f73e8a49931dd8055 Author: Ned Bass Date: Wed Mar 16 18:25:34 2016 -0700 Implement large_dnode pool feature ... Notes: svn path=3D/head/; revision=3D337669 I did try creating a pool with no features enabled (zpool create -d ...) = but it still failed. > Also, it appears I can 'launder' the send through the 11.3 machine, ie = recv on it then send to the 12.2 system and it works. >=20 > Tested with the following: > truncate -s 100M /tmp/zfs.1 > sudo mdconfig -t vnode -f /tmp/zfs.1 > sudo zpool create testtank /dev/md0 > curl http://www.gsoft.com.au/~doconnor/test.zfssend.gz | gzip -d | = sudo zfs recv -vd testtank > sudo zpool destroy testtank > sudo mdconfig -u md0 -d > rm /tmp/zfs.1 >=20 > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum >=20 -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum From owner-freebsd-hackers@freebsd.org Wed Dec 9 06:47:36 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 01CA9471DE4 for ; Wed, 9 Dec 2020 06:47:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CrSKM1Zp9z4WFy for ; Wed, 9 Dec 2020 06:47:34 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf34.google.com with SMTP id d11so131248qvo.11 for ; Tue, 08 Dec 2020 22:47:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=+xuYRZc46/Eues2ntQOTBRy3w7O9/AHwjWEgGe+6Fv4=; b=hmfe0I693HA+1ZMzwHkVYEWGJt7LzYzKdy0NcZ/MqymB55xAEksLGEKJCsNmMVwZpX htEbsgeYmoOgzqlLp8Gj8LuNHKFFvRz51QMdyJ1yAnHiofNQAsHNGjQZ7/GnVreNzjGy 5ODI2kkCjSFPz+63WhK/FIIrunREl8Q2lrT1iYCKN33snK2+rggaV+Jg1wxSBfw82q1i /fvH5uCp+6fKVDLzi9OVB7Wd0tQyoE5hF4bDOzJP0dz7bzTa1FvXb7IDfgdlnXFhSn6j U2Y6oQfM9cDv9nNWak0Cmr+6BcSKN0l5SJpFmpl6KhykMFe94u/tAMLyvoF/zeJmEbgY F/0w== 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=+xuYRZc46/Eues2ntQOTBRy3w7O9/AHwjWEgGe+6Fv4=; b=IAGlBTsurPc9N5OeuctSUWPFu4pgCiqzrNonDw+eAxDEykhVU9eBpGpEi9uRRoRQ7b Nfl3JNeBFqGNVL5UK2tbvOBtAws+7sm+vuqeWpT+P/hTaGQtm78Ue4w9/h51UYZa4BSf UlyfCYGnRCz64KS2bDglMeDwg4IRLmeSDvS9nKE6RRsEHZVhj+4egCG+jmCnnTNd1pSh xW2EhzLilSLDw7mWznrihkE6pRMazcTwVc6lthLcD324f2e+MKUTLFxTY+b1MsgB/GFx 8i/5EXTVLYwbhd8TYtkEKxVPmA7z+9oKece8RUEeBUPoRMw+69n9uCWK39DrjJvUDOWl 4ygA== X-Gm-Message-State: AOAM531/5HNeSZt3XwLiYHayQC9rOw11GhPRmgOKSOnm75ff+LyYHZiT bQticoZgLsDuuMAxD0B/O6RHH0gXFndePEmCag8kDeIPX81ZUg== X-Google-Smtp-Source: ABdhPJy95qaS9TsdZjy2G+309NGuVkDBYJKXWmiet0/nv7EJncDh9+EDAdHqd9jMPHvCUKA9FvS1E6fiLxYIZYuFRkk= X-Received: by 2002:a05:6214:16cb:: with SMTP id d11mr1386201qvz.62.1607496453782; Tue, 08 Dec 2020 22:47:33 -0800 (PST) MIME-Version: 1.0 From: Warner Losh Date: Tue, 8 Dec 2020 23:47:18 -0700 Message-ID: Subject: Vendor Imports in Subversion To: FreeBSD Hackers X-Rspamd-Queue-Id: 4CrSKM1Zp9z4WFy X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=hmfe0I69; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::f34) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_TWO(0.00)[2]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::f34:from:127.0.2.255]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f34:from]; NEURAL_SPAM_SHORT(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::f34:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-hackers] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2020 06:47:36 -0000 Greetings, The git working group is making final preparations for the cut over in two weeks (currently planned to start December 19). There's one item that's caused some recent problems that we'd like to ask the committer's help on: vendor imports. We've had a few vendor imports of late that have caused problems for the git converter. Imports should be done from the top level so that the merge info winds up in the right place. uqs@ has added code to defensive code to detect the recent problems, but we're not sure it will catch everything. So, over the next two weeks, we'd like to ask that committers refrain from doing vendor imports in the src tree for those cases where delay is possible. For vendor imports that can't wait, due to security or other serious issues, please coordinate with git@freebsd.org before doing the vendor import. If there's a confidential matter, you can contact me ( imp@freebsd.org) or the core team instead. Thanks for your understanding... Warner On behalf of the git working group From owner-freebsd-hackers@freebsd.org Wed Dec 9 12:54:42 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2112B47BE24 for ; Wed, 9 Dec 2020 12:54:42 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CrcSx5pmMz4s7Q for ; Wed, 9 Dec 2020 12:54:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1607518472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v3KLUkhD06YIPtKkk9JeYd9ByHZBy3qfstAkC+xmA7Y=; b=LU3XHiNmpKglmzJKtVB8QmW+4ZYAoaIGB+NyFEFp/DGtCoz2+zXSH2ptniMRRh0upobxWi i2wM4hsED2b2lF+m/iUCwUammpVd2XvoneCV5HOAIfv8AN+9wtpHQjqnlHDeNqxKJwk1bm zOP3EXe7rGNzMRjHJhpLTPd0GQ8985E= Received: from skull.home.blih.net (lfbn-idf2-1-288-247.w82-123.abo.wanadoo.fr [82.123.126.247]) by mx.blih.net (OpenSMTPD) with ESMTPSA id b81f7ecb (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 9 Dec 2020 12:54:32 +0000 (UTC) Date: Wed, 9 Dec 2020 13:54:32 +0100 From: Emmanuel Vadot To: Warner Losh Cc: FreeBSD Hackers Subject: Re: Vendor Imports in Subversion Message-Id: <20201209135432.d6615ff4f040e1b53e4a5351@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CrcSx5pmMz4s7Q X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2020 12:54:42 -0000 On Tue, 8 Dec 2020 23:47:18 -0700 Warner Losh wrote: > Greetings, > > The git working group is making final preparations for the cut over in two > weeks (currently planned to start December 19). There's one item that's > caused some recent problems that we'd like to ask the committer's help on: > vendor imports. We've had a few vendor imports of late that have caused > problems for the git converter. Imports should be done from the top level > so that the merge info winds up in the right place. uqs@ has added code to > defensive code to detect the recent problems, but we're not sure it will > catch everything. > > So, over the next two weeks, we'd like to ask that committers refrain from > doing vendor imports in the src tree for those cases where delay is > possible. For vendor imports that can't wait, due to security or other > serious issues, please coordinate with git@freebsd.org before doing the > vendor import. If there's a confidential matter, you can contact me ( > imp@freebsd.org) or the core team instead. > > Thanks for your understanding... > > Warner > On behalf of the git working group So, I wanted to import 5.9 and 5.10 dts before 13.0 and also before the switch to git to be sure that I did not screw things up. Also I don't see how vendor imports are supposed to work with git subtree, I admit that I have only a recent and limited experience with subtree. The other problem is that for dts we import everything from upstream but only merge part of it (include, arm, arm64 and riscv directory), is that supported ? More generaly is there a write up on how to use subtree for vendor import already written ? Thanks, -- Emmanuel Vadot From owner-freebsd-hackers@freebsd.org Wed Dec 9 19:17:06 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06DFD4ACCF5 for ; Wed, 9 Dec 2020 19:17:06 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Crmy83GX6z3m14 for ; Wed, 9 Dec 2020 19:17:04 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x429.google.com with SMTP id r3so2974964wrt.2 for ; Wed, 09 Dec 2020 11:17:04 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Aynq9WHGdUZ2kpOR0yJfb9pHL4QhS/N95RmEKeb1oxU=; b=JfWSRXIoKvZZi9qXQGyD4FRSJ+Y42wBvas9EM/DY52GMFK3OyHCABHW4/T6UrA4itm aYJvwHppQPVan56XUXkXzBPlwltkxLmksnwWwAX9Ijb+iGdEJBmPKZW/kW4LhGH6Ygnk tcPw3JBCexFPU+E87nZxFQgS0C4J69qSxwt8NCyHXFaYqH4xIKWqrej6PV1oz70UE1wN eJDJ6tAk4eYd3xoCKddkJkMNTFuxdetCfxp23tkJN6EoPjLG5WEQbXSUK5e7c6/gZOZC A53coUJvhdE2ho9ZFwz1EzLmg8M00krlPNW2aV8GoYjGa8K8Ch6yrzFlK2KNZ9VsAB/x HnLQ== X-Gm-Message-State: AOAM532UgqbVe48jUq7js43NDo/rKbj0lFgMnkp/HiJlWzOJou8s9MfT iWrPXqbN8q6cipW+LsxSNCmYGE592XYC3g== X-Google-Smtp-Source: ABdhPJy857A+P/C2bn9oS/1kl6ex4fwiDda8XLFN7sAvrA0SnO2dbZNyV7dI0z3yuh9XroMYB2KLtQ== X-Received: by 2002:a5d:69c2:: with SMTP id s2mr3681411wrw.36.1607541422376; Wed, 09 Dec 2020 11:17:02 -0800 (PST) Received: from gumby.homeunix.com ([2.223.82.219]) by smtp.gmail.com with ESMTPSA id q4sm4940378wmc.2.2020.12.09.11.17.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 11:17:01 -0800 (PST) Date: Wed, 9 Dec 2020 19:16:58 +0000 From: RW To: freebsd-hackers@freebsd.org Subject: Re: arc4random initialization Message-ID: <20201209191658.42063a95@gumby.homeunix.com> In-Reply-To: References: <20201206153625.13e349a8@bigus.dream-tech.com> X-Mailer: Claws Mail 3.17.5 (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: 4Crmy83GX6z3m14 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.45 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.45)[-0.448]; RECEIVED_SPAMHAUS_PBL(0.00)[2.223.82.219:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::429:from]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::429:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::429:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2020 19:17:06 -0000 On Mon, 7 Dec 2020 18:52:03 -0800 Conrad Meyer wrote: > > The risk would be that kernel arc4random is initialized early and > > insecurely and there's no appropriate read_random() call to reseed > > it before something critical uses it. > > arc4random(9) is integrated with random(4), so that arc4random is > immediately reseeded when the random device is seeded. But that that can only happen when something reads from random(4). Fortuna doesn't spontaneously seed itself. However, I'd forgotten that modern userland arc4random seeds through getrandom(2) which substantially mitigates the problem by creating more reads from random(4) and reducing the importance of kernel arc4random. It is theoretically possible for kernel arc4random to be used unseeded for up to 5 minutes. It would probably need to be an atypical setup though, maybe embedded. But it sounds like better use of hardware generators in current would mostly solve this. > However, the concern still applies to userspace arc4random(3), which > is not integrated with core random(4) reseeds. It looks to be integrated to the extent that it initializes though a blocking call to getrandom, which is by far the most important thing. Reseeding afterwards is mostly shutting the stable door after the horse has bolted. From owner-freebsd-hackers@freebsd.org Thu Dec 10 00:26:02 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 281BA4B64AA for ; Thu, 10 Dec 2020 00:26:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Crvpd0q8jz4cwV for ; Thu, 10 Dec 2020 00:26:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x730.google.com with SMTP id 19so3259433qkm.8 for ; Wed, 09 Dec 2020 16:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TitmIsEAAgppVrlxN6sSJVIVlxDVgJ22xeco7gt5KZI=; b=UCNHOfowj9H+5T4RN7cHbJHtM/MmUbxvCttvThsVX/MGH45ee4LB4o+Sldl6x5Z68H sSHVPZcXv8ZfwavcBfii0BTDCvoMNtqgQOCzauGk8iSCvUwas3uqHAojJQzHSifKNnju on/dpSRlDnwbNJ1r3oeK5aTyl8IsP0CZXMhwy9xGVBDDq1J/x8pEtuBfgp9UORapbwkw HtmpcSxa5OK0s8zwwIKFLtQE7nhALKJR5Pv+eZmStdGOPmmn3xghtsxpnCoB4ma0Wib/ r69WjnS/TixqCTpo77hfQcglV/PrR6CdvDqbClFJt7DMmdCQvZNnOND9O99jWn+LC/U0 T0+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:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TitmIsEAAgppVrlxN6sSJVIVlxDVgJ22xeco7gt5KZI=; b=U/EhqkyY2LpLmgaRGjnDd5JDx3g3JN7/zgzYEEzaqSLESkfGUcFinypyiLDCLMMANy dGsKcB/g8cuUbjG5OKFcC43HDxK9j9G9D+neb09nzVbj97vlQJGAfPBPSVpVtEQZsVHV JhcghWQPf25txhRLWats33YuCzEl+1O7TyvajgHeUagQcslKYkeWHsIBUIFQ9eRQewYB R28Qmw9Jg8AUEbk+TGs9P0VxOSjuziPjja3EGkZPmcvmIRTpZINqQLPkTFnIgTG59+gU frmoZznRpVagA+IwjHLfiurPh33E+Dc8jX2oVirQfk8B9wUOrPtr9n6khb2e/YDnGknJ tOpw== X-Gm-Message-State: AOAM531Xwtx1RjDiP87/WRvunCzbJEPzIcjNVF1p0ZgbuU/h9WNVM6TI g/c2AV4wwTJoRd5acAW3PPyyKr/2raciG5vKhw5FF0wpAaKMWg== X-Google-Smtp-Source: ABdhPJxAZUvbHHXSL9rYBqpsTlUXbT0PPH7W99Kb2EIk9UX75bEGvSwDdt63SgelB/Pe6ioaCcf5NBdHzmkBFPQV2nY= X-Received: by 2002:ae9:ebd5:: with SMTP id b204mr5911964qkg.195.1607559959173; Wed, 09 Dec 2020 16:25:59 -0800 (PST) MIME-Version: 1.0 References: <20201209135432.d6615ff4f040e1b53e4a5351@bidouilliste.com> In-Reply-To: <20201209135432.d6615ff4f040e1b53e4a5351@bidouilliste.com> From: Warner Losh Date: Wed, 9 Dec 2020 17:25:48 -0700 Message-ID: Subject: Re: Vendor Imports in Subversion To: Emmanuel Vadot Cc: FreeBSD Hackers X-Rspamd-Queue-Id: 4Crvpd0q8jz4cwV X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=UCNHOfow; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::730) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::730:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::730:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::730:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 00:26:02 -0000 On Wed, Dec 9, 2020 at 5:54 AM Emmanuel Vadot wrote: > On Tue, 8 Dec 2020 23:47:18 -0700 > Warner Losh wrote: > > > Greetings, > > > > The git working group is making final preparations for the cut over in > two > > weeks (currently planned to start December 19). There's one item that's > > caused some recent problems that we'd like to ask the committer's help > on: > > vendor imports. We've had a few vendor imports of late that have caused > > problems for the git converter. Imports should be done from the top level > > so that the merge info winds up in the right place. uqs@ has added code > to > > defensive code to detect the recent problems, but we're not sure it will > > catch everything. > > > > So, over the next two weeks, we'd like to ask that committers refrain > from > > doing vendor imports in the src tree for those cases where delay is > > possible. For vendor imports that can't wait, due to security or other > > serious issues, please coordinate with git@freebsd.org before doing the > > vendor import. If there's a confidential matter, you can contact me ( > > imp@freebsd.org) or the core team instead. > > > > Thanks for your understanding... > > > > Warner > > On behalf of the git working group > > So, > I wanted to import 5.9 and 5.10 dts before 13.0 and also before the > switch to git to be sure that I did not screw things up. > Also I don't see how vendor imports are supposed to work with git > subtree, I admit that I have only a recent and limited experience with > subtree. OK. I'm nervous about this, but I know you've done them in the past. When is 5.10 supposed to be golden so we can import it? > The other problem is that for dts we import everything from > upstream but only merge part of it (include, arm, arm64 and riscv > directory), is that supported ? > More generaly is there a write up on how to use subtree for vendor > import already written ? > I'm working on that writeup. I believe it is possible, but I've not yet come to that part of the write up. Warner From owner-freebsd-hackers@freebsd.org Thu Dec 10 10:45:41 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93B0747CC12 for ; Thu, 10 Dec 2020 10:45:41 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cs9Yc15vbz3lKQ for ; Thu, 10 Dec 2020 10:45:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1607597136; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LpTVjaTF1g9pNlMOu6Mh/9HD3n9Qvn2MN32PWT0BRLA=; b=bAv5Bjckrot/aXkUC9hDLkpSpKPL5MZwm/+6GdX+E9+hoM1O67AfSkitpWYbrzbMDYtX/h gA+BL71qq85CAdW3H5ZZhkWgSUkPo2kp6DOAZQpcyiq4kINCzf5wjvnDo+IJ2FF+HLoDnp 9YMDYcc52FAd4Y1+B0dOcdS5fPZ+ouk= Received: from amy.home (lfbn-idf2-1-288-247.w82-123.abo.wanadoo.fr [82.123.126.247]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 01b43ce1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 10 Dec 2020 10:45:36 +0000 (UTC) Date: Thu, 10 Dec 2020 11:45:36 +0100 From: Emmanuel Vadot To: Warner Losh Cc: FreeBSD Hackers Subject: Re: Vendor Imports in Subversion Message-Id: <20201210114536.486bb5d64fd3e727d94b271f@bidouilliste.com> In-Reply-To: References: <20201209135432.d6615ff4f040e1b53e4a5351@bidouilliste.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Cs9Yc15vbz3lKQ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=bAv5Bjck; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 10:45:41 -0000 On Wed, 9 Dec 2020 17:25:48 -0700 Warner Losh wrote: > On Wed, Dec 9, 2020 at 5:54 AM Emmanuel Vadot wrote: > > > On Tue, 8 Dec 2020 23:47:18 -0700 > > Warner Losh wrote: > > > > > Greetings, > > > > > > The git working group is making final preparations for the cut over in > > two > > > weeks (currently planned to start December 19). There's one item that's > > > caused some recent problems that we'd like to ask the committer's help > > on: > > > vendor imports. We've had a few vendor imports of late that have caused > > > problems for the git converter. Imports should be done from the top level > > > so that the merge info winds up in the right place. uqs@ has added code > > to > > > defensive code to detect the recent problems, but we're not sure it will > > > catch everything. > > > > > > So, over the next two weeks, we'd like to ask that committers refrain > > from > > > doing vendor imports in the src tree for those cases where delay is > > > possible. For vendor imports that can't wait, due to security or other > > > serious issues, please coordinate with git@freebsd.org before doing the > > > vendor import. If there's a confidential matter, you can contact me ( > > > imp@freebsd.org) or the core team instead. > > > > > > Thanks for your understanding... > > > > > > Warner > > > On behalf of the git working group > > > > So, > > I wanted to import 5.9 and 5.10 dts before 13.0 and also before the > > switch to git to be sure that I did not screw things up. > > Also I don't see how vendor imports are supposed to work with git > > subtree, I admit that I have only a recent and limited experience with > > subtree. > > > OK. I'm nervous about this, but I know you've done them in the past. When > is 5.10 supposed to be golden so we can import it? 5.10 is at -rc7 right now so I guess in a week or two it will be released. > > > The other problem is that for dts we import everything from > > upstream but only merge part of it (include, arm, arm64 and riscv > > directory), is that supported ? > > More generaly is there a write up on how to use subtree for vendor > > import already written ? > > > > I'm working on that writeup. I believe it is possible, but I've not yet > come to that part of the write up. Ok, please let me know when you have at least something written for generic vendor import with subtree, I can do test then. > Warner > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Emmanuel Vadot From owner-freebsd-hackers@freebsd.org Thu Dec 10 14:06:58 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 052214AAF31 for ; Thu, 10 Dec 2020 14:06:58 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsG1r6lLvz4TF0 for ; Thu, 10 Dec 2020 14:06:56 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.16.1) with ESMTPS id 0BAE6leh070043 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 10 Dec 2020 15:06:47 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1607609208; bh=wdjeXhcBxuOApBtf3JWNghmvVjuM4lQsr84TJkzVNwE=; h=Date:From:To:Subject; b=M1TKDY2rnFYEZ9cRuSCZ+Z6x26LKN47xS/i63LdYHAdiwFxX2GSY79xmfnCtTyrTb N8bnVYXzWPvxFqDkLf4rJLxhL42XkoA9semFAhNtIvzqDJ1bLUDtq/bktf8zZe+S7/ FYmmyO6WhJ/+Ihva0y1vuQ1nuRlZZGcGc3da0P2U= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.16.1/8.16.1/Submit) with ESMTP id 0BAE6l65070040 for ; Thu, 10 Dec 2020 15:06:47 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 10 Dec 2020 15:06:47 +0100 (CET) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Subject: FreeBSD 12.2-STABLE urtwn Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4CsG1r6lLvz4TF0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=fail (headers rsa verify failed) header.d=puchar.net header.s=default header.b=M1TKDY2r; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-2.30 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[194.1.144.90:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[194.1.144.90:from:127.0.2.255]; DMARC_NA(0.00)[puchar.net]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; DKIM_TRACE(0.00)[puchar.net:-]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 14:06:58 -0000 man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - exactly what i need. device urtwn in config - doesn't work cd /usr/src;find . -iname "urtwn*" - nothing founds Where is that driver for which manual is present? From owner-freebsd-hackers@freebsd.org Thu Dec 10 14:21:40 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D19E64ABD2F for ; Thu, 10 Dec 2020 14:21:40 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsGLq5rP5z4VmN for ; Thu, 10 Dec 2020 14:21:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (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 mail.turbocat.net (Postfix) with ESMTPSA id 6DEB9260294; Thu, 10 Dec 2020 15:21:32 +0100 (CET) Subject: Re: FreeBSD 12.2-STABLE urtwn To: Wojciech Puchar , freebsd-hackers@freebsd.org References: From: Hans Petter Selasky Message-ID: Date: Thu, 10 Dec 2020 15:21:22 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.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: 4CsGLq5rP5z4VmN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.99.82.50:from]; SPAMHAUS_ZRD(0.00)[88.99.82.50:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 14:21:40 -0000 On 12/10/20 3:06 PM, Wojciech Puchar wrote: > man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - > exactly what i need. > > device urtwn in config - doesn't work > cd /usr/src;find . -iname "urtwn*" - nothing founds > > Where is that driver for which manual is present? Try grep: grep -r urtwn /usr/src/sys --HPS From owner-freebsd-hackers@freebsd.org Thu Dec 10 14:25:58 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 12E3A4AC472 for ; Thu, 10 Dec 2020 14:25:58 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com [64.147.123.18]) (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 4CsGRn369Zz4Wgn for ; Thu, 10 Dec 2020 14:25:57 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.west.internal (Postfix) with ESMTP id CD4C9F81; Thu, 10 Dec 2020 09:18:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 10 Dec 2020 09:18:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.dev; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=l F/tXDdF1gdIfxnMKnMl0zkTKZY8e3MJPSvTlNp7BeA=; b=K5jyyR/ZvaF/Okhxv 131cymRkkhWGWhApfMmjbyh7NNc8kYEP0SoV5n3Z2PNhgmpO7gusKotCcipkQshm UiRB1Qe66T2PkTF/vflu0/bFHx3Hyklwjd2CVIg4e758VYiWZwdix9Crqx3xNM5N fKlf/EzwB1B/y0C67HGhr1uFbuwTtIn01viJwWkEoil0FoY81WXWzq3Bga5ZWWmL HsQT0sk50jmPZwP+PbAY+kwpRwkA0Nv09iXbE1Eaf05xBfTXEJF8H9x4sToDYibF 7vY41UknkfCLkMm5dnKQxRl4NPpt0nLm1sRjkpzB0ZSeo+AA1ngGtdIxFaHmp2xL OPZpg== 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=fm1; bh=lF/tXDdF1gdIfxnMKnMl0zkTKZY8e3MJPSvTlNp7B eA=; b=MJgFvEGqw5NrNhKVo1X+C+KcFIl/An/x/N9kXWXW0KaCEOrOMg3xH32kd pOef2Nzu6UMzUYeD8KX7v4RmoWcfHx111v+lgNFtzB6A/8QILdjXCvSlNf8o839K WAyqVheNi2B264dvgqUQpto5hpnBJ/AVjhUPd/4lelGUxDXaX9zWdfFe2YkzHbVP lpUy1D3JitTb01hC974n3V6As0ODj8nOBMr9S6QuOCT+kOooxvnpIJp02CItFXlr 4YoLdMhDrNCxfCQ3B/OZfauFtEuzq22cJ7CLIMZgSOJHbKdmLom1xoMEPi+8ibaE AWcQDbSI0d0wtCzH+Qc25ndqLcSng== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudektddgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpegjuhhrihcurfgrnhhkohhvuceohihurhhiphhvseihuhhr ihhpvhdruggvvheqnecuggftrfgrthhtvghrnhepffehvdekgeeijeevledvfffgveeuve fggfejhfelueeuveetvddvvdfgieetffetnecukfhppeeluddrvdegtddruddvgedrudeh jeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeihuh hrihhpvheshihurhhiphhvrdguvghv X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.157]) by mail.messagingengine.com (Postfix) with ESMTPA id 140791080066; Thu, 10 Dec 2020 09:18:49 -0500 (EST) Subject: Re: FreeBSD 12.2-STABLE urtwn To: Wojciech Puchar , freebsd-hackers@freebsd.org References: From: Yuri Pankov Message-ID: <530ac693-f551-085c-a0d2-8c3545bc5ed9@yuripv.dev> Date: Thu, 10 Dec 2020 17:18:48 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 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: 4CsGRn369Zz4Wgn X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yuripv.dev header.s=fm1 header.b=K5jyyR/Z; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=MJgFvEGq; dmarc=none; spf=pass (mx1.freebsd.org: domain of yuripv@yuripv.dev designates 64.147.123.18 as permitted sender) smtp.mailfrom=yuripv@yuripv.dev X-Spamd-Result: default: False [2.29 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:64.147.123.18:c]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[yuripv.dev:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[64.147.123.18:from]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.18:from]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.157:received]; R_DKIM_ALLOW(0.00)[yuripv.dev:s=fm1,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[yuripv]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-0.67)[-0.674]; NEURAL_HAM_LONG(-0.93)[-0.934]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[yuripv.dev]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[64.147.123.18:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 14:25:58 -0000 Wojciech Puchar wrote: > man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - > exactly what i need. > > device urtwn in config - doesn't work > cd /usr/src;find . -iname "urtwn*" - nothing founds > > Where is that driver for which manual is present? You forgot to mention the release (?) you are running. On -CURRENT (same seems to be true for 12.1- and 12.2-RELEASE as well), there doesn't seem to be a urtwn man page, but there is rtwn_usb(4) man page, which provides all required devices in synopsis. From owner-freebsd-hackers@freebsd.org Thu Dec 10 14:32:53 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 620DC4ACC98 for ; Thu, 10 Dec 2020 14:32:53 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (gvr.gvr.org [62.251.117.91]) (using TLSv1.2 with cipher DHE-RSA-CAMELLIA256-SHA256 (256/256 bits)) (Client CN "gvr.gvr.org", Issuer "Gandi Standard SSL CA 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsGbm2Drdz4X2t for ; Thu, 10 Dec 2020 14:32:52 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (localhost [127.0.0.1]) by gvr.gvr.org (Postfix) with ESMTP id 4942A56306; Thu, 10 Dec 2020 15:32:45 +0100 (CET) X-Virus-Scanned: amavisd-new at gvr.org Received: from gvr.gvr.org ([127.0.0.1]) by gvr.gvr.org (gvr.gvr.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PtxW0ITq7-MQ; Thu, 10 Dec 2020 15:32:45 +0100 (CET) Received: by gvr.gvr.org (Postfix, from userid 657) id 057D2561B1; Thu, 10 Dec 2020 15:32:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gvr.org; s=20190204; t=1607610765; bh=Ws3rqLc1tXyrRG6Wy2T8VzObD/Iyd4Rqa+QWHNHl7TU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=n5Rt2bKbkk53so23SxDqVOBs8z4oR3LAFOKGFbqZR3wXldKuDWFLd09QqnPl5qU8N 4GAzgm+OeXLra/19JeOg42RgnF+8HwXDX3ncfodyzD1Kcl/ZUwRkNXq0hPZu9tB9pa IFdjDvTLAEgioL+4K6iNHNdat2ciQdQ6dLwZ4QaHiw3ca8xNVfCIXy1frYTGPXeuih Q2OnWykq9pR9pYb5ptHbSifXRyIsllpBUhKEGEf6W9wp/VHPMp/qeq26kf6MroMNdx CmSUMOVQt1N13GarKe5xvV6Azf2p9Q8b6kHkIsVYYtWzERSkXTwPdeeiSCVw8KOAOD CUe3BawGNce+Q== Date: Thu, 10 Dec 2020 15:32:45 +0100 From: Guido van Rooij To: Yuri Pankov Cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: FreeBSD 12.2-STABLE urtwn Message-ID: References: <530ac693-f551-085c-a0d2-8c3545bc5ed9@yuripv.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <530ac693-f551-085c-a0d2-8c3545bc5ed9@yuripv.dev> X-Rspamd-Queue-Id: 4CsGbm2Drdz4X2t X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gvr.org header.s=20190204 header.b=n5Rt2bKb; dmarc=none; spf=pass (mx1.freebsd.org: domain of guido@gvr.org designates 62.251.117.91 as permitted sender) smtp.mailfrom=guido@gvr.org X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[62.251.117.91:from]; R_DKIM_ALLOW(-0.20)[gvr.org:s=20190204]; FREEFALL_USER(0.00)[guido]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gvr.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[62.251.117.91:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gvr.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:3265, ipnet:62.251.0.0/17, country:NL]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 14:32:53 -0000 On Thu, Dec 10, 2020 at 05:18:48PM +0300, Yuri Pankov wrote: > Wojciech Puchar wrote: > > man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - > > exactly what i need. > > > > device urtwn in config - doesn't work > > cd /usr/src;find . -iname "urtwn*" - nothing founds > > > > Where is that driver for which manual is present? > > You forgot to mention the release (?) you are running. > > On -CURRENT (same seems to be true for 12.1- and 12.2-RELEASE as well), > there doesn't seem to be a urtwn man page, but there is rtwn_usb(4) man > page, which provides all required devices in synopsis. There is also rtwn(4). -Guido From owner-freebsd-hackers@freebsd.org Thu Dec 10 15:27:48 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ED5D54AE173 for ; Thu, 10 Dec 2020 15:27:48 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsHq76RXvz4b7b for ; Thu, 10 Dec 2020 15:27:47 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 0BAFRbrH092899; Thu, 10 Dec 2020 07:27:37 -0800 (PST) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 0BAFRbKF092898; Thu, 10 Dec 2020 07:27:37 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202012101527.0BAFRbKF092898@gndrsh.dnsmgr.net> Subject: Re: FreeBSD 12.2-STABLE urtwn In-Reply-To: To: Wojciech Puchar Date: Thu, 10 Dec 2020 07:27:37 -0800 (PST) CC: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4CsHq76RXvz4b7b X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-2.10 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[69.59.192.140:from]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[69.59.192.140:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 15:27:49 -0000 > man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - > exactly what i need. man urtwn on my 12.1 system returns an error. I think somehow a leading u snuck in here. I know this driver as the rtwn driver. > > device urtwn in config - doesn't work > cd /usr/src;find . -iname "urtwn*" - nothing founds cd /usr/src/; find . -iname "*rtwn*" > Where is that driver for which manual is present? > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-hackers@freebsd.org Thu Dec 10 15:35:57 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB0AB4AEC04 for ; Thu, 10 Dec 2020 15:35:57 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (gvr.gvr.org [62.251.117.91]) (using TLSv1.2 with cipher DHE-RSA-CAMELLIA256-SHA256 (256/256 bits)) (Client CN "gvr.gvr.org", Issuer "Gandi Standard SSL CA 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsJ0X5DQXz4bS0 for ; Thu, 10 Dec 2020 15:35:56 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (localhost [127.0.0.1]) by gvr.gvr.org (Postfix) with ESMTP id AF699560D6; Thu, 10 Dec 2020 16:35:54 +0100 (CET) X-Virus-Scanned: amavisd-new at gvr.org Received: from gvr.gvr.org ([127.0.0.1]) by gvr.gvr.org (gvr.gvr.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qouou7IBSF4X; Thu, 10 Dec 2020 16:35:54 +0100 (CET) Received: by gvr.gvr.org (Postfix, from userid 657) id 8AC48560D5; Thu, 10 Dec 2020 16:35:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gvr.org; s=20190204; t=1607614554; bh=5WMm/yvCoT9Nmn3Mm7e1QTwcp9xIfp6FWPgsKE35IAU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=KIdfITmYDw0/aMe5uckD6Z62l7hvcAR8uJakg3aet0xjlG7LbTOGNyGwQgN/VjTxW fCrGvjoOV4t2+7KmvmbEA+Gzg30Rf2z0K8qaHI/wQS+RN6gkGwVn7ROA+KZhzf1Cut x/d4v6d+zVrxUPpUmIVSZmiVQU/kwsH0A35dOpsHB8Fi1s01Zne0nKsK6gS+22tMPV qS1q9Sim3hYppTSb72wes5enb783QvR3kyS020au52EF1OL+MlTfdNbGuJXh8KxRiD R5wOH73PXckbWTvib4hFVzIJ+Fcm5uR0JtUlMtAFkZ0rCxbBDrPzUvUZd6XkWKfhKt 7Oy6P+HAfvrtA== Date: Thu, 10 Dec 2020 16:35:54 +0100 From: Guido van Rooij To: "Rodney W. Grimes" Cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: FreeBSD 12.2-STABLE urtwn Message-ID: References: <202012101527.0BAFRbKF092898@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202012101527.0BAFRbKF092898@gndrsh.dnsmgr.net> X-Rspamd-Queue-Id: 4CsJ0X5DQXz4bS0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gvr.org header.s=20190204 header.b=KIdfITmY; dmarc=none; spf=pass (mx1.freebsd.org: domain of guido@gvr.org designates 62.251.117.91 as permitted sender) smtp.mailfrom=guido@gvr.org X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[62.251.117.91:from]; R_DKIM_ALLOW(-0.20)[gvr.org:s=20190204]; FREEFALL_USER(0.00)[guido]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gvr.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[62.251.117.91:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gvr.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:3265, ipnet:62.251.0.0/17, country:NL]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 15:35:57 -0000 On Thu, Dec 10, 2020 at 07:27:37AM -0800, Rodney W. Grimes wrote: > > man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - > > exactly what i need. > > man urtwn on my 12.1 system returns an error. > > I think somehow a leading u snuck in here. > I know this driver as the rtwn driver. > > > > > device urtwn in config - doesn't work > > cd /usr/src;find . -iname "urtwn*" - nothing founds > > cd /usr/src/; find . -iname "*rtwn*" > > > Where is that driver for which manual is present? > This driver was present in FreeBSD 11. Perhaps the poster has upgraded his system without removing old files? -Guido From owner-freebsd-hackers@freebsd.org Thu Dec 10 15:37:39 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 47AAE4AEC90 for ; Thu, 10 Dec 2020 15:37:39 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (gvr.gvr.org [62.251.117.91]) (using TLSv1.2 with cipher DHE-RSA-CAMELLIA256-SHA256 (256/256 bits)) (Client CN "gvr.gvr.org", Issuer "Gandi Standard SSL CA 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsJ2V4k4Pz4cC9 for ; Thu, 10 Dec 2020 15:37:38 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (localhost [127.0.0.1]) by gvr.gvr.org (Postfix) with ESMTP id C60CF5629B; Thu, 10 Dec 2020 16:37:37 +0100 (CET) X-Virus-Scanned: amavisd-new at gvr.org Received: from gvr.gvr.org ([127.0.0.1]) by gvr.gvr.org (gvr.gvr.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EQaWbslCXFlA; Thu, 10 Dec 2020 16:37:37 +0100 (CET) Received: by gvr.gvr.org (Postfix, from userid 657) id A9B0C56133; Thu, 10 Dec 2020 16:37:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gvr.org; s=20190204; t=1607614657; bh=0tPQRBTS6Q9PyBlXiMowcLGH+uBRNaF16jxsaDlDEL4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=lxD+VPkEI/wnFC6jfLmgq1iiL89B96mEF3Onl1Iv6+jrU/JSZKhJvb1NXZ3Zpzl2H crqBpFwhuLElwpmx1bMIA25AnqayvmaHMaD59XllV9SMsR+o353+ZXDsqs2A0804nh 3Kl+zslYg/i+RsM3yvELAbfkRtyAo1BWZseUq7FBia8y/2DfOpsk8UFuUYO2Q6EIr2 fura4Kv/PTyCNUx8SxBJMcJgWxJedd/TpEZ1GnIvBAHkeYjB1l1h9ifNhBIH6V8MQz NzfV3efau3DkyXLtUQf5DklTvmvYij9sALpRO+wmFXwFNYyCQTVAFYx7N4mAwQuKuU cGic4MwXwH0bQ== Date: Thu, 10 Dec 2020 16:37:37 +0100 From: Guido van Rooij To: "Rodney W. Grimes" Cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: FreeBSD 12.2-STABLE urtwn Message-ID: References: <202012101527.0BAFRbKF092898@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4CsJ2V4k4Pz4cC9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gvr.org header.s=20190204 header.b=lxD+VPkE; dmarc=none; spf=pass (mx1.freebsd.org: domain of guido@gvr.org designates 62.251.117.91 as permitted sender) smtp.mailfrom=guido@gvr.org X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[62.251.117.91:from]; R_DKIM_ALLOW(-0.20)[gvr.org:s=20190204]; FREEFALL_USER(0.00)[guido]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gvr.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; SPAMHAUS_ZRD(0.00)[62.251.117.91:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gvr.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:3265, ipnet:62.251.0.0/17, country:NL]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 15:37:39 -0000 On Thu, Dec 10, 2020 at 04:35:54PM +0100, Guido van Rooij wrote: > On Thu, Dec 10, 2020 at 07:27:37AM -0800, Rodney W. Grimes wrote: > > > man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - > > > exactly what i need. > > > > man urtwn on my 12.1 system returns an error. > > > > I think somehow a leading u snuck in here. > > I know this driver as the rtwn driver. > > > > > > > > device urtwn in config - doesn't work > > > cd /usr/src;find . -iname "urtwn*" - nothing founds > > > > cd /usr/src/; find . -iname "*rtwn*" > > > > > Where is that driver for which manual is present? > > > > This driver was present in FreeBSD 11. Perhaps the poster has > upgraded his system without removing old files? Indeed: > grep urtwn ObsoleteFiles.inc # 20161017: urtwn(4) was merged into rtwn(4) OLD_FILES+=usr/share/man/man4/urtwn.4.gz OLD_FILES+=usr/share/man/man4/urtwnfw.4.gz -Guido From owner-freebsd-hackers@freebsd.org Thu Dec 10 15:58:59 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7ABF54AF4D7 for ; Thu, 10 Dec 2020 15:58:59 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsJW56zc9z4dGd for ; Thu, 10 Dec 2020 15:58:57 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 0BAFwu1E093111; Thu, 10 Dec 2020 07:58:56 -0800 (PST) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 0BAFwuDG093110; Thu, 10 Dec 2020 07:58:56 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202012101558.0BAFwuDG093110@gndrsh.dnsmgr.net> Subject: Re: FreeBSD 12.2-STABLE urtwn In-Reply-To: To: Guido van Rooij Date: Thu, 10 Dec 2020 07:58:56 -0800 (PST) CC: "Rodney W. Grimes" , Wojciech Puchar , freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4CsJW56zc9z4dGd X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-0.10 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[69.59.192.140:from]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[69.59.192.140:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 15:58:59 -0000 > On Thu, Dec 10, 2020 at 04:35:54PM +0100, Guido van Rooij wrote: > > On Thu, Dec 10, 2020 at 07:27:37AM -0800, Rodney W. Grimes wrote: > > > > man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - > > > > exactly what i need. > > > > > > man urtwn on my 12.1 system returns an error. > > > > > > I think somehow a leading u snuck in here. > > > I know this driver as the rtwn driver. > > > > > > > > > > > device urtwn in config - doesn't work > > > > cd /usr/src;find . -iname "urtwn*" - nothing founds > > > > > > cd /usr/src/; find . -iname "*rtwn*" > > > > > > > Where is that driver for which manual is present? > > > > > > > This driver was present in FreeBSD 11. Perhaps the poster has > > upgraded his system without removing old files? > > Indeed: > > grep urtwn ObsoleteFiles.inc > # 20161017: urtwn(4) was merged into rtwn(4) > OLD_FILES+=usr/share/man/man4/urtwn.4.gz > OLD_FILES+=usr/share/man/man4/urtwnfw.4.gz Good eye! That indeed would do it. I had totally forgotten about this renameing. -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-hackers@freebsd.org Thu Dec 10 17:07:24 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC70B4B09F2 for ; Thu, 10 Dec 2020 17:07:24 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsL241nm3z4jCD for ; Thu, 10 Dec 2020 17:07:23 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 0BAH7NpX070346; Thu, 10 Dec 2020 09:07:35 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) MIME-Version: 1.0 Date: Thu, 10 Dec 2020 09:07:23 -0800 From: Chris To: Wojciech Puchar Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 12.2-STABLE urtwn In-Reply-To: References: User-Agent: UDNSMS/17.0 Message-ID: <9ec0b6063ca37f395da2604aef268cf8@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CsL241nm3z4jCD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 17:07:24 -0000 On 2020-12-10 06:06, Wojciech Puchar wrote: > man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - > exactly > what i need. > > device urtwn in config - doesn't work > cd /usr/src;find . -iname "urtwn*" - nothing founds A grep -rF urtwn /usr/src/ revealed volumes of information related to urtwn :-) HTH > > Where is that driver for which manual is present? --Chris From owner-freebsd-hackers@freebsd.org Thu Dec 10 22:01:36 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 242284BA642 for ; Thu, 10 Dec 2020 22:01:36 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsSYQ31FHz3vCZ for ; Thu, 10 Dec 2020 22:01:28 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.16.1) with ESMTPS id 0BAM1KKk026004 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 10 Dec 2020 23:01:21 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1607637681; bh=d384GIYSjP0/mV2NAnUEuzWwNGWgTv3vOAnkSgXe/bs=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Jk5xLVuSsdkqQ9bBMEOsTH3sIzjRulkO8mX0S36J/lIDGOdFXvsn79c1RraGHKoOB pya75jZ0SEJNeL5IQRMOodBAu/UOsuQn/shT58bk+Y1+iuYRwRB84ONJVXqOXZKW3S wR/NrqhcrtlNDalpVsdoBD1JeJZ8h6BOTMhfOdCg= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.16.1/8.16.1/Submit) with ESMTP id 0BAM1KL2025998; Thu, 10 Dec 2020 23:01:20 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 10 Dec 2020 23:01:19 +0100 (CET) From: Wojciech Puchar To: Yuri Pankov cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: FreeBSD 12.2-STABLE urtwn In-Reply-To: <530ac693-f551-085c-a0d2-8c3545bc5ed9@yuripv.dev> Message-ID: References: <530ac693-f551-085c-a0d2-8c3545bc5ed9@yuripv.dev> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4CsSYQ31FHz3vCZ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=fail (headers rsa verify failed) header.d=puchar.net header.s=default header.b=Jk5xLVuS; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-0.30 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[194.1.144.90:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_NA(0.00)[puchar.net]; SPAMHAUS_ZRD(0.00)[194.1.144.90:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 22:01:36 -0000 On Thu, 10 Dec 2020, Yuri Pankov wrote: > Wojciech Puchar wrote: >> man urtwn - describes driver for RTL8188EUS and other USB WiFi devices - >> exactly what i need. >> >> device urtwn in config - doesn't work >> cd /usr/src;find . -iname "urtwn*" - nothing founds >> >> Where is that driver for which manual is present? > > You forgot to mention the release (?) you are running. > > On -CURRENT (same seems to be true for 12.1- and 12.2-RELEASE as well), there > doesn't seem to be a urtwn man page, but there is rtwn_usb(4) man page, which rtwn_usb works. thank you very much