From nobody Wed Mar 23 17:43:27 2022 X-Original-To: freebsd-arm@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 239581A2682E for ; Wed, 23 Mar 2022 17:43:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.gq1.yahoo.com (sonic311-24.consmr.mail.gq1.yahoo.com [98.137.65.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNwgm01rKz3PV6 for ; Wed, 23 Mar 2022 17:43:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648057410; bh=42//U9dolsV53WwOH49vfKoynW1Xf4EJFJELxzs3KQg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ISNifrCaO4URgSl/I7fG2nI9//1NbHOk0/I+j5v498n8jsQNZ59n+mHeInhxP01dPq0jMBj7vT+/TX1b6Aq8Pj31/4QDTo4oShcHZvWhloWw+W30VzhHfvxhGfmCVGGpdue8gNRA0cC0r/O7MIJZ7mD6Pmtw0PY9iFmsUNlD9tVE9t+X+rRNDpq2sRU3nJ0nBDek1+h/IMypJgNVhvdSlEpqYDuSvIDaAD+6+lIPeoBp0SRHZY5vdDSaX2qF5ZKcHNwBHJa/35ZNvIft6fAhNZZ6kh5IvI2IhvyqVPtM1VQzw42Zziw1qVD0AqEF+t7NHoxs9oattP/XrJyjNP5y3A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648057410; bh=fmo9XPCGIp6YP2FGsB7YIks+axA02YvnDx33Kjm/As1=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=QSdk5D8Y0mDs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z1bxgQT0_VqjcAfumHYvcO0ZnteGjLp5YsutLuaEb2jygzSB0dQfxi1.qDJRfOlONNZ0ZQVL6 Q3A9aZiUdzTIeBslPXemZDXsZ3Qq8oQhG4DtLMCjVsHeJFuohxlbKZId7wO8z6UWZ9E0PUOha__H rXyfcEjM_CEYu4p._q.Fyw1KXTm8Ny9YDP.1_oDQUqohOSPCv_akw7PXdH3ebHvklA0y67CXBOqg DfCjxk9RwX3Ld75O_OyN445vuJwYwJi6e_cq3XfKYb9gD23o5lkc73DODj6QYRLUhxWGmwQW2_Gb ZFD327I5esqNJg62bvSlMar2jYfHWg3DXlqdQq81LbWdDlFRx345LeYGYq20RfVzgU9qO4xPhNz_ kvS43bP3CuMc7L_M6YniNxIcZv_r8ZHWgoG5VbgP0zfYN_8WTylTKrK1lc1MCDlEbAaO4Vcij9Ub Xz4geQbiR_7ASVHaq0XnJVTrcOpuImUo0.rmKtZxC9Ul71OdiGIRly13q5Awh6.eJeqHy.M8x5GU bsi24GvPfYScjCqa3hozwsc7swGPIWpJSFhmKXDm8mPw- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Wed, 23 Mar 2022 17:43:30 +0000 Received: by kubenode550.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3e3b4bb6f13a0ffabd603b4be758a026; Wed, 23 Mar 2022 17:43:28 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: /usr/src/sys/net/if_epair.c:181:6: error: ... From: Mark Millard In-Reply-To: <22389953-442F-4915-8797-32D1FF577F44@freebsd.org> Date: Wed, 23 Mar 2022 10:43:27 -0700 Cc: bob prohaska , grembo@freebsd.org, Free BSD Content-Transfer-Encoding: quoted-printable Message-Id: <9B9CB488-80F3-4BB3-BA78-97CEFED6CE26@yahoo.com> References: <20220323155947.GA96051@www.zefox.net> <22389953-442F-4915-8797-32D1FF577F44@freebsd.org> To: Kristof Provost X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4KNwgm01rKz3PV6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=ISNifrCa; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.205 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 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:+]; 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]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.205:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.205:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Mar-23, at 09:51, Kristof Provost wrote: > On 23 Mar 2022, at 16:59, bob prohaska wrote: >>=20 >> =EF=BB=BFOn Wed, Mar 23, 2022 at 11:51:17AM +0100, Kristof Provost = wrote: >>>=20 >>> Can you try the attached patch? I???m not going to argue with the MI = code about the atomic_testandclear_int, but instead revert the new = if_epair code (in stable/12 only, of course). >>>=20 >>=20 >> Trying it now. >>=20 >> Patch reported: >> Patching file sys/net/if_epair.c using Plan A... >> Hunk #1 succeeded at 2. >> Hunk #2 failed at 37. >> Hunk #3 succeeded at 61. >> Hunk #4 succeeded at 78. >> Hunk #5 succeeded at 201. >> Hunk #6 succeeded at 517. >> Hunk #7 succeeded at 540. >> Hunk #8 succeeded at 701. >> Hunk #9 succeeded at 791. >> Hunk #10 succeeded at 809. >> Hunk #11 succeeded at 862. >> Hunk #12 succeeded at 876. >> Hunk #13 succeeded at 904. >> Hunk #14 succeeded at 932. >> Hunk #15 succeeded at 947. >> Hunk #16 succeeded at 975. >> Hunk #17 succeeded at 999. >> Hunk #18 succeeded at 1010. >> Hunk #19 succeeded at 1061. >> 1 out of 19 hunks failed--saving rejects to sys/net/if_epair.c.rej >>=20 >> Running make buildkernel -DWITH_META_MODE anyway to see if anything=20= >> else goes wrong. Half an hour in so far and no errors. If it fails=20 >> I'll delete the altered files, run svnlite up again and try over.=20 >>=20 >> Thanks to all for the speedy replies! >=20 > I=E2=80=99m a little confused by that failed hunk. What version are = you patching? The patch should apply cleanly on stable/12.=20 Bob's original report was very specific about the version --but from a svn viewpoint: root@www:/usr/src # svnlite info Path: . Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/stable/12 Relative URL: ^/stable/12 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 371771 Node Kind: directory Schedule: normal Last Changed Author: 0mp Last Changed Rev: 371771 Last Changed Date: 2022-03-22 15:28:40 -0700 (Tue, 22 Mar 2022) In other words (using svnweb to look it up): Revision 371771 - Directory Listing=20 Modified Tue Mar 22 22:28:40 2022 UTC (19 hours, 13 minutes ago) by 0mp nullfs.5: Add an example fstab(5) entry Some other file system manual pages like msdosfs(5) feature similar examples as well. MFC after: 1 week (cherry picked from commit 7d62b5df83000e3c5d14f0dfe8be22a2978534f4) Git Hash: dd999ed9463e3f4f3fe43e843510c8ed371100ed Git Author: 0mp@FreeBSD.org =3D=3D=3D Mark Millard marklmi at yahoo.com