>From [EMAIL PROTECTED]  Mon Feb 12 19:57:45 2001
>Return-Path: <[EMAIL PROTECTED]>
Received: from hera.kernel.org (IDENT:[EMAIL PROTECTED] [209.10.217.83])
        by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id TAA04211
        for <[EMAIL PROTECTED]>; 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 <[EMAIL PROTECTED]>; 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 <[EMAIL PROTECTED]>
To: Trond Myklebust <[EMAIL PROTECTED]>
Cc: "H. Peter Anvin" <[EMAIL PROTECTED]>, [EMAIL PROTECTED],
  [EMAIL PROTECTED]
Subject: Re: race in autofs / nfs
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>
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: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Mon, 
Feb 12, 2001 at 09:57:01AM +0100
Sender: [EMAIL PROTECTED]
Precedence: bulk
Status: O
Content-Length: 1825
Lines: 62

On Mon, Feb 12, Trond Myklebust wrote:

> >>>>> " " == H Peter Anvin <[EMAIL PROTECTED]> 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...

Reply via email to