(no subject)

root@camelot.co.jp
Mon, 13 Aug 2001 05:17:53 -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 VAA04516
for <jareth@camelot.co.jp>; Mon, 12 Feb 2001 21:35:24 +0900
Received: (from majordom@localhost)
by hera.kernel.org (8.9.3/8.9.3) id DAA30112
for autofs-list; Mon, 12 Feb 2001 03:51:22 -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 DAA30106
for <autofs@linux.kernel.org>; Mon, 12 Feb 2001 03:51:20 -0800
Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136])
by Cantor.suse.de (Postfix) with ESMTP
id E76DD1E0ED; Mon, 12 Feb 2001 12:51:19 +0100 (MET)
Date: Mon, 12 Feb 2001 12:51:15 +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: <20010212125115.B30552@suse.de>
References: <20010211211701.A7592@suse.de> <3A86F6AA.1416F479@transmeta.com> <shsbss8i8iq.fsf@charged.uio.no> <20010212111448.A28932@suse.de>
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: <20010212111448.A28932@suse.de>; from olh@suse.de on Mon, Feb 12, 2001 at 11:14:48AM +0100
Sender: owner-autofs@linux.kernel.org
Precedence: bulk
Status: O
Content-Length: 1022
Lines: 38

On Mon, Feb 12, Olaf Hering wrote:

> 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).
>
> (hmm, it loads autofs and not autofs4 on 7.0?)

The autofs4.o is the culprit, it works perfect with autofs.o.

What would happen if I stick with autofs.o now?
The docu recommends autofs4 in modules.conf.

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/