(no subject)

root@camelot.co.jp
Mon, 13 Aug 2001 05:17:51 -0400


>Return-Path: <owner-autofs@linux.kernel.org>
Received: from hera.kernel.org (IDENT:root@hera.kernel.org [209.10.217.83])
by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id TAA04211
for <jareth@camelot.co.jp>; Mon, 12 Feb 2001 19:57:44 +0900
Received: (from majordom@localhost)
by hera.kernel.org (8.9.3/8.9.3) id CAA20244
for autofs-list; Mon, 12 Feb 2001 02:14:50 -0800
Received: from Cantor.suse.de (ns.suse.de [213.95.15.193])
by hera.kernel.org (8.9.3/8.9.3) with ESMTP id CAA20241
for <autofs@linux.kernel.org>; Mon, 12 Feb 2001 02:14:49 -0800
Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136])
by Cantor.suse.de (Postfix) with ESMTP
id 78B4B1E0BB; Mon, 12 Feb 2001 11:14:48 +0100 (MET)
Date: Mon, 12 Feb 2001 11:14:48 +0100
From: Olaf Hering <olh@suse.de>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: "H. Peter Anvin" <hpa@transmeta.com>, autofs@linux.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: race in autofs / nfs
Message-ID: <20010212111448.A28932@suse.de>
References: <20010211211701.A7592@suse.de> <3A86F6AA.1416F479@transmeta.com> <shsbss8i8iq.fsf@charged.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <shsbss8i8iq.fsf@charged.uio.no>; from trond.myklebust@fys.uio.no on Mon, Feb 12, 2001 at 09:57:01AM +0100
Sender: owner-autofs@linux.kernel.org
Precedence: bulk
Status: O
Content-Length: 1825
Lines: 62

On Mon, Feb 12, Trond Myklebust wrote:

> >>>>> " " == H Peter Anvin <hpa@transmeta.com> writes:
>
> > Olaf Hering wrote:
> >>
> >> Hi,
> >>
> >> there is a race in 2.4.1 and 2.4.2-pre3 in autofs/nfs. When
> >> the cwd is on the nfs mounted server (== busy) and you try to
> >> reboot the shutdown hangs in "rcautofs stop". I can reproduce
> >> it everytime.
> >>
>
> > Sounds like an NFS bug in umount.
>
> Or a dcache bug: the above points to a corruption of the mnt_count
> which is supposed to be > 0 if the partition is in use. I'm seeing a
> similar leak for ext2 partitions (not involving autofs or NFS).

Some more updates:

This machines run the upcoming 7.1-ppc with autofs-4.0.0pre9.
When I install 7.0-ppc it runs rocksolid with the same kernel binary.
7.0 came with autofs-4.0.0pre7:

Linux plum 2.4.1 #1 Sun Feb 11 11:56:01 GMT 2001 ppc unknown
Kernel modules 2.4.1
Gnu C 2.95.3
Binutils 2.9.5.0.24
Linux C Library x 1 root root 4209204 Oct 4 21:42
/lib/libc.so.6
Dynamic linker ldd (GNU libc) 2.1.3
Procps 2.0.6
Mount 2.10m
Net-tools 1.56
Kbd 0.99
Sh-utils 2.0
Modules Loaded snd-card-awacs snd-pcm snd-timer snd-mixer snd
soundcore ipv6 netlink_dev nfsd autofs bmac pcmcia_core

(hmm, it loads autofs and not autofs4 on 7.0?)

It hangs again after a while, in this case:
cc1plus 19126 181495 2903920 4 u01783c18 c44ca000 1 current
automoun 19129 183289 2932624 54 u0176a368 c42ca000 0 current
_spin_lock(c021b754) CPU#1 NIP c0 072f18 holder: cpu 0 pc C0057A18

I will try the older autofs package now.

Gruss Olaf

-- 
 $ man clone

BUGS Main feature not yet implemented...

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/