[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633423: Problem with autofs 64-bit kernel/32-bit userspace compatibility



tags 633423 + fixed-upstream patch
thanks

On 2012-02-24 20:15 +0100, Sven Joachim wrote:

> Short summary for readers new to the bug: boot hangs with i386 systemd
> and an x86_64 kernel.  
>
> On 2011-10-15 21:51 +0200, Sven Joachim wrote:
>
>> It seems that somebody who is both smarter and more pertinacious than
>> myself has tried to use a 32-bit systemd under 64-bit kernel and
>> experienced the hangs, see the thread starting at [1].
>>
>> Thomas Meyer proposed a patch in [2], but it was rejected, arguing that
>> the incompatibility should be fixed in the kernel.  Of course the autofs
>> maintainer disagrees and wants workarounds in userspace, so we're stuck
>> in a deadlock. :-/
>>
>> 1. http://lists.freedesktop.org/archives/systemd-devel/2011-September/003338.html
>> 2. http://lists.freedesktop.org/archives/systemd-devel/2011-September/003396.html 
>
> Thankfully this problem has now been communicated to Linus himself, and
> he agreed that it should be fixed in the kernel.  See the following long
> threads on the LKML:
>
> http://thread.gmane.org/gmane.linux.kernel/1255125
> http://thread.gmane.org/gmane.linux.kernel/1256405
>
> I will keep an eye on this bug and send an update when a fix appears in
> Linus' tree that I can test.

3.3-rc5 works for me, as does 3.2.7 with the following changes
cherry-picked:

a32744d4abae (autofs: work around unhappy compat problem on x86-64)
3c761ea05a89 (Fix autofs compile without CONFIG_COMPAT)
048cd4e51d24 (compat: fix compile breakage on s390)

The latter two are necessary to fix FTBFS problems on other
architectures introduced by a32744d4abae.

Cheers,
       Sven



Reply to: