* [Fwd: Kernel 3.3.0 autofs v5 packet size change]
@ 2012-02-27 2:22 Ian Kent
0 siblings, 0 replies; only message in thread
From: Ian Kent @ 2012-02-27 2:22 UTC (permalink / raw)
To: linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]
Hi,
Sorry folks, I really should have cced fsdevel on this post to the
autofs list.
-------- Forwarded Message --------
From: Ian Kent <raven@themaw.net>
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-27 2:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 2:22 [Fwd: Kernel 3.3.0 autofs v5 packet size change] Ian Kent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).