From nobody Mon May 31 02:16:48 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B01ABBFE991 for ; Mon, 31 May 2021 02:16:54 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) (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 4Ftf7B41V3z4t9y; Mon, 31 May 2021 02:16:54 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf1-x42f.google.com with SMTP id x73so657776pfc.8; Sun, 30 May 2021 19:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:message-id:date:mime-version:user-agent:reply-to:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=2Zf6m9Xdchtx7sEJOOQxdjoOOE5xfeQuMDQYRQmnSdY=; b=OFve8TQrwlBhiedgI3mIz3nW08CL7Gm9ctO1Qrvu4xFfnRntq04xjb+EvefLM+mrsa aB456JxQxZv7tB6ve1eCpilN6HJpJpwqh9s2iqIGZNIDiC4P+HG/Xryi7NVF1DDu//L9 lbkxDp3ZR6bebn6TiQev6Yp2hktIXQa1z9kYxX+zQdihxyNCFZTHqEKR+/GU3DluM1zE FAxZLzQJ3ZPxeBOA3Ib4RIedqeyNMbGKbDwJ5J0z1Mai1uag1ElXkCmsGa5tOaJzG0po pg1Madx1TLYSMNY0eE7XdqRiBFMGroLNi0EoOIerwVD0IwQ0vjg9qUPBtzzfCRYaVdLx SRLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :reply-to:subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=2Zf6m9Xdchtx7sEJOOQxdjoOOE5xfeQuMDQYRQmnSdY=; b=ioC/A22kt1Ei+QEbdPw88DAhz0uYrv7VWcwLXvLw0RcuaYotzUpQNuNWaHXkBB9JLH dxKhZ6romRxwtbpTK35InbqXRQgg5zgBunw+C9rbKvGuwcX3fx9xoBVBcFRmcZPi20qo x+SlfI/m9lY1n9aDkFmJKN0CSgKZ6PVaCdtH+t54iymA0xYc15UayaLGsFjNboVWjYuL Wd/PJkJSHgfpyq170a2wc/iJjom2hHFaGAwyAB9igrQ36JkVN9eqegN1l3h53inz6jTV UDe/faZ98CBldjlxuvqzV4RIATD6qQczTdZZGCx8Ga+U7Z+u1Q1y/pZp9sCz9/sT36hv ZCpw== X-Gm-Message-State: AOAM530wOcXFNgOZlOWVsZYQBNtG4yimAqGBoGI5VSp1JgIEaFW7DzUH /tBlXgTeukcvikVQe5lKFOh0sqWpxo3USw== X-Google-Smtp-Source: ABdhPJzLUYWWcmv53qA1YVUy/4o89fzo+RVWTZZ2oeAbxTIKtzDZNy6bejRm3dSP8AaKEjrodUgo7A== X-Received: by 2002:a62:a517:0:b029:2dc:9daf:5e91 with SMTP id v23-20020a62a5170000b02902dc9daf5e91mr14829907pfm.39.1622427412427; Sun, 30 May 2021 19:16:52 -0700 (PDT) Received: from ?IPV6:2403:5800:7500:3601:7d0d:18fb:cdf3:35cc? (2403-5800-7500-3601-7d0d-18fb-cdf3-35cc.ip6.aussiebb.net. [2403:5800:7500:3601:7d0d:18fb:cdf3:35cc]) by smtp.gmail.com with UTF8SMTPSA id t1sm10073046pgl.40.2021.05.30.19.16.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 30 May 2021 19:16:52 -0700 (PDT) Message-ID: <088c1df0-6d37-b5b8-c194-3f89a79b80c4@FreeBSD.org> Date: Mon, 31 May 2021 12:16:48 +1000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Thunderbird/90.0a1 Reply-To: koobs@FreeBSD.org Subject: Re: Help wanted: volunteer yourselves in .github/CODEOWNERS Content-Language: en-US To: Alan Somers , FreeBSD CURRENT , Adrian Chadd , rrs@freebsd.org, Rick Macklem References: From: Kubilay Kocak In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Ftf7B41V3z4t9y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 31/05/2021 9:13 am, Alan Somers wrote: > Strangers are submitting pull requests to our Github mirror, but we rarely > pay attention. I just added a .github/CODEOWNERS file to our repo to > automatically assign reviewers to PRs. I based it off of the contents of > the current MAINTAINERS file. But it's incomplete. Please add yourself if: > > * You don't have a github account associated with your FreeBSD email > address. I'm talking to you, adrian@, macklem@, and rrs@ . > * You are part of a team, like secteam@ or re@ . You'll have to create the > team at https://github.com/orgs/freebsd/teams then you can add it to the > list. > * You previously signed up for Phabricator notifications with Herald, but > didn't sign up in MAINTAINERS. I can't see everybody's Phabricator > assignments. > * You never signed up in MAINTAINERS before, but you really ought to > because you care deeply about some particular subsystem. > > -Alan > Thanks for this Alan. Bugmeister is (and has been for a while) also keen to finally solve the problem of better getting the right eyes on patches submitted to Bugzilla for particular code areas, which complements other areas of improvements in issue management, such as more and clearer components in Bugzilla for people to use. Ports has an explicit MAINTAINER line we use to automatically auto-assign and CC issues, it would be great to use CODEOWNERS for this, along with appropriate consistently declared MAINTAINER lines in specific component directories and/or Makefiles. I think this is a good time to raise the difficult question/issue of policy/guidelines around code maintainership and responsibilities around that, including: - Having one or more maintainers of tree areas/components - Maintainer review, approval and timeouts - Issue triage/management From nobody Mon May 31 03:42:15 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 43E8CC7B9A1 for ; Mon, 31 May 2021 03:42:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 4Fth1v17qKz3GyF for ; Mon, 31 May 2021 03:42:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82a.google.com with SMTP id a15so7149403qta.0 for ; Sun, 30 May 2021 20:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jTBKpMmiHrVob6GnH+hWSehdqVPzAmIcTvmq5oUtOqo=; b=Qu9GhZTsETrF7oWtUEMecjciZ2cuMLgvUA1LgGaCVMd6gmC1gQmjBU7E737KBamh2u jOcBi4MwnF7PPNYCd88HQ0Ov1zIMmP6rIaZxfCl3WPEydAgNNzjvibBBVN+x0YyXD7pj HuZFoaVXl1j6lIzx8A1MjrxBSfzpT8inWzhTWK+vDN/8fMpSp06FSd1qdS0bqpct5jR/ hQzGQr/RPHQIETlGUnXFdUx3Lgnv2qc8s8HAR/FMhY+ob2IoqjCIRkx+sIiOj2+Z1cAf 2H3wKMEABOnQdVnsgAY/jRnc2JiCmzyRGJfnTGwUMs1oQAs1goz6NMz2XcWJi9tkAtpT FE9Q== 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=jTBKpMmiHrVob6GnH+hWSehdqVPzAmIcTvmq5oUtOqo=; b=JoNkZwG9GGjQEqROtEpOdUa5Ch72R+zBhw7H7VFtSW0V6O5fkAHDGc4pQ+qNIqUhHO 0qM1ZQgA5GxVLe/nMhU5/Mn8dWDeYIkuBbe7DZrYrK3TqSdz3y76H0rIS1DbZDeTc+Sp 5o7JWN9OX4C70mJOHrdRVjP6kd2RRmaBzCTYnERDfDWppM8hiPTgjDBZwMf66CMEu/c8 pRxCiRe2uDhMEy8UsK6Vs77Rajis3JSch5lgcfCcOnrrtcopBhlkcXoKtV9cLf+CNBOh WeZD3ohSkUkPMHzA2QxRSbbAZNVSzL2R4qY9dhMnjWIBrspIdhQAklgOI1ctIfHOmoQV SGlw== X-Gm-Message-State: AOAM53035rbWshiUADz8rOvp1y0FJF99Oax26JGxnrFw+V0C9mJXXX0l iEbag6kWAmYHdwKmQ3lFgDBwWt2dcm/Bac61DT27Ig== X-Google-Smtp-Source: ABdhPJyE8dWd6M1f6BLzgPGnAMrlrdLI1mxNJ+0rwkRvl6AMXa2YKe7+fOz6fZQ0esbVxOScNzthdIPxqUBUMEweL2c= X-Received: by 2002:ac8:7f42:: with SMTP id g2mr13265510qtk.73.1622432546253; Sun, 30 May 2021 20:42:26 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <088c1df0-6d37-b5b8-c194-3f89a79b80c4@FreeBSD.org> In-Reply-To: <088c1df0-6d37-b5b8-c194-3f89a79b80c4@FreeBSD.org> From: Warner Losh Date: Sun, 30 May 2021 21:42:15 -0600 Message-ID: Subject: Re: Help wanted: volunteer yourselves in .github/CODEOWNERS To: Kubilay Kocak Cc: Alan Somers , FreeBSD CURRENT , Adrian Chadd , Randall Stewart , Rick Macklem Content-Type: multipart/alternative; boundary="0000000000009782f505c39803b1" X-Rspamd-Queue-Id: 4Fth1v17qKz3GyF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --0000000000009782f505c39803b1 Content-Type: text/plain; charset="UTF-8" On Sun, May 30, 2021 at 8:17 PM Kubilay Kocak wrote: > On 31/05/2021 9:13 am, Alan Somers wrote: > > Strangers are submitting pull requests to our Github mirror, but we > rarely > > pay attention. I just added a .github/CODEOWNERS file to our repo to > > automatically assign reviewers to PRs. I based it off of the contents of > > the current MAINTAINERS file. But it's incomplete. Please add yourself > if: > > > > * You don't have a github account associated with your FreeBSD email > > address. I'm talking to you, adrian@, macklem@, and rrs@ . > > * You are part of a team, like secteam@ or re@ . You'll have to create > the > > team at https://github.com/orgs/freebsd/teams then you can add it to the > > list. > > * You previously signed up for Phabricator notifications with Herald, but > > didn't sign up in MAINTAINERS. I can't see everybody's Phabricator > > assignments. > > * You never signed up in MAINTAINERS before, but you really ought to > > because you care deeply about some particular subsystem. > > > > -Alan > > > > Thanks for this Alan. > > Bugmeister is (and has been for a while) also keen to finally solve the > problem of better getting the right eyes on patches submitted to > Bugzilla for particular code areas, which complements other areas of > improvements in issue management, such as more and clearer components in > Bugzilla for people to use. > > Ports has an explicit MAINTAINER line we use to automatically > auto-assign and CC issues, it would be great to use CODEOWNERS for this, > along with appropriate consistently declared MAINTAINER lines in > specific component directories and/or Makefiles. > > I think this is a good time to raise the difficult question/issue of > policy/guidelines around code maintainership and responsibilities around > that, including: > > - Having one or more maintainers of tree areas/components > - Maintainer review, approval and timeouts > - Issue triage/management > Before I start, I'd like to note what we do today isn't working. We have a lot of intake points and it's hard to find things for developers. We need to do something different to help tame the chaos. The src tree and the ports tree are somewhat different in terms of all these issues. Some parts of the tree require proper oversight by a small group of experts (regardless of timeout), while other parts of the tree need less oversight. Some parts of the tree you can get a good notion of who should get reports of bugs based on who has made recent changes (though API sweeps can skew the results). Other parts of the tree the changes are far enough in the past to be a poor judge. I suspect that a combination of what we've done in the past, coupled with some shifts with roles as the project modernizes and liberalizes. Whatever we put into place will need to grow with us. Finally, we've had a poor history of maintaining long lists of maintainers, so I suspect we'll need to have some kind of automation involved to keep things fresh enough to be useful. Warner --0000000000009782f505c39803b1-- From nobody Mon May 31 05:25:03 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5E3B8C7FAE4 for ; Mon, 31 May 2021 05:25:06 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 4FtkJL1M3Rz3PZq; Mon, 31 May 2021 05:25:05 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (v-critter.freebsd.dk [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 8AF5689294; Mon, 31 May 2021 05:25:03 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.16.1/8.16.1) with ESMTPS id 14V5P32J047972 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 31 May 2021 05:25:03 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.16.1/8.16.1/Submit) id 14V5P3LN047971; Mon, 31 May 2021 05:25:03 GMT (envelope-from phk) To: Alan Somers cc: FreeBSD CURRENT , Adrian Chadd , rrs@freebsd.org, Rick Macklem Subject: Re: Help wanted: volunteer yourselves in .github/CODEOWNERS In-reply-to: From: "Poul-Henning Kamp" References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <47969.1622438703.1@critter.freebsd.dk> Date: Mon, 31 May 2021 05:25:03 +0000 Message-ID: <47970.1622438703@critter.freebsd.dk> X-Rspamd-Queue-Id: 4FtkJL1M3Rz3PZq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N -------- Alan Somers writes: > Strangers are submitting pull requests to our Github mirror, [...] The are not "strangers". They are enthusiastic FreeBSD users and potential future committers, and should be treated as such! -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From nobody Mon May 31 05:28:08 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 46F04D7915D for ; Mon, 31 May 2021 05:28:10 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FtkMt0lCJz3QkS; Mon, 31 May 2021 05:28:09 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 773B226852; Mon, 31 May 2021 05:28:09 +0000 (UTC) Date: Mon, 31 May 2021 05:28:08 +0000 From: Mark Linimon To: Poul-Henning Kamp Cc: Alan Somers , FreeBSD CURRENT , Adrian Chadd , rrs@freebsd.org, Rick Macklem Subject: Re: Help wanted: volunteer yourselves in .github/CODEOWNERS Message-ID: <20210531052808.GA15506@lonesome.com> References: <47970.1622438703@critter.freebsd.dk> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47970.1622438703@critter.freebsd.dk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 4FtkMt0lCJz3QkS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, May 31, 2021 at 05:25:03AM +0000, Poul-Henning Kamp wrote: > They are enthusiastic FreeBSD users and potential future committers, > and should be treated as such! The same goes for non-committers and phabricator, IMHO. mcl From nobody Mon May 31 14:09:18 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6643CC7E33F for ; Mon, 31 May 2021 14:09:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FtxxQ2S5Tz3C7X; Mon, 31 May 2021 14:09:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 061DDF157; Mon, 31 May 2021 14:09:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (unknown [IPv6:2001:470:7a58:0:65d3:dfba:f1bc:9672]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D6A6249AF9; Mon, 31 May 2021 16:09:27 +0200 (CEST) From: Dimitry Andric Content-Type: multipart/signed; boundary="Apple-Mail=_6A6D3FD3-DE95-479E-84F0-A77F55B44979"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Panics in recent NFS server Message-Id: Date: Mon, 31 May 2021 16:09:18 +0200 Cc: Rick Macklem To: FreeBSD Current X-Mailer: Apple Mail (2.3654.100.0.2.22) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_6A6D3FD3-DE95-479E-84F0-A77F55B44979 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, I recently upgraded a -CURRENT NFS server from 2021-05-12 to today = (2021-05-31), and when the first NFS client attempted to connect, I got = this panic: panic: lookup: expected nul at 0xfffff800104b3002; string [dim] cpuid =3D 0 time =3D 1622463863 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xfffffe00747e89b0 vpanic() at vpanic+0x187/frame 0xfffffe00747e8a10 panic() at panic+0x43/frame 0xfffffe00747e8a70 lookup() at lookup+0xad2/frame 0xfffffe00747e8b10 nfsvno_namei() at nfsvno_namei+0x1a4/frame 0xfffffe00747e8bc0 nfsrvd_lookup() at nfsrvd_lookup+0x191/frame 0xfffffe00747e8eb0 nfsrvd_dorpc() at nfsrvd_dorpc+0xfab/frame 0xfffffe00747e90c0 nfssvc_program() at nfssvc_program+0x604/frame 0xfffffe00747e92a0 svc_run_internal() at svc_run_internal+0xa72/frame 0xfffffe00747e93d0 svc_run() at svc_run+0x250/frame 0xfffffe00747e9430 nfsrvd_nfsd() at nfsrvd_nfsd+0x33c/frame 0xfffffe00747e9590 nfssvc_nfsd() at nfssvc_nfsd+0x473/frame 0xfffffe00747e9aa0 sys_nfssvc() at sys_nfssvc+0xc7/frame 0xfffffe00747e9ac0 amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00747e9bf0 fast_syscall_common() at fast_syscall_common+0xf8/frame = 0xfffffe00747e9bf0 --- syscall (155, FreeBSD ELF64, sys_nfssvc), rip =3D 0x8011aa59a, rsp =3D= 0x7fffffffe4e8, rbp =3D 0x7fffffffe780 --- KDB: enter: panic __curthread () at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" = (offsetof(struct pcpu, (kgdb) #0 __curthread () at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3Dtextdump@entry=3D0) at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:399 #2 0xffffffff804cca5a in db_dump (dummy=3D, dummy2=3D, dummy3=3D, = dummy4=3D) at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:575 #3 0xffffffff804cc912 in db_command (last_cmdp=3D, cmd_table=3D, dopager=3Ddopager@entry=3D1) at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:482 #4 0xffffffff804cc58d in db_command_loop () at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:535 #5 0xffffffff804cfd06 in db_trap (type=3D, = code=3D) at /share/dim/src/freebsd/src-dim/sys/ddb/db_main.c:270 #6 0xffffffff80c69f17 in kdb_trap (type=3Dtype@entry=3D3, = code=3Dcode@entry=3D0, tf=3Dtf@entry=3D0xfffffe00747e88e0) at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:727 #7 0xffffffff810d7aee in trap (frame=3D0xfffffe00747e88e0) at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:576 #8 #9 kdb_enter (why=3D0xffffffff812d3d27 "panic", msg=3D) at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:506 #10 0xffffffff80c1d248 in vpanic ( fmt=3D0xffffffff8129dfef "%s: expected nul at %p; string [%s]\n", ap=3D, ap@entry=3D0xfffffe00747e8a50) at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:907 #11 0xffffffff80c1cfd3 in panic ( fmt=3D0xffffffff81e9b9c8 "=3D\t)\201\377\377\377\377") at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:843 #12 0xffffffff80cfa992 in lookup (ndp=3Dndp@entry=3D0xfffffe00747e8d90) at /share/dim/src/freebsd/src-dim/sys/kern/vfs_lookup.c:919 #13 0xffffffff80b33f84 in nfsvno_namei (nd=3Dnd@entry=3D0xfffffe00747e9100= , ndp=3Dndp@entry=3D0xfffffe00747e8d90, dp=3D, dp@entry=3D0xfffff80010544380, islocked=3D, = islocked@entry=3D0, exp=3Dexp@entry=3D0xfffffe00747e8fd8, p=3Dp@entry=3D0xfffffe00bbfa3000= , retdirp=3D0xfffffe00747e8e78) at = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:597 #14 0xffffffff80b266a1 in nfsrvd_lookup (nd=3D0xfffffe00747e9100, isdgram=3D, dp=3D0xfffff80010544380, = vpp=3D0xfffffe00747e9010, fhp=3D0xfffffe00747e9074, exp=3D0xfffffe00747e8fd8) at = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdserv.c:607 #15 0xffffffff80b1073b in nfsrvd_compound (nd=3D0xfffffe00747e9100, = isdgram=3D0, tag=3D0xf , taglen=3D6, minorvers=3D4294967294) at = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:1098 #16 nfsrvd_dorpc (nd=3Dnd@entry=3D0xfffffe00747e9100, = isdgram=3Disdgram@entry=3D0, tag=3D0xf , taglen=3D6, minorvers=3D4294967294) at = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:626 #17 0xffffffff80b24c44 in nfs_proc (nd=3D0xfffffe00747e9100, xid=3D, xprt=3D0xfffff80003a14e00, rpp=3D) at = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:402 #18 nfssvc_program (rqst=3D0xfffff80010455800, xprt=3D0xfffff80003a14e00) at = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:288 #19 0xffffffff80edead2 in svc_executereq (rqstp=3D0xfffff80010455800) at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1037 #20 svc_run_internal (grp=3D, = grp@entry=3D0xfffff800100e6100, ismaster=3Dismaster@entry=3D1) at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1313 #21 0xffffffff80eddf80 in svc_run (pool=3D) at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1392 #22 0xffffffff80b251ec in nfsrvd_nfsd (td=3D, td@entry=3D0xfffffe00bbfa3000, args=3Dargs@entry=3D0xfffffe00747e9660)= at = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:561 #23 0xffffffff80b3ec93 in nfssvc_nfsd (td=3D0xfffffe00bbfa3000, uap=3D) at = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:3714 #24 0xffffffff80e6f647 in sys_nfssvc (td=3D0xfffffe00bbfa3000, uap=3D0xfffffe00bbfa33e8) at /share/dim/src/freebsd/src-dim/sys/nfs/nfs_nfssvc.c:111 #25 0xffffffff810d891e in syscallenter (td=3D) at = /share/dim/src/freebsd/src-dim/sys/amd64/amd64/../../kern/subr_syscall.c:1= 89 #26 amd64_syscall (td=3D0xfffffe00bbfa3000, traced=3D0) at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:1156 #27 #28 0x00000008011aa59a in ?? () Is anybody seeing this too? :) I can probably bisect, but it'll take quite a while. -Dimitry --Apple-Mail=_6A6D3FD3-DE95-479E-84F0-A77F55B44979 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYLTuDgAKCRCwXqMKLiCW o30RAKCACOZxyQ8GioFJKfWMWVY4laV+GwCdGr+21OPXWp6QxVsmtps8KkiOlM0= =ft5j -----END PGP SIGNATURE----- --Apple-Mail=_6A6D3FD3-DE95-479E-84F0-A77F55B44979-- From nobody Mon May 31 14:42:17 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D287CD798F2 for ; Mon, 31 May 2021 14:42:19 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450: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 4FtygH5T3Vz3HSS; Mon, 31 May 2021 14:42:19 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-lf1-x12c.google.com with SMTP id r5so17186300lfr.5; Mon, 31 May 2021 07:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sUo3KFWtLSB6XAkh0/g1GwCuUrSHNTTCVXUewOXyzhA=; b=jIbWwmLm9JMrdxCgNZXPduiPS/X/iu5Aem+24rLfXQgjioJ/lRGlbSPnXG2o3CQ/8B Lw6HkJfkcL87AVi0D6Saw4aZkQe8K6D+iTDNTXn6DJpxNTUrJzgxNWvpFsxvvhgWufvr 7mmj1eJ86uc0Sfjw+hpZmu+Xg+lJ2dDzC5xK5VToJUy3Bv5mcBs6a/VAAxJLdrpi4G5l JRlDNy81rFrxDWbVUs+oRDynNjvBAPMIQH0UofutE2+mZq5RRVa+Cr07xG1/MgXF0Dm0 cnz/W8IFE9YOeSHdvWip61vwqL1MxoIIvyd2LUytfllF63UWI592AJD6aJ1Bf5cRWxXe 3ihw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sUo3KFWtLSB6XAkh0/g1GwCuUrSHNTTCVXUewOXyzhA=; b=otpa33+lxcxTWVXFatqOaj70yNh844zZkNpG+4luFWDIpTW8FpGQ0vI5Qh+VIvuvLO Eo1svGhSqLIuImo/CpoPNN6L5MPEw93pOfgdNvo4ARp3GX6faZBKrUZXnw2bPMLDWd4Q oszKt8tryW9RvrZo39dNZP19yxtSrbltVPVcePMjJMSQdHN7JozsOpDysLKD99Dm/mQU eiyok89VHfU3rOWqD77AegZj7a4n0r8mhTxA3kIxXcW2qEXOLpC9vnRYqQ9VVfVZQLXZ dKtWBPaQ6oUnCkVjeea3a3/BBQGHCp6SAbPEl0/Gd1P+EcGBGrsqGFeGNt0DMmQOyMBU Ei3A== X-Gm-Message-State: AOAM532isieXqyGJ+u7A5f+PSToSlSUKGMvDX5vvO7n+YjNiVvWHaSBl cuah1n2XUZU428PWrYZABV2M8fviBvxVbdEHisCrZyVi X-Google-Smtp-Source: ABdhPJzK04J6wRYRLFB4hRPUeNbuen3EbNfIWUbygAOP1FU/YomL3N7i1VQtuPmIzCM6nndd9WZimzCb96loO2QQbNY= X-Received: by 2002:ac2:53ae:: with SMTP id j14mr4011305lfh.296.1622472137757; Mon, 31 May 2021 07:42:17 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Received: by 2002:a2e:98c4:0:0:0:0:0 with HTTP; Mon, 31 May 2021 07:42:17 -0700 (PDT) In-Reply-To: References: From: Mateusz Guzik Date: Mon, 31 May 2021 16:42:17 +0200 Message-ID: Subject: Re: Panics in recent NFS server To: Dimitry Andric Cc: FreeBSD Current , Rick Macklem Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4FtygH5T3Vz3HSS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N It's probably my commit d81aefa8b7dd8cbeffeda541fca9962802404983 , I'll look at this later. On 5/31/21, Dimitry Andric wrote: > Hi, > > I recently upgraded a -CURRENT NFS server from 2021-05-12 to today > (2021-05-31), and when the first NFS client attempted to connect, I got this > panic: > > panic: lookup: expected nul at 0xfffff800104b3002; string [dim] > > cpuid = 0 > time = 1622463863 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe00747e89b0 > vpanic() at vpanic+0x187/frame 0xfffffe00747e8a10 > panic() at panic+0x43/frame 0xfffffe00747e8a70 > lookup() at lookup+0xad2/frame 0xfffffe00747e8b10 > nfsvno_namei() at nfsvno_namei+0x1a4/frame 0xfffffe00747e8bc0 > nfsrvd_lookup() at nfsrvd_lookup+0x191/frame 0xfffffe00747e8eb0 > nfsrvd_dorpc() at nfsrvd_dorpc+0xfab/frame 0xfffffe00747e90c0 > nfssvc_program() at nfssvc_program+0x604/frame 0xfffffe00747e92a0 > svc_run_internal() at svc_run_internal+0xa72/frame 0xfffffe00747e93d0 > svc_run() at svc_run+0x250/frame 0xfffffe00747e9430 > nfsrvd_nfsd() at nfsrvd_nfsd+0x33c/frame 0xfffffe00747e9590 > nfssvc_nfsd() at nfssvc_nfsd+0x473/frame 0xfffffe00747e9aa0 > sys_nfssvc() at sys_nfssvc+0xc7/frame 0xfffffe00747e9ac0 > amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00747e9bf0 > fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00747e9bf0 > --- syscall (155, FreeBSD ELF64, sys_nfssvc), rip = 0x8011aa59a, rsp = > 0x7fffffffe4e8, rbp = 0x7fffffffe780 --- > KDB: enter: panic > > __curthread () > at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 > 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, > (kgdb) #0 __curthread () > at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 > #1 doadump (textdump=textdump@entry=0) > at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:399 > #2 0xffffffff804cca5a in db_dump (dummy=, > dummy2=, dummy3=, dummy4=) > at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:575 > #3 0xffffffff804cc912 in db_command (last_cmdp=, > cmd_table=, dopager=dopager@entry=1) > at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:482 > #4 0xffffffff804cc58d in db_command_loop () > at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:535 > #5 0xffffffff804cfd06 in db_trap (type=, code= out>) > at /share/dim/src/freebsd/src-dim/sys/ddb/db_main.c:270 > #6 0xffffffff80c69f17 in kdb_trap (type=type@entry=3, code=code@entry=0, > tf=tf@entry=0xfffffe00747e88e0) > at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:727 > #7 0xffffffff810d7aee in trap (frame=0xfffffe00747e88e0) > at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:576 > #8 > #9 kdb_enter (why=0xffffffff812d3d27 "panic", msg=) > at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:506 > #10 0xffffffff80c1d248 in vpanic ( > fmt=0xffffffff8129dfef "%s: expected nul at %p; string [%s]\n", > ap=, ap@entry=0xfffffe00747e8a50) > at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:907 > #11 0xffffffff80c1cfd3 in panic ( > fmt=0xffffffff81e9b9c8 "=\t)\201\377\377\377\377") > at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:843 > #12 0xffffffff80cfa992 in lookup (ndp=ndp@entry=0xfffffe00747e8d90) > at /share/dim/src/freebsd/src-dim/sys/kern/vfs_lookup.c:919 > #13 0xffffffff80b33f84 in nfsvno_namei (nd=nd@entry=0xfffffe00747e9100, > ndp=ndp@entry=0xfffffe00747e8d90, dp=, > dp@entry=0xfffff80010544380, islocked=, > islocked@entry=0, > exp=exp@entry=0xfffffe00747e8fd8, p=p@entry=0xfffffe00bbfa3000, > retdirp=0xfffffe00747e8e78) > at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:597 > #14 0xffffffff80b266a1 in nfsrvd_lookup (nd=0xfffffe00747e9100, > isdgram=, dp=0xfffff80010544380, vpp=0xfffffe00747e9010, > fhp=0xfffffe00747e9074, exp=0xfffffe00747e8fd8) > at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdserv.c:607 > #15 0xffffffff80b1073b in nfsrvd_compound (nd=0xfffffe00747e9100, > isdgram=0, > tag=0xf , taglen=6, > minorvers=4294967294) > at > /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:1098 > #16 nfsrvd_dorpc (nd=nd@entry=0xfffffe00747e9100, isdgram=isdgram@entry=0, > tag=0xf , taglen=6, > minorvers=4294967294) > at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:626 > #17 0xffffffff80b24c44 in nfs_proc (nd=0xfffffe00747e9100, > xid=, xprt=0xfffff80003a14e00, rpp=) > at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:402 > #18 nfssvc_program (rqst=0xfffff80010455800, xprt=0xfffff80003a14e00) > at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:288 > #19 0xffffffff80edead2 in svc_executereq (rqstp=0xfffff80010455800) > at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1037 > #20 svc_run_internal (grp=, grp@entry=0xfffff800100e6100, > ismaster=ismaster@entry=1) > at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1313 > #21 0xffffffff80eddf80 in svc_run (pool=) > at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1392 > #22 0xffffffff80b251ec in nfsrvd_nfsd (td=, > td@entry=0xfffffe00bbfa3000, args=args@entry=0xfffffe00747e9660) > at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:561 > #23 0xffffffff80b3ec93 in nfssvc_nfsd (td=0xfffffe00bbfa3000, > uap=) > at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:3714 > #24 0xffffffff80e6f647 in sys_nfssvc (td=0xfffffe00bbfa3000, > uap=0xfffffe00bbfa33e8) > at /share/dim/src/freebsd/src-dim/sys/nfs/nfs_nfssvc.c:111 > #25 0xffffffff810d891e in syscallenter (td=) > at > /share/dim/src/freebsd/src-dim/sys/amd64/amd64/../../kern/subr_syscall.c:189 > #26 amd64_syscall (td=0xfffffe00bbfa3000, traced=0) > at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:1156 > #27 > #28 0x00000008011aa59a in ?? () > > Is anybody seeing this too? :) > > I can probably bisect, but it'll take quite a while. > > -Dimitry > > -- Mateusz Guzik From nobody Mon May 31 14:46:25 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F0B91D7AC14 for ; Mon, 31 May 2021 14:46:28 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 4Ftym41qv0z3Jrq; Mon, 31 May 2021 14:46:28 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-lf1-x130.google.com with SMTP id j10so17154869lfb.12; Mon, 31 May 2021 07:46:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dFin8jdXmSk3anxzUzM3A87VSEUsMEIO+vvobdAoyB8=; b=R5IPwgvrxiG/fP8ivWk71Dz0ugLFkeBrlfhNoQwf9jehB6uPhJ//4bQHLB7RvK4pRk Q013hb8OxOMAsz/5R2yVPYjcEy8SrlHeA1tsQ3rEtJ4u7PeopBBTvC+KPqyfPBSmHzdO ASo7wePO9jTXfbbFqMD5ekZeIYHFIxoEgkl4IdbSA7EdgWRZE2vFjnKnCfTKZddFhVsL HF5/ihb4df0QGG9JOcp7p6gVtDj79rSFwkanXyHC+bO1r7qstmEj4zJdtuK+t8n5FwHx df5iBP5nYB04c12GaBhD3EomQqWgZHK+Ms6VomSHyW6vGLwD52Ak2pdwKpgONjl1NawW E/0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dFin8jdXmSk3anxzUzM3A87VSEUsMEIO+vvobdAoyB8=; b=PAcNazf5v1S1HaS6oMidOJtZ2G1k+Wm1jW3kcy/wLiZG22VCYYfE1xV9/GuL+BBn/1 safo89tVVHd7CCH9fD1ZIeCVp8PR36rThufSE9v631EToPUz/TjLRZxd7K4ubSlPCvOL 8EZqDOvVZBP79DkW/v3mppyc78BikcAm+AKFZI8RDRRLM3AnjvU5+OhqmYawmAluIaCo TVRBdqtnVec1eHyWkMPvQnHfGYXo4LM2jjO8xb0jfO88Eo2rkg/crFEFZkowgIHkLUqS +fECef4j4cQEmLDKaCyfd1ngIqC7MIaQRaVM9G0W6MIY/QlAAH1fiGIy0YMV66P66bls Aryg== X-Gm-Message-State: AOAM531ReDV8/l1m5vFlAbdZWjgcRcyfQtK+1Ln/7pL6YvMfl441H1Mg 0XL5Iv1BGj1X3UTPBUjYd4I+OOKL9bOMimnoj+oB8Qd4 X-Google-Smtp-Source: ABdhPJw/qTjxtvL5Vua+dWlO6Ka//JeTlmSwL53Js1GDCa0ndXMi4W78hhKXr/YdR+On8fnTTD6CHAhslskJmQQr0qc= X-Received: by 2002:a19:da12:: with SMTP id r18mr12181845lfg.549.1622472386556; Mon, 31 May 2021 07:46:26 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Received: by 2002:a2e:98c4:0:0:0:0:0 with HTTP; Mon, 31 May 2021 07:46:25 -0700 (PDT) In-Reply-To: References: From: Mateusz Guzik Date: Mon, 31 May 2021 16:46:25 +0200 Message-ID: Subject: Re: Panics in recent NFS server To: Dimitry Andric Cc: FreeBSD Current , Rick Macklem Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Ftym41qv0z3Jrq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=R5IPwgvr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mjguzik@gmail.com designates 2a00:1450:4864:20::130 as permitted sender) smtp.mailfrom=mjguzik@gmail.com X-Spamd-Result: default: False [-2.11 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::130:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.89)[0.886]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::130:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::130:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 5/31/21, Mateusz Guzik wrote: > It's probably my commit d81aefa8b7dd8cbeffeda541fca9962802404983 , > I'll look at this later. Well let me rephrase. While the panic was added in said commit, I suspect the bug is on nfs side -- it has its own namei variant which I suspect is managing ni_pathlen in a manner different than the original, it just happens to not panic on kernels prior to the above change. > > On 5/31/21, Dimitry Andric wrote: >> Hi, >> >> I recently upgraded a -CURRENT NFS server from 2021-05-12 to today >> (2021-05-31), and when the first NFS client attempted to connect, I got >> this >> panic: >> >> panic: lookup: expected nul at 0xfffff800104b3002; string [dim] >> >> cpuid = 0 >> time = 1622463863 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >> 0xfffffe00747e89b0 >> vpanic() at vpanic+0x187/frame 0xfffffe00747e8a10 >> panic() at panic+0x43/frame 0xfffffe00747e8a70 >> lookup() at lookup+0xad2/frame 0xfffffe00747e8b10 >> nfsvno_namei() at nfsvno_namei+0x1a4/frame 0xfffffe00747e8bc0 >> nfsrvd_lookup() at nfsrvd_lookup+0x191/frame 0xfffffe00747e8eb0 >> nfsrvd_dorpc() at nfsrvd_dorpc+0xfab/frame 0xfffffe00747e90c0 >> nfssvc_program() at nfssvc_program+0x604/frame 0xfffffe00747e92a0 >> svc_run_internal() at svc_run_internal+0xa72/frame 0xfffffe00747e93d0 >> svc_run() at svc_run+0x250/frame 0xfffffe00747e9430 >> nfsrvd_nfsd() at nfsrvd_nfsd+0x33c/frame 0xfffffe00747e9590 >> nfssvc_nfsd() at nfssvc_nfsd+0x473/frame 0xfffffe00747e9aa0 >> sys_nfssvc() at sys_nfssvc+0xc7/frame 0xfffffe00747e9ac0 >> amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00747e9bf0 >> fast_syscall_common() at fast_syscall_common+0xf8/frame >> 0xfffffe00747e9bf0 >> --- syscall (155, FreeBSD ELF64, sys_nfssvc), rip = 0x8011aa59a, rsp = >> 0x7fffffffe4e8, rbp = 0x7fffffffe780 --- >> KDB: enter: panic >> >> __curthread () >> at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 >> 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, >> (kgdb) #0 __curthread () >> at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 >> #1 doadump (textdump=textdump@entry=0) >> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:399 >> #2 0xffffffff804cca5a in db_dump (dummy=, >> dummy2=, dummy3=, dummy4=) >> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:575 >> #3 0xffffffff804cc912 in db_command (last_cmdp=, >> cmd_table=, dopager=dopager@entry=1) >> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:482 >> #4 0xffffffff804cc58d in db_command_loop () >> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:535 >> #5 0xffffffff804cfd06 in db_trap (type=, code=> out>) >> at /share/dim/src/freebsd/src-dim/sys/ddb/db_main.c:270 >> #6 0xffffffff80c69f17 in kdb_trap (type=type@entry=3, code=code@entry=0, >> tf=tf@entry=0xfffffe00747e88e0) >> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:727 >> #7 0xffffffff810d7aee in trap (frame=0xfffffe00747e88e0) >> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:576 >> #8 >> #9 kdb_enter (why=0xffffffff812d3d27 "panic", msg=) >> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:506 >> #10 0xffffffff80c1d248 in vpanic ( >> fmt=0xffffffff8129dfef "%s: expected nul at %p; string [%s]\n", >> ap=, ap@entry=0xfffffe00747e8a50) >> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:907 >> #11 0xffffffff80c1cfd3 in panic ( >> fmt=0xffffffff81e9b9c8 "=\t)\201\377\377\377\377") >> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:843 >> #12 0xffffffff80cfa992 in lookup (ndp=ndp@entry=0xfffffe00747e8d90) >> at /share/dim/src/freebsd/src-dim/sys/kern/vfs_lookup.c:919 >> #13 0xffffffff80b33f84 in nfsvno_namei (nd=nd@entry=0xfffffe00747e9100, >> ndp=ndp@entry=0xfffffe00747e8d90, dp=, >> dp@entry=0xfffff80010544380, islocked=, >> islocked@entry=0, >> exp=exp@entry=0xfffffe00747e8fd8, p=p@entry=0xfffffe00bbfa3000, >> retdirp=0xfffffe00747e8e78) >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:597 >> #14 0xffffffff80b266a1 in nfsrvd_lookup (nd=0xfffffe00747e9100, >> isdgram=, dp=0xfffff80010544380, >> vpp=0xfffffe00747e9010, >> fhp=0xfffffe00747e9074, exp=0xfffffe00747e8fd8) >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdserv.c:607 >> #15 0xffffffff80b1073b in nfsrvd_compound (nd=0xfffffe00747e9100, >> isdgram=0, >> tag=0xf , taglen=6, >> minorvers=4294967294) >> at >> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:1098 >> #16 nfsrvd_dorpc (nd=nd@entry=0xfffffe00747e9100, >> isdgram=isdgram@entry=0, >> tag=0xf , taglen=6, >> minorvers=4294967294) >> at >> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:626 >> #17 0xffffffff80b24c44 in nfs_proc (nd=0xfffffe00747e9100, >> xid=, xprt=0xfffff80003a14e00, rpp=) >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:402 >> #18 nfssvc_program (rqst=0xfffff80010455800, xprt=0xfffff80003a14e00) >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:288 >> #19 0xffffffff80edead2 in svc_executereq (rqstp=0xfffff80010455800) >> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1037 >> #20 svc_run_internal (grp=, grp@entry=0xfffff800100e6100, >> ismaster=ismaster@entry=1) >> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1313 >> #21 0xffffffff80eddf80 in svc_run (pool=) >> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1392 >> #22 0xffffffff80b251ec in nfsrvd_nfsd (td=, >> td@entry=0xfffffe00bbfa3000, args=args@entry=0xfffffe00747e9660) >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:561 >> #23 0xffffffff80b3ec93 in nfssvc_nfsd (td=0xfffffe00bbfa3000, >> uap=) >> at >> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:3714 >> #24 0xffffffff80e6f647 in sys_nfssvc (td=0xfffffe00bbfa3000, >> uap=0xfffffe00bbfa33e8) >> at /share/dim/src/freebsd/src-dim/sys/nfs/nfs_nfssvc.c:111 >> #25 0xffffffff810d891e in syscallenter (td=) >> at >> /share/dim/src/freebsd/src-dim/sys/amd64/amd64/../../kern/subr_syscall.c:189 >> #26 amd64_syscall (td=0xfffffe00bbfa3000, traced=0) >> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:1156 >> #27 >> #28 0x00000008011aa59a in ?? () >> >> Is anybody seeing this too? :) >> >> I can probably bisect, but it'll take quite a while. >> >> -Dimitry >> >> > > > -- > Mateusz Guzik > -- Mateusz Guzik From nobody Mon May 31 15:03:57 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 82211D7D018 for ; Mon, 31 May 2021 15:04:02 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 4Ftz8K5Rdjz3MMH; Mon, 31 May 2021 15:04:01 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-lf1-x12a.google.com with SMTP id v8so17265870lft.8; Mon, 31 May 2021 08:04:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9PkwFDHZgJIrvPQxk61XtnspkP7e3abDlwrNNdagjUw=; b=rBjVwZvc5tVs7b45RoqPd8VI2TG6t0+GGdwH+tC8IxPEhepNpO+OVaNIWD0CirQAS3 DOy1guf+DfeOZH6uMlcsCWydhKwJdUrgmzAF1j996eeiuY1SSwfoEPMCKB32YsgvnFoG gJhl6cdRGnYZQH686T9cssNhkJMmY0lPN0Cqrr1evZIHsZzagOU2wAPHIsOuJvrA/jNq msxBc6sD/FlxiRTmxkS75Jj28WfwZ6svnKNUP8yfzjo7ohxlo/+zyTfuZV9dwfFwlmhx yEW4J5w549PfrogJk/Y9NSlYC9paKdptdbjdlDmGW29g69+SsrywTkLCTjI+n8/HGg5+ FKYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9PkwFDHZgJIrvPQxk61XtnspkP7e3abDlwrNNdagjUw=; b=UK4jeMX3Iv5/9EsNEHgjXV2GFTpfs74WKX7Au8m1FciWKv1jJEc/baCLXHUviix8Da 0NWsnTmm/5onzLjRHmsREgi1HN+a5/SOe6fDUeGx+wg28pd/X5LxVz/JxBIFrR/ArMyZ SsX77JyL4ZJVw3jFu/umKDmtcXAwBkNWN7IGfRIUjX/q55xER+m0jZcuwARBZM0vrFQp GbGBJw1KekSbAX/SbVcerMLNgBeAghWTEmKA7QaHkqSM8Fqa7Ts+USIutoTFZG1ta2oj 1pBREF9jo+z5gKlgwtyvun0pthbHpCgKWsoC0H8uhTfDPq3KUvEG4Q7fFw7kxACaa46l ayfA== X-Gm-Message-State: AOAM530taRKHqqqRxTuDYdvaybSkFqvWBoOoVNXIbJg3Mx3S3rXq0dDT CWr6pz08ez9gGKWhtwBNN4bVimopXIL1Vb3LepMEc+s6 X-Google-Smtp-Source: ABdhPJxU+aYuEqs2EvQ1cwonD5XDu3P9T2faXNIQX7L/PZGOO8/QSt0P4s0oAMesfIZZIwFHZkDqFDD9/ts5mRVpKzU= X-Received: by 2002:a19:da12:: with SMTP id r18mr12224050lfg.549.1622473438100; Mon, 31 May 2021 08:03:58 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Received: by 2002:a2e:98c4:0:0:0:0:0 with HTTP; Mon, 31 May 2021 08:03:57 -0700 (PDT) In-Reply-To: References: From: Mateusz Guzik Date: Mon, 31 May 2021 17:03:57 +0200 Message-ID: Subject: Re: Panics in recent NFS server To: Dimitry Andric Cc: FreeBSD Current , Rick Macklem Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Ftz8K5Rdjz3MMH X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=rBjVwZvc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mjguzik@gmail.com designates 2a00:1450:4864:20::12a as permitted sender) smtp.mailfrom=mjguzik@gmail.com X-Spamd-Result: default: False [-2.12 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::12a:from]; NEURAL_SPAM_SHORT(0.88)[0.885]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::12a:from:127.0.2.255]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12a:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N I reproduced the panic, things work for me with the patch below. However, there may be more to it so I'm going to ask Rick to weigh in. but short version is that length returned by nfsrv_parsename is off by one compared to copyinstr. diff --git a/sys/fs/nfsserver/nfs_nfsdsubs.c b/sys/fs/nfsserver/nfs_nfsdsubs.c index 2b6e17752544..8c7db36bbd05 100644 --- a/sys/fs/nfsserver/nfs_nfsdsubs.c +++ b/sys/fs/nfsserver/nfs_nfsdsubs.c @@ -2065,7 +2065,7 @@ nfsrv_parsename(struct nfsrv_descript *nd, char *bufp, u_long *hashp, } } *tocp = '\0'; - *outlenp = (size_t)outlen; + *outlenp = (size_t)outlen + 1; if (hashp != NULL) *hashp = hash; nfsmout: On 5/31/21, Mateusz Guzik wrote: > On 5/31/21, Mateusz Guzik wrote: >> It's probably my commit d81aefa8b7dd8cbeffeda541fca9962802404983 , >> I'll look at this later. > > Well let me rephrase. While the panic was added in said commit, I > suspect the bug is on nfs side -- it has its own namei variant which I > suspect is managing ni_pathlen in a manner different than the > original, it just happens to not panic on kernels prior to the above > change. > >> >> On 5/31/21, Dimitry Andric wrote: >>> Hi, >>> >>> I recently upgraded a -CURRENT NFS server from 2021-05-12 to today >>> (2021-05-31), and when the first NFS client attempted to connect, I got >>> this >>> panic: >>> >>> panic: lookup: expected nul at 0xfffff800104b3002; string [dim] >>> >>> cpuid = 0 >>> time = 1622463863 >>> KDB: stack backtrace: >>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >>> 0xfffffe00747e89b0 >>> vpanic() at vpanic+0x187/frame 0xfffffe00747e8a10 >>> panic() at panic+0x43/frame 0xfffffe00747e8a70 >>> lookup() at lookup+0xad2/frame 0xfffffe00747e8b10 >>> nfsvno_namei() at nfsvno_namei+0x1a4/frame 0xfffffe00747e8bc0 >>> nfsrvd_lookup() at nfsrvd_lookup+0x191/frame 0xfffffe00747e8eb0 >>> nfsrvd_dorpc() at nfsrvd_dorpc+0xfab/frame 0xfffffe00747e90c0 >>> nfssvc_program() at nfssvc_program+0x604/frame 0xfffffe00747e92a0 >>> svc_run_internal() at svc_run_internal+0xa72/frame 0xfffffe00747e93d0 >>> svc_run() at svc_run+0x250/frame 0xfffffe00747e9430 >>> nfsrvd_nfsd() at nfsrvd_nfsd+0x33c/frame 0xfffffe00747e9590 >>> nfssvc_nfsd() at nfssvc_nfsd+0x473/frame 0xfffffe00747e9aa0 >>> sys_nfssvc() at sys_nfssvc+0xc7/frame 0xfffffe00747e9ac0 >>> amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00747e9bf0 >>> fast_syscall_common() at fast_syscall_common+0xf8/frame >>> 0xfffffe00747e9bf0 >>> --- syscall (155, FreeBSD ELF64, sys_nfssvc), rip = 0x8011aa59a, rsp = >>> 0x7fffffffe4e8, rbp = 0x7fffffffe780 --- >>> KDB: enter: panic >>> >>> __curthread () >>> at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 >>> 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, >>> (kgdb) #0 __curthread () >>> at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 >>> #1 doadump (textdump=textdump@entry=0) >>> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:399 >>> #2 0xffffffff804cca5a in db_dump (dummy=, >>> dummy2=, dummy3=, dummy4=) >>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:575 >>> #3 0xffffffff804cc912 in db_command (last_cmdp=, >>> cmd_table=, dopager=dopager@entry=1) >>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:482 >>> #4 0xffffffff804cc58d in db_command_loop () >>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:535 >>> #5 0xffffffff804cfd06 in db_trap (type=, code=>> out>) >>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_main.c:270 >>> #6 0xffffffff80c69f17 in kdb_trap (type=type@entry=3, >>> code=code@entry=0, >>> tf=tf@entry=0xfffffe00747e88e0) >>> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:727 >>> #7 0xffffffff810d7aee in trap (frame=0xfffffe00747e88e0) >>> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:576 >>> #8 >>> #9 kdb_enter (why=0xffffffff812d3d27 "panic", msg=) >>> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:506 >>> #10 0xffffffff80c1d248 in vpanic ( >>> fmt=0xffffffff8129dfef "%s: expected nul at %p; string [%s]\n", >>> ap=, ap@entry=0xfffffe00747e8a50) >>> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:907 >>> #11 0xffffffff80c1cfd3 in panic ( >>> fmt=0xffffffff81e9b9c8 "=\t)\201\377\377\377\377") >>> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:843 >>> #12 0xffffffff80cfa992 in lookup (ndp=ndp@entry=0xfffffe00747e8d90) >>> at /share/dim/src/freebsd/src-dim/sys/kern/vfs_lookup.c:919 >>> #13 0xffffffff80b33f84 in nfsvno_namei (nd=nd@entry=0xfffffe00747e9100, >>> ndp=ndp@entry=0xfffffe00747e8d90, dp=, >>> dp@entry=0xfffff80010544380, islocked=, >>> islocked@entry=0, >>> exp=exp@entry=0xfffffe00747e8fd8, p=p@entry=0xfffffe00bbfa3000, >>> retdirp=0xfffffe00747e8e78) >>> at >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:597 >>> #14 0xffffffff80b266a1 in nfsrvd_lookup (nd=0xfffffe00747e9100, >>> isdgram=, dp=0xfffff80010544380, >>> vpp=0xfffffe00747e9010, >>> fhp=0xfffffe00747e9074, exp=0xfffffe00747e8fd8) >>> at >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdserv.c:607 >>> #15 0xffffffff80b1073b in nfsrvd_compound (nd=0xfffffe00747e9100, >>> isdgram=0, >>> tag=0xf , taglen=6, >>> minorvers=4294967294) >>> at >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:1098 >>> #16 nfsrvd_dorpc (nd=nd@entry=0xfffffe00747e9100, >>> isdgram=isdgram@entry=0, >>> tag=0xf , taglen=6, >>> minorvers=4294967294) >>> at >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:626 >>> #17 0xffffffff80b24c44 in nfs_proc (nd=0xfffffe00747e9100, >>> xid=, xprt=0xfffff80003a14e00, rpp=) >>> at >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:402 >>> #18 nfssvc_program (rqst=0xfffff80010455800, xprt=0xfffff80003a14e00) >>> at >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:288 >>> #19 0xffffffff80edead2 in svc_executereq (rqstp=0xfffff80010455800) >>> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1037 >>> #20 svc_run_internal (grp=, grp@entry=0xfffff800100e6100, >>> ismaster=ismaster@entry=1) >>> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1313 >>> #21 0xffffffff80eddf80 in svc_run (pool=) >>> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1392 >>> #22 0xffffffff80b251ec in nfsrvd_nfsd (td=, >>> td@entry=0xfffffe00bbfa3000, args=args@entry=0xfffffe00747e9660) >>> at >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:561 >>> #23 0xffffffff80b3ec93 in nfssvc_nfsd (td=0xfffffe00bbfa3000, >>> uap=) >>> at >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:3714 >>> #24 0xffffffff80e6f647 in sys_nfssvc (td=0xfffffe00bbfa3000, >>> uap=0xfffffe00bbfa33e8) >>> at /share/dim/src/freebsd/src-dim/sys/nfs/nfs_nfssvc.c:111 >>> #25 0xffffffff810d891e in syscallenter (td=) >>> at >>> /share/dim/src/freebsd/src-dim/sys/amd64/amd64/../../kern/subr_syscall.c:189 >>> #26 amd64_syscall (td=0xfffffe00bbfa3000, traced=0) >>> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:1156 >>> #27 >>> #28 0x00000008011aa59a in ?? () >>> >>> Is anybody seeing this too? :) >>> >>> I can probably bisect, but it'll take quite a while. >>> >>> -Dimitry >>> >>> >> >> >> -- >> Mateusz Guzik >> > > > -- > Mateusz Guzik > -- Mateusz Guzik From nobody Mon May 31 15:41:51 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2A0E2DF9281 for ; Mon, 31 May 2021 15:41:54 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670088.outbound.protection.outlook.com [40.107.67.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fv0016m1bz3jnH; Mon, 31 May 2021 15:41:53 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QUkP5HnmGX6ai3sQ6z5LrEHNTRKxHoAAZRuFlIIqMVu0aPOKyiPoN+kJ0tYwRcZTLjjso6GcpDcmdU2EI/Dd6ZWe8nxcZX//plpMCWzdEhRAc3ltS2U1zyIIzQyFvtD+Xtd0+qvbaRFsehOdxYlMXkCOVkos6V4htYUIbQXbzt8PJnFcrnsUY+mOYN0XtNhB70/1bv+OrmRH76t+axJ6+QOnCHNvBzv9v8tXFo+H9OxDfBhMnw3ZUWmkLGY1Nt1XMhTOH0oGi5rO9pQ3yrhNnKecOmA39/uCbizJ+BHGNruVW7SW1/mCqp5mIoWCA2jRqkdJ0msCl7TNTkZMubm/2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rnFqGGh+6XhJElCp2FmynLb7nh+5+Cq+J8YR7wUD3WQ=; b=doIfVhjc4iyuR4oXTPEa7qxmkH0HniersLgVnoKf2Cm3uLCTiRJi6kDNxNKwKFb76MsEMSJ/VpRjgM+mzmUSBnOA6MlTtvP/lU/Qd69jBpD6l6Iei+udTK9qVwYhjsyGRKfUyNSNQNGgKHLFZ0seZbVM94mYIwTf0cEpIBABWX9GVqoQhBQMAS3ufQO19Hhvoq5BMYgZbye7un1sdSgBbcokmrzqnVBEO7REuFNQhoSswmfbBvrRqWdTYq6MBCw8AbOekh7JiiwS2h/0pI9cZrcijqakoMCGMOQA/ZFo+fom0pd7f3JkA2STaS0cYSE68+GrYjzhfUTp08zUvCvTEw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uoguelph.ca; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rnFqGGh+6XhJElCp2FmynLb7nh+5+Cq+J8YR7wUD3WQ=; b=ZkFM/kOemIvVOkhmuhvHDrQzfP7BcRSaAwYLwiDF9kFk1vvD18rEjxqPLKB9QWjYtmx745NjZNxqlmqPigxsmKjB7R7gTNOfabe5yG5qiXQbD44NLpHiRP0jl+3Pf5p+2nWNyeRBE/cWwFBWnioIXJ1owXQzEMd8iUTG5INlkv/PWvIyB5ICpfFiQ96PA0i85ilw4VeYoHbnJ0J6FKOYQfkgeNxWG2zHKK9vshk+E8jhUZISn6tTCdRCaJnzHAA/SxCpz4WSoAwYCNz8j+KLXkfcpVIa40FTJV6fINyDX06wJb4zbtW/MfCkX1wgqWzMRq91U6ONouswgs4AKJdupQ== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQXPR01MB4643.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:1e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.29; Mon, 31 May 2021 15:41:51 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf%4]) with mapi id 15.20.4173.030; Mon, 31 May 2021 15:41:51 +0000 From: Rick Macklem To: Mateusz Guzik , Dimitry Andric CC: FreeBSD Current , Rick Macklem Subject: Re: Panics in recent NFS server Thread-Topic: Panics in recent NFS server Thread-Index: AQHXViaWmOgwBnlD30uTFQ19JhtRYar9qgCAgAABKICAAAQvUA== Date: Mon, 31 May 2021 15:41:51 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8cc7cf99-69ad-45a8-bb4f-08d9244a9c4e x-ms-traffictypediagnostic: YQXPR01MB4643: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:411; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /uAT0VOOQh3Fd1gCYT0LtTeIipjvBBypE8LArTYAKilvnU3pedvA6oWixvjkQKicXxEWOdGL0Qd12Av1NG7IKRWEtA7EHPPmIixeNI5KuWSqEpTWgIB6OWJ/vR3YIowO+cfkUU/cC5LqLBKjHnmlhr0fA25LFyRSsRuKZ8buCmOm+GJWDnR1tYSQmdhFd4QMHyJ4bfFxwU43aQB3r0lkuAUX+Qmxt+QWdRwEigtyL5+DIh7X2VBNWC+7uYDtqvn8on/78y11Zt1wnx4B2QutUfgpu4+Wd0GmLveb+FnK/LEwM+72GSmCytJaW1zQInA3BC9h14sV39suv8EJouftyvn5S8sVfbBsX7am4FwffcCM1up2ZZRF547cUPHHHSwtNrCNeJX/XgbFfDALE613V4IBFplL0wQTVWZVgAGb6wZgxJ1aK+tz22uiI5eAPF5YI2iWX3caI8O/JPuX40O70tNbqFKqJU38P1OWhbhQ4M3Ffac8RgG12Bz0D7/x5y29iZT7KN0yQxovO1tGsMUefZo3R3RWwCwhWk1oxWmnLSbzzGdhVsFNLZ1XhTaBahnYcMPHFuIQqOXpUYZKkgCqFXn3lQ0ALZ8kk60Y14kkMbs= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(396003)(39860400002)(366004)(346002)(136003)(376002)(9686003)(7696005)(8936002)(786003)(2906002)(110136005)(54906003)(52536014)(4326008)(55016002)(478600001)(316002)(66946007)(71200400001)(186003)(66476007)(64756008)(66556008)(66446008)(83380400001)(76116006)(6506007)(38100700002)(8676002)(86362001)(5660300002)(122000001)(33656002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?mDKFSv3Sk8/Lo01F6FN49viC3XKp8Ts5Qo3XwaKlfCmBZnHeA1QvdGGbNi?= =?iso-8859-1?Q?J7X9OHEByv8NR/pq54/saVwv3M3Ms/+eTLZ7xaVlxwRadd8YVTsSk7Zzh6?= =?iso-8859-1?Q?IzmFCRDo5i952mhXRmDpx2rZSV+iAhLGzBvNHoHdnjRHCpEk4JQ44B7n0M?= =?iso-8859-1?Q?W1NhoSKsjNAj8CxWEQfRBUM8WWpVu9PGcYBk0ksoeHqHOgJ24DkruRtGjp?= =?iso-8859-1?Q?f4NkYyEAKYV0X5tKlSgc0P7/5pkGBWkTkDGwcPLvJ4wAZlEZL8/Vr7FYsy?= =?iso-8859-1?Q?Eqg+jhK08jKQa5M0ma6OChCsib/6F0bNj9oRp6rO2xmHaYoWA8ellDWjQu?= =?iso-8859-1?Q?tPsCJoz2mU2dBAlFZv1eh1StGZbN2oizB8IUHILp88+CXZdmKXHfsG9nta?= =?iso-8859-1?Q?JK7+i4unItKFZBYjQ7N7F6giUPhqrmV9DAS/oGT6WAWArF/tIqsCKL1hw3?= =?iso-8859-1?Q?u2aHK9566dUCODZgzt8mTZAXVJ5CJSPla5jPg4mmVpXbmWkzSBixrPMppt?= =?iso-8859-1?Q?u9kQ1BH/VfteG1VQNiMwR0torWGI1lXIzbDYjrny8uUm+L0oeFoLpqPISA?= =?iso-8859-1?Q?xgtPqvwC6TOL9DDSt9UVwnc1H9vu2M7/8dOqq1I3a7AzWgUvrEN5F7erf7?= =?iso-8859-1?Q?Ju/tiaVJRV/80AxdiLEG9oy+3q6AvqSd/y7IIejVkr8um7ZKN9wGOjSMdR?= =?iso-8859-1?Q?5glHbeIYFUwvO8L/pT7EthXBulUsQ2+xLYAg42rqedzJHPztjLURD6aDqX?= =?iso-8859-1?Q?MZvG9x95J0sgq9Fj8d2dSm0cdQTUKrCBdmyd2bXNgBmtVUaCCuBK/CWdWK?= =?iso-8859-1?Q?w+4Q+iGPvnXkH7pqc2ZGyyYwekg2HkhmIZgBtE2gPoeQXbXRTVCUYAYQEw?= =?iso-8859-1?Q?+ftJM7N7aXPXNQCfElYrik7/eQx9xXOEV4HqPHRBb0hdfGoVdxf6mKEQPn?= =?iso-8859-1?Q?88yIOD5USmXIihWWDcA45WiEKyUz8XkSlb/wTnsnYqHFgYxH1m7qgknMx3?= =?iso-8859-1?Q?i7WKKt7AeKsnpDKGMlZosHt6WbyK4Nv1CW3E9p8UcAdwOG1CVHtKCASnDx?= =?iso-8859-1?Q?6UQ7Lcqv+n0ttM5LPHJ//fMvN5LT+mmihSZADG4+m1rMZcEDbmlWWApSXs?= =?iso-8859-1?Q?bGDEP04GINiwGEpMx9VptfRHVgJnpegIm+IW7hJZ/BRaMoVX2WErXzFH/O?= =?iso-8859-1?Q?91EOlWji5D/KgvyEj8I9R5A9U94NyrBgjjMScbbCKLipOTAx7EZZL5UdC1?= =?iso-8859-1?Q?vtSmRnDk/9qGpFTAZ2tuHWSPXxyesB0aITC35oPuy3PFvGha2AJ39wmh+T?= =?iso-8859-1?Q?jBGd9ChbLchyBZaGhge76r2ymcWhM0GaxNO/Y/469e8dYisP5nAgdBzfp1?= =?iso-8859-1?Q?/aIJymIJVLV9YMcJhGabJwxjkuChd8uGAD6k7P30IbrZcdggETwTY=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 8cc7cf99-69ad-45a8-bb4f-08d9244a9c4e X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2021 15:41:51.6801 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZxhLLALS0j4QNk5Mt0AXDO1+ddcyZwibjxS8LqOQhVZzguzLLpXMQR7jT0zEDVNB52xW0QK0cW3D6xUOIqZa9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR01MB4643 X-Rspamd-Queue-Id: 4Fv0016m1bz3jnH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Mateusz Guzik wrote:=0A= >On 5/31/21, Mateusz Guzik wrote:=0A= >> It's probably my commit d81aefa8b7dd8cbeffeda541fca9962802404983 ,=0A= >> I'll look at this later.=0A= >=0A= >Well let me rephrase. While the panic was added in said commit, I=0A= >suspect the bug is on nfs side -- it has its own namei variant which I=0A= >suspect is managing ni_pathlen in a manner different than the=0A= >original, it just happens to not panic on kernels prior to the above=0A= >change.=0A= The NFS code for lookup has not changed in a long time.=0A= There have definitely been no changed recently.=0A= The code should be nul terminating the path in nfsrv_parsename(),=0A= which looks straightforward.=0A= =0A= However, the NFS code does not include the nul byte in the ni_pathlen,=0A= and never has.=0A= =0A= Shouldn't it be:=0A= nulchar =3D &cnp->cn_nameptr[ndp->ni_pathlen];=0A= and not=0A= nulchar =3D &cnp->cn_nameptr[ndp->ni_pathlen - 1];=0A= =0A= rick=0A= =0A= >=0A= > On 5/31/21, Dimitry Andric wrote:=0A= >> Hi,=0A= >>=0A= >> I recently upgraded a -CURRENT NFS server from 2021-05-12 to today=0A= >> (2021-05-31), and when the first NFS client attempted to connect, I got= =0A= >> this=0A= >> panic:=0A= >>=0A= >> panic: lookup: expected nul at 0xfffff800104b3002; string [dim]=0A= >>=0A= >> cpuid =3D 0=0A= >> time =3D 1622463863=0A= >> KDB: stack backtrace:=0A= >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame=0A= >> 0xfffffe00747e89b0=0A= >> vpanic() at vpanic+0x187/frame 0xfffffe00747e8a10=0A= >> panic() at panic+0x43/frame 0xfffffe00747e8a70=0A= >> lookup() at lookup+0xad2/frame 0xfffffe00747e8b10=0A= >> nfsvno_namei() at nfsvno_namei+0x1a4/frame 0xfffffe00747e8bc0=0A= >> nfsrvd_lookup() at nfsrvd_lookup+0x191/frame 0xfffffe00747e8eb0=0A= >> nfsrvd_dorpc() at nfsrvd_dorpc+0xfab/frame 0xfffffe00747e90c0=0A= >> nfssvc_program() at nfssvc_program+0x604/frame 0xfffffe00747e92a0=0A= >> svc_run_internal() at svc_run_internal+0xa72/frame 0xfffffe00747e93d0=0A= >> svc_run() at svc_run+0x250/frame 0xfffffe00747e9430=0A= >> nfsrvd_nfsd() at nfsrvd_nfsd+0x33c/frame 0xfffffe00747e9590=0A= >> nfssvc_nfsd() at nfssvc_nfsd+0x473/frame 0xfffffe00747e9aa0=0A= >> sys_nfssvc() at sys_nfssvc+0xc7/frame 0xfffffe00747e9ac0=0A= >> amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00747e9bf0=0A= >> fast_syscall_common() at fast_syscall_common+0xf8/frame=0A= >> 0xfffffe00747e9bf0=0A= >> --- syscall (155, FreeBSD ELF64, sys_nfssvc), rip =3D 0x8011aa59a, rsp = =3D=0A= >> 0x7fffffffe4e8, rbp =3D 0x7fffffffe780 ---=0A= >> KDB: enter: panic=0A= >>=0A= >> __curthread ()=0A= >> at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55=0A= >> 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu,=0A= >> (kgdb) #0 __curthread ()=0A= >> at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55=0A= >> #1 doadump (textdump=3Dtextdump@entry=3D0)=0A= >> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:399=0A= >> #2 0xffffffff804cca5a in db_dump (dummy=3D,=0A= >> dummy2=3D, dummy3=3D, dummy4=3D)=0A= >> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:575=0A= >> #3 0xffffffff804cc912 in db_command (last_cmdp=3D,=0A= >> cmd_table=3D, dopager=3Ddopager@entry=3D1)=0A= >> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:482=0A= >> #4 0xffffffff804cc58d in db_command_loop ()=0A= >> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:535=0A= >> #5 0xffffffff804cfd06 in db_trap (type=3D, code=3D> out>)=0A= >> at /share/dim/src/freebsd/src-dim/sys/ddb/db_main.c:270=0A= >> #6 0xffffffff80c69f17 in kdb_trap (type=3Dtype@entry=3D3, code=3Dcode@e= ntry=3D0,=0A= >> tf=3Dtf@entry=3D0xfffffe00747e88e0)=0A= >> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:727=0A= >> #7 0xffffffff810d7aee in trap (frame=3D0xfffffe00747e88e0)=0A= >> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:576=0A= >> #8 =0A= >> #9 kdb_enter (why=3D0xffffffff812d3d27 "panic", msg=3D)= =0A= >> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:506=0A= >> #10 0xffffffff80c1d248 in vpanic (=0A= >> fmt=3D0xffffffff8129dfef "%s: expected nul at %p; string [%s]\n",=0A= >> ap=3D, ap@entry=3D0xfffffe00747e8a50)=0A= >> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:907=0A= >> #11 0xffffffff80c1cfd3 in panic (=0A= >> fmt=3D0xffffffff81e9b9c8 "=3D\t)\201\377\377\377\377")= =0A= >> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:843=0A= >> #12 0xffffffff80cfa992 in lookup (ndp=3Dndp@entry=3D0xfffffe00747e8d90)= =0A= >> at /share/dim/src/freebsd/src-dim/sys/kern/vfs_lookup.c:919=0A= >> #13 0xffffffff80b33f84 in nfsvno_namei (nd=3Dnd@entry=3D0xfffffe00747e91= 00,=0A= >> ndp=3Dndp@entry=3D0xfffffe00747e8d90, dp=3D,=0A= >> dp@entry=3D0xfffff80010544380, islocked=3D,=0A= >> islocked@entry=3D0,=0A= >> exp=3Dexp@entry=3D0xfffffe00747e8fd8, p=3Dp@entry=3D0xfffffe00bbfa30= 00,=0A= >> retdirp=3D0xfffffe00747e8e78)=0A= >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:59= 7=0A= >> #14 0xffffffff80b266a1 in nfsrvd_lookup (nd=3D0xfffffe00747e9100,=0A= >> isdgram=3D, dp=3D0xfffff80010544380,=0A= >> vpp=3D0xfffffe00747e9010,=0A= >> fhp=3D0xfffffe00747e9074, exp=3D0xfffffe00747e8fd8)=0A= >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdserv.c:60= 7=0A= >> #15 0xffffffff80b1073b in nfsrvd_compound (nd=3D0xfffffe00747e9100,=0A= >> isdgram=3D0,=0A= >> tag=3D0xf , taglen=3D6,= =0A= >> minorvers=3D4294967294)=0A= >> at=0A= >> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:1098=0A= >> #16 nfsrvd_dorpc (nd=3Dnd@entry=3D0xfffffe00747e9100,=0A= >> isdgram=3Disdgram@entry=3D0,=0A= >> tag=3D0xf , taglen=3D6,= =0A= >> minorvers=3D4294967294)=0A= >> at=0A= >> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:626=0A= >> #17 0xffffffff80b24c44 in nfs_proc (nd=3D0xfffffe00747e9100,=0A= >> xid=3D, xprt=3D0xfffff80003a14e00, rpp=3D)=0A= >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:40= 2=0A= >> #18 nfssvc_program (rqst=3D0xfffff80010455800, xprt=3D0xfffff80003a14e00= )=0A= >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:28= 8=0A= >> #19 0xffffffff80edead2 in svc_executereq (rqstp=3D0xfffff80010455800)=0A= >> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1037=0A= >> #20 svc_run_internal (grp=3D, grp@entry=3D0xfffff800100e6= 100,=0A= >> ismaster=3Dismaster@entry=3D1)=0A= >> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1313=0A= >> #21 0xffffffff80eddf80 in svc_run (pool=3D)=0A= >> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1392=0A= >> #22 0xffffffff80b251ec in nfsrvd_nfsd (td=3D,=0A= >> td@entry=3D0xfffffe00bbfa3000, args=3Dargs@entry=3D0xfffffe00747e966= 0)=0A= >> at /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:56= 1=0A= >> #23 0xffffffff80b3ec93 in nfssvc_nfsd (td=3D0xfffffe00bbfa3000,=0A= >> uap=3D)=0A= >> at=0A= >> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:3714=0A= >> #24 0xffffffff80e6f647 in sys_nfssvc (td=3D0xfffffe00bbfa3000,=0A= >> uap=3D0xfffffe00bbfa33e8)=0A= >> at /share/dim/src/freebsd/src-dim/sys/nfs/nfs_nfssvc.c:111=0A= >> #25 0xffffffff810d891e in syscallenter (td=3D)=0A= >> at=0A= >> /share/dim/src/freebsd/src-dim/sys/amd64/amd64/../../kern/subr_syscall.c= :189=0A= >> #26 amd64_syscall (td=3D0xfffffe00bbfa3000, traced=3D0)=0A= >> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:1156=0A= >> #27 =0A= >> #28 0x00000008011aa59a in ?? ()=0A= >>=0A= >> Is anybody seeing this too? :)=0A= >>=0A= >> I can probably bisect, but it'll take quite a while.=0A= >>=0A= >> -Dimitry=0A= >>=0A= >>=0A= >=0A= >=0A= > --=0A= > Mateusz Guzik =0A= >=0A= =0A= =0A= --=0A= Mateusz Guzik =0A= From nobody Mon May 31 15:43:56 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B8E09DF995C for ; Mon, 31 May 2021 15:44:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fv02b4bvQz3kyv; Mon, 31 May 2021 15:44:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 63178FA1B; Mon, 31 May 2021 15:44:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (unknown [IPv6:2001:470:7a58:0:65d3:dfba:f1bc:9672]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id ECB0149DBB; Mon, 31 May 2021 17:44:05 +0200 (CEST) From: Dimitry Andric Message-Id: <5A985368-32EF-4FD1-A325-0CC1600E90E0@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_160E9DA0-7FF3-42C8-A506-B1D6E015EE57"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: Panics in recent NFS server Date: Mon, 31 May 2021 17:43:56 +0200 In-Reply-To: Cc: FreeBSD Current , Rick Macklem To: Mateusz Guzik References: X-Mailer: Apple Mail (2.3654.100.0.2.22) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_160E9DA0-7FF3-42C8-A506-B1D6E015EE57 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Yes, this works for me too. I first tried reverting d81aefa8b7dd8cbeffeda541fca9962802404983, but this looked a bit more sane. :) -Dimitry > On 31 May 2021, at 17:03, Mateusz Guzik wrote: >=20 > I reproduced the panic, things work for me with the patch below. > However, there may be more to it so I'm going to ask Rick to weigh in. > but short version is that length returned by nfsrv_parsename is off by > one compared to copyinstr. >=20 > diff --git a/sys/fs/nfsserver/nfs_nfsdsubs.c = b/sys/fs/nfsserver/nfs_nfsdsubs.c > index 2b6e17752544..8c7db36bbd05 100644 > --- a/sys/fs/nfsserver/nfs_nfsdsubs.c > +++ b/sys/fs/nfsserver/nfs_nfsdsubs.c > @@ -2065,7 +2065,7 @@ nfsrv_parsename(struct nfsrv_descript *nd, char > *bufp, u_long *hashp, > } > } > *tocp =3D '\0'; > - *outlenp =3D (size_t)outlen; > + *outlenp =3D (size_t)outlen + 1; > if (hashp !=3D NULL) > *hashp =3D hash; > nfsmout: >=20 >=20 > On 5/31/21, Mateusz Guzik wrote: >> On 5/31/21, Mateusz Guzik wrote: >>> It's probably my commit d81aefa8b7dd8cbeffeda541fca9962802404983 , >>> I'll look at this later. >>=20 >> Well let me rephrase. While the panic was added in said commit, I >> suspect the bug is on nfs side -- it has its own namei variant which = I >> suspect is managing ni_pathlen in a manner different than the >> original, it just happens to not panic on kernels prior to the above >> change. >>=20 >>>=20 >>> On 5/31/21, Dimitry Andric wrote: >>>> Hi, >>>>=20 >>>> I recently upgraded a -CURRENT NFS server from 2021-05-12 to today >>>> (2021-05-31), and when the first NFS client attempted to connect, I = got >>>> this >>>> panic: >>>>=20 >>>> panic: lookup: expected nul at 0xfffff800104b3002; string [dim] >>>>=20 >>>> cpuid =3D 0 >>>> time =3D 1622463863 >>>> KDB: stack backtrace: >>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >>>> 0xfffffe00747e89b0 >>>> vpanic() at vpanic+0x187/frame 0xfffffe00747e8a10 >>>> panic() at panic+0x43/frame 0xfffffe00747e8a70 >>>> lookup() at lookup+0xad2/frame 0xfffffe00747e8b10 >>>> nfsvno_namei() at nfsvno_namei+0x1a4/frame 0xfffffe00747e8bc0 >>>> nfsrvd_lookup() at nfsrvd_lookup+0x191/frame 0xfffffe00747e8eb0 >>>> nfsrvd_dorpc() at nfsrvd_dorpc+0xfab/frame 0xfffffe00747e90c0 >>>> nfssvc_program() at nfssvc_program+0x604/frame 0xfffffe00747e92a0 >>>> svc_run_internal() at svc_run_internal+0xa72/frame = 0xfffffe00747e93d0 >>>> svc_run() at svc_run+0x250/frame 0xfffffe00747e9430 >>>> nfsrvd_nfsd() at nfsrvd_nfsd+0x33c/frame 0xfffffe00747e9590 >>>> nfssvc_nfsd() at nfssvc_nfsd+0x473/frame 0xfffffe00747e9aa0 >>>> sys_nfssvc() at sys_nfssvc+0xc7/frame 0xfffffe00747e9ac0 >>>> amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00747e9bf0 >>>> fast_syscall_common() at fast_syscall_common+0xf8/frame >>>> 0xfffffe00747e9bf0 >>>> --- syscall (155, FreeBSD ELF64, sys_nfssvc), rip =3D 0x8011aa59a, = rsp =3D >>>> 0x7fffffffe4e8, rbp =3D 0x7fffffffe780 --- >>>> KDB: enter: panic >>>>=20 >>>> __curthread () >>>> at = /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 >>>> 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" = (offsetof(struct pcpu, >>>> (kgdb) #0 __curthread () >>>> at = /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55 >>>> #1 doadump (textdump=3Dtextdump@entry=3D0) >>>> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:399 >>>> #2 0xffffffff804cca5a in db_dump (dummy=3D, >>>> dummy2=3D, dummy3=3D, = dummy4=3D) >>>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:575 >>>> #3 0xffffffff804cc912 in db_command (last_cmdp=3D, >>>> cmd_table=3D, dopager=3Ddopager@entry=3D1) >>>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:482 >>>> #4 0xffffffff804cc58d in db_command_loop () >>>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:535 >>>> #5 0xffffffff804cfd06 in db_trap (type=3D, = code=3D>>> out>) >>>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_main.c:270 >>>> #6 0xffffffff80c69f17 in kdb_trap (type=3Dtype@entry=3D3, >>>> code=3Dcode@entry=3D0, >>>> tf=3Dtf@entry=3D0xfffffe00747e88e0) >>>> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:727 >>>> #7 0xffffffff810d7aee in trap (frame=3D0xfffffe00747e88e0) >>>> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:576 >>>> #8 >>>> #9 kdb_enter (why=3D0xffffffff812d3d27 "panic", msg=3D) >>>> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:506 >>>> #10 0xffffffff80c1d248 in vpanic ( >>>> fmt=3D0xffffffff8129dfef "%s: expected nul at %p; string = [%s]\n", >>>> ap=3D, ap@entry=3D0xfffffe00747e8a50) >>>> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:907 >>>> #11 0xffffffff80c1cfd3 in panic ( >>>> fmt=3D0xffffffff81e9b9c8 = "=3D\t)\201\377\377\377\377") >>>> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:843 >>>> #12 0xffffffff80cfa992 in lookup (ndp=3Dndp@entry=3D0xfffffe00747e8d9= 0) >>>> at /share/dim/src/freebsd/src-dim/sys/kern/vfs_lookup.c:919 >>>> #13 0xffffffff80b33f84 in nfsvno_namei = (nd=3Dnd@entry=3D0xfffffe00747e9100, >>>> ndp=3Dndp@entry=3D0xfffffe00747e8d90, dp=3D, >>>> dp@entry=3D0xfffff80010544380, islocked=3D, >>>> islocked@entry=3D0, >>>> exp=3Dexp@entry=3D0xfffffe00747e8fd8, = p=3Dp@entry=3D0xfffffe00bbfa3000, >>>> retdirp=3D0xfffffe00747e8e78) >>>> at >>>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:597 >>>> #14 0xffffffff80b266a1 in nfsrvd_lookup (nd=3D0xfffffe00747e9100, >>>> isdgram=3D, dp=3D0xfffff80010544380, >>>> vpp=3D0xfffffe00747e9010, >>>> fhp=3D0xfffffe00747e9074, exp=3D0xfffffe00747e8fd8) >>>> at >>>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdserv.c:607 >>>> #15 0xffffffff80b1073b in nfsrvd_compound (nd=3D0xfffffe00747e9100, >>>> isdgram=3D0, >>>> tag=3D0xf , = taglen=3D6, >>>> minorvers=3D4294967294) >>>> at >>>> = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:1098 >>>> #16 nfsrvd_dorpc (nd=3Dnd@entry=3D0xfffffe00747e9100, >>>> isdgram=3Disdgram@entry=3D0, >>>> tag=3D0xf , = taglen=3D6, >>>> minorvers=3D4294967294) >>>> at >>>> = /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:626 >>>> #17 0xffffffff80b24c44 in nfs_proc (nd=3D0xfffffe00747e9100, >>>> xid=3D, xprt=3D0xfffff80003a14e00, rpp=3D) >>>> at >>>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:402 >>>> #18 nfssvc_program (rqst=3D0xfffff80010455800, = xprt=3D0xfffff80003a14e00) >>>> at >>>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:288 >>>> #19 0xffffffff80edead2 in svc_executereq (rqstp=3D0xfffff80010455800)= >>>> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1037 >>>> #20 svc_run_internal (grp=3D, = grp@entry=3D0xfffff800100e6100, >>>> ismaster=3Dismaster@entry=3D1) >>>> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1313 >>>> #21 0xffffffff80eddf80 in svc_run (pool=3D) >>>> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1392 >>>> #22 0xffffffff80b251ec in nfsrvd_nfsd (td=3D, >>>> td@entry=3D0xfffffe00bbfa3000, = args=3Dargs@entry=3D0xfffffe00747e9660) >>>> at >>>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:561 >>>> #23 0xffffffff80b3ec93 in nfssvc_nfsd (td=3D0xfffffe00bbfa3000, >>>> uap=3D) >>>> at >>>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:3714 >>>> #24 0xffffffff80e6f647 in sys_nfssvc (td=3D0xfffffe00bbfa3000, >>>> uap=3D0xfffffe00bbfa33e8) >>>> at /share/dim/src/freebsd/src-dim/sys/nfs/nfs_nfssvc.c:111 >>>> #25 0xffffffff810d891e in syscallenter (td=3D) >>>> at >>>> = /share/dim/src/freebsd/src-dim/sys/amd64/amd64/../../kern/subr_syscall.c:1= 89 >>>> #26 amd64_syscall (td=3D0xfffffe00bbfa3000, traced=3D0) >>>> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:1156 >>>> #27 >>>> #28 0x00000008011aa59a in ?? () >>>>=20 >>>> Is anybody seeing this too? :) >>>>=20 >>>> I can probably bisect, but it'll take quite a while. >>>>=20 >>>> -Dimitry >>>>=20 >>>>=20 >>>=20 >>>=20 >>> -- >>> Mateusz Guzik >>>=20 >>=20 >>=20 >> -- >> Mateusz Guzik >>=20 >=20 >=20 > -- > Mateusz Guzik --Apple-Mail=_160E9DA0-7FF3-42C8-A506-B1D6E015EE57 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYLUEPQAKCRCwXqMKLiCW o014AKCELs2nS5ckmCT+1XWWu70ye8xlAgCg7yVROdaFZf0XF92USYltTe2qrp4= =8L0A -----END PGP SIGNATURE----- --Apple-Mail=_160E9DA0-7FF3-42C8-A506-B1D6E015EE57-- From nobody Mon May 31 15:52:38 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0DCD1DFB03E for ; Mon, 31 May 2021 15:52:40 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660070.outbound.protection.outlook.com [40.107.66.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fv0DR5xRNz3nRQ; Mon, 31 May 2021 15:52:39 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VNs/c1Z/SctZk3D+sNrTaMDxZpJZWHTaGf5vytbsUMoqg9Qznj4KJh91jqSyUEvFws5yyPBFsTeWDsmIuyI3AfY3zZBrG+5YEDmUA6xZxBpmitYESj7feo5vn4V93+Gi1W5ph6KjcQjZb5hDPas6sU8AYuIbKE1fg9nk6tx6mSrY32EIi3xf8fudroqW7ydwJQg+WCiP5mrCBiUBtaGFXfGl9KV2Y7St4tINa98wr7L/k66+inNfrm8mKli3Fn7YRmcSiYtKr7hpIwIYn+Lk0/bf0SuQLIYbrgpPJTXdKpsOzJvlM95YSleufGObklumlaM/j0YlZfeF7scYNTR9dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QBgatUmWdqdvIZcTKomum5mMKQ1J/e4AIe69xj9qjWo=; b=FdESybHD+O11JB+Gysw4TDLaHo96EDvEz1BiLLAiE5CN9G5NWoJ7HuBw9GpvbZDMG37AvvompUJJ701wHD7vLAKffEGpF4lzBFIroQPwjC1ofVc/VuLUX4YM8+O+2qIckr4Srg2mEVgN5LcNZiSRuE44msDAmZ58eqTTQiUs7XAYWjYS4frjkGz/ZxFJevmofPRlpYIykkpgpucbeO5mo4GdIQucQP9NAb1VzYdM1lRtA6A+UvpOh71o3pDSraIwe7MzzMx/DJ98txToJbVGSQJSlwggCK/rp9EMj1vAY7wPOretWeJBm5dGfftBEZ6bWfVMDCetK+Lqwiue6Dv0dQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uoguelph.ca; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QBgatUmWdqdvIZcTKomum5mMKQ1J/e4AIe69xj9qjWo=; b=HwTd4bUm0SCOXFFHbpbHGuDWhoTSyqGhYi/WRLB6h3OWz4w+B5U+/HQA04I9mYN/gYfQv7kRX91AL+OU6pz8fAiBKbIa7889Shfa6cd0UIV0DusgPx9o9jsZcXUkGzCQyEUIwr21xm7YeZtKZvR+kkKRDIBYsJEuy0QxdN4F5dMCdPlf54qnRACgMZwPCcytqgATv8Ue0GP6EhDxDjYBvwY23Fjv7w4mfr0RGavjybqTgigL4BQCWxA5RP0lQolngnaRDCkrDB3mVkSMauxt1Ut3/o7l2SG2tTczjOEEwRyE1SQyIVIJgocEI6zNwAIkETzP1wJnpmiwQ70zFo1Lxw== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQBPR0101MB4777.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:18::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.28; Mon, 31 May 2021 15:52:38 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf%4]) with mapi id 15.20.4173.030; Mon, 31 May 2021 15:52:38 +0000 From: Rick Macklem To: Mateusz Guzik , Dimitry Andric CC: FreeBSD Current , Rick Macklem Subject: Re: Panics in recent NFS server Thread-Topic: Panics in recent NFS server Thread-Index: AQHXViaWmOgwBnlD30uTFQ19JhtRYar9qgCAgAABKICAAATmgIAADI3i Date: Mon, 31 May 2021 15:52:38 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ca186920-3174-422b-965f-08d9244c1dbc x-ms-traffictypediagnostic: YQBPR0101MB4777: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:283; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cM/iHX1is4kFB6Lif82lxVYCzh74UAm8T45nBnhzalocbZ2nYuo7DYHrFFpRgaJKChyYlki0Gk+hMrbLnpFfiFmgWI/1QYxG0NbpD5Ls1NdZaEdnUbnFVG8ZlRCN+RR+UhCU9qfsjGB4fNLgB15NAOF46tJcbbuTp/gY8TsoOjZPKDraCSLIPJFRTVn58P/1wi80j7MDrBdNqzx42LGqBsatrCVKpPGxfn+nr8+Pt8lKUhDPo/7n3pwywI545v47nr1wn7ge8c5Bb5Ms9GK1KFPNIA1oAtlk7ElVW7CYuipb4a5wWLIUgVebQewQVn+mPvxm44XlJxJuE9sY24fjBefnMa5TMFV+IqxzM/tQ87P+M1FlahI3CFjh13lxikKdJnlLLI/VldxTmoE2FKHljhWDR8WiWIXgAgs53QJGimk1pUQK2/u6NEE9UlYKJfCCfbb4xC/NkRdEvE7Wy0RY7sqn+Fo2X/M9uzYjMUwVD6GrrhEh6xKOsx6ANRl1AOP7EXz7sKWbq6IKvoL93+5DwJBGS1ZRsEfuqgsSmteeYY1izn/4G48kaZEHbCt0j29ixY3ndP3cIbQ+B5qNn27b0dXReaTlpMa3vE18Fbb+q64= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(376002)(346002)(39860400002)(366004)(136003)(396003)(6506007)(33656002)(5660300002)(86362001)(8676002)(66446008)(66556008)(8936002)(52536014)(7696005)(76116006)(55016002)(83380400001)(4326008)(186003)(478600001)(71200400001)(38100700002)(122000001)(54906003)(110136005)(786003)(9686003)(316002)(64756008)(66946007)(66476007)(2906002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?8lGRkNIaCNRE4mEenDlyHoNW6m+CY68IlVe/BUf860CXkrcMXsbj9zMFMU?= =?iso-8859-1?Q?CZkpK2opQ/6i4fZCIfCsTa5+p87yVzUS7/KdjVCkVnvfdcyE0csND5uOSj?= =?iso-8859-1?Q?9Fiz4dksJmOCJAhuwGH2pnaJeBuTLFQyyAdXcidL4z/QDKmNJhJUt/nyfE?= =?iso-8859-1?Q?okCL7hkJU+FNq2ybFMoHFSLWC1Z/JckjonyhSv4HT2M2mPRrE2Rx6nfnsP?= =?iso-8859-1?Q?qgvA5+1gBwn3Z7tK4t9/LBuRlQfhzzBT4e/UuX0gj+zq0elroD0bBgWkqn?= =?iso-8859-1?Q?gXlxSObdDrweo4SXglILIU9vwqk46YrflFpjUTUL6Mh9nXar1rV5NVV/ux?= =?iso-8859-1?Q?m3V+0qTkdceC+eSB1G+XZv0sBnRlXM+1dXQ0R6FK/sG0B0Yab8L3K5KBFE?= =?iso-8859-1?Q?hO+IOu1++Rm1bB+Ma+2UxngCw4zzHe9lcC6xiUNy9Mb2zkiuCHSyCUGIW1?= =?iso-8859-1?Q?qdocAXE8eKk0llOi+x74C3QMoyMFSuyioc5CIp/OV9625eYfRXGteHfFQr?= =?iso-8859-1?Q?48QigIh8dQfQEoXQQGP305mv/Dqx2ZZXjZRv3dWwld5yGxNdzPBGigc3T9?= =?iso-8859-1?Q?P4YrfnJWV4crNx7eFJXPy0RnF/Do6J0wVM1xXyWqIJRsH0q4ak2Br2x0pC?= =?iso-8859-1?Q?mK/bZFVBkmWMsFth+jCyd8TRUN1eANBNK+Pb038+Yme9aknHgfFsOQTofJ?= =?iso-8859-1?Q?AwR//v/pNK3RNJlhAzYS7DaxHuzl1Xxt/6zGYOa5rwxwPCMyPQdL+cJrEY?= =?iso-8859-1?Q?3NxPM8fqta3qnN7oo5jokSXoipV1+1jV857R2iWJ6oAqQ4EGEIz4TAiTJ7?= =?iso-8859-1?Q?V3KkUZR4XxXchMQpIobO3QTW7l5+APpYTAzCfhje0d7mD/nRVz3V8by4dq?= =?iso-8859-1?Q?EsEhhILMJFPRfvYaZNo7nAdd7oMZupaGL9zzckImilZkeIm47dqVYgQbY2?= =?iso-8859-1?Q?z5XQ7lhPtNVG/Jq2I0c2vl9b5Ji5R7VRZv4tJtymlJWQiuC/ICEB44jovw?= =?iso-8859-1?Q?xF9dEoXNWsgiOpCZIIFukMHe4Zs9p0AYSol9i1aXirK3odVxOWr7YzEt6G?= =?iso-8859-1?Q?mEKiP4cu05mdpZSVsR+TK+H6+W+5p5jXVB32iZeHVvfqxwXBy8k2Tzx9D4?= =?iso-8859-1?Q?VevWjz2zroIwR7Wqy7YLD4wylVEGUdj6E2VJAwBV4XGVCvlfK5xvf16+EU?= =?iso-8859-1?Q?AuTs+nBAxjk+4lS7NOV6xyih0lpbF7SoViKVIgJSGrUIP1cXh1o9ViiBMz?= =?iso-8859-1?Q?Vr9t12ToeDbAl6Ap/8D8PHQM3Jb1BZAnlCV8KC2Ze5lFeG68CGQ3MF58MP?= =?iso-8859-1?Q?z0LbjFSbCWLJ9oIVCcev2eL5RVFUqsL//Re9TZU2BP3hKJO3MavcdGtuqc?= =?iso-8859-1?Q?0gAw/eFBIOK3wBc+aIfw+PJiSyk3dxXpvXImBTkbo+K2plPnqGDNY=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: ca186920-3174-422b-965f-08d9244c1dbc X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2021 15:52:38.3929 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dnLye7lyXoUkj5CVa+OoPJyRB1pYwiFKnsalfV0ZRq9F2DWiKIZUuPyQWEO2bYKw4IpSXVc70Va+bQ0l+WdzCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB4777 X-Rspamd-Queue-Id: 4Fv0DR5xRNz3nRQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Mateusz Guzik wrote:=0A= >I reproduced the panic, things work for me with the patch below.=0A= >However, there may be more to it so I'm going to ask Rick to weigh in.=0A= >but short version is that length returned by nfsrv_parsename is off by=0A= >one compared to copyinstr.=0A= Yes, it appears that, now, ni_pathlen includes the nul termination characte= r.=0A= I don't think that was always the case, but I can't be bothered to search= =0A= back through the commits to try and find when it changed.=0A= =0A= As such, this patch looks fine and you can consider it reviewed by me.=0A= =0A= rick=0A= =0A= diff --git a/sys/fs/nfsserver/nfs_nfsdsubs.c b/sys/fs/nfsserver/nfs_nfsdsub= s.c=0A= index 2b6e17752544..8c7db36bbd05 100644=0A= --- a/sys/fs/nfsserver/nfs_nfsdsubs.c=0A= +++ b/sys/fs/nfsserver/nfs_nfsdsubs.c=0A= @@ -2065,7 +2065,7 @@ nfsrv_parsename(struct nfsrv_descript *nd, char=0A= *bufp, u_long *hashp,=0A= }=0A= }=0A= *tocp =3D '\0';=0A= - *outlenp =3D (size_t)outlen;=0A= + *outlenp =3D (size_t)outlen + 1;=0A= if (hashp !=3D NULL)=0A= *hashp =3D hash;=0A= nfsmout:=0A= =0A= =0A= On 5/31/21, Mateusz Guzik wrote:=0A= > On 5/31/21, Mateusz Guzik wrote:=0A= >> It's probably my commit d81aefa8b7dd8cbeffeda541fca9962802404983 ,=0A= >> I'll look at this later.=0A= >=0A= > Well let me rephrase. While the panic was added in said commit, I=0A= > suspect the bug is on nfs side -- it has its own namei variant which I=0A= > suspect is managing ni_pathlen in a manner different than the=0A= > original, it just happens to not panic on kernels prior to the above=0A= > change.=0A= >=0A= >>=0A= >> On 5/31/21, Dimitry Andric wrote:=0A= >>> Hi,=0A= >>>=0A= >>> I recently upgraded a -CURRENT NFS server from 2021-05-12 to today=0A= >>> (2021-05-31), and when the first NFS client attempted to connect, I got= =0A= >>> this=0A= >>> panic:=0A= >>>=0A= >>> panic: lookup: expected nul at 0xfffff800104b3002; string [dim]=0A= >>>=0A= >>> cpuid =3D 0=0A= >>> time =3D 1622463863=0A= >>> KDB: stack backtrace:=0A= >>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame=0A= >>> 0xfffffe00747e89b0=0A= >>> vpanic() at vpanic+0x187/frame 0xfffffe00747e8a10=0A= >>> panic() at panic+0x43/frame 0xfffffe00747e8a70=0A= >>> lookup() at lookup+0xad2/frame 0xfffffe00747e8b10=0A= >>> nfsvno_namei() at nfsvno_namei+0x1a4/frame 0xfffffe00747e8bc0=0A= >>> nfsrvd_lookup() at nfsrvd_lookup+0x191/frame 0xfffffe00747e8eb0=0A= >>> nfsrvd_dorpc() at nfsrvd_dorpc+0xfab/frame 0xfffffe00747e90c0=0A= >>> nfssvc_program() at nfssvc_program+0x604/frame 0xfffffe00747e92a0=0A= >>> svc_run_internal() at svc_run_internal+0xa72/frame 0xfffffe00747e93d0= =0A= >>> svc_run() at svc_run+0x250/frame 0xfffffe00747e9430=0A= >>> nfsrvd_nfsd() at nfsrvd_nfsd+0x33c/frame 0xfffffe00747e9590=0A= >>> nfssvc_nfsd() at nfssvc_nfsd+0x473/frame 0xfffffe00747e9aa0=0A= >>> sys_nfssvc() at sys_nfssvc+0xc7/frame 0xfffffe00747e9ac0=0A= >>> amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00747e9bf0=0A= >>> fast_syscall_common() at fast_syscall_common+0xf8/frame=0A= >>> 0xfffffe00747e9bf0=0A= >>> --- syscall (155, FreeBSD ELF64, sys_nfssvc), rip =3D 0x8011aa59a, rsp = =3D=0A= >>> 0x7fffffffe4e8, rbp =3D 0x7fffffffe780 ---=0A= >>> KDB: enter: panic=0A= >>>=0A= >>> __curthread ()=0A= >>> at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55= =0A= >>> 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu,=0A= >>> (kgdb) #0 __curthread ()=0A= >>> at /share/dim/src/freebsd/src-dim/sys/amd64/include/pcpu_aux.h:55= =0A= >>> #1 doadump (textdump=3Dtextdump@entry=3D0)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:399=0A= >>> #2 0xffffffff804cca5a in db_dump (dummy=3D,=0A= >>> dummy2=3D, dummy3=3D, dummy4=3D)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:575=0A= >>> #3 0xffffffff804cc912 in db_command (last_cmdp=3D,=0A= >>> cmd_table=3D, dopager=3Ddopager@entry=3D1)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:482=0A= >>> #4 0xffffffff804cc58d in db_command_loop ()=0A= >>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_command.c:535=0A= >>> #5 0xffffffff804cfd06 in db_trap (type=3D, code=3D>> out>)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/ddb/db_main.c:270=0A= >>> #6 0xffffffff80c69f17 in kdb_trap (type=3Dtype@entry=3D3,=0A= >>> code=3Dcode@entry=3D0,=0A= >>> tf=3Dtf@entry=3D0xfffffe00747e88e0)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:727=0A= >>> #7 0xffffffff810d7aee in trap (frame=3D0xfffffe00747e88e0)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:576=0A= >>> #8 =0A= >>> #9 kdb_enter (why=3D0xffffffff812d3d27 "panic", msg=3D)= =0A= >>> at /share/dim/src/freebsd/src-dim/sys/kern/subr_kdb.c:506=0A= >>> #10 0xffffffff80c1d248 in vpanic (=0A= >>> fmt=3D0xffffffff8129dfef "%s: expected nul at %p; string [%s]\n",= =0A= >>> ap=3D, ap@entry=3D0xfffffe00747e8a50)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:907=0A= >>> #11 0xffffffff80c1cfd3 in panic (=0A= >>> fmt=3D0xffffffff81e9b9c8 "=3D\t)\201\377\377\377\377")= =0A= >>> at /share/dim/src/freebsd/src-dim/sys/kern/kern_shutdown.c:843=0A= >>> #12 0xffffffff80cfa992 in lookup (ndp=3Dndp@entry=3D0xfffffe00747e8d90)= =0A= >>> at /share/dim/src/freebsd/src-dim/sys/kern/vfs_lookup.c:919=0A= >>> #13 0xffffffff80b33f84 in nfsvno_namei (nd=3Dnd@entry=3D0xfffffe00747e9= 100,=0A= >>> ndp=3Dndp@entry=3D0xfffffe00747e8d90, dp=3D,=0A= >>> dp@entry=3D0xfffff80010544380, islocked=3D,=0A= >>> islocked@entry=3D0,=0A= >>> exp=3Dexp@entry=3D0xfffffe00747e8fd8, p=3Dp@entry=3D0xfffffe00bbfa3= 000,=0A= >>> retdirp=3D0xfffffe00747e8e78)=0A= >>> at=0A= >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:597=0A= >>> #14 0xffffffff80b266a1 in nfsrvd_lookup (nd=3D0xfffffe00747e9100,=0A= >>> isdgram=3D, dp=3D0xfffff80010544380,=0A= >>> vpp=3D0xfffffe00747e9010,=0A= >>> fhp=3D0xfffffe00747e9074, exp=3D0xfffffe00747e8fd8)=0A= >>> at=0A= >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdserv.c:607=0A= >>> #15 0xffffffff80b1073b in nfsrvd_compound (nd=3D0xfffffe00747e9100,=0A= >>> isdgram=3D0,=0A= >>> tag=3D0xf , taglen=3D6,= =0A= >>> minorvers=3D4294967294)=0A= >>> at=0A= >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:1098= =0A= >>> #16 nfsrvd_dorpc (nd=3Dnd@entry=3D0xfffffe00747e9100,=0A= >>> isdgram=3Disdgram@entry=3D0,=0A= >>> tag=3D0xf , taglen=3D6,= =0A= >>> minorvers=3D4294967294)=0A= >>> at=0A= >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdsocket.c:626=0A= >>> #17 0xffffffff80b24c44 in nfs_proc (nd=3D0xfffffe00747e9100,=0A= >>> xid=3D, xprt=3D0xfffff80003a14e00, rpp=3D)=0A= >>> at=0A= >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:402=0A= >>> #18 nfssvc_program (rqst=3D0xfffff80010455800, xprt=3D0xfffff80003a14e0= 0)=0A= >>> at=0A= >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:288=0A= >>> #19 0xffffffff80edead2 in svc_executereq (rqstp=3D0xfffff80010455800)= =0A= >>> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1037=0A= >>> #20 svc_run_internal (grp=3D, grp@entry=3D0xfffff800100e= 6100,=0A= >>> ismaster=3Dismaster@entry=3D1)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1313=0A= >>> #21 0xffffffff80eddf80 in svc_run (pool=3D)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/rpc/svc.c:1392=0A= >>> #22 0xffffffff80b251ec in nfsrvd_nfsd (td=3D,=0A= >>> td@entry=3D0xfffffe00bbfa3000, args=3Dargs@entry=3D0xfffffe00747e96= 60)=0A= >>> at=0A= >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdkrpc.c:561=0A= >>> #23 0xffffffff80b3ec93 in nfssvc_nfsd (td=3D0xfffffe00bbfa3000,=0A= >>> uap=3D)=0A= >>> at=0A= >>> /share/dim/src/freebsd/src-dim/sys/fs/nfsserver/nfs_nfsdport.c:3714=0A= >>> #24 0xffffffff80e6f647 in sys_nfssvc (td=3D0xfffffe00bbfa3000,=0A= >>> uap=3D0xfffffe00bbfa33e8)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/nfs/nfs_nfssvc.c:111=0A= >>> #25 0xffffffff810d891e in syscallenter (td=3D)=0A= >>> at=0A= >>> /share/dim/src/freebsd/src-dim/sys/amd64/amd64/../../kern/subr_syscall.= c:189=0A= >>> #26 amd64_syscall (td=3D0xfffffe00bbfa3000, traced=3D0)=0A= >>> at /share/dim/src/freebsd/src-dim/sys/amd64/amd64/trap.c:1156=0A= >>> #27 =0A= >>> #28 0x00000008011aa59a in ?? ()=0A= >>>=0A= >>> Is anybody seeing this too? :)=0A= >>>=0A= >>> I can probably bisect, but it'll take quite a while.=0A= >>>=0A= >>> -Dimitry=0A= >>>=0A= >>>=0A= >>=0A= >>=0A= >> --=0A= >> Mateusz Guzik =0A= >>=0A= >=0A= >=0A= > --=0A= > Mateusz Guzik =0A= >=0A= =0A= =0A= --=0A= Mateusz Guzik =0A= From nobody Tue Jun 1 11:26:42 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 61805DFEC64 for ; Tue, 1 Jun 2021 11:26:50 +0000 (UTC) (envelope-from freebsd-current@freebsd.org) Received: from host2.al-wasaq.com (host2.al-wasaq.com [64.91.226.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FvVHG21Fvz4lhy for ; Tue, 1 Jun 2021 11:26:50 +0000 (UTC) (envelope-from freebsd-current@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alfouad-e-mall.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FoNN2vAHTR/ecSczvkgN+GkcKX8EtX0av1UGRtxSZ4M=; b=mQJXMyvtOgCi/GMZg0eeGZgk2A /f4pCoB/BTiOK/qGPDlkN1akMwx5F0W1Ns0ma8rg1S5bLzZOK8fF8Swmu0TxbLeiJjQrkXGICzQFf KTaWm9kyRb6KtiPMsaTsVXjUYoLPEPQ2+Zbsxd7nyz0z2GniIPXdfPcPArv1O+DDmiRJsdpkvBkm8 0S3rFcDSFasiL/lTrio/qw+aNsqOAqjryQ8z/QnYyQP7LdyrDKNZPbU7CT1mjFihvtbUgKUPoGtrd l7SPyT+PoOYLVyBfZhawc0guW4pznKYogO/lOUMVFVnVGsDlOq16LL5Q/w5W4LxVz8KjGvOnMdbxn 6GT8fZ9A==; Received: from agenestiv.info ([23.95.122.110]:57364 helo=gmail.com) by host2.al-wasaq.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1lo2Xj-0007iG-RD for freebsd-current@freebsd.org; Tue, 01 Jun 2021 14:26:43 +0300 From: Sponsored Ads To: freebsd-current@freebsd.org Subject: When ever the Bull drops. It means an all time high is coming- Get on the Bitcoin trade now Date: 01 Jun 2021 04:26:42 -0700 Message-ID: <20210601042642.55460F3CB9725B47@freebsd.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2.al-wasaq.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - freebsd.org X-Get-Message-Sender-Via: host2.al-wasaq.com: authenticated_id: no-replay@alfouad-e-mall.com X-Authenticated-Sender: host2.al-wasaq.com: no-replay@alfouad-e-mall.com X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4FvVHG21Fvz4lhy X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:32244, ipnet:64.91.224.0/19, country:US] X-ThisMailContainsUnwantedMimeParts: Y

Hello

Do you want to make money while at home? invest in bitcoin as this is th= e new Gold

visit http://www.wealthcreationpoint.com


Wealth Creation Point is your No1 most trusted and secured Cryptocurrency T= rading investment portfolio management system that guarantees you accurate = and standard trading experience. We are currently leading the crypto tradin= g world with our positive and unmatched results.


Our company has successfully earned huge number of positive reviews and fee= dback from clients across the world, and our popularity is increasing with = every passing day.
With over 7Million transaction worldwide you can be assured  that with= Wealth Creation Point your success is guarantee!
It is also not news that Bitcoin is on a run. with multinational companies,= captain of industries throwing there weight on it we sure are  up for= a ride
 

*Days ago amazon has announced it is working to include bitcoin on its&n= bsp; check out point
 
*Facebook has confirmed they will be accepting bitcoin and other cryptocurr= encies for payment on there commercial service
 
*Just today CEO/OWNER of Tesla Motors has confirmed you can now purchase ca= rs with bitcoin
 
*JP Morgan chase USA has boldly stated  that preparation are being mad= e for there ATM to allow people withdraw cash  from there cryptocurren= cy account

 

Thanks

WCP PR Team

From nobody Tue Jun 1 11:47:47 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 62B57E7101B for ; Tue, 1 Jun 2021 11:48:11 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (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 "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FvVlt15g1z4pJ9 for ; Tue, 1 Jun 2021 11:48:09 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 460927a4 for ; Tue, 1 Jun 2021 11:48:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; s=20180501; bh=vYFwZMBlAKJFF0NEjrZnp M5KIUQ=; b=LOBb19ZfNwai6Z4pDcrxq/bBNoMVpqAnBlYZ58nLUdyW1j8qmJt22 YaTYk82zOy+GXTNR6b+6tuy2TftrlIkfIQApyejA+L/L1Hv1H2JJ7rl0NPpblTrR /FiHM0VdbYjmTV5YGOqr8uTwHgWT/LcxHXY9b0n6L3wD6tghG1XXjQVoXtFIfKJn ZLpDFnYSXUAimTjJPtxcCk/pne44MslYEZ+1+LfANqHSqsL/reV32+xYjGFkcn+v 68dK4W0lah5d6FLeZwooN4J/Vq6lMGAZ6Tl9ZWp4gDY7PoD48GhdR9w+8e5mlJCi sDLXzSlCV0WuF7nLV254L30lgYsteLhiw== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=20180501; b=B/j3IN4KkfzqOqZ IMoYHg1vlesmXQ4vGgmdyccECOICajoOGdB9FmmlMbkahxhaP3MzHIf76SwxKtvD tPSgnmqt+04dFGNixmNpZwF8uNz9T9j5+rOfCqHbS2T1xXBy6mjTk6xosNWURrSI PcFBtMOu8IDQDnQNMVa0GVd9a4OUyCSRDEgwchFmonUs/eUP1Xjh1vScUT0BsYba uV0o2FcsTgRXfsGFk8oH3m4+N/OMKSnbNVY//NPELFg3kml0Z7ZDVLRHQIg016Xd ZjKgzq5aVVwqPQSEjEt6dPoSyvkfdAv/tYxFnKl7J4w5IKvO42akBydk/ykFk4i6 M90olYQ== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 0a3589f7 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO) for ; Tue, 1 Jun 2021 11:47:59 +0000 (UTC) Date: Tue, 1 Jun 2021 13:47:47 +0200 From: Michael Gmelin To: "freebsd-current@freebsd.org" Subject: ssh connections break with "Fssh_packet_write_wait" on 13 Message-ID: <20210601134747.40920d51@bsd64.grem.de> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FvVlt15g1z4pJ9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=LOBb19Zf; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-1.51 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[grem.de]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[213.239.217.29:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.99)[0.990]; DKIM_TRACE(0.00)[grem.de:+]; TO_DN_EQ_ADDR_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[213.239.217.29:from]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N Hi, Since upgrading servers from 12.2 to 13.0, I get Fssh_packet_write_wait: Connection to 1.2.3.4 port 22: Broken pipe consistently, usually after about 11 idle minutes, that's with and without pf enabled. Client (11.4 in a VM) wasn't altered. Verbose logging (client and server side) doesn't show anything special when the connection breaks. In the past, QoS problems caused these disconnects, but I didn't see anything apparent changing between 12.2 and 13 in this respect. I did a test on a newly commissioned server to rule out other factors (so, same client connections, some routes, same everything). On 12.2 before the update: Connection stays open for hours. After the update (same server): connections breaks consistently after < 15 minutes (this is with unaltered configurations, no *AliveInterval configured on either side of the connection). Thanks Michael -- Michael Gmelin From nobody Tue Jun 1 12:18:03 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 507D2E73B45 for ; Tue, 1 Jun 2021 12:18:11 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 4FvWQV2DQXz4t0G for ; Tue, 1 Jun 2021 12:18:09 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 151CI3OS030453 for ; Tue, 1 Jun 2021 12:18:03 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 151CI3ls030452 for current@freebsd.org; Tue, 1 Jun 2021 05:18:03 -0700 (PDT) (envelope-from david) Date: Tue, 1 Jun 2021 05:18:03 -0700 From: David Wolfskill To: current@freebsd.org Subject: wpa_supplicant: SIGBUS after main-n247052-d40cd26a86a7 -> main-n247092-ec7b47fc81b2 Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+ZZXH3gC4eszK4ZV" Content-Disposition: inline X-Rspamd-Queue-Id: 4FvWQV2DQXz4t0G X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-0.40 / 15.00]; HAS_REPLYTO(0.00)[current@freebsd.org]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_NA(0.00)[catwhisker.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; MAILMAN_DEST(0.00)[current]; REPLYTO_EQ_TO_ADDR(5.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --+ZZXH3gC4eszK4ZV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Reading symbols from /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wpa_supplica= nt/wpa_supplicant... (No debugging symbols found in /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wp= a_supplicant/wpa_supplicant) [New LWP 100168] Core was generated by `/usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_= supplicant.conf -D bsd -P /v'. Program terminated with signal SIGBUS, Bus error. --Type for more, q to quit, c to continue without paging-- #0 0x00000000010fb34f in wpa_sm_rx_eapol () (gdb) bt #0 0x00000000010fb34f in wpa_sm_rx_eapol () #1 0x00000000010f3afe in l2_packet_receive () #2 0x0000000001122ef3 in eloop_run () #3 0x00000000010b44a8 in wpa_supplicant_run () #4 0x000000000109fdec in main () (gdb)=20 wlan0 is an iwn(4) device, in this case. Not yet sure how reproducible this is, but wpa_supplicant's issue(s) do not (yet) seem to prevent the machine from using teh network (as I'm typing on the laptop's keyboard to write this). uname strings: yesterday: FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #258 main-n2= 47052-d40cd26a86a7: Mon May 31 05:48:18 PDT 2021 root@g1-55.catwhisker.= org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400018 1400018 today: FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #259 main-n2= 47092-ec7b47fc81b2: Tue Jun 1 04:49:26 PDT 2021 root@g1-55.catwhisker.= org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400018 1400018 (Though the laptop did just lose connectivity; checking /var/log/messages: <6>1 2021-06-01T12:06:15.336865+00:00 g1-55.catwhisker.org kernel - - - wla= n0: link state changed to DOWN <2>1 2021-06-01T12:09:26.811751+00:00 g1-55.catwhisker.org kernel - - - if_= delmulti_locked: detaching ifnet instance 0xfffff800126d6800 <2>1 2021-06-01T12:09:26.811773+00:00 g1-55.catwhisker.org syslogd - - - la= st message repeated 5 times <6>1 2021-06-01T12:09:26.811774+00:00 g1-55.catwhisker.org kernel - - - lo0= : link state changed to DOWN <27>1 2021-06-01T12:09:27.317032+00:00 g1-55.catwhisker.org dhclient 441 - = - My address (172.17.1.55) was deleted, dhclient exiting <2>1 2021-06-01T12:09:27.317474+00:00 g1-55.catwhisker.org kernel - - - if_= delmulti_locked: detaching ifnet instance 0xfffff800129a1800 I tried "sudo service netif restart" and that brought the connection back (for now, anyway). As the laptop is a machine that I connect to networks I do not control, it uses packet filtering (ipfw, which I've been using since Whistle Communications, ca. 1998). The build typescript will be up at https://www.catwhisker.org/~david/FreeBSD/history/laptop.14_build_typescrip= t.txt shortly. Peace, david --=20 David H. Wolfskill david@catwhisker.org Claiming that Donald Trump won the 2020 election is the opposite of patriotism. Make of that what you will. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --+ZZXH3gC4eszK4ZV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmC2JXtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PclQaQgA18e9tascZE1aSW6elcBrSo/cIRQU1KeguDAea+6LdqOx1ONqODh7GAQt GDhQylVwnZTci4aEXl48katwt4yYiqm+HvCD99uN1NJYw3Fjvn1jr0ql0x6ZNG3V hmd+pdatIJXGRwE9g/HFP0quvbDOdkHonCmZtZZaR8zb0azSMA3MbmWgcoPs+G/n JpNCZuPWs0fAKtK20pi9fsTL8LDu0Y6bAHPA5Ch1Hrmi/yuj2EJwYwj+Un2WwAY4 NfVeUQW4glansw3JDAX7Uws3qvBXsz+l9QGvTNGMG2YscqLNlAgUsj+HX/UFi2vs X0QU8GDr7bXH9Kzmsa8orIbB/Hv3hQ== =WZoK -----END PGP SIGNATURE----- --+ZZXH3gC4eszK4ZV-- From nobody Tue Jun 1 21:02:06 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F1812E7C2DF for ; Tue, 1 Jun 2021 21:02:10 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fvl365Tqnz4l5M for ; Tue, 1 Jun 2021 21:02:10 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.66.148.124]) by shaw.ca with ESMTPA id oBWZlYIzriLmnoBWall2tt; Tue, 01 Jun 2021 15:02:09 -0600 X-Authority-Analysis: v=2.4 cv=W+Nb6Tak c=1 sm=1 tr=0 ts=60b6a051 a=Cwc3rblV8FOMdVN/wOAqyQ==:117 a=Cwc3rblV8FOMdVN/wOAqyQ==:17 a=kj9zAlcOel0A:10 a=r6YtysWOX24A:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=JAf30KXuAAAA:8 a=fGd4AIuf4xoMSSBDo_gA:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=JOWeiY5itpwPQvuQ8dm/GawRuwE=:19 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 a=GEL62FyrTCmHtEug2d3R:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 6830657E for ; Tue, 1 Jun 2021 14:02:06 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.16.1/8.16.1) with ESMTP id 151L26ud012631 for ; Tue, 1 Jun 2021 14:02:06 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <202106012102.151L26ud012631@slippy.cwsent.com> X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: current@freebsd.org Subject: Re: wpa_supplicant: SIGBUS after main-n247052-d40cd26a86a7 -> main-n247092-ec7b47fc81b2 In-reply-to: References: Comments: In-reply-to David Wolfskill message dated "Tue, 01 Jun 2021 05:18:03 -0700." List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 01 Jun 2021 14:02:06 -0700 X-CMAE-Envelope: MS4xfGm7vj/N3LWYCVDVuZmQvsJU3aWcObMkVAdp2Cr0ELt8laxHI5e0Koz13fSqN/chrGt6Fd58mVxYeRwbnTETIBaqvpVi00wzloNDIHyj0iqdjsMVGfkA i3n1m1ABjih60l82BVdbYnnz5ricTUy2phEuHfp4GpU21PCQ3W53gAfp+6vSS/Wq9FkhVG8iC6salyONZdkvsuXvyzDQO4c/t2s= X-Rspamd-Queue-Id: 4Fvl365Tqnz4l5M X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Can you provide me with a backtrace, using the bt command, please. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org The need of the many outweighs the greed of the few. In message , David Wolfskill writes: > > --+ZZXH3gC4eszK4ZV > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Reading symbols from /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wpa_supplica= > nt/wpa_supplicant... > (No debugging symbols found in /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wp= > a_supplicant/wpa_supplicant) > [New LWP 100168] > Core was generated by `/usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_= > supplicant.conf -D bsd -P /v'. > Program terminated with signal SIGBUS, Bus error. > --Type for more, q to quit, c to continue without paging-- > #0 0x00000000010fb34f in wpa_sm_rx_eapol () > (gdb) bt > #0 0x00000000010fb34f in wpa_sm_rx_eapol () > #1 0x00000000010f3afe in l2_packet_receive () > #2 0x0000000001122ef3 in eloop_run () > #3 0x00000000010b44a8 in wpa_supplicant_run () > #4 0x000000000109fdec in main () > (gdb)=20 > > wlan0 is an iwn(4) device, in this case. Not yet sure how reproducible > this is, but wpa_supplicant's issue(s) do not (yet) seem to prevent the > machine from using teh network (as I'm typing on the laptop's keyboard > to write this). > > uname strings: yesterday: > > FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #258 main-n2= > 47052-d40cd26a86a7: Mon May 31 05:48:18 PDT 2021 root@g1-55.catwhisker.= > org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400018 1400018 > > today: > > FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #259 main-n2= > 47092-ec7b47fc81b2: Tue Jun 1 04:49:26 PDT 2021 root@g1-55.catwhisker.= > org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400018 1400018 > > (Though the laptop did just lose connectivity; checking /var/log/messages: > > <6>1 2021-06-01T12:06:15.336865+00:00 g1-55.catwhisker.org kernel - - - wla= > n0: link state changed to DOWN > <2>1 2021-06-01T12:09:26.811751+00:00 g1-55.catwhisker.org kernel - - - if_= > delmulti_locked: detaching ifnet instance 0xfffff800126d6800 > <2>1 2021-06-01T12:09:26.811773+00:00 g1-55.catwhisker.org syslogd - - - la= > st message repeated 5 times > <6>1 2021-06-01T12:09:26.811774+00:00 g1-55.catwhisker.org kernel - - - lo0= > : link state changed to DOWN > <27>1 2021-06-01T12:09:27.317032+00:00 g1-55.catwhisker.org dhclient 441 - = > - My address (172.17.1.55) was deleted, dhclient exiting > <2>1 2021-06-01T12:09:27.317474+00:00 g1-55.catwhisker.org kernel - - - if_= > delmulti_locked: detaching ifnet instance 0xfffff800129a1800 > > I tried "sudo service netif restart" and that brought the connection back > (for now, anyway). > > As the laptop is a machine that I connect to networks I do not > control, it uses packet filtering (ipfw, which I've been using since > Whistle Communications, ca. 1998). > > The build typescript will be up at > https://www.catwhisker.org/~david/FreeBSD/history/laptop.14_build_typescrip= > t.txt > shortly. > > Peace, > david > --=20 > David H. Wolfskill david@catwhisker.org > Claiming that Donald Trump won the 2020 election is the opposite of > patriotism. Make of that what you will. > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. > > --+ZZXH3gC4eszK4ZV > Content-Type: application/pgp-signature; name="signature.asc" > > -----BEGIN PGP SIGNATURE----- > > iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmC2JXtfFIAAAAAALgAo > aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy > OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 > PclQaQgA18e9tascZE1aSW6elcBrSo/cIRQU1KeguDAea+6LdqOx1ONqODh7GAQt > GDhQylVwnZTci4aEXl48katwt4yYiqm+HvCD99uN1NJYw3Fjvn1jr0ql0x6ZNG3V > hmd+pdatIJXGRwE9g/HFP0quvbDOdkHonCmZtZZaR8zb0azSMA3MbmWgcoPs+G/n > JpNCZuPWs0fAKtK20pi9fsTL8LDu0Y6bAHPA5Ch1Hrmi/yuj2EJwYwj+Un2WwAY4 > NfVeUQW4glansw3JDAX7Uws3qvBXsz+l9QGvTNGMG2YscqLNlAgUsj+HX/UFi2vs > X0QU8GDr7bXH9Kzmsa8orIbB/Hv3hQ== > =WZoK > -----END PGP SIGNATURE----- > > --+ZZXH3gC4eszK4ZV-- > From nobody Wed Jun 2 04:41:54 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DCB39BFF753 for ; Wed, 2 Jun 2021 04:42:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FvxFg5TK9z3jgK for ; Wed, 2 Jun 2021 04:41:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1622608917; bh=8RJP697u8jcmgerq9/8yGS06nQP2XoKg6FN24f5GbjM=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=b5dYQ41TFjIXcznTNLRd7bnHXsdfGcEsEk/5Pedk5LwImIIHB3x8YaMwNzvuchJ67VmJTNiVhLWRch6CUkzve+/EbbTeJlTBQ3ViEwTdxVdTGqGQ9Ei+azC6jBt4pXLKWZK6wShMOhzjiqssczfov+GeNKvIVpprIgeefTKmKPDM2GrSlszZBGoV8zZktBslTAoSL/LIU6BaLgS3Ku3CV9/N9Cv962y1jhzvCSx0rmDgQUO6bZMp9sbYGlzj4qZTcIGCnqXvrHS4SUiQ+PoayGRD4ix9opy6bBZoeg7Lnu2g9l8HTZF4KU1/64tzACrvq1QzbSStFDkEhOnll3eqzA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1622608917; bh=YkqLfbyyWAHNq+stG2mXt1ORg0SCGZlo5fh0PlbmEHu=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=DxqTFqaIwvb/+6Mc7Nuot02Lpp8sSaIgUYK77Mui8PsThSipjzKCuHs71GQyEghHfyiIQ9/rod1UPYeTQRUJqEKqN0EVlngEzhjfyb9l4e8fI0jGgXDgbk36sKu769QxE33fliwyqbknYsNAbUq6Y9epMwvo9b3zRhKJWmxQUwQB2Y258Olws+8Pq9H1ByAgDQagVDWG6aSUkGEFBvl6Pp0/q9K6ADmtuzPw3GE9Pq6rce1EC74LKijAZgiEJqhBZpD0c7YDRHDjRmnwm4EEY2tCRIdzjkGZp0ctin1i8/86SLVsWCv3QzMV2PXlvBsCerr16OaAVVu4jyClF1d8PA== X-YMail-OSG: gl8f5ogVM1luvNYgsBrmr3CdCSZP6..a_BzNcUECodtMVuQ7AeZfYtCUdVhEwCg cOtFxnNWU2TvOz6xwhzO_yYI95KhQvqTcVNSVUzBL83.PgnktwYNFcAbbCaq0n2jx75DGsLemwtW 8rud_QtZwrRb8PpYMXuO08G_yNcr31PRqd.URA1QZ1Fz_kCxoK8C.I2GZrY0leQKaaVyUmT9a4xi DuYiHygoKJbvLGiZj.IVzVXqjJ01bgW9R9Sit72h1zZzWGBHvigo_p9u0nAw2kYo4ODimnhYe5P3 xkRLF8Tqh.3CZfzIhAEPZZm_upfFgmVbbxmm8b1_huMr9MUfsP7uCxOZYcU6gp5rL16NDiFeSkPy kJVb_hOdxiCHl9i3.pQv4oN24TpT_.VuIQqL0nG.jDyA7gQJp.xnMclu3Ijkk7bH4rLGW0l17UZJ TQo9C2SPTFFYY8aEk04dFzYMxFYdXXx8eObDWbN9Sdh7ZHKr.AYtlDgezIyhJb9XYoZGN5Mhcb.n so.dQ6OFYhxda2fOPHBQ1rIYAGZFSDurauibls1mTstBJ8K4fJJ3Pr2sdaGYN_R33SSwXuoD1IFW vVF1RYmTxpVbEPtPu.SkFhOq61Jr1CyedpavmfCekdrs5kzBlUbzF67vcV0Je4O9dj38P4iEtu2q 6g3IU1z.C.VHc2N1IG0vqapb45tAMz7Dr51nIuIz8p4.Hp.lbHDD6cNHNLr0r5sn9hR0XfK7dBpN b3bOI7W774rK.mT8f7iHBMoiGdJybnx9qnesmCCzEw65WeTQwu9.LvDrwhUiF91UsIVDsOKGMUKI F4HCZQCjsCTNUjaC_SoB6y8BkBxeskuZLEEjJF_qjKBXOP8LpgrqPNea4wdjl6qNEdTeuIgA5FV2 dZLzt7YM.tXPpCct9nEaqnYDApNe5PUn3ld2U2YPeeE8sNzMCc0hPaIEEaUh.TklADuYiP.TjWcE ymB7KUkHfD6Dp4h38MHF_JagShpqADs19IpW7_do3NxaRaIOrO8U5ptQ.KjaDpeSau84rXu49hdZ CLKH9mZ0d6JbgHTsutv5If2BkwOEIFbTEnqVRNJK9Z9pef9EjJiYCYH5_I19II4Uc.waW6zJ1cwY jr0Glc52.YDuY6DAhnBVOwlb4F.syB4CTj_lm.yFXOoNuHNB1e2ilfipVmMbG6QLFU25HkG8VOLn Xew6BZ5Pw3zCHlMBklIFHcwsCNf_xnsUiUu2BT7PLwhLvmCzrOa9z4Z2NLE5ChG.udTKyXbLacAG tJVewy6AYQhEea2YlFl02AHOVY4S2fFq.zNKLsDNnF2PiIRW6WL6fi9c4EJCtcokyyo3vzHZfyqD O8AF9VSn11bgmxy0T1wOq4UGUUqAuPNMUKN1KgbVh9tZSI33WJeZOboqmygTJb.1Kak.UYp7nS64 TOTlrep6v7tp0Woz.P_nKTzxJbOYFKZa3G.6hgOx_WP72TGkyZhv7rtHDv8NutF5WBXZ1pUJgkFW F0gRQQmOHO.Lo0YQ9dMOYKBhNVr0mpWxNGx7GJGEzme4uKHer_MOkaz2k2.Ms4_9ZOLBRGeJ4Mjo XSlcuGL4nCYASux_GagPMsvYb8iB6ZDpvYJmfieiwwd_qUA4oGh55TS9vLkN334WQaZNTeFmDWLP a6cXKrVXz1uBDUxrqrxZtvAZWH1G.ZMZEw._dQv7sDZYPHr_bhup36g_Qm18lynG43QyD7y9lBko _pQ7KOXiADFsQ3dR1MSnovBD0eshQfVuNazTcdgq3zKdr0fNloqX1NwagXJa2teI4STRXicxI4hk 9zfvPuSSeptHKsW3dk.kwhnTPo90.pDp8R.CS8cSvpQWLpgsFKoN6tEm_6adRUBxu1rRT27K7CXC St1ayEXd0tM1yOk.s9QXiSyhnDOpnMdpBrxDgBnd33XRvgWsUjpxjbER3aL8q8xvl4d4DrPqwpg_ iM2itkjUGIE4MVQzGp.KtdrWoxe0l3hZEoUSiUhLsZsBLbdsz_2h7rJyGnIaA6wT3jSlRwgp4m7i bFSamPqPwvzXAtOoX8t.dKUHWba8ERASbwkevSRrBaOV50EIzKcGulXqwzblOm1Sr1LijDGubUuc lYilcb1axWKCAzAoLkpuqBOT4V5MMPqzXHX2bf720FVEZ5KkLSjUH6qNqAtvKnLK9oN.tL49JqRT 9GNgALh3UXdObGY2DEXEt.kM2IMsaPMgREnEmlHclMgIekxBcap9RXqca7eMik4TzUt3lObBNOkh Vj5mO82KVBS2p.8Fqb3kwnhkoLO9EaWXoutXrFZTSSh7bIohneswY4GXjG6eTnCVlJJkr2umQt2I mMyXhkK3u0pmGJ57jrpehXSf7GsMuvzmGXMtc3NlivQ5_9khwgh1.imUEaLHNWGk02DnTrqg0J5_ 2irNtKZMDRRpxf9xGD9gvGH_y_T.yU9jW9foR5nhR.ZSupxwGRO_oVeAv4Yu734YD5qh0qjmYVg7 qrERKAyHf8ZkP8juQYVVtIPSW0Oo0uN2i8IVDMOpEzdQDekEyQpxEgVYT3nljgo.rr.fLdBqEz0I TFmzXyKyEErdd.1zcJdYrJTN8ewSakaKOqqeeVKeRU_6PB5B38f3xqC4c.Kah.Wq6LGTSWnNPrD5 fhinkED4XvgNsHqRdz6185DM7qCi9MSu50M9AEO7sCp.iNg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Wed, 2 Jun 2021 04:41:57 +0000 Received: by kubenode541.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5f4db817c2315c8fc3c234994255f22d; Wed, 02 Jun 2021 04:41:56 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: wpa_supplicant: SIGBUS after main-n247052-d40cd26a86a7 -> main-n247092-ec7b47fc81b2 Message-Id: <72A5E40F-C973-473C-B2A4-ACDD28685FD8@yahoo.com> Date: Tue, 1 Jun 2021 21:41:54 -0700 Cc: freebsd-current To: Cy Schubert X-Mailer: Apple Mail (2.3654.80.0.2.43) References: <72A5E40F-C973-473C-B2A4-ACDD28685FD8.ref@yahoo.com> X-Rspamd-Queue-Id: 4FvxFg5TK9z3jgK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=b5dYQ41T; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.84:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.84:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.84:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.84:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-current X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N Cy Schubert wrote on: Date: Tue, 01 Jun 2021 14:02:06 -0700 : > Can you provide me with a backtrace, using the bt command, please. That was in the original message from David W. A copy was in the reply that you sent to the list as well: > > (gdb) bt > > #0 0x00000000010fb34f in wpa_sm_rx_eapol () > > #1 0x00000000010f3afe in l2_packet_receive () > > #2 0x0000000001122ef3 in eloop_run () > > #3 0x00000000010b44a8 in wpa_supplicant_run () > > #4 0x000000000109fdec in main () But it also had this report about the context: > > (No debugging symbols found in = /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wp=3D > > a_supplicant/wpa_supplicant) So it was apparently a non-debug build without symbols, limiting the information that is available. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Wed Jun 2 04:46:36 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 02666DF8BC4 for ; Wed, 2 Jun 2021 04:46:41 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FvxM41TmXz3kxH for ; Wed, 2 Jun 2021 04:46:39 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.66.148.124]) by shaw.ca with ESMTPA id oIm4lrvvKMrQqoIm6laYST; Tue, 01 Jun 2021 22:46:38 -0600 X-Authority-Analysis: v=2.4 cv=Nv6yz+RJ c=1 sm=1 tr=0 ts=60b70d2e a=Cwc3rblV8FOMdVN/wOAqyQ==:117 a=Cwc3rblV8FOMdVN/wOAqyQ==:17 a=kj9zAlcOel0A:10 a=r6YtysWOX24A:10 a=CjxXgO3LAAAA:8 a=-yz_V462AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=l6xw44UYW_mgYYNi1QIA:9 a=CjuIK1q_8ugA:10 a=mbJVFO_RAaaqJwqGRO5a:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 8DF32A8F; Tue, 1 Jun 2021 21:46:36 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.16.1/8.16.1) with ESMTP id 1524kadI005920; Tue, 1 Jun 2021 21:46:36 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <202106020446.1524kadI005920@slippy.cwsent.com> X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Mark Millard cc: Cy Schubert , freebsd-current Subject: Re: wpa_supplicant: SIGBUS after main-n247052-d40cd26a86a7 -> main-n247092-ec7b47fc81b2 In-reply-to: <72A5E40F-C973-473C-B2A4-ACDD28685FD8@yahoo.com> References: <72A5E40F-C973-473C-B2A4-ACDD28685FD8.ref@yahoo.com> <72A5E40F-C973-473C-B2A4-ACDD28685FD8@yahoo.com> Comments: In-reply-to Mark Millard message dated "Tue, 01 Jun 2021 21:41:54 -0700." List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 01 Jun 2021 21:46:36 -0700 X-CMAE-Envelope: MS4xfJC0ID5YZMwK2BSIzhdwsSlGsQiZVKNeUMhhqtti2k/9+L+YaBGJvjyw9Q8WHA8vybN4zJDj2gq0J39VX9mQrJSax7fgdTI17J/wvEuo3t57pnM5Wv7F 7TmKEpKg55TkgAVzQy3vqIbYnG+xIl9g/qTKcL9Ry6NjZHVB7pEmgc1PM3VjFSnrqxVEPoGDEMCAz366JH6DO+gBc4bkV1BXl86tCGa/qUUcTXrVqP8t/5vf H6UDzd61bpV7S1zijw/2Uw== X-Rspamd-Queue-Id: 4FvxM41TmXz3kxH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N In message <72A5E40F-C973-473C-B2A4-ACDD28685FD8@yahoo.com>, Mark Millard write s: > Cy Schubert wrote on: > Date: Tue, 01 Jun 2021 14:02:06 -0700 : > > > Can you provide me with a backtrace, using the bt command, please. > > > That was in the original message from David W. A copy was > in the reply that you sent to the list as well: > > > > (gdb) bt > > > #0 0x00000000010fb34f in wpa_sm_rx_eapol () > > > #1 0x00000000010f3afe in l2_packet_receive () > > > #2 0x0000000001122ef3 in eloop_run () > > > #3 0x00000000010b44a8 in wpa_supplicant_run () > > > #4 0x000000000109fdec in main () > > But it also had this report about the context: > > > > (No debugging symbols found in /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/ > wp= > > > a_supplicant/wpa_supplicant) > > > So it was apparently a non-debug build without symbols, limiting > the information that is available. Correct. We have debug symbols now and are chasing it down. I suspect a static function address in a structure may be incorrect. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org The need of the many outweighs the greed of the few. From nobody Wed Jun 2 21:07:40 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 506B51031B57 for ; Wed, 2 Jun 2021 21:07:53 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 4FwM7D34VPz4nT9 for ; Wed, 2 Jun 2021 21:07:52 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82b.google.com with SMTP id c10so2888291qtx.10 for ; Wed, 02 Jun 2021 14:07:52 -0700 (PDT) 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=ATz47SXlEgBFHC4pls58Wkhf7tkeeTKZ3pIh6jU43Ig=; b=HMRhgzLL7+xoeczj1G3rJQOa2D3KoTUQeBVPAj0HruDB8Lkz3Vbb7Nb7geP+jLQ3er gPmHQcNZWk0sKsMGVgI1CzXqOf1i6KXqghnTTTMAuJEskZcXbWlNEtfm3slgIQABvlQx mF7YklMpDNeA3Aldhm7uBtI1qfwNukqrI/bYmWEbTTjMz9PfDGI5MLnkbyWDxo0CfMpK FgzWlQ3hNjgLWzORPPRik1sQJyDfTkkf02zgS/x8rSYBqq/U4vpzulFAzJ6wxDnKDfl4 SXSPY1fcRlsqGApIP/zGDy2db2OiidINSH6qaYT9gA+W63c4HTX1cKzOeC5nkaeBE+CV UfzA== 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=ATz47SXlEgBFHC4pls58Wkhf7tkeeTKZ3pIh6jU43Ig=; b=Wpuxxs7+aWxJaUvljtdpEKpWAnq8xYOP4VlqkxXFuPK7BURf1BVd933/AS0sELqA8o CaTRTfefCFX+98mO2KQG/XOWCSIwLQiGYWEYkinURPtirGwupWSZGbbqrH+bYscdzigi aNlqqErfiK1rM9t+8T9Zboaqwe282JwwcGqgYW/6cjLY0yr2dtf1nRyW/dm5z20FfcPo 7zPNqFNrluQ+b7vr8aJjomZoqQbU4hbAsuJVNfPclEve+M9TunYaGkKGlV78WF72xyvP Yy4319VTNZwLmOPLSn38LK0a2Cph0ok4vsek/NmlMAyyzkN5p0a0/DoQr94hQCoHfKwx 6eaA== X-Gm-Message-State: AOAM530pzWwvwycy5hgVssfaE0FejvfWovna1uEN+/7nX++1xnlsPOS+ JI7JmnqeI6dRrFkz6gRkNrpw21R6nudolCvA2cR6YlkbYVSpWgUG X-Google-Smtp-Source: ABdhPJwr0NISNAx2oqvimqRitNW/K0T4LknisT3NdbCa3fcNc44wUV/9p9SLzCIkS6AguchT8D88Fj4JX8wGPmOQDts= X-Received: by 2002:ac8:5986:: with SMTP id e6mr26419225qte.101.1622668071045; Wed, 02 Jun 2021 14:07:51 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 From: Warner Losh Date: Wed, 2 Jun 2021 15:07:40 -0600 Message-ID: Subject: HDA patches To: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000f6aa2605c3ced998" X-Rspamd-Queue-Id: 4FwM7D34VPz4nT9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=HMRhgzLL; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::82b) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.98 / 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(-0.98)[-0.979]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::82b:from:127.0.2.255]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82b: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::82b: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-current] X-ThisMailContainsUnwantedMimeParts: Y --000000000000f6aa2605c3ced998 Content-Type: text/plain; charset="UTF-8" A while ago (too long), K Staring ported a bunch of configuration data from Linux's HDA driver(s) to FreeBSD. These were sent as a series of pull requests to github, but never landed. I've taken the latest version of this, forward ported it to -current and have uploaded the results in this code review https://reviews.freebsd.org/D30619 for comment and testing. It affects mostly laptops with hda drivers from 2016-2019 if I'm reading the comments right. They fix various sound problems (like the headphones not working). These were originally in https://github.com/freebsd/freebsd-src/pull/139 through https://github.com/freebsd/freebsd-src/pull/150 and I've squashed and rebased forward. Those 12 pull requests have the discussions to date on these patches. Warner --000000000000f6aa2605c3ced998-- From nobody Thu Jun 3 06:20:14 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 205A113755AE; Thu, 3 Jun 2021 06:20:24 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FwbNk4j2xz4T8D; Thu, 3 Jun 2021 06:20:22 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id 1536KE5v024855 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 2 Jun 2021 23:20:14 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id 1536KE1J024854; Wed, 2 Jun 2021 23:20:14 -0700 (PDT) (envelope-from jmg) Date: Wed, 2 Jun 2021 23:20:14 -0700 From: John-Mark Gurney To: freebsd-current@FreeBSD.org Cc: freebsd-usb@FreeBSD.org, freebsd-net@FreeBSD.org Subject: RFT: improvements to if_cdce driver Message-ID: <20210603062014.GZ14975@funkthat.com> Mail-Followup-To: freebsd-current@FreeBSD.org, freebsd-usb@FreeBSD.org, freebsd-net@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 11.3-STABLE amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Wed, 02 Jun 2021 23:20:14 -0700 (PDT) X-Rspamd-Queue-Id: 4FwbNk4j2xz4T8D X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jmg@gold.funkthat.com has no SPF policy when checking 208.87.223.18) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [0.20 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[jmg]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[funkthat.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[208.87.223.18:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[208.87.223.18:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:32354, ipnet:208.87.216.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-usb,freebsd-net]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hello, I decided to make some improvements to the CDCE driver as at least the RealTek devices (what I tested them with) when they aren't supported by ure will present as cdce devices. https://reviews.freebsd.org/D30625 This adds if_media support and link state support. The most significant change is this means that if a ue device is configured for DHCP, devd will now launch dhclient, where previously it would not, as it would neither receive the link up status (for when a cable is plugged in) nor would it be the requisit ethernet media type. The device I tested with was a RealTek 2.5G device. So, other non-RealTek devices would be great to test with. Let me know if you have any issues with the change! Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From nobody Thu Jun 3 12:46:35 2021 X-Original-To: freebsd-current@freebsd.org Received: from mlmmj.nyi.freebsd.org (unknown [127.0.1.24]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 97C2013A5A71 for ; Thu, 3 Jun 2021 12:46:35 +0000 (UTC) (envelope-from freebsd-current+bounces-help@FreeBSD.org) Subject: =?utf-8?q?Unable_to_unsubscribe_from_freebsd-current=40FreeBSD.org?= From: freebsd-current+help@FreeBSD.org To: freebsd-current@freebsd.org Message-ID: <1622724395-71803-mlmmj-0cb78b6c@FreeBSD.org> Date: Thu, 03 Jun 2021 12:46:35 +0000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N Hi, this is the Mlmmj program managing the mailing list. You were unable to be unsubscribed from the list because you are not subscribed. If you are receiving messages, perhaps a different email address is subscribed. To find out which address you are subscribed with, refer to the message welcoming you to the list, or look at the envelope "Return-Path" header of a message you receive from the list. From nobody Thu Jun 3 13:09:06 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ECDD513A7E39 for ; Thu, 3 Jun 2021 13:09:16 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (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 "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FwmSW4Bgxz3GnH for ; Thu, 3 Jun 2021 13:09:15 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 8b571cb2 for ; Thu, 3 Jun 2021 13:09:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=3FYN8fFq hYP+TMR5Mu4g6jOtooI=; b=emcvStVSZsVOl7HapdcfzUWVJoO4pvX55nIjUsFW hPY+eWMn22GO9NBa18I+4pOxBtxFOdqqVBWS2WTd2/4SwMFNkQkdj09/XVjLDLlL KzxpWk92LDrt8TjvO7KUqkoPazDztm4j2FSwparmg5QCyUWR7EbaoVNWDzKFi3LL zqBRtIqTMs4MRhtHjukEYdmDv40+BNGg0rTRVJksyZThYGZ6aZJ/uvnAZ6AAaM5A qv8TSY38FZHy9dbr7bRsuXEsX4WuhMsS9BM7noBTEaGse4xiTi4L+FssFA3HWjBD f3bGgrXG5UUMgK5lm3up4vZ7ITKJwgeYaIWDmbhg3yH2rA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=tU LAEYqkEndMQ1FJQu7V/xEOvDTXPPCl7Eat8acC43Xa7SusIIteKiEm4jMSmV5AFw I771PEFzEEkw9GFHQRbMVxGqxee0wYiYytuzpGyFL6aQVF1PjX1oMYj8DCf1Ld/x J3Q9Ury2hKqvO70YSnmEuRVcFvF1GTDJO86EQdlQf/wU4ur0wJ8SlMWDXyCtdKWV F0YV7CQP8oJ/N3wdBH6Owg6UsJrmBPKLDECTYESNhvZqD4mw9ZV6RcvusJTquEhd tll1cldUiqdF6eKT9Xl54ed0Uhkjs1bT+MJHtURIr/4zbw0lrLVXDjJ4Px5HFdoo rH1s8J3UoVO2W9nzIXBQ== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 6c779dbb (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO) for ; Thu, 3 Jun 2021 13:09:09 +0000 (UTC) Date: Thu, 3 Jun 2021 15:09:06 +0200 From: Michael Gmelin To: "freebsd-current@freebsd.org" Subject: Re: ssh connections break with "Fssh_packet_write_wait" on 13 Message-ID: <20210603150906.48cbd638@bsd64.grem.de> In-Reply-To: <20210601134747.40920d51@bsd64.grem.de> References: <20210601134747.40920d51@bsd64.grem.de> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FwmSW4Bgxz3GnH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=emcvStVS; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[grem.de]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[213.239.217.29:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[grem.de:+]; NEURAL_HAM_SHORT(-1.00)[-0.997]; TO_DN_EQ_ADDR_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[213.239.217.29:from]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N On Tue, 1 Jun 2021 13:47:47 +0200 Michael Gmelin wrote: > Hi, > > Since upgrading servers from 12.2 to 13.0, I get > > Fssh_packet_write_wait: Connection to 1.2.3.4 port 22: Broken pipe > > consistently, usually after about 11 idle minutes, that's with and > without pf enabled. Client (11.4 in a VM) wasn't altered. > > Verbose logging (client and server side) doesn't show anything special > when the connection breaks. In the past, QoS problems caused these > disconnects, but I didn't see anything apparent changing between 12.2 > and 13 in this respect. > > I did a test on a newly commissioned server to rule out other factors > (so, same client connections, some routes, same everything). On 12.2 > before the update: Connection stays open for hours. After the update > (same server): connections breaks consistently after < 15 minutes > (this is with unaltered configurations, no *AliveInterval configured > on either side of the connection). > I did a little bit more testing and realized that the problem goes away when I disable "Proportional Rate Reduction per RFC 6937" on the server side: sysctl net.inet.tcp.do_prr=0 Keeping it on and enabling net.inet.tcp.do_prr_conservative doesn't fix the problem. This seems to be specific to Parallels. After some more digging, I realized that Parallels Desktop's NAT daemon (prl_naptd) handles keep-alive between the VM and the external server on its own. There is no direct communication between the client and the server. This means: - The NAT daemon starts sending keep-alive packages right away (not after the VM's net.inet.tcp.keepidle), every 75 seconds. - Keep-alive packages originating in the VM never reach the server. - Keep-alive originating on the server never reaches the VM. - Client and server basically do keep-alive with the nat daemon, not with each other. It also seems like Parallels is filtering the tos field (so it's always 0x00), but that's unrelated. I configured a bhyve VM running FreeBSD 11.4 on a separate laptop on the same network for comparison and is has no such issues. Looking at TCP dump output on the server, this is what a keep-alive package sent by Parallels looks like: 10:14:42.449681 IP (tos 0x0, ttl 64, id 15689, offset 0, flags [none], proto TCP (6), length 40) 192.168.1.1.58222 > 192.168.1.2.22: Flags [.], cksum x (correct), seq 2534, ack 3851, win 4096, length 0 While those originating from the bhyve VM (after lowering net.inet.tcp.keepidle) look like this: 12:18:43.105460 IP (tos 0x0, ttl 62, id 0, offset 0, flags [DF], proto TCP (6), length 52) 192.168.1.3.57555 > 192.168.1.2.22: Flags [.], cksum x (correct), seq 1780337696, ack 45831723, win 1026, options [nop,nop,TS val 3003646737 ecr 3331923346], length 0 Like written above, once net.inet.tcp.do_prr is disabled, keepalive seems to be working just fine. Otherwise, Parallel's NAT daemon kills the connection, as its keep-alive requests are not answered (well, that's what I think is happening): 10:19:43.614803 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 40) 192.168.1.1.58222 > 192.168.1.2.22: Flags [R.], cksum x (correct), seq 2535, ack 3851, win 4096, length 0 The easiest way to work around the problem Client side is to configure ServerAliveInterval in ~/.ssh/config in the Client VM. I'm curious though if this is basically a Parallels problem that has only been exposed by PRR being more correct (which is what I suspect), or if this is actually a FreeBSD problem. Michael -- Michael Gmelin From nobody Thu Jun 3 14:04:33 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A1F2CBFB490 for ; Thu, 3 Jun 2021 14:04:41 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (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 "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FwnhS4J7yz3N0l; Thu, 3 Jun 2021 14:04:40 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id f3fbe54c; Thu, 3 Jun 2021 14:04:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=3QO5cWBn Tc3XBs8ldWVYZeWHyw4=; b=VnFkqyS1b8gXSE+QKDpwXksX/dYMKfZIyUP2q22n pgZoqfJ5uT3fwDgcQNdELbyxOSvHhhWQZu1MGBwDmeMiubMFTt7G38AexDIPFNf2 mq/qSCICKB8CJj47fLIYuOoRybRzUOviB6fDdwLubjByRaFNCK7sG1nZvSkYtej7 3INOnXQ9N07bX1hFoP0yaJO0bTQizOF44DCLw8SxgNQQKEyQHvdOPjKqiYecefvi BD0AvSOO52QlVH0tJUeFq+WiGxGT7HseL6xkfS5/2xUJBZwYGKA+woKbu2XhXNdy ku6RYZvWmM0Ob8a0NnX7ipThu9DYJ9wAi+2nieTFhIfUag== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=Zv 4r/q9SvKwEkRlMhUkQtrWQNxjZLjYVfM8w0CtxK71JlVMJI+UKR89Y7a+qDTGYIV PpZC22pyZS6bUOYz9pWPaLx6tODD3hEOFLhqfiCEO6lzKY0wee5own8T1IhmFhI0 ogP3tkewawOxMRg7efQGkA4vzmi0XPyabAjhfH6gYOuxCiDO6cNYpOO5S5/VBK63 GabE+HXkDkYxg0Ouw1RF/Nqk7LcKACbJKzVnzfU06cBOTE79iHAvEWV29mkLPP8n oI6UzMmUwKmiDz9Ty/rwqlgin81LX7fHE5s1xYMZeTO2GF+bO98uG6cJUr1AMByf Bc2rmgkIJJg45ZqosqMw== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 50f6b7ce (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Thu, 3 Jun 2021 14:04:36 +0000 (UTC) Date: Thu, 3 Jun 2021 16:04:33 +0200 From: Michael Gmelin To: Mathieu Arnold Cc: Michael Gmelin , Kurt Jaeger , current@freebsd.org Subject: Re: zpool upgrade and bootcode on 13-RELEASE Message-ID: <20210603160433.14371bea@bsd64.grem.de> In-Reply-To: <20210528205052.1c464a8f@bsd64.grem.de> References: <20210519153757.4e00e96f@bsd64.grem.de> <20210519193243.3fd82d19@bsd64.grem.de> <20210528183714.7xbmuouxlxxy3n6j@aching.in.mat.cc> <20210528205052.1c464a8f@bsd64.grem.de> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FwnhS4J7yz3N0l X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=VnFkqyS1; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[213.239.217.29:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[213.239.217.29:from]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[current] X-ThisMailContainsUnwantedMimeParts: N On Fri, 28 May 2021 20:50:52 +0200 Michael Gmelin wrote: > On Fri, 28 May 2021 20:37:14 +0200 > Mathieu Arnold wrote: > > > On Wed, May 19, 2021 at 07:32:43PM +0200, Michael Gmelin wrote: > > > > > > > > > On Wed, 19 May 2021 19:09:06 +0200 > > > Kurt Jaeger wrote: > > > > > > > Hi! > > > > > > > > > Does this mean, re-installing the bootcode isn't necessary > > > > > anymore > > > > > - or has the warning been removed by accident/as a side effect > > > > > of merging with OpenZFS? > > > > > > > > On the contrary, because of the switch from FreeBSD ZFS to > > > > OpenZFS, the bootcodes needs to be updated! It's unfortunate > > > > that no message is displayed 8-( > > > > > > > > > > That's too bad - maybe it would make sense to mention this in the > > > release errata? > > > > > > > The problem is, finding out which bootcode needs to go where > > > > etc. > > > > > > For the machines in question it was a straightforward legacy > > > layout, so that was easy enough (they came back up just fine - > > > *phew*). > > > > > > Do you think there is any chance to get the warning back in there? > > > Maybe in a more generic way, like: > > > > > > In case you're booting from , please make sure to > > > update the bootcode according to your partition layout. See `man > > > zfsboot' for details. > > > > > > Fun fact: That man page already exists (I had no idea), but could > > > use some love - e.g., add the EFI examples you gave. > > > > I have had a look at that man page, it gives ten different commands, > > without saying which you need to use, if they are all needed, or > > not, or when you actually have to used them. > > > > Fun fact is that I absolutely never ever used any of them. All I > > ever did was run: > > > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1 > > > > because `zpool upgrade` told me to. It would probably be great to > > have that command in that man page. > > > > Hi Mathieu, > > I opened a pull request upstream. It already has been reviewed and > accepted, but is yet to be merged: > https://github.com/openzfs/zfs/pull/12104 > > The bootcode warning is now only shown for pools that have bootfs set > (which should be fine on most "normal" installations) and reads like > this: > > Pool 'testpool8' has the bootfs property set, you might need to > update the boot code. See gptzfsboot(8) and loader.efi(8) for details. > > I figured that these are the most relevant man pages for current > systems. It would make sense to update these man pages to be more > helpful (latest, when this change lands in FreeBSD, but earlier > obviously won't hurt). The pull request has been merged upstream: https://github.com/openzfs/zfs/commit/65d9212aeeb531e9f987bb41a1ee11b526d2cdad I'll continue tracking the issue (backporting it to 13?) at our end: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256024 Best Michael -- Michael Gmelin From nobody Thu Jun 3 15:21:54 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 00327BFF554 for ; Thu, 3 Jun 2021 15:22:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 4FwqPp65LSz3kRJ for ; Thu, 3 Jun 2021 15:22:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82a.google.com with SMTP id m13so4584900qtk.13 for ; Thu, 03 Jun 2021 08:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zbK/+5S2t7gAYhifnVipGag9kUhkOGJxeNLo6tmzeTI=; b=CjXxjnfOkrd3slLE5IncxYeXmE4LAM3zlbfIsBkFBelS/UD5IZfM0V9Ofqb25NtgB+ UAZKwVfrzR+feTzrfAGhQzOHkOkNSOqNfYk6Q1jCpyHzB6abNdLsG3clLPDl07QvenPO aO7cwA+63y7RgK6FN6g5tO1xI7aEIWzCCp5Q1GjgJOCTjosNc3DwOcFcx+9yFLs4kovy VJMOa6fW8fMeQzaoUSKLMNGwOUbfLdcO9HryolaCM4dLcfMIeJpuyLC0rkpN3hb3nyz1 YlJOArritsvSZ5Br6I6cr0WeNjNysfJzR3dCMbdJfk9mBRj1Qa7m6AkSWNZ4Q/3rz6Fq sY0g== 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=zbK/+5S2t7gAYhifnVipGag9kUhkOGJxeNLo6tmzeTI=; b=mS6A+BrgRNGXQefLViEaJ9Qvp9nQBOITOLTvt6/ahK3LG5xu3f3EPyfW4Jaz4f59R6 3CuR740dG1B+G9C58tD8i7qKQKmBYWNau45dh0LfcIx35ByTLkEvj1XxWPWfVryVP9pQ whprJ2O6PbY7YPpQh8Nxfk1ZqQ2DDbuiGic1lccLkT+nQ/ThIDb5mL3+elTQGjAERuCY 87CQK7L3bkBA0XkB1pNx1Kq0TDmJv1SyI0V5Ue3mEGq/Bhkj42vh4Wnu/mB2ZHB8ihmH lvXcBPenFkg+Hp22u9Re49JUcfMEq+h6skaHFGsN13Zizb2xm2bKx42yQ5XYt/Nb6aMc tB/Q== X-Gm-Message-State: AOAM530FECKnmTph/c+v56mhSn5dEjCxEcDsje8ZVjdxnnuxiiGYX6kA c0qqamhsc2x1/+wkeRbpgt6mtxwTFUcV6cRaWiEozA== X-Google-Smtp-Source: ABdhPJwdg6GcOzqsSQRe0RzcNya/XWJCnYVjPiEc6ilidDcy/wbdzLJ9kS2yCAUYeGafd1TU8IW+gkN02g78Wbk9EzQ= X-Received: by 2002:ac8:5986:: with SMTP id e6mr29798qte.101.1622733725648; Thu, 03 Jun 2021 08:22:05 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20210519153757.4e00e96f@bsd64.grem.de> <20210519193243.3fd82d19@bsd64.grem.de> <20210528183714.7xbmuouxlxxy3n6j@aching.in.mat.cc> <20210528205052.1c464a8f@bsd64.grem.de> <20210603160433.14371bea@bsd64.grem.de> In-Reply-To: <20210603160433.14371bea@bsd64.grem.de> From: Warner Losh Date: Thu, 3 Jun 2021 09:21:54 -0600 Message-ID: Subject: Re: zpool upgrade and bootcode on 13-RELEASE To: Michael Gmelin Cc: Mathieu Arnold , Kurt Jaeger , FreeBSD Current Content-Type: multipart/alternative; boundary="00000000000048636a05c3de2330" X-Rspamd-Queue-Id: 4FwqPp65LSz3kRJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000048636a05c3de2330 Content-Type: text/plain; charset="UTF-8" On Thu, Jun 3, 2021 at 8:05 AM Michael Gmelin wrote: > > > On Fri, 28 May 2021 20:50:52 +0200 > Michael Gmelin wrote: > > > On Fri, 28 May 2021 20:37:14 +0200 > > Mathieu Arnold wrote: > > > > > On Wed, May 19, 2021 at 07:32:43PM +0200, Michael Gmelin wrote: > > > > > > > > > > > > On Wed, 19 May 2021 19:09:06 +0200 > > > > Kurt Jaeger wrote: > > > > > > > > > Hi! > > > > > > > > > > > Does this mean, re-installing the bootcode isn't necessary > > > > > > anymore > > > > > > - or has the warning been removed by accident/as a side effect > > > > > > of merging with OpenZFS? > > > > > > > > > > On the contrary, because of the switch from FreeBSD ZFS to > > > > > OpenZFS, the bootcodes needs to be updated! It's unfortunate > > > > > that no message is displayed 8-( > > > > > > > > > > > > > That's too bad - maybe it would make sense to mention this in the > > > > release errata? > > > > > > > > > The problem is, finding out which bootcode needs to go where > > > > > etc. > > > > > > > > For the machines in question it was a straightforward legacy > > > > layout, so that was easy enough (they came back up just fine - > > > > *phew*). > > > > > > > > Do you think there is any chance to get the warning back in there? > > > > Maybe in a more generic way, like: > > > > > > > > In case you're booting from , please make sure to > > > > update the bootcode according to your partition layout. See `man > > > > zfsboot' for details. > > > > > > > > Fun fact: That man page already exists (I had no idea), but could > > > > use some love - e.g., add the EFI examples you gave. > > > > > > I have had a look at that man page, it gives ten different commands, > > > without saying which you need to use, if they are all needed, or > > > not, or when you actually have to used them. > > > > > > Fun fact is that I absolutely never ever used any of them. All I > > > ever did was run: > > > > > > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1 > > > > > > because `zpool upgrade` told me to. It would probably be great to > > > have that command in that man page. > > > > > > > Hi Mathieu, > > > > I opened a pull request upstream. It already has been reviewed and > > accepted, but is yet to be merged: > > https://github.com/openzfs/zfs/pull/12104 > > > > The bootcode warning is now only shown for pools that have bootfs set > > (which should be fine on most "normal" installations) and reads like > > this: > > > > Pool 'testpool8' has the bootfs property set, you might need to > > update the boot code. See gptzfsboot(8) and loader.efi(8) for details. > > > > I figured that these are the most relevant man pages for current > > systems. It would make sense to update these man pages to be more > > helpful (latest, when this change lands in FreeBSD, but earlier > > obviously won't hurt). > > The pull request has been merged upstream: > > https://github.com/openzfs/zfs/commit/65d9212aeeb531e9f987bb41a1ee11b526d2cdad > > I'll continue tracking the issue (backporting it to 13?) at our end: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256024 Great. To get into 13, it will need to be merged into their stable branch... The plan moving forward is to merge what's upstream based on the upstream branch. The last technical issue with git should be resolved soon to let that get unstuck. Warner --00000000000048636a05c3de2330-- From nobody Fri Jun 4 02:11:41 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 05C2B136F0D3 for ; Fri, 4 Jun 2021 02:11:45 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670077.outbound.protection.outlook.com [40.107.67.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fx5qM1kk9z3NTl for ; Fri, 4 Jun 2021 02:11:42 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ICs31ad9hzFPavIFs49S9tT1FDKgBU1TPgMWEmZlxXdXQRUGbOwK4Z3wRzqRQLtE367s2QI085NYnc60zBtXp3upY6nN681IRRfpd4GT+lSKBBTNsSFZA4w68r3ADZKzU7qDq3XJ7iAD8JOWF1DFNLuF9hQqWDXscJCccUzRbPdfjy8z9D7RVlQ+dQQP9oXWoWMXAZhuqZegZBWACFdiyEQl7BV35N54DA3+sNRMajci31K1BSB81Lci7NRPdgGwKMZEBqhrxKYw3r4kbzUlcFUzgvZfBelZnJnpkjZQqURzFNzLZTMgPs3F1k9SeK1nyMaIF5raJaSZZHkl5jtokQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ScNloRPFI5+4qajPJ+BBjuJRJE/F8vlQuiP8rMbsmTY=; b=f72xzySlHUNepKdxjsyDSYK6TfsqKE9V6xTlTih7E+L/RfWIKGFj5ClMVkqp3lAl6WWZSem1J6a6oVhKUCxp5hH6s6UY8/K8u6lvo+upz3PC6xh9Dbd8vvzJ1M78VkaM/t8S3EOuhqj+aNyqzqSF8V1jEx/HBNKfvSYSWJBCrwdehLlX1TBHjMRYGue+kFq/nqCZB4ns5rY0JNs6hcvgkIxjgCIwMDqtdXWCWTAJRw5qcpPi82cmnQfiQgb5lqgKaVURpatCfdilHpMMcs3xivXhjzaT/0GnOMGmmwxWZhLh+A6P/CwMzQpYs1bbuAXObGnqnlhH/WNKhTOdFXspFQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uoguelph.ca; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ScNloRPFI5+4qajPJ+BBjuJRJE/F8vlQuiP8rMbsmTY=; b=jorMUDPF/RtoXq/ri4+1wtMholgC4Ub/kzGpbJtTA7kIzRforEWybPC9qV6mySIButQlqeIivg1NYFlZnxeST8vYktxHPBaq15t2EOz/vqqyfSKwONyqOWoePDyA5SUeCElLYsxc0hZfirLtzk9w2lIli2YRTe5NWUZo5cbpRWvBsidKTb5OVCG8mdI55qFLSQe7ox0FY/aonUm+5BFjEK9gJGmLtzCVtJrgca1lu4iUumBWHALCAOEg+/a9xGxOURLIFA4lEzSxX0oHId895NUu5FPy+/XgcgfbyZ32blJZ7WZFjJYGjFztlh/yQE4lG4rS1Im/tSFoz9FyR7wrVA== Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:19::29) by YQBPR0101MB2082.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.29; Fri, 4 Jun 2021 02:11:41 +0000 Received: from YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf]) by YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM ([fe80::583:528b:dbac:37bf%4]) with mapi id 15.20.4173.033; Fri, 4 Jun 2021 02:11:41 +0000 From: Rick Macklem To: FreeBSD Current Subject: git MFC/cherry-pick question Thread-Topic: git MFC/cherry-pick question Thread-Index: AQHXWOZVC/fQExE9AEmc04seojMvlw== Date: Fri, 4 Jun 2021 02:11:41 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f474f679-e660-4245-1c9e-08d926fe1827 x-ms-traffictypediagnostic: YQBPR0101MB2082: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2043; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jBq5Zqnb6No5eyACchCaBF8LOh22sgZeAO3755mS897wccjrR0DUqCpAypN/3UeID7S18ykiwMETG/VrQg6+MqICRAbhFjU1cczE/ZEQ2f/KjBzsG91FJZFMvmP+tKBf2FzjXIJQjpPq++D63Zm9LW1MG9OyDY/jQj72A/djg5ob1dmhyc47cnPLJ2bTtQKnkMv9elLjxpg2LIvGPFRhaiPagApcSh8KF1dc4ID1xlqR4wSsrEnzbH9BjZSD9FtXYWg/fdDHTe9OSI+wnKnGMZZdNVyrZZ5m4sOk/QrQAnMhEJ0sqkTNGG5SfKRgwdAk6e+C39ViIxL+KEL89Lq7EwFtwlWHL6+0zwtiDt8RUGtJN1rdWv+dWY6tM3KXj6C2mhTqKNMneTVIHR6PKQetmo9ZSLIRqYn8ddxhxxA6Itk2/rz7Lvuh8xq8VdXD+IdcmM/uhgDGrwJ1kH0+johOPtJ3HzUB7f/mGds/IajJ8p9MdPHfj4tCbXI4h3De7ZR2NWY3G0q7IjW7QKortRYxvF7XAQBoXE1v7okIIBsap39Se5ILCQBlIY3/6Jac+V6NQdIcugjyL5kv2zTX0VBvhBNXc1+ZWUDyUBdfqPl42/E= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(39860400002)(346002)(366004)(396003)(376002)(136003)(122000001)(38100700002)(86362001)(71200400001)(6916009)(186003)(64756008)(66446008)(66556008)(8936002)(9686003)(66476007)(76116006)(66946007)(6506007)(55016002)(8676002)(4744005)(5660300002)(2906002)(52536014)(316002)(786003)(33656002)(7696005)(3480700007)(478600001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?ek8nQNw3t17n5m36f/3BJvH0648Yoecr7JiwuX6e3IES/60ZWBA6YZ2p1U?= =?iso-8859-1?Q?vxliyGSM6222ZWdz5lIX46RiJkGADza4L9iVCI1z56N1n77sQ+1uN4tGXK?= =?iso-8859-1?Q?+RYFC4vmhQwSrMluVYlkKRS3ApZ2NE4f9QuSFN3nxs+ZLnDW8kCbCwmrkc?= =?iso-8859-1?Q?0ZdXR80DdXyhOooB4MEbFcBZ3spzVIulU/eSH+YVwHwLRfA335kVuf1619?= =?iso-8859-1?Q?OIJVRK6zgZfBAFuPM4F3qhAkFvNypL+WSKuUn5TxFrfEZ4ole+Vby1xJjv?= =?iso-8859-1?Q?pPYKytmmN/0u4BOxlzLqQyOtSDasavd8BF2GTlW6AIGBIKY3pFBcszncuy?= =?iso-8859-1?Q?tb/7zzGS7xP9kjtz89DO5gM73JPUbNMUv11StRiGywWrntGNAIiJqf7wA9?= =?iso-8859-1?Q?8xOpu1yoms7pVhZITnxLQOk5rNsfJGTy4KaPRjlIaehbSQNftIK2G9oMh+?= =?iso-8859-1?Q?yJ0tYFm3CWOwNnzrHSWdh1cbcgECH2+ImxfxDkByxN8v8ZFLQxHgNBs9GA?= =?iso-8859-1?Q?wRbeNJHn4pq1kOTptosl06CTtsDYOPpJIM1fV0HK61N1O6mxHY4KGN32y2?= =?iso-8859-1?Q?4YQSkZHcOLx/klpEMQNhpBXbRFsj7FBv288QifnxzPr9i3y4RsSNnAEj+g?= =?iso-8859-1?Q?ApKcTokyk4r6aAY8Aigk5rTOKZc1Hz9mCKZ4JOwSoTKDPl8U4LvspLjkrW?= =?iso-8859-1?Q?dmYbd8h+RPpuZD+MmChyLNJSObHEMPXuvcP1m2RQRFp94OihgA8cJ526yh?= =?iso-8859-1?Q?RiQ5z+G6M71IxxvIiDqm74Mb1/q/QqnTOjao583xsfgxVIwt5qiM6O8h3r?= =?iso-8859-1?Q?5EVwRrRBGrb+fdj5wGqa5fJD0ouRbsvk9kYS+/9EnuBA6Sl1vUzGakZRee?= =?iso-8859-1?Q?ZsKUXvLTZnIn/qtl6MzCbwYdve9+UkMoMva5uWSQp0YJgGDdjZdu/CTp6p?= =?iso-8859-1?Q?WQuxXYnpFUFY4wdto3s2xt+vDmBB80nsigJ0qypyNqoXuazCxIM5UfcU7A?= =?iso-8859-1?Q?utxg8fo02v9HuMjwtOvUPwWfHPeLwVg0zw+7VetY0/876E3SwZYRdcalrt?= =?iso-8859-1?Q?FOajCbbU8t3SSrmeyC8qXhNWPaLr+l/w3nx9T8/IfWM1GXzdm2c4CjdlxE?= =?iso-8859-1?Q?GU7sbX5XKODIRAFzrnJKuUapLeMfthVMKDr/aF6q7/HIXHO4Gte/iuciTK?= =?iso-8859-1?Q?3HePZWUvhW03b6b297/OJbnYLoBmj79TJX8qCjqJZ6zFoJenVBO0r5yqDf?= =?iso-8859-1?Q?VOe3O2h7LRdUg4YW0M+HFRGIJsZB41gt7D150zQteh2rq49NNoRNCOUgTH?= =?iso-8859-1?Q?7CYcWYiJCEiEvDd7KV5z18+ENo1xvFexJF13xpP2ivcZA/x+CvHUcEDHx/?= =?iso-8859-1?Q?yEFwk3koykT7QVS9ZGpw8Go0qtG1jO2Yd63f4K5zuuPzHB7ZvvKIs=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: f474f679-e660-4245-1c9e-08d926fe1827 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jun 2021 02:11:41.7921 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2RSZ5iGuV/TK7WE0Y2J6V1o+NNx/8eOQ0GFrycxWLLr5wUEKX4BSszxdpS9jC2m8RI08iskPDxZdhIkjd9krNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB2082 X-Rspamd-Queue-Id: 4Fx5qM1kk9z3NTl X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=uoguelph.ca header.s=selector1 header.b=jorMUDPF; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=uoguelph.ca; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.67.77 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[40.107.67.77:from]; R_DKIM_ALLOW(-0.20)[uoguelph.ca:s=selector1]; FREEFALL_USER(0.00)[rmacklem]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[40.107.67.77:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[uoguelph.ca:+]; DMARC_POLICY_ALLOW(-0.50)[uoguelph.ca,none]; RCVD_IN_DNSWL_NONE(0.00)[40.107.67.77:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[uoguelph.ca:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; MAILMAN_DEST(0.00)[freebsd-current]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.67.77:from] X-ThisMailContainsUnwantedMimeParts: N Hi,=0A= =0A= I am trying to MFC a commit to stable/12.=0A= The cherry-pick works, but the resultant code=0A= is not correct and won't build.=0A= --> I broke the build yesterday and manually=0A= reverted the breakage.=0A= =0A= So, how do I do this?=0A= =0A= Do I have to manually edit the file after the=0A= cherry-pick and then do something like a=0A= git commit -a=0A= to get the edited change in, or is there a=0A= way to tell it to add it to the cherry-pick or ??=0A= =0A= Thanks anyone, for help with this, rick=0A= From nobody Fri Jun 4 02:28:18 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 652181370431 for ; Fri, 4 Jun 2021 02:28:30 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (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 4Fx6Bk2Jl2z3QVK for ; Fri, 4 Jun 2021 02:28:30 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ot1-f53.google.com with SMTP id t10-20020a05683022eab0290304ed8bc759so7692751otc.12 for ; Thu, 03 Jun 2021 19:28:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hD9so8l3ukp9C4ubRZ3q/tImaMnhWOOLsITVI/7w3NU=; b=XT04GqHUUBhorko4YpNKOiwADfAN7cd6dWwLk4uL1vp0VbB7kdjXtQotqifNf0CDRp fXXcFhSzMpAUPPIYUNpOPD1QbpFg0Erhh/tnVinFvRpat//vb52rsWQ1uyhUkWBzJ4BH RukBzfAiw04wNY6MYOCaCmriDEoOJqot3ZwQSfJfnUUGvHiYsF9tT5sY/mqOHvJKUUOr 5/chC32Ed8SAvlhca1rNByXlr4g5v1VvpflPKlnNlydCFb7w3sLxzafIzFL1U4iqrf9P H0c4vngohaJbX4YCr5C9l9aaptLku8cwOYeB8mXDu4bhK6g91vtK7hB7BKiKq5CloDey YLTg== X-Gm-Message-State: AOAM531TJkAyMkhKVZZRxmnK0MXEndXfk0Qp1JIFnCIDd5Gly1t49pCG X/MzEQeKBgx35zGK3xAA/UMYT4sI+sZVJrIrYGM= X-Google-Smtp-Source: ABdhPJyvcttTb2bfMeRBPDUFOI3hyak6nB14DlxeUeewDiHsaw5NrIfzTiOMTHYJkvecYt/j1XvO9ZubfckEGuWKTzE= X-Received: by 2002:a9d:5e8c:: with SMTP id f12mr1908021otl.18.1622773709207; Thu, 03 Jun 2021 19:28:29 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Thu, 3 Jun 2021 20:28:18 -0600 Message-ID: Subject: Re: git MFC/cherry-pick question To: Rick Macklem Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="0000000000007cfb1b05c3e772ab" X-Rspamd-Queue-Id: 4Fx6Bk2Jl2z3QVK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --0000000000007cfb1b05c3e772ab Content-Type: text/plain; charset="UTF-8" On Thu, Jun 3, 2021 at 8:13 PM Rick Macklem wrote: > Hi, > > I am trying to MFC a commit to stable/12. > The cherry-pick works, but the resultant code > is not correct and won't build. > --> I broke the build yesterday and manually > reverted the breakage. > > So, how do I do this? > > Do I have to manually edit the file after the > cherry-pick and then do something like a > git commit -a > to get the edited change in, or is there a > way to tell it to add it to the cherry-pick or ?? > > Thanks anyone, for help with this, rick > Is the resulting code incorrect because of a git merge error, or because stable/13 requires slightly different code than main? If it's the latter, then after the "git cherry-pick", you should edit the file manually and do a "git commit -a --amend". That will produce the right result. You don't have to worry about screwing up merge history by using "--amend", because "git cherry-pick" already screws up merge history. If your problem is the former, then the same solution will work, although you might be able to solve it by using some fancy git merge options instead. -Alan --0000000000007cfb1b05c3e772ab-- From nobody Fri Jun 4 03:06:20 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4DF9613725ED for ; Fri, 4 Jun 2021 03:06:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 4Fx72d12fHz3kpv for ; Fri, 4 Jun 2021 03:06:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-lf1-x131.google.com with SMTP id a2so11867622lfc.9 for ; Thu, 03 Jun 2021 20:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rxpcFbZM2fO7Tgt9/Ha0FqN62PZVL1zbBr2GiE9D+Cw=; b=bWfRbC9iikIRD5NrEY4yIDOuEPju0c28KrLzrIT3BO+6O1It0tE1w3yHJQs95F3nMb mR3s8C/OitL61oFLz8wDpL3uzt1yfPMI0RT3Y+a24SsCJJtBRtYJQmBSLCDSUj1G9QLl v+25slJiszkVM/JCUxvdxHNwUcPlepgsaB1NY2Jy2zujjHoHHYJJ2PoX4FnYTlgj5oER l0pGSHRGHDRExvi0w7FTOvWFWdGjbq8BBOTDSDMLgTgAQlAfBfOaPw2FkbDLsRNLcWt3 u1GVVGZZvA5QB4OtdwtpPBh4QmhdJBLIJNyyE80RHPfr1K6bg84hTCgj/U32yJmxb4VP SyPQ== 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=rxpcFbZM2fO7Tgt9/Ha0FqN62PZVL1zbBr2GiE9D+Cw=; b=XCs2Ji7iTHyauMYPY0uGVThpiS3ZFjjYwy7yQj5hXyuWskd8eZjPPC6TBgyXEjyaxy Xev4QPEPYnl3AF1JYrXVWEg/dLUVwWpAUGBnViLueaP7NEybc5X2KhrTJFoiBFu3ai2J c1nHEDC3c/38ZHbX7PQQn/qZKJmCgWEuu4ENbzlmuflTiT7dBWTm5DJdBfxu11MBVG/4 KDygvhbMVHKUIrd6kp6CUKCQAayGZ6NQnrIxZCk+AqVEaYLL1z6kAozwwK2FY2h4QGpO ZXDT6dxQIXZ5QVuaziqclliJt4Vs/9472NPQUnqGn8l6n+sK/mf5rp2uT3c4CzSm7x92 X5fA== X-Gm-Message-State: AOAM531SMN2b21uVLocxxIPzhYiRGsRILkUaCf5YknjUmjyxSEpOWwqv op3OpOGVjpPx2lOea9a6cDEAv3EIFUO2qoygBes6QaU2Qd5TRA== X-Google-Smtp-Source: ABdhPJwrXyPJz5anZT/0pp1KtsRmoXQfj7pgJL1mHfp3R2gEhmB+ERbmrZ4AAH4P/BU+QRRDlEDPBrYPEwHdACP5W8I= X-Received: by 2002:a05:6512:2010:: with SMTP id a16mr1359870lfb.550.1622775991284; Thu, 03 Jun 2021 20:06:31 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Thu, 3 Jun 2021 21:06:20 -0600 Message-ID: Subject: Re: git MFC/cherry-pick question To: Alan Somers Cc: Rick Macklem , FreeBSD Current Content-Type: multipart/alternative; boundary="00000000000082ccb205c3e7fa78" X-Rspamd-Queue-Id: 4Fx72d12fHz3kpv X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000082ccb205c3e7fa78 Content-Type: text/plain; charset="UTF-8" On Thu, Jun 3, 2021 at 8:29 PM Alan Somers wrote: > On Thu, Jun 3, 2021 at 8:13 PM Rick Macklem wrote: > > > Hi, > > > > I am trying to MFC a commit to stable/12. > > The cherry-pick works, but the resultant code > > is not correct and won't build. > > --> I broke the build yesterday and manually > > reverted the breakage. > > > > So, how do I do this? > > > > Do I have to manually edit the file after the > > cherry-pick and then do something like a > > git commit -a > > to get the edited change in, or is there a > > way to tell it to add it to the cherry-pick or ?? > > > > Thanks anyone, for help with this, rick > > > > Is the resulting code incorrect because of a git merge error, or because > stable/13 requires slightly different code than main? If it's the latter, > then after the "git cherry-pick", you should edit the file manually and do > a "git commit -a --amend". That will produce the right result. You don't > have to worry about screwing up merge history by using "--amend", because > "git cherry-pick" already screws up merge history. If your problem is the > former, then the same solution will work, although you might be able to > solve it by using some fancy git merge options instead. > git cherry-pick does not screw up merge history. The hashes of the diffs are used by git to know what's been merged and what hasn't. git commit --amend to fix things up screws up this mechanism a bit. That's why we do the 'git cherry-pick -x' which records the hash as a backup. git log --cherry-pick can help find changes to merge. There's been some scripts offered to also help find things... And usually when git cherry-pick doesn't produce working code, it's because other things weren't cherry-pucked that the code depends on. Sometimes you can find the changes to cherry-pick it, other times you have to do a manual fixup. Warner --00000000000082ccb205c3e7fa78-- From nobody Sat Jun 5 22:52:17 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6371794E6E8 for ; Sat, 5 Jun 2021 22:52:19 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FyFJL5Lvhz4Ys7 for ; Sat, 5 Jun 2021 22:52:18 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 155MqH0Q002714 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 5 Jun 2021 15:52:17 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 155MqH0Y002713 for freebsd-current@freebsd.org; Sat, 5 Jun 2021 15:52:17 -0700 (PDT) (envelope-from sgk) Date: Sat, 5 Jun 2021 15:52:17 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Subject: What happen to mailing list archives? Message-ID: <20210605225217.GB2640@troutmask.apl.washington.edu> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4FyFJL5Lvhz4Ys7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=washington.edu (policy=none); spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu X-Spamd-Result: default: False [-1.97 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.95.76.21:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[128.95.76.21:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.967]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MAILMAN_DEST(0.00)[freebsd-current]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM,none] X-ThisMailContainsUnwantedMimeParts: N It seems someone has tried to migrate the mailing list archives from mailman to some new fangle code. This has broken the archives for at least freebsd-numerics@, freebsd-office@, freebsd-net@ As a comparison, simply go to https://lists.freebsd.org/mailman/listinfo and follow the links to freebsd-numerics and freebsd-toolchain. Can this be fixed? -- Steve From nobody Sat Jun 5 23:00:40 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 30A7294F79A for ; Sat, 5 Jun 2021 23:00:54 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (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 "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FyFVF4Wxjz4Zrp; Sat, 5 Jun 2021 23:00:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 1af83a11; Sat, 5 Jun 2021 23:00:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=6qUcZH2e2y+Lom EFRww+GZnhZn8=; b=E0fmSBXFm5JQYp2FpI7ukwz5Pviqoq2doX30cGg99Zvlel w5cofBC5mZOngH41fRnmz1VxlmfVeNtwrwoxEAR20kEUChho4Hc4EG1jsuXpZ3HT XyIUB6AfbQ/JnWB6u7unLe8LtCiJ31KZtUb31xOLwG1jkvHFbLvMX/GlBPyQv1/6 3F5a9glrKfo+ffaGHYN9m8W0XCGfaUGxo0xj8RU3ivVeN1UmLCd7uP+A8lzUYjsG Z5rdde2QyJhKSTC6NK9MLcgXLZQTYvBcaF4KUgB6zXA2ZGHBCgeoAI2jaBQRvPIP YEugybDyPv2DqiNPmJbLue/eMmFHEVraBmtflrnA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=JMxzI5QG wsP2sPp1iAjVDRwppTPtw5zbgBsNFxaJfaWaonhPTah9z+a1AM6sNhs3yP/n5+hC 6hLxeku0rTGKN0jPtdIHGfyqazZ8pcQ+dv+3PMDmO/34+zHxLa7csQ6pmdv82JI7 eJkez7QLEP5rmG1mxl/JDn6QrzL1UlI96W8lUvA3SuKk6/eDo7LyEmRfCBsEOsBr vkSWlFm19iZQfAzsgn/rfD6JFuClZpTRw2lDLpfOeweiKnsYD3BlAkB/PHvhznFy MOXCZAH0ZLhfMp16iAKaoEFpSS9KBJ/o3PQXwShFpU2w0bnE3qPZ9dMl/1GH0j4v wwHd5oy+BVNArw== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id cedc0eb7 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sat, 5 Jun 2021 23:00:41 +0000 (UTC) Content-Type: multipart/alternative; boundary=Apple-Mail-157B461F-E330-4FDB-AB46-29B4582E4F65 Content-Transfer-Encoding: 7bit List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: What happen to mailing list archives? From: Michael Gmelin In-Reply-To: <20210605225217.GB2640@troutmask.apl.washington.edu> Date: Sun, 6 Jun 2021 01:00:40 +0200 Cc: freebsd-current@freebsd.org Message-Id: References: <20210605225217.GB2640@troutmask.apl.washington.edu> To: Steve Kargl X-Mailer: iPhone Mail (18E212) X-Rspamd-Queue-Id: 4FyFVF4Wxjz4Zrp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y --Apple-Mail-157B461F-E330-4FDB-AB46-29B4582E4F65 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 6. Jun 2021, at 00:53, Steve Kargl w= rote: >=20 > =EF=BB=BFIt seems someone has tried to migrate the mailing list archives > from mailman to some new fangle code. This has broken the archives > for at least freebsd-numerics@, freebsd-office@, freebsd-net@ >=20 > As a comparison, simply go to >=20 > https://lists.freebsd.org/mailman/listinfo >=20 > and follow the links to freebsd-numerics and freebsd-toolchain. >=20 > Can this be fixed? >=20 New archives are here: https://lists.freebsd.org/archives/ e.g., https://lists.freebsd.org/archives/freebsd-net/2021-June/index.html As we still have mailman archives and https://docs.freebsd.org/mail/, mergin= g or cross linking would certainly be useful. Michael > --=20 > Steve From nobody Sat Jun 5 23:04:46 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 84B6E95031B for ; Sat, 5 Jun 2021 23:04:50 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (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 "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FyFZm6m6bz4cBZ; Sat, 5 Jun 2021 23:04:48 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 01bb283c; Sat, 5 Jun 2021 23:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=RUcCIP0guZywr5 U89ntHsgnHfAU=; b=Pbz9eG0kXArslIgId5GdOgr+uxHkVZIY6HQlT0X4xmka9c 2ntnOXeN8zaON2ESaNZMzfQRUF6QTCHD2g+Z/ATCtXlL7Lmu6ASOomLlLybavBUz NRpkhhP5+eImdN44UJA4ODzrwVBbGKW1QNWRwOJJ3RPDxewYq348P4rAoXrYmW/0 ed1wYj8J/npPWJubqIOaaqmJJJWLKYD88PmajM6/02VLBOsvt3h5PLsRlvQTMJL7 1WyRFZdaNtr0/MiiLFL50RsG17rMtoQaATq/BSEBA6NBHwQXdKu1WIcRm6qrCc9j MDaOVA0DyIL/XX9O4cUJV/aLAXK/PQ5CIWOuxMfg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=qlvThpBU 3Cs6d0gJ9bWbqU/QQrSaNahUFEDcVfATFf+FhOncvq+BemZJsb8/l+NHW6PTXdu8 N+EjXeV72Uj5icxOF4mgLuIJCgRTopNi4pzLf2a0n2Q06Laeud3nsWYswuB5T6H2 mSQocy1G/ZqaJDM8feBWteD17WZAnAG19TPxVMMmhl1HdefX0Jgf6o265nFxQ5RM 4xtzYW/OHp9k5QmQ04ObABtRuf2GtIBBS1HMIF1iyJvYZJNZaok7oxt9H128BzVJ G2ZSD5ZHOn56dk7Kf+buZJDfI1Ym61izTKZKGJ9uJ+m6Rib3hUL2mF67dhUnnk9D ml9S7oOx1iYxgg== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 99b3c2dc (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sat, 5 Jun 2021 23:04:46 +0000 (UTC) Content-Type: multipart/alternative; boundary=Apple-Mail-09DD0CBE-D2FE-4E26-AAC8-DD7D8EA938D3 Content-Transfer-Encoding: 7bit List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: What happen to mailing list archives? From: Michael Gmelin In-Reply-To: Date: Sun, 6 Jun 2021 01:04:46 +0200 Cc: freebsd-current@freebsd.org Message-Id: References: To: Steve Kargl X-Mailer: iPhone Mail (18E212) X-Rspamd-Queue-Id: 4FyFZm6m6bz4cBZ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=Pbz9eG0k; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [0.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[213.239.217.29:from]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; FORGED_RECIPIENTS(2.00)[m:sgk@troutmask.apl.washington.edu,s:grembo@freebsd.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[grem.de]; SPAMHAUS_ZRD(0.00)[213.239.217.29:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y --Apple-Mail-09DD0CBE-D2FE-4E26-AAC8-DD7D8EA938D3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 6. Jun 2021, at 01:00, Michael Gmelin wrote: >=20 > =EF=BB=BF >=20 >=20 >>> On 6. Jun 2021, at 00:53, Steve Kargl = wrote: >>>=20 >> =EF=BB=BFIt seems someone has tried to migrate the mailing list archives >> from mailman to some new fangle code. This has broken the archives >> for at least freebsd-numerics@, freebsd-office@, freebsd-net@ >>=20 >> As a comparison, simply go to >>=20 >> https://lists.freebsd.org/mailman/listinfo >>=20 >> and follow the links to freebsd-numerics and freebsd-toolchain. >>=20 >> Can this be fixed? >>=20 >=20 > New archives are here: > https://lists.freebsd.org/archives/ >=20 > e.g., https://lists.freebsd.org/archives/freebsd-net/2021-June/index.html >=20 > As we still have mailman archives and https://docs.freebsd.org/mail/, merg= ing or cross linking would certainly be useful. >=20 > Michael >=20 p.s. If you go to https://lists.freebsd.org/mailman/listinfo, click FreeBSD-= net and then "Archives from mailman=E2=80=99s time", you get to a list that b= rings you to https://lists.freebsd.org/pipermail/freebsd-net/. So the old ar= chives are still reachable that way. (I still find the docs.FreeBSD.org/mail= page to be confusing). >=20 >> --=20 >> Steve From nobody Sat Jun 5 23:13:36 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D3F64951C90 for ; Sat, 5 Jun 2021 23:13:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FyFmz4lwjz4fWd for ; Sat, 5 Jun 2021 23:13:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 155NDbYN002975 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 5 Jun 2021 16:13:37 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 155NDaD6002974; Sat, 5 Jun 2021 16:13:36 -0700 (PDT) (envelope-from sgk) Date: Sat, 5 Jun 2021 16:13:36 -0700 From: Steve Kargl To: Michael Gmelin Cc: freebsd-current@freebsd.org Subject: Re: What happen to mailing list archives? Message-ID: <20210605231336.GC2640@troutmask.apl.washington.edu> References: <20210605225217.GB2640@troutmask.apl.washington.edu> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4FyFmz4lwjz4fWd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Jun 06, 2021 at 01:00:40AM +0200, Michael Gmelin wrote: > > > > On 6. Jun 2021, at 00:53, Steve Kargl wrote: > > > > It seems someone has tried to migrate the mailing list archives > > from mailman to some new fangle code. This has broken the archives > > for at least freebsd-numerics@, freebsd-office@, freebsd-net@ > > > > As a comparison, simply go to > > > > https://lists.freebsd.org/mailman/listinfo > > > > and follow the links to freebsd-numerics and freebsd-toolchain. > > > > Can this be fixed? > > > > New archives are here: > https://lists.freebsd.org/archives/ > If I go to https://www.freebsd.org/community/mailinglists/ I see the lines Mailing list archives You can search or browse the mailing list archives at www.FreeBSD.org. It is also possible to browse the mailing lists via the Mailman Web interface. Both instances of the word "browse" are hyperlinks. If I click of the second "browse" link, then I end up at https://lists.freebsd.org/mailman/listinfo which presents a list of archives, you'll see freebsd-numerics is a hyperlink (as well as many others). If I click on freebsd-numerics, this takes me to https://lists.freebsd.org/subscription/freebsd-numerics which displays Subscription for freebsd-numerics Browse the archives: here (and 6 hyperlinks for subscribing and unsubscribing). If I click on "here", I get 404 Not Found Ergo, the freebsd-numerics archive is unreachable from the "here" link. Shouldn't this redirect to the new fangle way? -- Steve From nobody Sat Jun 5 23:28:34 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CA850952ACB for ; Sat, 5 Jun 2021 23:28:36 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FyG6D4Jr3z4gj4 for ; Sat, 5 Jun 2021 23:28:36 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 155NSZHt003137 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 5 Jun 2021 16:28:35 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 155NSYNQ003136; Sat, 5 Jun 2021 16:28:34 -0700 (PDT) (envelope-from sgk) Date: Sat, 5 Jun 2021 16:28:34 -0700 From: Steve Kargl To: Michael Gmelin Cc: freebsd-current@freebsd.org Subject: Re: What happen to mailing list archives? Message-ID: <20210605232834.GA3082@troutmask.apl.washington.edu> References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4FyG6D4Jr3z4gj4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Jun 06, 2021 at 01:04:46AM +0200, Michael Gmelin wrote: > > p.s. If you go to https://lists.freebsd.org/mailman/listinfo, click FreeBSD-net and then "Archives from mailman’s time", you get to a list that brings you to https://lists.freebsd.org/pipermail/freebsd-net/. So the old archives are still reachable that way. (I still find the docs.FreeBSD.org/mail page to be confusing). > > There isn't an "Archives from mailman's time" link on freebsd-numerics. Hundreds of emails from me are now gone or sufficiently hidden that I cannot find them. More importantly, Bruce Evans often replied with reviews of libm patch's I sent the list. Those reviews and his detailed analysis of the libm code are now gone or sufficiently hidded that I cannot find them. -- Steve From nobody Sat Jun 5 23:43:01 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 94884954657 for ; Sat, 5 Jun 2021 23:43:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) 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 4FyGR63d84z4kFs for ; Sat, 5 Jun 2021 23:43:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72e.google.com with SMTP id j189so13253441qkf.2 for ; Sat, 05 Jun 2021 16:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4GiOjThEZnhCsniXeoQpVmoTnPs4Xjl59DdTRG40AVU=; b=vM1PFVfDIUu9HcVjG9Ca7RBDFm3N0qvlrQWf8mSnjssmjFI4TNc89CbmaygsgP1c4C Yp5k7Cd2U9noQlioczMqFErRbdiuCKKNsh1FPb7C7ktGlvqIr5GWHWxFdatb/beo54ym Pp8jrlTMAv+ldNRlLgiukRUVlbcwqyDmj08FzU6clYWgTEQgkDmYUlJ3SqKuj2KY3pyG lbySLvofCZ/LL4z9ietVyDitqHrmpwfZQ4UcLI9+LkyM7fm5fn+FIMbZrXRx8nrVxZsZ rxNOf2q4bPPVN/tqKKnM+dzwezcKHYGHkDLAk4jLv5WrWF77mZtXGAIiXJDAh97Qn84K iAWQ== 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=4GiOjThEZnhCsniXeoQpVmoTnPs4Xjl59DdTRG40AVU=; b=BcnvMl9Nu+eAQgQYwnUkszskpd+8MTdhENtB4FsSQwravdJeJfqaAU/DxNxdJl8/1J ita9hGfp+fxwWknIYFoBdo4lQvCWtBHKyg07A9dOHKbR1q1Rd3rrcOp30Wv8apeAB8Iy LvIvKmb922rlB3vq2uFk7IhgfvdYp6/zdYMEUSYQvHuuF1NeHivkjGMwF7YOk2eZ6k/6 1pDDyBUYubZnCbNcrO1ww+n4XZM5lwfcOA71MoyoZomgvTfMSsg5xXTSVqx7tVOUtNbR 8ujlrHO8jgJn37b4nGlrI4/AWPb+T0a7hOYRWyWiZ0VTBLQdXKSorNKCwUIzFqjwy0pw RcXA== X-Gm-Message-State: AOAM532aQwhk4rl8/pEEOed5Nztwe6UgEJBow2GKuF4m1U3DOjn3BGjj LROV6CFqas0QaED5r4HQwyofLjT4P1dGocy0pEpfehu/n+Du+A== X-Google-Smtp-Source: ABdhPJxdkzAXC1VO7Bzadcs9jWUP9K+ZYOHdqsb50cUKlQ85M/qmImjRcu0kjzXm9lvXIRnfVRcBTCH11AS4TAfIYpQ= X-Received: by 2002:a37:6b47:: with SMTP id g68mr10616614qkc.89.1622936593363; Sat, 05 Jun 2021 16:43:13 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20210605232834.GA3082@troutmask.apl.washington.edu> In-Reply-To: <20210605232834.GA3082@troutmask.apl.washington.edu> From: Warner Losh Date: Sat, 5 Jun 2021 17:43:01 -0600 Message-ID: Subject: Re: What happen to mailing list archives? To: Steve Kargl Cc: Michael Gmelin , FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000240a7705c40d5ffc" X-Rspamd-Queue-Id: 4FyGR63d84z4kFs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000240a7705c40d5ffc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jun 5, 2021, 5:29 PM Steve Kargl wrote: > On Sun, Jun 06, 2021 at 01:04:46AM +0200, Michael Gmelin wrote: > > > > p.s. If you go to https://lists.freebsd.org/mailman/listinfo, click > FreeBSD-net and then "Archives from mailman=E2=80=99s time", you get to a= list that > brings you to https://lists.freebsd.org/pipermail/freebsd-net/. So the > old archives are still reachable that way. (I still find the > docs.FreeBSD.org/mail page to be confusing). > > > > > > There isn't an "Archives from mailman's time" link on freebsd-numerics. > > Hundreds of emails from me are now gone or sufficiently hidden that > I cannot find them. More importantly, Bruce Evans often replied > with reviews of libm patch's I sent the list. Those reviews and > his detailed analysis of the libm code are now gone or sufficiently > hidded that I cannot find them. > Bapt was working on this stuff today. He said something about the archive regenerating with the new software on IRC.. Warner > --000000000000240a7705c40d5ffc-- From nobody Sat Jun 5 23:46:05 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 30DB8955274 for ; Sat, 5 Jun 2021 23:46:12 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (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 "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FyGVW6SFsz4l8k for ; Sat, 5 Jun 2021 23:46:11 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 520d878d; Sat, 5 Jun 2021 23:46:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=d1iRsr+RRrYGhr tnUzKNH/W6oCM=; b=uLkLn/lycBv2nksM354EAFye5FLrllhHKb7+uOEnsG9FGZ C9P8W18PDmeV+GRgK/eZhXTTOqRcMAyPr9VAOhf4qIsJuTegm68RlJG2bIwQFonj 5cj8Cer4AC9qIWhhZyzGaPHrSrVCi1YutTdwlsR8UhHeA77tk4HTymIbBxGLe/te eWcLuyiuTk+vWtXWLCgNbmJr1niuQSsFUvZVnXj9TeZXvgvKaOjsmwAK2M69t/Wb iLSK+3o4kaJ2EidOXnL4uHSxvqh9Ns53AuJRDjaolIgC9FcJAHHO7G87rVFK7TWa BFVaKjouaprAY9rh7pH6RDSxUIoB/knv0h/swFrg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=HyPMfEb5 r5x4TIIpRnVkFua+9XLroP8UCpti+ARuEEMegEMh/j+aiY8yLwyCzs1nR19cfbGR zwoTbiSaZzwsmn5ZYd7W81kGMbMQ/8UFdG9CVm5iLCJBnNPnIkisbDfCxySLKuO5 +YsoKOfjmyhUpmesryrpScP6HtLQE7dfAjLdzf9x0vkd8rrN5f6hgydGo1VSrScf Q5wRa4pfuhiNvDSN1cKSR++qlxHQeEEc7xIImPh767+nXajIppgJTYTP2fc0fym4 FDyt4P/cdTBFfBN+r7kptCPWSqJsytQoXA8yluvvg7+goxstsM/LvysI5cUpnXZz piM+Nz9MWz7cJg== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id a6e093ba (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sat, 5 Jun 2021 23:46:05 +0000 (UTC) Content-Type: multipart/alternative; boundary=Apple-Mail-56D42493-AF68-45FF-96E3-F846EA7C32C1 Content-Transfer-Encoding: 7bit List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: What happen to mailing list archives? From: Michael Gmelin In-Reply-To: Date: Sun, 6 Jun 2021 01:46:05 +0200 Cc: Steve Kargl , FreeBSD Current Message-Id: <164DCAAA-5928-497B-8C47-951F269C0FEB@grem.de> References: To: Warner Losh X-Mailer: iPhone Mail (18E212) X-Rspamd-Queue-Id: 4FyGVW6SFsz4l8k X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y --Apple-Mail-56D42493-AF68-45FF-96E3-F846EA7C32C1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 6. Jun 2021, at 01:44, Warner Losh wrote: >=20 > =EF=BB=BF >=20 >=20 >> On Sat, Jun 5, 2021, 5:29 PM Steve Kargl wrote: >> On Sun, Jun 06, 2021 at 01:04:46AM +0200, Michael Gmelin wrote: >> >=20 >> > p.s. If you go to https://lists.freebsd.org/mailman/listinfo, click Fre= eBSD-net and then "Archives from mailman=E2=80=99s time", you get to a list t= hat brings you to https://lists.freebsd.org/pipermail/freebsd-net/. So the o= ld archives are still reachable that way. (I still find the docs.FreeBSD.org= /mail page to be confusing). >> >=20 >> >=20 >>=20 >> There isn't an "Archives from mailman's time" link on freebsd-numerics. >>=20 >> Hundreds of emails from me are now gone or sufficiently hidden that >> I cannot find them. More importantly, Bruce Evans often replied >> with reviews of libm patch's I sent the list. Those reviews and >> his detailed analysis of the libm code are now gone or sufficiently >> hidded that I cannot find them. >=20 >=20 >=20 > Bapt was working on this stuff today. He said something about the archive r= egenerating with the new software on IRC..=20 >=20 In the meantime, maybe this helps: https://lists.freebsd.org/pipermail/freebsd-numerics/ > Warner=20 From nobody Sun Jun 6 05:19:22 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1EA3B952C65 for ; Sun, 6 Jun 2021 05:19:26 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (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 4FyPv11khyz3MYm for ; Sun, 6 Jun 2021 05:19:25 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: by mail-ej1-x62f.google.com with SMTP id k7so20969650ejv.12 for ; Sat, 05 Jun 2021 22:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=f2Vzo1fRoseHLlxbzSrUJwWdBS+vp2e3d9NsOcrXXCQ=; b=Xg58Iew8cvUVWJcLazybPJJkrYIyZHXOHJehx+1o4+QKE2vRWp/L7V3kBOV2wbNRMZ /bEHwgB4hq1Zuo2EazDZsDJBBHm6M5HxKC5AqRjCpkqVRbmhK52IQVhkVQUbNVJlcMTd 2Jaa0TsKxOwTdLM+uhAoruYCLwpTk9TvizTbRHV8la4hKXG554TbQWpj9LTHpELdvXj3 x1IHMSP/gKCIHIPrCx5eVOd+zy8qJkMKegfspzCvumtC6ihrRzaLqDOIWkMYqu2vvsvu va0KVMEGw3feBTEEXRRZRzctuTI7XIrG5CZz10T4GQcdZd3OvQ859f74OQJQMqRQcj+s ysqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=f2Vzo1fRoseHLlxbzSrUJwWdBS+vp2e3d9NsOcrXXCQ=; b=GUzUZG4unN45f6PawvbPn/NPaFDhyjaHifPmuqMH6AoBM/zjNcjShhXSO2Cx3DkfSk b4v2BXEW3q1Mrvv510grjO5YuJaeowN2z+jTqy+uvJu4Ewo4kv2l1YZdTpfs2JnBzm29 uy3Oh2B3oOPLCRghOCpGtKlrsHW0CXw+AjEkdl4SlVWO7lOfL2U55d8dMTyF0XKUkVX7 7nocqFJMNsrnv4mF3p13Ss7wo7bkUgj0NeyvoeSl/jCsNXJ2CfbjIKCqV4MQzErquYHJ yjJo67+poi7AIy405FygiB0u7JCZmw0MGcpGHtBk5sGGsYPj7NliFaJ05dXUSib8sXnb kgHw== X-Gm-Message-State: AOAM5327xXa5ku27JnPMmdFlu1N1XRj4XUfJPUl1Ktqxq9BEGSrFTicY rR8VEPTW0pjsDOPUw/yOd5CVGsTkZY1kWZkMssSr7nqbrMPJR8Uu X-Google-Smtp-Source: ABdhPJzbuLzpuP/Rvo3Cc/mdKYah8YL+wRvazTu33hs+qNQa9eTJHtFrNbMEET98Pdu535BxG5RODrBUm0eqefZyc0w= X-Received: by 2002:a17:906:260e:: with SMTP id h14mr12341742ejc.356.1622956762510; Sat, 05 Jun 2021 22:19:22 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Received: by 2002:ab4:a201:0:0:0:0:0 with HTTP; Sat, 5 Jun 2021 22:19:22 -0700 (PDT) In-Reply-To: <20210605225217.GB2640@troutmask.apl.washington.edu> References: <20210605225217.GB2640@troutmask.apl.washington.edu> From: grarpamp Date: Sun, 6 Jun 2021 01:19:22 -0400 Message-ID: Subject: Re: What happen to mailing list archives? To: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4FyPv11khyz3MYm X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Xg58Iew8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grarpamp@gmail.com designates 2a00:1450:4864:20::62f as permitted sender) smtp.mailfrom=grarpamp@gmail.com X-Spamd-Result: default: False [-1.07 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::62f:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; 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)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62f:from:127.0.2.255]; MIME_TRACE(0.00)[0:+]; NEURAL_SPAM_SHORT(0.93)[0.933]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62f:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N There is also this useful and efficient form of archive/mirror to include in the update so that it does not remain broken for too long... https://lists.freebsd.org/pipermail/freebsd-questions/2021-June/294104.html https://lists.freebsd.org/archives/freebsd-hubs/2021-June/000000.html From nobody Sun Jun 6 07:48:06 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8573295963B for ; Sun, 6 Jun 2021 07:48:11 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 4FyTBf2ZS2z3nR9 for ; Sun, 6 Jun 2021 07:48:10 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x330.google.com with SMTP id u5-20020a7bc0450000b02901480e40338bso5779291wmc.1 for ; Sun, 06 Jun 2021 00:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=o4gO3v12Fd8O87Cas0H6S03Y8JkY0tcTSBXGxT97oQ4=; b=V2t83vTl1CvyDsw4hzS6hod/+V4DHrS+DdjUMrR/I12plHXK0qVQRQUirqYQEt79Gy drzCDtYsP5ihnQ8AHV4FYqh3VDqD+kyf7PTeKiQNeW6nrFjzBcN/UcoL53+vwLbJ+q+f 1vi0j1tzMUl/rn8dehm7MhY6F9AqM9t2oNItGPLe9XhaKnRX11aA2Hoi1H8WZ7n4NMkS drb7as5FPhiwQjaxaURqYPAW5/Fhr/fbIeqUhJ9bpYEWxSvLopFEZdEPgxtHhjeKeyuC pDkRt0c7rI2pWXSem/1hopSQEZJoyl6H34Fi6yvB79GocSupRc9uPJTXlXb2jtpRIEGg UsLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=o4gO3v12Fd8O87Cas0H6S03Y8JkY0tcTSBXGxT97oQ4=; b=fmrkGimBNgkd7ABNMSewYhN0Qdl/DW7ruXF963gCs74tkd70TvuUxIlxjd/tnovf/B orhAQX2SlJRyoFQvEfvpnl5pVZguXeAFZef4KXUd1M46/3YN4IzupSge6C7DYJjD0ZBn MLLLLK20P+Q3AFU7tr0K5E8Dh0ue8m+6vqAbQaZ/j94UD196fV+Kt4VmPsfSrS53NK6c 3n9R87iA5yx+4N/yP0JkmMrutT/R2pmQxXsqP970Rw3SpgLsEq5KffWGZq4OhJGepXdc T7hFnu2BEvA2G0lFtgElwfVGWyItFTrnXiaVp2+igUp8nUAD3dKSAf08BAenpWoiGJss XLsw== X-Gm-Message-State: AOAM531YmOs6TQIF7v3Uf+/+hZzD4lIVEocKoUAoDxC+simwmaGa4Ozt UjASxjpJMZ5mVnZUhdmAEdugZuLOHRpTJQ== X-Google-Smtp-Source: ABdhPJxUEXEE2q1az4Feoj3Ppy3H6aHsyhs6bTx8SZK/3XYCkocEMKXid8jgKms94YEnXpMmUVaJZg== X-Received: by 2002:a1c:cc12:: with SMTP id h18mr11161931wmb.141.1622965687961; Sun, 06 Jun 2021 00:48:07 -0700 (PDT) Received: from [192.168.1.10] (88-105-96-80.dynamic.dsl.as9105.com. [88.105.96.80]) by smtp.gmail.com with ESMTPSA id w11sm12148447wrv.89.2021.06.06.00.48.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Jun 2021 00:48:07 -0700 (PDT) Subject: FreeBSD service bug 256182 (was: What happen to mailing list archives?) To: freebsd-current@freebsd.org References: <20210605232834.GA3082@troutmask.apl.washington.edu> From: Graham Perrin Message-ID: <7d129f6a-ff5d-2d9a-b0d3-5818892aba8d@gmail.com> Date: Sun, 6 Jun 2021 08:48:06 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: <20210605232834.GA3082@troutmask.apl.washington.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4FyTBf2ZS2z3nR9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=V2t83vTl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::330 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.97)[-0.966]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::330:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[88.105.96.80:received]; 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-current@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::330:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::330:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N On 06/06/2021 00:28, Steve Kargl wrote: > Hundreds of emails from me are now gone or sufficiently hidden that > I cannot find them. More importantly, Bruce Evans often replied > with reviews of libm patch's I sent the list. Those reviews and > his detailed analysis of the libm code are now gone or sufficiently > hidded that I cannot find them. 256182 – lists.freebsd.org/pipermail/… redirections to lists.freebsd.org/archives/…: sometimes to the wrong content, sometimes not found (404) From nobody Sun Jun 6 08:53:49 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3C53595CAB6 for ; Sun, 6 Jun 2021 08:53:53 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FyVfT11wPz3sr9 for ; Sun, 6 Jun 2021 08:53:53 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from aniel.nours.eu (unknown [IPv6:2001:41d0:8:3a4d::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id EBDB7203AA for ; Sun, 6 Jun 2021 08:53:52 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id E720072233; Sun, 6 Jun 2021 10:53:49 +0200 (CEST) Date: Sun, 6 Jun 2021 10:53:49 +0200 From: Baptiste Daroussin To: FreeBSD Current Subject: Re: What happen to mailing list archives? Message-ID: <20210606085349.dx54zcw2q5pirjwn@aniel.nours.eu> References: <20210605232834.GA3082@troutmask.apl.washington.edu> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ThisMailContainsUnwantedMimeParts: N On Sat, Jun 05, 2021 at 05:43:01PM -0600, Warner Losh wrote: > On Sat, Jun 5, 2021, 5:29 PM Steve Kargl > wrote: > > > On Sun, Jun 06, 2021 at 01:04:46AM +0200, Michael Gmelin wrote: > > > > > > p.s. If you go to https://lists.freebsd.org/mailman/listinfo, click > > FreeBSD-net and then "Archives from mailman’s time", you get to a list that > > brings you to https://lists.freebsd.org/pipermail/freebsd-net/. So the > > old archives are still reachable that way. (I still find the > > docs.FreeBSD.org/mail page to be confusing). > > > > > > > > > > There isn't an "Archives from mailman's time" link on freebsd-numerics. > > > > Hundreds of emails from me are now gone or sufficiently hidden that > > I cannot find them. More importantly, Bruce Evans often replied > > with reviews of libm patch's I sent the list. Those reviews and > > his detailed analysis of the libm code are now gone or sufficiently > > hidded that I cannot find them. > > > > > Bapt was working on this stuff today. He said something about the archive > regenerating with the new software on IRC.. > > Warner > What has happended: plan A: we migrated everything off mailman/pipermail seamlessly with redirection and so on. We patched the new archiver to produce the same file names has pipermail Plan A worked fine up to a limit, there was plenty of hand edition in the past, we we decided to move to plan B which is what is happening now. Plan B: We keep a frozen version of the archives up to the migration date under the pipermail directory and have the new archives created in the archives directory. All the pipermail archives have been restored as they were. The new archives receives in their index a new link to point people to the pipermails archive if looking for older archives. this has been done a couple of hours ago (before Steve emails) during a window, of ~ 10 hours, the mailing lists which slow traffic aka the one which didn't received any email since the migration ended up with an empty "archives" directory (aka a 404), a file with explanation and redirection to pipermail has been installed there. Some work is still needed for the mailing lists which has been transformed as readonly, this will be done in the next couple of days Bapt From nobody Sun Jun 6 11:24:10 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 11CF99663EB for ; Sun, 6 Jun 2021 11:24:12 +0000 (UTC) (envelope-from mueller6721@twc.com) Received: from p-impout005.msg.pkvw.co.charter.net (p-impout005aa.msg.pkvw.co.charter.net [47.43.26.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FyYzv0sqkz4bY8 for ; Sun, 6 Jun 2021 11:24:10 +0000 (UTC) (envelope-from mueller6721@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id pqsulPrz3c70ypqsul1b0d; Sun, 06 Jun 2021 11:24:04 +0000 X-Authority-Analysis: v=2.4 cv=QYWjAuXv c=1 sm=1 tr=0 ts=60bcb054 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=cf6VUZL_pmuannF540gA:9 a=9Sfu0fB_SHDxl6CrFQ4Y:22 a=p-dnK0njbqwfn1k4-x12:22 a=5EXng_2YBSJDjF3I7HXn:22 Date: Sun, 06 Jun 2021 11:24:10 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Updating to FreeBSD-current, can't mount -uw / X-CMAE-Envelope: MS4xfCmfUnsi9Qag/75EToedcSXQzsXZYsZ/hbMgLCjqcTjdKWSNeS6vDtl8025fVqm/6fCaodPtyaneYzAYAWRzewKMwgWoDizPjYhAC6KAnOiBfE54FVTG /2bVy+Y3OtKujP9ln1+fWLAk3I/m+y1am9yHg+ih1bWxjeLnGYW86ROsnXG6Q2s5Wy2JD/dCgdJyNA== X-Rspamd-Queue-Id: 4FyYzv0sqkz4bY8 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mueller6721@twc.com designates 47.43.26.136 as permitted sender) smtp.mailfrom=mueller6721@twc.com X-Spamd-Result: default: False [-0.08 / 15.00]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.67)[-0.675]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.43.26.136:from]; FREEMAIL_FROM(0.00)[twc.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.43.26.136:from:127.0.2.255]; MISSING_MID(2.50)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; NEURAL_HAM_LONG(-0.91)[-0.910]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[mueller6722@twc.com,mueller6721@twc.com]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[mueller6722@twc.com,mueller6721@twc.com]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org I updated a FreeBSD-current to the newest FreeBSD-current/14, buildworld took 11:15 (hours:minutes), buildkernel was also successful, I even appeared to be successful with "dhclient re0". UPDATING file says to boot single-user after buildkernel and installkernel, but then mount -u / or mount -uw / does not work as it did in previous times. Results were mount -uw / or mount -u / produces fstab: /etc/fstab:2: Inappropriate file type or format fstab: /etc/fstab:2: Inappropriate file type or format /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/gpt/Sea1-08 none swap 0 0 /dev/gpt/Sea1-18 / ufs rw 1 1 #/dev/gpt/Sea1-06 /home ufs rw 1 1 fsck -p produces fstab: /etc/fstab:2: Inappropriate file type or format /dev/gpt/Sea1-18: NO WRITE ACCESS /dev/gpt/Sea1-18: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. I tried fsck /dev/gpt/Sea1-18 and fsck / but did no better. Now what do I do? I also ran fsck_ffs instead of just fsck. Do I need to boot NetBSD and run fsck_ffs or fsck_ffs -f from there? Tom From nobody Sun Jun 6 13:34:26 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C764B94DE8C for ; Sun, 6 Jun 2021 13:34:34 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from xmailer.gwdg.de (xmailer.gwdg.de [134.76.10.29]) (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 4FyctL5Jjvz4mSG for ; Sun, 6 Jun 2021 13:34:34 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from excmbx-03.um.gwdg.de ([134.76.9.218] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1lpsv9-0005fm-PN; Sun, 06 Jun 2021 15:34:31 +0200 Received: from krabat.raven.hur (10.250.9.200) by EXCMBX-03.um.gwdg.de (134.76.9.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.10; Sun, 6 Jun 2021 15:34:31 +0200 Subject: Re: What happen to mailing list archives? To: Steve Kargl CC: References: <20210605225217.GB2640@troutmask.apl.washington.edu> <20210605231336.GC2640@troutmask.apl.washington.edu> Reply-To: From: Rainer Hurling Message-ID: Date: Sun, 6 Jun 2021 15:34:26 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: <20210605231336.GC2640@troutmask.apl.washington.edu> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.250.9.200] X-ClientProxiedBy: excmbx-24.um.gwdg.de (134.76.9.234) To EXCMBX-03.um.gwdg.de (134.76.9.218) X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: 4FyctL5Jjvz4mSG X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi Steve, Am 06.06.21 um 01:13 schrieb Steve Kargl: > On Sun, Jun 06, 2021 at 01:00:40AM +0200, Michael Gmelin wrote: >> >> >>> On 6. Jun 2021, at 00:53, Steve Kargl wrote: >>> >>> It seems someone has tried to migrate the mailing list archives >>> from mailman to some new fangle code. This has broken the archives >>> for at least freebsd-numerics@, freebsd-office@, freebsd-net@ >>> >>> As a comparison, simply go to >>> >>> https://lists.freebsd.org/mailman/listinfo >>> >>> and follow the links to freebsd-numerics and freebsd-toolchain. >>> >>> Can this be fixed? >>> >> >> New archives are here: >> https://lists.freebsd.org/archives/ >> > > If I go to https://www.freebsd.org/community/mailinglists/ > > I see the lines > > Mailing list archives > > You can search or browse the mailing list archives at www.FreeBSD.org. > It is also possible to browse the mailing lists via the Mailman Web > interface. > > Both instances of the word "browse" are hyperlinks. If I click of the > second "browse" link, then I end up at > > https://lists.freebsd.org/mailman/listinfo > > which presents a list of archives, you'll see freebsd-numerics > is a hyperlink (as well as many others). If I click on freebsd-numerics, > this takes me to > > https://lists.freebsd.org/subscription/freebsd-numerics > > which displays > > Subscription for freebsd-numerics > > Browse the archives: here > (and 6 hyperlinks for subscribing and unsubscribing). > > If I click on "here", I get When I click on "here" I also get a "404 Not Found" at first, but only for about 5 seconds. This is followed by a redirect to the archive list. Maybe try it again? If that doesn't work for you: I have saved some threads with Bruce Evans locally. I could provide them, hoping that there is something useful? Regards, Rainer > > 404 Not Found > > Ergo, the freebsd-numerics archive is unreachable from the "here" link. > Shouldn't this redirect to the new fangle way? > From nobody Sun Jun 6 20:25:14 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DA0FF13C6084 for ; Sun, 6 Jun 2021 20:25:25 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fyp0N4tyNz3rbV for ; Sun, 6 Jun 2021 20:25:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1623011122; bh=2UiLE+CCTf5FJEmmll4LgTdC0Hx/i3vInbJXwLeFxB0=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=Bvfvwr2bgyyve6sGCruoNhOZlz4z+UYPLUWI0NQL7f2vsmrvNUPnIkXonbbxl+9zPVJmf70zZGXnov4ueUPb+JPEWJB8/A4XcGB+v6oljBVeamTHMH2QFo/oRpJtx2ydKX25/B4TWLVMDiVdCt4Q1ZZrfSXLD/E2/iAmQq1aZP35+cfHNvD4EMJtQTk0xLLqIKZOPkDHvEro4kEeYLfaiUNDCoMzOc9xgMb6R24FIk3qqYR8qek9hY3eJ0BXgwgfk053Q9eTymqtO9c5utTCH5svzz/RFqMgT9VJIwJ89aZZGHo6XbNvUZVJsW2LjjKawzIfQ2wg+7ShUTJrD1JtTg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1623011122; bh=7QM14rYUoik7pU8Qjc7xLMKbg8gat/RYWDFt82rGE2Q=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=qe3MSZUisnMnOFLEs3tiljLAh8vc8PoucrfdsUYJUKY36ebs+YvlSfWsLmWH/I+uEU+OJNvRH7Iwsyvui0mO9OW3uvEETKtThOElSitsbroDfzgBttqWZMkA8jhIDyrIwGxUAumDrWJqaaL+MoXI77h8Wih7+Z8AHspdR54AUyEG848CAT4wt1VsiWfeQMpLhv0aSeQvmRcSmgFpuvln6egZUC/Di8enL/I30wDrURHq//fpMSrjqC//f5MdkowtiIwaK3HpMz2GoqjO9coS237oDmgxiZIQmBsB/keYrT2o2tblE/pHfdMI61gUlL+t3k3qE0tSDQpGoWfSyhfyHQ== X-YMail-OSG: 0OU8USgVM1neD9Q6VUbM4NJZeR8DFkUPRjGLGvOP.TJ82H9I6TAeniP6MpEH2EJ WAGEEDKDfBSpo.uf5w45K2bf4QzmvFlHOhlpmbtc03SpoQFWw_51NRx_t5UbtmWOFPG2XXlBUqGr CRuHtej4CyVQGRfME5EiGdqQXtbDl4tJyl77DLt1_UFF_jtu_630RlPjrNKJ7IMTIzSIwzAZ8RVj dz9Ya2bofH4Z2lG8vPew.JNQQdACHt0ceO6cUAkECeLC71UqGtRSEp0UqOle0L1qleJYBhwFtyf_ YgjGuhtFuPJ91oG_SS6vQA3nho7oG4aOgOX.hQKYCH7rJoDtwG4BISTUp2mYyamm5gJGcy81OQaS 4RzN1o.liIqdfVfqtQJIqOhT8MFJG9Wx2KrINC5w11tIQnFnZtVIp0rZVLHyC_u72l3tCZ.txU3D FrmAPCm4GY77RoRIdx6wQPdrRKlG9ghi3IUU6MdrbVt7xElpt9LoFKhyPaP_U7CgniJ0.ErXywCv 80auhgmGl1JgiHGnhxA7JK3QKMZ08HINqxjW926NSZofi08UwkW30J6nCRFbKF7QeB0f7BONazym 9BAxkixEOV2JOVbqtx82FXJjUMivXR7HU.JvtBkPXETXAxPL7ibg.4xp65rQ90H9fxrDPbAfIrX_ mJpFU08PzziSDcH9DR322mJt8fNLQUDjIZl7wuextfyx98m1KWD.h29Cq0O3CHl4e.GwTW5LFj3q YenEsF3jkMVCeEi6prvfG0zva3Lv7su69zNZiQMq8GXbtmrFUucC0N3nsqL8KnkAy737U.lz_bkp gZl2iFQzpBEQrGHR.D0TEBwss0_wjObDFwBnN7_BqBErn8B85bZhnCimgYCZen60l67PdHuEPILW j0YOjg0ESTBkK06nQXVzHzMbOqpMC996Ej2mCux2TSDcO71ntW0h3rkzaTt2oMmgWWd1O0Ibve3E w8zfo1IiDvchcb0L3FW2GRzxOnmxaEMN0BkAkgjPR0alDv1LvJpH1WkYETOTKEm6xj_IB.XuXxVg TygyRuCkq0e80oV7Sarydx0TrtXGjDC3xIW9hH9Z0Vzr_6.e65Anvh3rm4E1JUmPVZoITGzrut5V mnGbJBtPRpVCQI3AugD1KhAD5Txtin7nb3XBYIL2TDufELOXof3de4ymgUnDv1pHzqk5irLgXuq5 Q92p0G4_5TQFthEcJpxPaBnS49l1GjPQkOKgXV5_u_n14.w3Q8_kY_DsW83s5n0e5JlaBifa6Mpq mgHrWqEF3jH8WBj3Is2MEsmHl.2FHfMPJsC3tMRzpJoSHA8BRFNpg1q5L1A.zmvCZ.07yoceVHMM nOL6ZeBkJ80Ne5FSnwHUg6BgpfgAkMS.1YH_1bH1gZtLOEyC0XWiyJLpMMod2.4ZvGqvnAdg1q1Q 4I1L4DgM4jjmomjwlIgNBULgTwAWVX_uDwiWhaVziJ_yBuixexOfGwoBNUaIR6OalK6SQosUy1zo Do0EJu1_rVmuy9ITtm4Jq1CroY.UiQir4Wf329wU1szb.zlNK2HR2iCoif4YGPfj6.epLreoMWiZ tThTzkiJg5c7P6mG3RjxWP4l6FUBNQuIgvO0Csbfsvdlv3OgTm29fbQuO2Gw43ZiNIDukS9sl1Ne .qxBQ3dyY_ZuPnxTcScrf8zJ8z6mjph__qe.IB_qd212Ze4y8GBQ37XXl4wQQmeyDUVtd78JPqgR Pc_VSlHJoO_GJEjM34GN9SVDpHO85qnn2WauLLkg1xjcEB34HHE4MGv4L1wANXFR6gXCki_Oagxd AXE.i73jfUk6GUHe.2KVdZwkLv2OmVXeIaeqWQ7iQpD3n2LOKPYHb92Plq3wppH1q4wKDsZUUri. .1oF9Qh5NeKWW4VDb_7j9BPNQVRokoztLUoWqku64TyrfF.2uGPDXk_qlLIFvXAzgZnwfRwdgMhw hV3V6nkJwhFXvO7RIOyOAT0QKLQDNt9nUb.Fotc11AC7XI8i0Wk3GnvBfJ.UvAZjorG4JWIPXfNw VvJPBQ4u8OdpNoeWD9ILLURVZGyhwTX2LWyvi2CzLXCKuRCcvVQ5kkaLRkSY0lfK7pxXoaMJcZfA IpaLEKghsG6gVq7u6zd6wrKnLPcSzHRt9GpfFGzVseuIFTc_jTmqhdF_PHcVBlON9PH_hShsZOro 9GrBZyn6C95qT4IEhhHTYo2lJfd3lwZRnAvIi7SKcrEJQQhqviMjbUiNxWRrh1Zv2qZqReXLcs8M pTUec6Y8_a9crNN_LvlYzf3JCB0fsnM4ran4VVj4GYMCG5l2_Jm22Sg0152RK2Cfo31lyQK5HzSM sHnN7TZr08R0ljfpQJ4LjtjdOMC7cis5QTByuejbnNKAL3GXzAEIN2o9iaky1l1bZObs1L9oeLoo gWkqUbv_ugDeFr2e8w8qV.usR7QKK0OlI0E8iz6tcN0UZaFPprFhj5j7evCGaiblZJjBddHfjW0n Y5Ll6aI63B.Q5tYj3xMxZXooJcBASLp_A8nXR2f01Ucg.8jvCMLcvl4FkDYTyxNNFoZ2Q2.hbyKp xRMJheh4qfWo6RuLGddl5Ddhoq8OYIo.ufzFBfO5p81Gp8YFAZZJZMEsZTaNTTXzP1RJJ2Q-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Sun, 6 Jun 2021 20:25:22 +0000 Received: by kubenode546.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5e733dec8f7d547da3f5491b79daa2de; Sun, 06 Jun 2021 20:25:16 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: What happen to mailing list archives? Message-Id: <0E72BE08-BC5A-41F8-8048-C5E8ADE947AF@yahoo.com> Date: Sun, 6 Jun 2021 13:25:14 -0700 Cc: freebsd-current To: Baptiste Daroussin X-Mailer: Apple Mail (2.3654.80.0.2.43) References: <0E72BE08-BC5A-41F8-8048-C5E8ADE947AF.ref@yahoo.com> X-Rspamd-Queue-Id: 4Fyp0N4tyNz3rbV X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Bvfvwr2b; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.147:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.147:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.147:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.147:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-current X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N Baptiste Daroussin wrote on Date: Sun, 6 Jun 2021 10:53:49 +0200 : > What has happended: > plan A: we migrated everything off mailman/pipermail seamlessly with = redirection > and so on. We patched the new archiver to produce the same file names = has > pipermail >=20 > Plan A worked fine up to a limit, there was plenty of hand edition in = the past, > we we decided to move to plan B which is what is happening now. >=20 > Plan B: We keep a frozen version of the archives up to the migration = date under > the pipermail directory and have the new archives created in the = archives > directory. >=20 > All the pipermail archives have been restored as they were. The new = archives > receives in their index a new link to point people to the pipermails = archive if > looking for older archives. >=20 > this has been done a couple of hours ago (before Steve emails) during = a window, > of ~ 10 hours, the mailing lists which slow traffic aka the one which = didn't > received any email since the migration ended up with an empty = "archives" > directory (aka a 404), a file with explanation and redirection to = pipermail has > been installed there. >=20 > Some work is still needed for the mailing lists which has been = transformed as > readonly, this will be done in the next couple of days It is too bad that a reference to a "no examples yet" month, such as, (at the time I write this): https://lists.freebsd.org/archives/freebsd-toolchain/2021-June/date.html does not show at least (Date view specific example): =E2=80=A2 Other periods:[ Previous, Date view ] [ List of = Folders ] =E2=80=A2 Other: [ Actives mailing lists ] [ Archives from = mailman's time ] when there are prior months available in https://lists.freebsd.org/archives/ or show at least just: =E2=80=A2 Other: [ Actives mailing lists ] [ Archives from = mailman's time ] when no prior months are available there. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)