From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Kent Subject: [Fwd: Kernel 3.3.0 autofs v5 packet size change] Date: Mon, 27 Feb 2012 10:22:06 +0800 Message-ID: <1330309326.2490.32.camel@perseus.themaw.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-w9n6l5e4u9jtoyExWpGQ" To: linux-fsdevel@vger.kernel.org Return-path: Received: from out5-smtp.messagingengine.com ([66.111.4.29]:39423 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753256Ab2B0CWR (ORCPT ); Sun, 26 Feb 2012 21:22:17 -0500 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id C151B20AF2 for ; Sun, 26 Feb 2012 21:22:16 -0500 (EST) Received: from perseus.themaw.net (203-59-216-241.dyn.iinet.net.au [203.59.216.241]) by mail.messagingengine.com (Postfix) with ESMTPA id 28B484827A6 for ; Sun, 26 Feb 2012 21:22:16 -0500 (EST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by perseus.themaw.net (Postfix) with ESMTP id 3B3A4E043F for ; Mon, 27 Feb 2012 10:22:13 +0800 (WST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: --=-w9n6l5e4u9jtoyExWpGQ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Sorry folks, I really should have cced fsdevel on this post to the autofs list. -------- Forwarded Message -------- From: Ian Kent To: autofs@vger.kernel.org Cc: intraperson-autodir@lists.sourceforge.net Subject: Kernel 3.3.0 autofs v5 packet size change Date: Mon, 27 Feb 2012 09:46:27 +0800 Hi all, Just a heads up for everyone regarding a recent kernel change. The description from the autofs user space patch describes the issue: "Kernel 3.3.0 has a patch to allow for the original missdesign of the autofs v5 kernel packet. The problem is that while all the structure fields are alligned correctly structure allignment on x86-64 causes the packet size to be 4 bytes larger than on x86. So when running an x86 binary on an x86-64 install the packet size did not match causing user space pipe reads to hang." If you are an upstream package maintainer and your distro is likley to migrate to kernel 3.3.0 or later or you are planning using kernel 3.3.0 or later then you will need these patches: http://www.kernel.org/pub/linux/daemons/autofs/v5/patches-5.0.7/autofs-5.0.= 6-add-kernel-verion-check-function.patch http://www.kernel.org/pub/linux/daemons/autofs/v5/patches-5.0.7/autofs-5.0.= 6-allow-for-kernel-packet-size-change.patch If you use rc kernels and you plan on using 3.3.0-rc5 you will also need commit 3c761ea05a8900a907f32b628611873f6bef24b2 from the linus kernel tree to fix a compile mistake. Sorry for the inconvenience. Ian --=-w9n6l5e4u9jtoyExWpGQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABAgAGBQJPSujOAAoJEOdnc4D1T9ipeAAQAI+q1Z3pnuslvPf6xEtp/7Bb vPJhTGEKZcYWY2DS+EqfiiHRf/+7S/GsEUEcKYM9J/g6UbEMScCkW1W5cccRi+4P zkDH7NeBa7/TNLCRTf69eTopotjSNPybpDyaP1NyAkdsqcyVLTxS/PPKHCER84w/ 7DlBiuucvx9/XNWYU87MH97H5JDhBVaYS2gkWSS7DewJH28CcLDMliOxsQ4Nmmjh sarNrC8PZY5zx7OJpav1XU3nARWNftOEtV+swVdkx+G9kTC5qUAwShuQmMs2rlaw ahwV0Fsx9YCJZAJauyevgcLLP11m3pGEnBqyr1VLPU44uxavmdjNkuzB2KpiotIO b+C5qpABQNz/K2fh3r78hXOf9XnU6ONnsStPJxq74KSzIvAnyo4umHVqhHHe/N1x l6sgf72IGIfjqT/o5wqSWjbJhB2CstS5eLObIJUh+uuATb1xCn/fP8JVWDkTW9z9 iCyPbyNyiTX3h5eO4HbpmBsxHM0fdXoija4Z21T8/E4pFxYTVaHA0U3C8+t479nC rQNY8V0HxjFrtwU+G7HsSndth6UPKXgcWxzrfxSHkNCGAY6jvo3YhDo0gCxdoua+ YCcqNxyfBMQMh5UcYXLt4amR43KGL1t8+IyEJ49ycWQDU+Lh/Ad00FPNm3olPaRm izzd8A7SXAieucuWuy7Z =R8pH -----END PGP SIGNATURE----- --=-w9n6l5e4u9jtoyExWpGQ--