From owner-freebsd-hackers@freebsd.org Mon Mar 1 15:57:19 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A5CDE562A8D for ; Mon, 1 Mar 2021 15:57:19 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 4Dq4dp4Mgzz4mGv for ; Mon, 1 Mar 2021 15:57:18 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id AF46F5C017F for ; Mon, 1 Mar 2021 10:57:17 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 01 Mar 2021 10:57:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=WQBWKc5L/nRUBlBHmh0l3P98kpD yPpa6h1TeiD9Bhk8=; b=APCI6JZH4pku+Xx05tTrq0S4BWolOOQmVxtz6TGbCiO 55PcHtS6m7ch9hYCFkDrkbUBNVmYDB+C0SXLnTCclnD0JQPIxqD9CiZNxg1x0I7l FmTZAntD9xX3+rIsm4hEZBNR32JygsyUmT2YR/9LoGvnjBI59MC+ze7PpLMA5vSi UwV4F4XkhIXCBqhjjk2v1tpLSn86u/ZN+Y4KZx3VUqoyiQ5GspJZZZrVLWQkCFyS aAN/iuwwmBMqR8Mq+A++JyZcFogZPNlPk7FuXrS/kKX7vqSPnqwAw9gL+DAk0GdD S1lT8KLnj5fAeSckQLOeI70mEi7OxbQ/RrcH6qmfaAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=WQBWKc 5L/nRUBlBHmh0l3P98kpDyPpa6h1TeiD9Bhk8=; b=ZWNTzDLBhJ3xsqSzDsCoiq C2VtQRCyDOoSZ1rRZAil22aXrMfyqJrPWxkW2s65Sf8wjclNrAbuN511yYNSTiQW /Uyg+hjf0ggA2aOT6Vom+LwDhvwx5UfPSgaYFLPH19fC6tCEbgbnbvjSuNk/5D5L xrFhAhN295fIGlyN4YO1POegALcTIeSt9yIQiLUm/MkM014q7tSpEHSrU4utBq2I SIylwiWGYz594Mt4SGgqOHqOyddFxo/f1ZroxG6+v6nMsll+SYWSDDf1R/Lhd/7f UOezbjWGshDDjuJZkJiRIOQs9bpvcZDRiE4/YSmfin0UfIdF78Jsh9mczEIg3i1w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrleekgdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvdettd dtkeduvdegveelffdtkeffudejvdfhudetnecukfhppeekledrudeghedruddttddrudef leenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvg gthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from cloud.zyxst.net (v007.zyxst.net [89.145.100.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 2CE5D240054 for ; Mon, 1 Mar 2021 10:57:17 -0500 (EST) Date: Mon, 1 Mar 2021 15:57:15 +0000 From: tech-lists To: freebsd-hackers@freebsd.org Subject: Re: The out-of-swap killer makes poor choices Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+XXFTLwu3tYB0Zsc" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Dq4dp4Mgzz4mGv X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=APCI6JZH; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ZWNTzDLB; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.26 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.26:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.26:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.26:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.26:from:127.0.2.255]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 15:57:19 -0000 --+XXFTLwu3tYB0Zsc Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Feb 23, 2021 at 01:49:49PM -0700, Alan Somers wrote: [...lots...] I've found that if I take a system already configured with swap, then add say 2* 16GB swapfiles as per the handbook, enable the swapfiles, that some things will use the swapfile and others not, even with plenty available in the swapfiles. example: 12-stable amd64 system running poudriere. it will use the swap configured by default (think it's 2GB) as a partition. In this example, all of swap is on ssd - the partition and both swapfiles. Compiling some things like rust or firefox will use all of the partition swap and some of the *swapfile* but not all of it[1]. It's almost like some processes have more of an affinity for swap as a partition than others, and others won't use swap as a swapfile at all. In the end, because I don't know how to debug this kind of issue further, it was easier to blat the ssd and install 32GB of swap on reinstallation of the OS. Swapfiles arent used now, on this particular install. The 32GB swap partition is fine and works as expected. Thought the above might be of use as I dunno, a data point. I wonder, though, why some programs have seemingly more affinity for swap-as-partitio= n=20 than swap-as-swapfile. [1] by "not all of it" I mean fail with an OOM message before all of the swapfile is used --=20 J. --+XXFTLwu3tYB0Zsc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmA9DtMACgkQs8o7QhFz NAVRwQ/+NCbA+EtFkMItMaogDTua4YyDdB0F1DHEL2kVhi3vyzhDBtLFyZsdmcy0 RemNQEl5tGgrNO46vdoxr4oxlH8omCKY7Q5VHo+fYxPFNnJOeZRcf93YwupXcr92 LRFaYZBRs3C2M/WLs4HfuTQ7ip1h30IxaV+JuPBHe6F/4H/ndJ7KkhlJ4f4gJkZM CTuqcX7VKI04zX21Q79pbTyTFviXilQXkpcOmFZRM8OMJS+7ovZ0n3X4JMbknHWp Sd+CRkMBj4rvcxk1jMsGdWr2rzB4nP3jYKH2vv+Ing+kUQ4c9EQ7xs7KWrWErhWJ 7GBWe1qXY3u0Zm/KfRsuZ3dwqtd88zvFu7nCdZAjYaWGuJJHHDSMhpyF6JzH2Yej mW0BGYAwVX6ULFDKMw3r86NUc9UPcyStBWJRgmzCRswgYwvkSP0Y9Kh6zhAQiS+A lZVUAIYUO+EcCY0NZypOsO6Mvnuq0ACng6yk5q3UZRe20RNR8dTKelXgIQ1d58j1 O6naeB0o5fD/G4cfuFGPb4Jtvh1AgbgMWe4Fk9oLAz10RiXvUI/983dFotrWtrn0 gOUaVKBK83dGEfdgXWSnD0M9M4VstKdBGZ/hXAV+PzB3nc0ZX3xGmA4w9zOrFSdF LPs+dsztLkweixXNHk0k7JCehSmv0+GUkKcbTq3ZI1tmPY3NM9w= =pTbf -----END PGP SIGNATURE----- --+XXFTLwu3tYB0Zsc-- From owner-freebsd-hackers@freebsd.org Mon Mar 1 16:23:26 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CD4475635F8 for ; Mon, 1 Mar 2021 16:23:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-55.consmr.mail.gq1.yahoo.com (sonic307-55.consmr.mail.gq1.yahoo.com [98.137.64.31]) (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 4Dq5Cx0Jq1z4tjK for ; Mon, 1 Mar 2021 16:23:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1614615803; bh=GPAgbuSEEj7lBi0PdVka+5CGK/Hlye4LHwjAZBn66cX=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=jxJnBYfFoJkKTT10+AdP5u3cDy+mSyybqM6m1tvnfhBlpf8+UmJFJvnkLNzkL/peYLw/1Q3m2iLZyizg/FFNq7wOn/7i0nCp9tEky95jdNpZqr3InVY9hbryeRuG/6EiejhOh58D3Q935xILDQEw/HqcaijnjC09iD/1sK743Zm1U9ChUEu0rFlR/Q/n/cOddfTg0QvMGl22Ph4S0x//zHkCor5qTqzCHVnNy0yf4R8R90jKsvfaiT0tecrziDnUr9hRuA77LCDXj4QwhnGs0eiQ6yp5dCzaD8N2LWD01EGNp9Lbq2YRmP6d3iAhP6TePuv/gztazcoI25oyPHAJdw== X-YMail-OSG: JNOhGWsVM1l8keCUNH5Ye1iy.mGH1ewFF1xWI1ehhGgYg2RPybW1eeIiYuwRGDE bhdClJu4YpOSnKinpu6apkJOZ_AnYtjKOnx0TZ6cq9bQxDxPqjYPf_ufL9rp05VWMn64GD1BamZB 1I5MwxYEq50afcR..J.sjUdzCwtH631x_gYhgZpNKW1w_MIfKt64pMl.yhdGsrZ3nW98ClAY6cGT UqfpD.IVC64O8ZFr7Z3AmTj.CJv61oMXQBZ5TlI.uvWWBkq.eo6s0z5UdeDxZVGC9AUEstUCuHaq h_cn6TXQZiQdoH6C0Qii2YjMrY4.NZXpIN5gnoj2Zyakwxr40w3Sehdar84DAyJTh49D0Tf_cC6t XUi3OFGU_JqBGeqtk7nBZbmTlChMMFvotHN8ibaclXYBzuI4_.zkc6Fxmr.fZLuLQzgugo1fzaI4 FK2Z7QkpR3yfCUXrTY06Pl6rSfphRVUIHswL5mAkfseol9fVdrNRmCLFYte5JoIDp8IZVlC6vUvC zz2v4S6JgrSRP5hzQ.wJqOsvFkgehCxYMKHKS1YfhSyUEuLgWuUDw7YybqBAeC5QOQFquxx7JBKD nQq9nrqua754R41sUiGa51qJnl9IrpBHRYCucjT5YQaWM5b2.KvWeWgsrQ1lURtPV7b_YwfY.nSG 0M8eMkBF._QGSxvFDbaT2rdg876c2mOg5bumUGe2qas1KzwJE6KqMTB3QEE9CcENGQDVrEve1JG7 tCGWq12e7oc8FiAhdarDPo34U1VHooo8UVk19cTNM_wvLA59nSgN4S3QVkTsCSkUiHQ6LxSUwMwD fKXTNQeXIVWffcUbxKL_XJeIWaifr4u4ncX1CsSH9rzZ9FFewuVLhs4ppM8wb4_8kgCo_aGALjuB RoYsV6BVDHKlJYNMSfPYTRZkHYn.op6miXyKIXBaA6FUdDyLgwnJGz1TFT1gVJYFz9EBCYLpsccd FBbynizGN4GIwdQetIOB1lF29PG72Ssx7WAnvZYNm1JZFepj3ftvofBItHvcHOZcwYmxt4MLK358 GPTZ17kHn0iFm_cqMZS4FjaiKZpurZeRdl1ri50rYAFkFAJUXYbES_oQRY21u5MEjm1i5CKwK48c QirFhL3vMsaQnW0DB0mldwVdHwYuvHT9wzF9Ps5nmFyujL1gcbZjE_exRLu91pGZmnN9f.VJiMrV P1aMjvpb3.afJPMUQXU1Cehi8BsCmleRPf91vuKfUDjLiIKZCQurLUGZlGdSHw2LUFIFQEeldD7D QhuDTNl87ME0tOTmWwYpnYIHoLENk1iQMMvcFLJsK1ABmaS7y0vKE2pXGYI4iFf450.ozixHQiNw kpwSyCL9JHWoXWFQdHeyh_C06YDyt_v9j2L_uamfYWrZgge8kDMxgmCAxSh7CHac0LvjpywyMt4M qB142plrlIK4gLCRPHdcvw6PVGsp93_oJZ.NT_GL4gWnfW.D_dRc7dKnrSKgkDNrSq4xG4ARRdRK FXAbkN.z8oIaaDeOn4FG3NzL1sAKL0WeGG98Fw0JyYMoB_B62Y0b8ceeTzEjfx1IS6OFatJeliV7 zwOJ3uqLphsaRYYXXZ9IB7y9CkZMmYk3Z01T6vCO0s8_PtQiQPYTM3yPlmUTLuHu7JC6q._sGonc BU6nDjIkyNIQI1DJ1q5qSQD2lFu7b8t2ol9N4DfIQE.3cNj2.DVKvpP9eitEWnxHOPOX_vVdKgGz lyAiU28BOGhD.tnzJ2RursOL2U1W.G5I8FYW4thBu52PXTzzXWd588qSNg4Q.Fz2OEuvtj7DNxPI iOQc23ZZmM80P5ej79tGjvzHOxsANsPRqfr.VpJMBHhzYNcF_Cm0.8QhaaYIia3AVQ0M1uUZnJwa i83bvqJSrI0PkU3vuwmDZrbvErDNapz2cZjvQ2MMD3vTcTKIdTJfSHWs1OnL65dauptf.Tk6ePb5 CB7de4pMnN.rUHS1zaTjiHGs1mj25HoA.JzW3sLCXozQQpx_yUsVcfYYGZtkWU0keE8n4BMODuQr d5yAGLrwj5dXTWU1xJrX7Zm9JU4t2aaO9v_5J_8oySDj0DpNLxlxntZ1g8qLDj8gV8TwGpx7A2fk x8oNcvFGbEwmfNWyIw5o_gfsu2YP6TDA9ynuX925D209_ZjIdELlubWBNjC7kkUr_zBw.417S5Wg Ay7xtqbYpQBioQt4cXMsQYhGuf6nB_KD4q2ELo5p0FXYBtVOHjbIL0FOevVxWI1UG7CKEUpJvP8l NlB6irQJJO_iRGCk14.Tguy1cjRdAbZFex9HAZD6FlcQ7pZOvXaBduId1AvaEs5._P.Qacd5y97p 0nmaek8YhvzM3P5EKqSk7xCdOet0xfLCKItVY55_56q5Ti9y1qm0E8.9ZcaYbG1FgmBSxMptS9LL Cgxt5IQWsI305jQzjiqnw71nolkxZ2X9bAw2j7Z7dneFghwXP7S7_m6tAdy4P8F2QYCM.iiy1tb. Lu2mTIG1DRNmjv3VezkUkdI2xuC6c3XiimMXA.HUFBd_b2.8bnwJONMOeL7sYrJk4a6FhuEt7yNo ZL9JE8QmmmS1GIYHNAxzQhdU- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Mon, 1 Mar 2021 16:23:23 +0000 Received: by smtp409.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID deb08ef632daa6c34c15f9cf13e3452a; Mon, 01 Mar 2021 16:23:19 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: The out-of-swap killer makes poor choices From: Mark Millard In-Reply-To: Date: Mon, 1 Mar 2021 08:23:17 -0800 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <132A65F3-E06A-40C1-8488-C421AD02F8F5@yahoo.com> References: To: tech-lists X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4Dq5Cx0Jq1z4tjK X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.79 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.29)[-0.289]; 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]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.64.31:from]; 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.64.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 16:23:26 -0000 On 2021-Mar-1, at 07:57, tech-lists wrote: >=20 > On Tue, Feb 23, 2021 at 01:49:49PM -0700, Alan Somers wrote: >=20 > [...lots...] >=20 > I've found that if I take a system already configured with swap, then > add say 2* 16GB swapfiles as per the handbook, enable the swapfiles, > that some things will use the swapfile and others not, even with = plenty > available in the swapfiles. >=20 > example: 12-stable amd64 system running poudriere. >=20 > it will use the swap configured by default (think it's 2GB) as a > partition. In this example, all of swap is on ssd - the partition and > both swapfiles. Compiling some things like rust or firefox will use = all > of the partition swap and some of the *swapfile* but not all of it[1]. = It's > almost like some processes have more of an affinity for swap as a > partition than others, and others won't use swap as a swapfile at all. >=20 > In the end, because I don't know how to debug this kind of issue > further, it was easier to blat the ssd and install 32GB of swap on > reinstallation of the OS. Swapfiles arent used now, on this particular > install. The 32GB swap partition is fine and works as expected. >=20 > Thought the above might be of use as I dunno, a data point. I wonder, > though, why some programs have seemingly more affinity for = swap-as-partition than swap-as-swapfile. >=20 > [1] by "not all of it" I mean fail with an OOM message before all of = the > swapfile is used See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206048 for why swapfiles are problematical and likely should be avoided. In particular comments #7 and #8 that quote Konstantin Belousov on the subject (or reference his material). Part of the text says: As result, swapfile swapping is more prone to the trivial and = unavoidable deadlocks where the pagedaemon thread, which produces free memory, needs more free memory to make a progress. Swap write on the raw partition = over simple partitioning scheme directly over HBA are usually safe, while = e.g. zfs over geli over umass is the worst construction. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-hackers@freebsd.org Tue Mar 2 13:48:14 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BBC3A569EF9 for ; Tue, 2 Mar 2021 13:48:14 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 4DqdkQ0LsZz3vSk for ; Tue, 2 Mar 2021 13:48:13 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 3D5E21599 for ; Tue, 2 Mar 2021 08:48:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 02 Mar 2021 08:48:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=ie7sWMJ82ZfAF+YY5gxPlmtGNSg nLt1DKrjZdUZecXM=; b=qqa7N/VP1O1eS9SQbm3LryJwnHILzlAMnI1NvKVkjEO jIgJ+baiEUxWNh0loyXo9g4/zub709oh51AJY3HeIj5gsLQx6iJHsgeT6P3pmgX4 7fETM7nXvsYZr60ZLSXvW2WfN0NWzc4Q85igVeN8ZkqNyD47nO6qM75kpGxfPUSQ gqnZRniQa8OM9LwfgczPlefMV4H0ItWDwvqFRkbrUoAZw8r7VG+RSU+8S5r7eWZ4 MMEgACKYsBAtlNRaRpIGLzAY7hbbSvfGDilSL6P5vhLuemlR/j4EwjTqSk53ot42 fmh3G99H031eGuj2YI1TXUELdwrz1PJ2+9HYgMUb4Dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ie7sWM J82ZfAF+YY5gxPlmtGNSgnLt1DKrjZdUZecXM=; b=XYJad/Qlr4BlBMVxnhCC9a 6/fkYiw7C969+Q2cBMNLnPa776UIKstuDKDPs0hVH37XfFnKgd8B845tS9F/wSE7 319ji58vLaIk3x1d+Pc2lzjgX7K54BNL1Lb2yOmC66T2eob2SSsHxPy4XDGSXIkc 37cACM/QxmJAhdwLaNzMU3rJxWhE/xT4x1MYmhrQJ3D6tY9FkPHJW4mA9UV2BbYg Fi61PUxpaU7hq8J/yjRw/xtrEUs0n+OqK10zjgF5TDJzrktBT/IWTmz/OSio+wk/ Bitm3dAnp2k7ytVlqW+HmZUeiH4zDfJt+QSbsr5pPZvkUEbeiIJOxi14Lmh2EuHw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddttddgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedtheeigfdvudefkeekvddtfedvte dttdekuddvgeevlefftdekffdujedvhfduteenucfkphepkeelrddugeehrddutddtrddu feelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepth gvtghhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from cloud.zyxst.net (v007.zyxst.net [89.145.100.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 64BB61080054 for ; Tue, 2 Mar 2021 08:48:11 -0500 (EST) Date: Tue, 2 Mar 2021 13:48:10 +0000 From: tech-lists To: freebsd-hackers@freebsd.org Subject: Re: The out-of-swap killer makes poor choices Message-ID: References: <132A65F3-E06A-40C1-8488-C421AD02F8F5@yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NmABVM5CiuT0Hmj3" Content-Disposition: inline In-Reply-To: <132A65F3-E06A-40C1-8488-C421AD02F8F5@yahoo.com> X-Rspamd-Queue-Id: 4DqdkQ0LsZz3vSk X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=qqa7N/VP; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=XYJad/Ql; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.24 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.24:from]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 13:48:14 -0000 --NmABVM5CiuT0Hmj3 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 01, 2021 at 08:23:17AM -0800, Mark Millard via freebsd-hackers = wrote: [...] Maybe something should be in the handbook about this? As far as I can tell, everything there about this seems to suggest swap partitions and files are functionally equivalent, but it's clear from your message and my experience that they aren't. (btw I forgot to mention the filesystem I had the swapfile problem with. It was ufs2). --=20 J. --NmABVM5CiuT0Hmj3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmA+QhEACgkQs8o7QhFz NAU0dA/+IHtXPfgFKO0kq6nvUTqAHNpouuM9uOhvU/ljQlqb1+IzHEFA3KuNO34G z0jg9uQOF4Vzdo4F32sm1MdYYw3g6kgln6fltwJWriVD+7JJJJzBqlWLJN2efd3Z pnojeqP9K/4bAn38A39BqSm8F9Utwrj4LGr5xcf4ICjZBHKjpNLnmf5jELGB2IoM wTb0lWEmXrRL3zcaFLDEAU+Fq3+3pumf99WNVg7gVc9cmKB3Wz4Sf0kQ/THfHry4 Dfqq3k3YLeIZouCFoNRDBIdPXSYwqS+o5UG+LxVQlvmI5Gcw6fByQRNXs7TRdLF+ VZov0vOTLMbsOudwI26mxt3/9bnB5IR79xeITr2ePfGBPxSbxTmufNJyNRQcAfLC MELxy9p2Uy1s3l38iaLitHknesVDTVoJmms/llqi0bYxmnl3GAp0fFw3MCy1HEfM Ks+Pq4rz38TNa505CqaaZrsKwRR4fF8cu0GA/Z4yQpQ9Z2UqRynVXa7pzJ5/bz+S mhEUj1t5mcyUc89tg6I7IINg7lwLBXzz6IdqZSFjnnA73kQ9pn3SkttKFB7g2kMd DrAG0Seyv5jlUGjSRWgFeet5/2+snyMqenYNWIa50jIEk7WySUEhYY8A6GLHlNDf T4uKn7LRWnforJ1wzn0FDAaEU/01ozgTrKB/FFkw8fI4BC3ZCik= =0Jdb -----END PGP SIGNATURE----- --NmABVM5CiuT0Hmj3-- From owner-freebsd-hackers@freebsd.org Wed Mar 3 10:27:35 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 46597565C88 for ; Wed, 3 Mar 2021 10:27:35 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dr9DR0MXlz3Frb for ; Wed, 3 Mar 2021 10:27:35 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 0A720565AA0; Wed, 3 Mar 2021 10:27:35 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A274565C10; Wed, 3 Mar 2021 10:27:35 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (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 4Dr9DQ0tPyz3GPN; Wed, 3 Mar 2021 10:27:33 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mail-ej1-x62b.google.com with SMTP id jt13so41197387ejb.0; Wed, 03 Mar 2021 02:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=uR4nCr/UsJcDzwg37BNXJKj55usqTF+mPK5tdkf3L+E=; b=I+whmIheryKPXvvIP5k3LlVYqWOvX4jLFI4drd4X+8NVSgQb6ohoNes5gzmpyr7RCw 7XEfAjEWNEfi+7nWjWwEQr+8rOu/Stw/GepsckCWlYI0WquOeK7OBxN6Fuj4bxkbxrtJ 3zN9fgZ50p4JX5rMJH4YTlXle8+v2ZbilzjtnzzADGFOcHy3xIuLsLBr8PVNjsBJaiDC 2Ul5W7MftsiSczB2zHnROOp+SKnenQxvyahgTM/+EgPbS31zkvVi7V2oy37p+GGDUgn2 cU3CTrvx32kc92pAcrQoZfE1XtMVtdWgKTIB1iSsfShl/LadVKwwdV8b08eCFmm3jam/ rweg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=uR4nCr/UsJcDzwg37BNXJKj55usqTF+mPK5tdkf3L+E=; b=Gh6usEp8Sa0lOA3dsCNpq8Xyu1ZfAmWXho9wVtZRBK2F+tjJAgIUxRK/DmbizwbVmI IxzZ4+RWZtp/j8AQpWG2HMDvm9WDd2kkNxWyttryT5L71c7WE0AMbj81JEEsDkeqQki3 DyPBUhcuemrtt16s1Fs3OZMzCyfwiGdSWX9dgd+pCJnH6mcJE43M4sXMXA9TX59YRG6+ jihBsbg0AsUR32aKgGW9XbHjOMRq9Gh9jS3rWlf3OHy4mZD3Ck4H/eeSdRYNo41sUPVP 9LC4ev5dcVILAt6ucuzZKIyjTc6XfenusOK++jbjnq63RTJFCSiY8THXzvEjqlhs7cPl UyHg== X-Gm-Message-State: AOAM530HA00Y62sOyuuWRk4t6hetb1qEY7yZ0/Fr6mZIGCzr/L2F4MEh Ofy3XD24ClFR+kDy1pOKQoRbqPDf8Uk= X-Google-Smtp-Source: ABdhPJyr9O3Y6M5MltU11jjV6yliXDZa9shnjVRwB0wkcyZbUu3XikPQJCjLnaqkK4ZIpRtvsT1abQ== X-Received: by 2002:a17:906:6c4:: with SMTP id v4mr13243549ejb.198.1614767252783; Wed, 03 Mar 2021 02:27:32 -0800 (PST) Received: from localhost (cpe-109-60-4-54.st3.cable.xnet.hr. [109.60.4.54]) by smtp.gmail.com with ESMTPSA id r4sm21838069edv.27.2021.03.03.02.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 02:27:32 -0800 (PST) Date: Wed, 3 Mar 2021 11:28:03 +0100 From: Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= To: hackers@freebsd.org, freebsd-wireless@freebsd.org Subject: AR9227/AR9287 unresponsive after some time Message-ID: <20210303112803.0000260f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Dr9DQ0tPyz3GPN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=I+whmIhe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rank1seeker@gmail.com designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=rank1seeker@gmail.com X-Spamd-Result: default: False [-2.75 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; R_MIXED_CHARSET(1.25)[subject]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::62b:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[109.60.4.54: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]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62b:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62b:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[hackers,freebsd-wireless] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 10:27:35 -0000 For about 5 years now I have: -- ath1@pci0:3:2:0: class=3D0x028000 card=3D0x0300168c chip=3D0x002d168= c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Atheros' device =3D 'AR9227 Wireless Network Adapter' class =3D network -- ath1: mem 0xf1040000-0xf104ffff irq 5 at device 2.0 on pci3 ath1: [HT] enabling HT modes ath1: [HT] enabling short-GI in 20MHz mode ath1: [HT] 1 stream STBC receive enabled ath1: [HT] 1 stream STBC transmit enabled ath1: [HT] 2 RX streams; 2 TX streams ath1: AR9227 mac 384.2 RF5133 phy 15.15 ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 -- Everything is perfects upon device's fresh config and init. There were and always are problems with this card, AFTER some time passes. It's like it simply becomes unresponsive. Now at 12.2-RELEASE-p3 - i386, after some time passes: 1) As station/client =3D> in associated state it simply stops transmitting= packets It can't ping it's AP! # service netif restart ..., "fixes" issue. 2) As AP =3D> it ignores it's clients and simply stops transmitting packets And WORST, slowly but surely freezes whole OS! Even console becomes unresponsive and only hard reset helps! Where should I look at? What should I do? PS: Take a note that SAME setup poses no problem for: -- ath0@pci0:3:1:0: class=3D0x020000 card=3D0x3a131186 chip=3D0x0013168= c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Atheros' device =3D 'AR5212/5213/2414 Wireless Network Adapter' class =3D network subclass =3D ethernet -- I saw in section 'Known chipset issues/limitations/bugs': interrupt read-and-clear bug Has anyone yet found a way to deal with it? PS: freebsd-wireless@ =3D> I'm not on a mailing list, so keep me posted. Thx in advance, Domagoj Smol=C4=8Di=C4=87 From owner-freebsd-hackers@freebsd.org Wed Mar 3 13:43:53 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3611D56AD15 for ; Wed, 3 Mar 2021 13:43:53 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrFZv3Jggz3lww for ; Wed, 3 Mar 2021 13:43:51 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.16.1) with ESMTPS id 123DhgZF082667 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 3 Mar 2021 14:43:42 +0100 (CET) (envelope-from wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1614779023; bh=y2jRpvfYUXb1IedmQUy87LRlE5QOfYwpFNhx7lQjcnc=; h=Date:From:To:Subject; b=pKnISIGyMghHnBheQJC42m+MBB2ouyvkZR6hb1JhXB8x9QQyjnq0WOz/JLVa9IJQ4 BAMGA9tRLnw8CKlzvOvUfHF3rQifm94PxEgkmj8k0bTSMWREF6844zmx3x6mq+Njhj KBROPK8/vIuWasbGTnVkfEsx6Sp9gS9bo+eoeizY= Received: from wojtek.intra (localhost [127.0.0.1]) by wojtek.intra (8.16.1/8.16.1) with ESMTP id 123Dhg6q047204 for ; Wed, 3 Mar 2021 14:43:42 +0100 (CET) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.intra (8.16.1/8.16.1/Submit) with ESMTP id 123Dhf9Z047201 for ; Wed, 3 Mar 2021 14:43:42 +0100 (CET) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.intra: wojtek owned process doing -bs Date: Wed, 3 Mar 2021 14:43:41 +0100 (CET) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Subject: FreeBSD 12, bhyve, windows 7 guest, time Message-ID: <5c359016-1c3f-6b90-1254-7f12284fb88@puchar.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4DrFZv3Jggz3lww X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=puchar.net header.s=default header.b=pKnISIGy; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-3.49 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[194.1.144.90:from]; R_DKIM_ALLOW(-0.20)[puchar.net:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[194.1.144.90:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[puchar.net:+]; NEURAL_HAM_SHORT(-0.99)[-0.985]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 13:43:53 -0000 any idea what may cause time going off relative to host/real(*) time in order of 5-15 minutes per day in windows guest? except of that problem, windows VM is running properly. * host time is ntp synchronized, and checked OK From owner-freebsd-hackers@freebsd.org Wed Mar 3 13:49:08 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B062056AF02 for ; Wed, 3 Mar 2021 13:49:08 +0000 (UTC) (envelope-from Walter.von.Entferndt@posteo.net) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (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 4DrFhz504Mz3lm5 for ; Wed, 3 Mar 2021 13:49:07 +0000 (UTC) (envelope-from Walter.von.Entferndt@posteo.net) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 06F83240100 for ; Wed, 3 Mar 2021 14:49:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1614779343; bh=HoXH9ghpNKlBrNq+94YaxFtXCwrityA6yeMrkzBxzK8=; h=From:To:Subject:Date:From; b=b//HqT3SNvYPkJZ3/cfp2uf0xYBHaTRmaUIku58/XCx0qKTtPmWRrUs77Vaxohu2J x0DUBpknE5PM4DvbYFGoqvEHTTvTqyPxoyKoJ99eRw5fp2oZIWzMisUrb//24b0Swo VH7t2a8PxfmIzt2ITdNWTUhDc1Hsx5pflgti0n5Vflr+/TDc+3Seb5Exq5iy+Fu0wt VwY/jGqiX5YurO0+3tNiMaqHCV84IuP5qvyBkw1Dw0anT2ORpIu9Wi4aW6EQUHYQPT YTqtYkh5K1EwD4v5Y+xyggboEGVLrKBkcpq+8vuHVmUfc1+NwYzk43wbvsiB9Z5X3L bIi1kg2fncy3A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DrFht0Ts0z9rxV for ; Wed, 3 Mar 2021 14:49:01 +0100 (CET) From: Walter von Entferndt To: freebsd-hackers@freebsd.org Subject: Re: The out-of-swap killer makes poor choices Date: Wed, 03 Mar 2021 14:45:47 +0100 Message-ID: <1694817.MsCH1bHPGx@t450s.local.lan> X-Face: #$[hC+4[4W*mS3hB&izisyT_#E]^Aq+7Isv`2Tu5q*1~jR@&['74B>Ibyrk]GTJ!j$ NjX=#L2#k2X7OnaaRM_Pd5`>`8OJ3; +I2 References: MIME-Version: 1.0 X-Rspamd-Queue-Id: 4DrFhz504Mz3lm5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=posteo.net header.s=2017 header.b=b//HqT3S; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (mx1.freebsd.org: domain of Walter.von.Entferndt@posteo.net designates 185.67.36.66 as permitted sender) smtp.mailfrom=Walter.von.Entferndt@posteo.net X-Spamd-Result: default: False [-4.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[posteo.net:s=2017]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[185.67.36.66:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.67.36.0/23]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_MED(-0.20)[185.67.36.66:from]; DKIM_TRACE(0.00)[posteo.net:+]; DMARC_POLICY_ALLOW(-0.50)[posteo.net,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; CTE_CASE(0.50)[]; ASN(0.00)[asn:8495, ipnet:185.67.36.0/23, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 13:49:08 -0000 Hi, a week ago I wrote some thoughts to improve this by adding some criteria for the selection, e.g. the process owner. Seems that this was completely ignored in the discussion afterwards. May I kindly ask if that's a silly idea, and if yes, for a few keywords or links to point me in the right direction, so that I can answer my question by myself? Thx in advance. -- =|o) "Stell' Dir vor es geht und keiner kriegt's hin." (Wolfgang Neuss) From owner-freebsd-hackers@freebsd.org Wed Mar 3 16:12:19 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 16CE256F029 for ; Wed, 3 Mar 2021 16:12:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DrJtB5PzYz4TQ5 for ; Wed, 3 Mar 2021 16:12:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id B9B0256F028; Wed, 3 Mar 2021 16:12:18 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B961E56ED5A; Wed, 3 Mar 2021 16:12:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) 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 4DrJtB4mG1z4T6C; Wed, 3 Mar 2021 16:12:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qk1-x735.google.com with SMTP id d20so23514417qkc.2; Wed, 03 Mar 2021 08:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=OcApl3Kkpwz2RgOf3FLbinJqPwY6uADZnqtxxNqXeLg=; b=KEa7DYqeubcZSEbqJPy9+JUat1pK7W5tiFn7/IQt+nVzO9tYagUVQCyRtiNV4OW5NC YzoYQHkS+Zsn8FhYYxxYd4SF+s6Oe3CTbRxin8Ip5qpZkofPswYrbBX5+lcCwnE7Yg6f /wcDCzmi2on7gyitxD9fJiG4+WMa6VCfFHkUjOE0sM0fM1Ej6ALmCrj4fPIIkupv+Q3D nijFiIjOsb+xlTRWzpEkx9lf/ad2TUMGdZ03J6MYQbV3qFqdqMgbaakQyqmAd5vssAkY f5JS9a7f9HGPaejNG9idwscwU1A+Ut7Qe2wT58uqGW2gd2CdjYgFLWvYLX6o1+NG26U+ UATg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=OcApl3Kkpwz2RgOf3FLbinJqPwY6uADZnqtxxNqXeLg=; b=SHjEohM2/oAMw8tWajSPM2gr2rpPBS4N11waryJoB0zcWCH8Gv+OgsWwFGECRTltg+ LCkECZt3nJfeh2QOWjl7FoMQL0pevkjxOD4RfNxdeN8pLuA47lUl3nryzqQPuJXqCMyj HD2uFLqH8vptL32HqwK2YQPaVbK+LBcExIZ0g20wdo+ToeizDXfnInxhBtEoruqMmrDL yeYlmy/KziWtC5WfZ3ChhhqMgAPoS3RPDNPqyLtApH853Owa3eAWo5sqmbDflTb7/mA5 xex9rc/MbyKir2KS+bcMHlReH0+JaowpDt0iCfQg0aYsnQYA06W4ECyldei+JfFvalya IERQ== X-Gm-Message-State: AOAM530IyPfo5Lsmr6j34usB9F8N1QpBeQRLaHHcFdQ+mEzD6hBQdreN xPz29614DKqA8qrisNZsMsuYRB4z/zkO40tAZ1E= X-Google-Smtp-Source: ABdhPJzgAQ2P4p9GwhqfE2lCGaI2M1WlIvta6Lv8gStHmskflwvFcO1oubgsrt5qX4uTcZgopy4aFJ436e8GyI8NLDQ= X-Received: by 2002:a37:9d93:: with SMTP id g141mr23053533qke.270.1614787937908; Wed, 03 Mar 2021 08:12:17 -0800 (PST) MIME-Version: 1.0 References: <20210303112803.0000260f@gmail.com> In-Reply-To: <20210303112803.0000260f@gmail.com> From: Adrian Chadd Date: Wed, 3 Mar 2021 08:12:05 -0800 Message-ID: Subject: Re: AR9227/AR9287 unresponsive after some time To: =?UTF-8?B?RG9tYWdvaiBTbW9sxI1pxIc=?= Cc: "freebsd-hackers@freebsd.org" , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DrJtB4mG1z4T6C X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-Mailman-Approved-At: Wed, 03 Mar 2021 17:58:10 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 16:12:19 -0000 hi! Yeah, there's been some long standing calibration issues with the 9227 that i've never figured out :( -a On Wed, 3 Mar 2021 at 02:27, Domagoj Smol=C4=8Di=C4=87 wrote: > > For about 5 years now I have: > -- > ath1@pci0:3:2:0: class=3D0x028000 card=3D0x0300168c chip=3D0x002d1= 68c rev=3D0x01 hdr=3D0x00 > vendor =3D 'Qualcomm Atheros' > device =3D 'AR9227 Wireless Network Adapter' > class =3D network > -- > ath1: mem 0xf1040000-0xf104ffff irq 5 at device 2.0 on pci= 3 > ath1: [HT] enabling HT modes > ath1: [HT] enabling short-GI in 20MHz mode > ath1: [HT] 1 stream STBC receive enabled > ath1: [HT] 1 stream STBC transmit enabled > ath1: [HT] 2 RX streams; 2 TX streams > ath1: AR9227 mac 384.2 RF5133 phy 15.15 > ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > -- > > Everything is perfects upon device's fresh config and init. > There were and always are problems with this card, AFTER some time passes= . > It's like it simply becomes unresponsive. > > Now at 12.2-RELEASE-p3 - i386, after some time passes: > 1) As station/client =3D> in associated state it simply stops transmitti= ng packets > It can't ping it's AP! > # service netif restart ..., "fixes" issue. > 2) As AP =3D> it ignores it's clients and simply stops transmitting pack= ets > And WORST, slowly but surely freezes whole OS! > Even console becomes unresponsive and only hard reset helps! > > Where should I look at? > What should I do? > > PS: Take a note that SAME setup poses no problem for: > -- > ath0@pci0:3:1:0: class=3D0x020000 card=3D0x3a131186 chip=3D0x00131= 68c rev=3D0x01 hdr=3D0x00 > vendor =3D 'Qualcomm Atheros' > device =3D 'AR5212/5213/2414 Wireless Network Adapter' > class =3D network > subclass =3D ethernet > -- > > I saw in section 'Known chipset issues/limitations/bugs': > interrupt read-and-clear bug > Has anyone yet found a way to deal with it? > > PS: freebsd-wireless@ =3D> I'm not on a mailing list, so keep me posted. > > > Thx in advance, > Domagoj Smol=C4=8Di=C4=87 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " From owner-freebsd-hackers@freebsd.org Thu Mar 4 10:33:27 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 58F4156B965 for ; Thu, 4 Mar 2021 10:33:27 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DrnJl05TCz3Gfp for ; Thu, 4 Mar 2021 10:33:27 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 0319E56B980; Thu, 4 Mar 2021 10:33:27 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 00FF256B77F; Thu, 4 Mar 2021 10:33:27 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 4DrnJk6KHnz3Gln; Thu, 4 Mar 2021 10:33:26 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mail-ej1-x629.google.com with SMTP id lr13so48358933ejb.8; Thu, 04 Mar 2021 02:33:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yrrEv04kOALsv0CWSdMFELBznU/Yp9QPjoojzxLKRsM=; b=LXhlKGSjYXxec0Z8b+89T17zElQquoLQGQ672jDbI4/JJcFDowvMeiAy3wFHhQZare dUCtLlMoD2zVDFeJ0akmebCyO8dv1CU4bTyfoIR83gAIl3RtoDuWd7ehV7CCKtymkvdE pBIhkRU/KfR7XZswVRacm/Bo7126KtXXFRpwix+HPDeNHBrardGgb104DGmc597HpYBS 54IGtJ/kqIK+fMz8DwXYUH36p5vhHs86HC/UscrbruZw2awnWw0R7Z9bseASCVGDRBMf MyDxZBDcwNVyzcY/8QiDVrGlcjhTyT9xb2+28u1Nz0xyEUUBoykxtRZDOjZ8qK/5q6JM IIGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yrrEv04kOALsv0CWSdMFELBznU/Yp9QPjoojzxLKRsM=; b=t2XcfsmkAkpmBIulEcGbYy5RVyxKh1nKtfFVxVNlmyVFX77sJg09jz4RgXdGn8Ui1s 7p9TanueNbNUCqCOMUN2Blxf0vm0IOTlIBOtvZK0M40WELNya7eFDAcfANMfOZS28gmP lIUfgg+U846ILiES2YCwJYtc6g5n2L1jNpB5dtHPc8xEXbbXJc3I9vAq5c49z5gr8+Iv /9ccvoc4vvvEULrhhXoOwBbyOKt+Mwrj0tkXWWZZ6AQNYi6NQhwqE1GatyYMvJAqom90 ynpfCrXtLbdjer/lk4yxMawBoN1yyWJ/LeQtXv3HHIXaqRdIT48SJSVeahRktUkKvNOm 37DQ== X-Gm-Message-State: AOAM532dq9/ktuTBtQv7WWNKERZMGxfbwBp+9QbRY16GDQwJKtjmg3LC YvYVAhTU9YLbA3G1XW0Ec4o= X-Google-Smtp-Source: ABdhPJy0zb2FdBHMbyYJ6fKeO/fehcYGRHY4pUseDI7LP/6sD+D2mAgczK1KEsAzJZvpe4tcQ5AE+A== X-Received: by 2002:a17:906:8593:: with SMTP id v19mr3536118ejx.32.1614854004036; Thu, 04 Mar 2021 02:33:24 -0800 (PST) Received: from localhost (cpe-109-60-4-54.st3.cable.xnet.hr. [109.60.4.54]) by smtp.gmail.com with ESMTPSA id si3sm2831918ejb.90.2021.03.04.02.33.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 02:33:23 -0800 (PST) Date: Thu, 4 Mar 2021 11:33:54 +0100 From: Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= To: Adrian Chadd Cc: "freebsd-hackers@freebsd.org" , "freebsd-wireless@freebsd.org" Subject: Re: AR9227/AR9287 unresponsive after some time Message-ID: <20210304113354.00004fa6@gmail.com> In-Reply-To: References: <20210303112803.0000260f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DrnJk6KHnz3Gln 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-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 10:33:27 -0000 Hi Adrian, Give me a set of your commands to execute and keep running in parallel with= AR9227 running. I'll be frequently sending you a results/dump files. If you agree/have time, of course. PS: 'interrupt read-and-clear bug' affects ALL chips in section 'Known chip= set issues/limitations/bugs' at =3D> https://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport Domagoj On Wed, 3 Mar 2021 08:12:05 -0800 Adrian Chadd wrote: > hi! >=20 > Yeah, there's been some long standing calibration issues with the 9227 > that i've never figured out :( >=20 >=20 > -a >=20 > On Wed, 3 Mar 2021 at 02:27, Domagoj Smol=C4=8Di=C4=87 > wrote: > > > > For about 5 years now I have: > > -- > > ath1@pci0:3:2:0: class=3D0x028000 card=3D0x0300168c > > chip=3D0x002d168c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Athero= s' > > device =3D 'AR9227 Wireless Network Adapter' > > class =3D network > > -- > > ath1: mem 0xf1040000-0xf104ffff irq 5 at device 2.0 > > on pci3 ath1: [HT] enabling HT modes > > ath1: [HT] enabling short-GI in 20MHz mode > > ath1: [HT] 1 stream STBC receive enabled > > ath1: [HT] 1 stream STBC transmit enabled > > ath1: [HT] 2 RX streams; 2 TX streams > > ath1: AR9227 mac 384.2 RF5133 phy 15.15 > > ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > -- > > > > Everything is perfects upon device's fresh config and init. > > There were and always are problems with this card, AFTER some time > > passes. It's like it simply becomes unresponsive. > > > > Now at 12.2-RELEASE-p3 - i386, after some time passes: > > 1) As station/client =3D> in associated state it simply stops > > transmitting packets It can't ping it's AP! > > # service netif restart ..., "fixes" issue. > > 2) As AP =3D> it ignores it's clients and simply stops transmitting > > packets And WORST, slowly but surely freezes whole OS! > > Even console becomes unresponsive and only hard reset helps! > > > > Where should I look at? > > What should I do? > > > > PS: Take a note that SAME setup poses no problem for: > > -- > > ath0@pci0:3:1:0: class=3D0x020000 card=3D0x3a131186 > > chip=3D0x0013168c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Athero= s' > > device =3D 'AR5212/5213/2414 Wireless Network Adapter' > > class =3D network > > subclass =3D ethernet > > -- > > > > I saw in section 'Known chipset issues/limitations/bugs': > > interrupt read-and-clear bug > > Has anyone yet found a way to deal with it? > > > > PS: freebsd-wireless@ =3D> I'm not on a mailing list, so keep me > > posted. > > > > > > Thx in advance, > > Domagoj Smol=C4=8Di=C4=87 > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to > > "freebsd-hackers-unsubscribe@freebsd.org"=20 From owner-freebsd-hackers@freebsd.org Thu Mar 4 18:22:43 2021 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 242A85549DB for ; Thu, 4 Mar 2021 18:22:43 +0000 (UTC) (envelope-from khng300@gmail.com) Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 4DrzkB1tGGz4frj for ; Thu, 4 Mar 2021 18:22:41 +0000 (UTC) (envelope-from khng300@gmail.com) Received: by mail-pj1-x102f.google.com with SMTP id i4-20020a17090a7184b02900bfb60fbc6bso4884532pjk.0 for ; Thu, 04 Mar 2021 10:22:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=EqNJLjrKYw5x4p/eW7/RyxNjuUQYD2uEWuGG0YS0hh0=; b=vNH67CcN/k9CvgXPgOk8P8ZEL2yz5lVkvNg+KuI6ultXMDRqU5VPrmeQwFBouLzLQp bEIefjkq24ZaJsq+K0JhB2NGfXDKwhsGq9sQXeiQ6BS4jNb7TY+ELvYnZ+N4piGZen5N 0dUNczJ/mJ7zQao4qgUrXTeBfg6tIsxxEIqBPxEcrk/CBZ1Xavc0hGhHeg6wt/j2ow5p nl+Mfkc3+8AtP3skj0jdgwH5YGYUQOEXJei4U8lHbA6VuZrX+6zP61bafwoaOA2JPdMq zhe0cpXLmVQ/Zgm59KZWMyheW34S1wtgB8Pfrn7xlBxu0upiNrR8mjZ2hL1mLg0qPWKn v2+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=EqNJLjrKYw5x4p/eW7/RyxNjuUQYD2uEWuGG0YS0hh0=; b=R58crxjaEEP6mxRMJLygKpDQPgHeuJX6h0eEpyaFRJ6AXO2xefQO8oEc+He+bw3lr2 1yc+gJ1gYCnZqM2EMUfgtlHk/ImR5Q+wCSn1c605w36Sy8TNu9ncND5yT1VM1h+Y7tS5 +rNBA251RJOGtmGnyqFIhIt7aZltvH3TpZD3Y2r7ug+nqVhVPOPk87SL1SioTkDoSFEq uH39/RRafgyPLKTQuIpQRG/MgOP0qUmR++MwoDH2tcxtW75OgC2oPPfwKDPVgWwk941F i7RMKDUd4/jBV9HPQDvL0kKI4CNbZPkaSas6Qe4QOllR4TPAkA8INHAdNCULNEoCokUZ soIw== X-Gm-Message-State: AOAM530hSKrv9F2FtBvHoMKC92fuIdwqkXZDV0oX8CK4VovncVu93hg/ sBwdEMhVRmYxZhrMPpSVqsKh0zkCetv1JA== X-Google-Smtp-Source: ABdhPJzjjuXCzi24SgY5ETNHaqf4rmAU5kgHFMh/ttz6OUTGDN2WbeC8ah/BMz/BuqbDq8gD5aWFRA== X-Received: by 2002:a17:902:9795:b029:e4:888f:7390 with SMTP id q21-20020a1709029795b02900e4888f7390mr5141919plp.26.1614882160690; Thu, 04 Mar 2021 10:22:40 -0800 (PST) Received: from Kas-MacBook-Pro.lan ([2001:470:f816:0:494b:deef:b43e:61f9]) by smtp.gmail.com with ESMTPSA id 35sm111499pgm.64.2021.03.04.10.22.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Mar 2021 10:22:40 -0800 (PST) To: freebsd-hackers@freebsd.org From: Ka Ho Ng Subject: Looking for AMD owners testing PCI(including GPU) passthrough Message-ID: <3e159b37-b48b-fd0d-4fb0-a0e3edee41a1@gmail.com> Date: Fri, 5 Mar 2021 02:22:38 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DrzkB1tGGz4frj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=vNH67CcN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of khng300@gmail.com designates 2607:f8b0:4864:20::102f as permitted sender) smtp.mailfrom=khng300@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::102f:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::102f:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102f:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 18:22:43 -0000 Hi, I recently tried to fix the AMD passthrough bug in BHyve. I fixed the issue with https://reviews.freebsd.org/D28945 and https://reviews.freebsd.org/D28984. However, I do not have any non-Epyc-Rome hardware on hand. I would like to ask for people having Zen Ryzen, Zen2 Ryzen and Zen3 Ryzen3 or the TR/TR2/.. platforms to test if the two changes works properly with non-Epyc-Rome platforms. Please feel free to ask if you have any issues. Thanks, Ka Ho