linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Stale NFS File Handle but !NFS
@ 2008-10-23 21:58 Parag Warudkar
  2008-10-30  0:56 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Parag Warudkar @ 2008-10-23 21:58 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Anyone got an idea why I am getting the below error with today's git
while compiling the kernel?

  LD      arch/x86/vdso/built-in.o
scripts/Makefile.build:373: net/netfilter/.xt_mac.o.cmd: Stale NFS file handle
make[2]: stat: net/netfilter/.xt_mac.o.cmd: Stale NFS file handle
make[2]: *** No rule to make target `net/netfilter/.xt_mac.o.cmd'.  Stop.
make[1]: *** [net/netfilter] Error 2
make: *** [net] Error 2
parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ rm net/netfilter/.xt_mac.o.cmd
rm: cannot remove `net/netfilter/.xt_mac.o.cmd': Stale NFS file handle
parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ sudo rm
net/netfilter/.xt_mac.o.cmd

Even trying 'sudo rm -f' on that file gives the same error.

I am not using NFS at all which makes this one sound weird!

Thanks
Parag

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Stale NFS File Handle but !NFS
  2008-10-23 21:58 Stale NFS File Handle but !NFS Parag Warudkar
@ 2008-10-30  0:56 ` Andrew Morton
  2008-10-30  1:24   ` Parag Warudkar
  2008-10-30  8:02   ` Christoph Hellwig
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Morton @ 2008-10-30  0:56 UTC (permalink / raw)
  To: Parag Warudkar; +Cc: linux-kernel, Christoph Hellwig

On Thu, 23 Oct 2008 17:58:34 -0400
"Parag Warudkar" <parag.lkml@gmail.com> wrote:

> Anyone got an idea why I am getting the below error with today's git
> while compiling the kernel?
> 
>   LD      arch/x86/vdso/built-in.o
> scripts/Makefile.build:373: net/netfilter/.xt_mac.o.cmd: Stale NFS file handle
> make[2]: stat: net/netfilter/.xt_mac.o.cmd: Stale NFS file handle
> make[2]: *** No rule to make target `net/netfilter/.xt_mac.o.cmd'.  Stop.
> make[1]: *** [net/netfilter] Error 2
> make: *** [net] Error 2
> parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ rm net/netfilter/.xt_mac.o.cmd
> rm: cannot remove `net/netfilter/.xt_mac.o.cmd': Stale NFS file handle
> parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ sudo rm
> net/netfilter/.xt_mac.o.cmd
> 
> Even trying 'sudo rm -f' on that file gives the same error.
> 
> I am not using NFS at all which makes this one sound weird!
> 

Is this still happening?

If so, I'd be looking at that new `return ERR_PTR(-ESTALE)' in
d_obtain_alias().


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Stale NFS File Handle but !NFS
  2008-10-30  0:56 ` Andrew Morton
@ 2008-10-30  1:24   ` Parag Warudkar
  2008-10-30  8:02   ` Christoph Hellwig
  1 sibling, 0 replies; 6+ messages in thread
From: Parag Warudkar @ 2008-10-30  1:24 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Christoph Hellwig

On Wed, Oct 29, 2008 at 8:56 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Thu, 23 Oct 2008 17:58:34 -0400
> "Parag Warudkar" <parag.lkml@gmail.com> wrote:
>
>> Anyone got an idea why I am getting the below error with today's git
>> while compiling the kernel?
>>
>>   LD      arch/x86/vdso/built-in.o
>> scripts/Makefile.build:373: net/netfilter/.xt_mac.o.cmd: Stale NFS file handle
>> make[2]: stat: net/netfilter/.xt_mac.o.cmd: Stale NFS file handle
>> make[2]: *** No rule to make target `net/netfilter/.xt_mac.o.cmd'.  Stop.
>> make[1]: *** [net/netfilter] Error 2
>> make: *** [net] Error 2
>> parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ rm net/netfilter/.xt_mac.o.cmd
>> rm: cannot remove `net/netfilter/.xt_mac.o.cmd': Stale NFS file handle
>> parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ sudo rm
>> net/netfilter/.xt_mac.o.cmd
>>
>> Even trying 'sudo rm -f' on that file gives the same error.
>>
>> I am not using NFS at all which makes this one sound weird!
>>
>
> Is this still happening?
>
> If so, I'd be looking at that new `return ERR_PTR(-ESTALE)' in
> d_obtain_alias().

To fix it I had to fsck.ext3 - which reported/corrected unused/deleted
inode errors relating to that file.
Since make -j4 was involved in this, sounds like a race some where?

Since then I have booted the same machine with latest git 4-5 times
and compiled a few kernels - nothing bad has happened till now.

Will continue to test newer kernels since I still have few days before
I load this machine with useful data.

Parag

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Stale NFS File Handle but !NFS
  2008-10-30  0:56 ` Andrew Morton
  2008-10-30  1:24   ` Parag Warudkar
@ 2008-10-30  8:02   ` Christoph Hellwig
  1 sibling, 0 replies; 6+ messages in thread
From: Christoph Hellwig @ 2008-10-30  8:02 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Parag Warudkar, linux-kernel, Christoph Hellwig

On Wed, Oct 29, 2008 at 05:56:43PM -0700, Andrew Morton wrote:
> Is this still happening?
> 
> If so, I'd be looking at that new `return ERR_PTR(-ESTALE)' in
> d_obtain_alias().

d_obtain is only used in the nfs export code, some special case in the
nfs client code and the xfs open by handle code.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Stale NFS File Handle but !NFS
  2008-10-23 22:28 Tomasz Chmielewski
@ 2008-10-23 22:54 ` Parag Warudkar
  0 siblings, 0 replies; 6+ messages in thread
From: Parag Warudkar @ 2008-10-23 22:54 UTC (permalink / raw)
  To: Tomasz Chmielewski; +Cc: LKML

On Thu, Oct 23, 2008 at 6:28 PM, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
>> Anyone got an idea why I am getting the below error with today's git
>> while compiling the kernel?
>>
>>  LD      arch/x86/vdso/built-in.o
>> scripts/Makefile.build:373: net/netfilter/.xt_mac.o.cmd: Stale NFS file
>> handle
>> make[2]: stat: net/netfilter/.xt_mac.o.cmd: Stale NFS file handle
>> make[2]: *** No rule to make target `net/netfilter/.xt_mac.o.cmd'.  Stop.
>> make[1]: *** [net/netfilter] Error 2
>> make: *** [net] Error 2
>> parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ rm
>> net/netfilter/.xt_mac.o.cmd
>> rm: cannot remove `net/netfilter/.xt_mac.o.cmd': Stale NFS file handle
>> parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ sudo rm
>> net/netfilter/.xt_mac.o.cmd
>>
>> Even trying 'sudo rm -f' on that file gives the same error.
>>
>> I am not using NFS at all which makes this one sound weird!
>
> Broken filesystem?
>
> You may try fscking the filesystem.
>

Yep - just finished that and got unused/deleted inode errors plus bunch more.

That's weird though since this is a new machine and new install - time
to do a memtest followed by going back to stable kernel.

Thanks
Parag

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Stale NFS File Handle but !NFS
@ 2008-10-23 22:28 Tomasz Chmielewski
  2008-10-23 22:54 ` Parag Warudkar
  0 siblings, 1 reply; 6+ messages in thread
From: Tomasz Chmielewski @ 2008-10-23 22:28 UTC (permalink / raw)
  To: LKML; +Cc: parag.lkml

> Anyone got an idea why I am getting the below error with today's git
> while compiling the kernel?
> 
>   LD      arch/x86/vdso/built-in.o
> scripts/Makefile.build:373: net/netfilter/.xt_mac.o.cmd: Stale NFS file handle
> make[2]: stat: net/netfilter/.xt_mac.o.cmd: Stale NFS file handle
> make[2]: *** No rule to make target `net/netfilter/.xt_mac.o.cmd'.  Stop.
> make[1]: *** [net/netfilter] Error 2
> make: *** [net] Error 2
> parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ rm net/netfilter/.xt_mac.o.cmd
> rm: cannot remove `net/netfilter/.xt_mac.o.cmd': Stale NFS file handle
> parag@parag-desktop:~/kernel-dev/linux-2.6-wk$ sudo rm
> net/netfilter/.xt_mac.o.cmd
> 
> Even trying 'sudo rm -f' on that file gives the same error.
> 
> I am not using NFS at all which makes this one sound weird!

Broken filesystem?

You may try fscking the filesystem.


-- 
Tomasz Chmielewski
http://blog.wpkg.org



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-30  8:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-23 21:58 Stale NFS File Handle but !NFS Parag Warudkar
2008-10-30  0:56 ` Andrew Morton
2008-10-30  1:24   ` Parag Warudkar
2008-10-30  8:02   ` Christoph Hellwig
2008-10-23 22:28 Tomasz Chmielewski
2008-10-23 22:54 ` Parag Warudkar

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).