Skip to contentSkip to conversation

Stale NFS File Handle but !NFS

DISCUSSION Tomasz Chmielewski 2 participants 2 messages Oct 23, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines

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

Quoted 8 lines
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.

Signature · 2 lines
Tomasz Chmielewski
http://blog.wpkg.org
#1 lore raw
Quoted 16 lines · Tomasz Chmielewski
Quoted 16 lines

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
Quoted 8 lines
Quoted 3 lines

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