kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Weird problem while compiling kernel
@ 2011-06-06  7:21 Manish Katiyar
  2011-06-06 20:41 ` Greg Freemyer
  0 siblings, 1 reply; 3+ messages in thread
From: Manish Katiyar @ 2011-06-06  7:21 UTC (permalink / raw)
  To: kernelnewbies

/home/kernel> make net
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC      net/netlink/genetlink.o
mv: cannot move `net/netlink/.genetlink.o.tmp' to
`net/netlink/.genetlink.o.cmd': No such file or directory
make[2]: *** [net/netlink/genetlink.o] Error 1
make[1]: *** [net/netlink] Error 2
make: *** [net] Error 2
Hi,

This is perhaps OOT, but I have been struggling to figure out the
problem. While compiling kernel I'm getting the below error.
Everything seems fine
and I can see the file, however for some reason 'mv' can see the
source file. strace revealed that its failing with ENOENT. I don't
think there is anything special
with this directory (given that other things compile just fine),
except that this directory is on a ntfs mounted partition.

/home/kernel> make net
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC      net/netlink/genetlink.o
mv: cannot move `net/netlink/.genetlink.o.tmp' to
`net/netlink/.genetlink.o.cmd': No such file or directory
make[2]: *** [net/netlink/genetlink.o] Error 1
make[1]: *** [net/netlink] Error 2
make: *** [net] Error 2

/home/kernel> ls -lrt net/netlink/.genetlink.o.tmp
-rwxrwxrwx 1 root root 39301 2011-06-06 00:08 net/netlink/.genetlink.o.tmp

/home/kernel> mv net/netlink/.genetlink.o.tmp net/netlink/.genetlink.o.cmd
mv: cannot move `net/netlink/.genetlink.o.tmp' to
`net/netlink/.genetlink.o.cmd': No such file or directory

/home/kernel> mount|grep kernel
/dev/sda1 on /home/kernel type fuseblk
(rw,nosuid,nodev,allow_other,blksize=4096)

/home/kernel> ls net/netlink/.genetlink.o.cmd
net/netlink/.genetlink.o.cmd

/home/kernel> rm net/netlink/.genetlink.o.cmd
rm: cannot remove `net/netlink/.genetlink.o.cmd': No such file or directory

/home/kernel> stat net/netlink/.genetlink.o.cmd
  File: `net/netlink/.genetlink.o.cmd'
  Size: 32093     	Blocks: 64         IO Block: 4096   regular file
Device: 801h/2049d	Inode: 223366      Links: 1
Access: (0777/-rwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2011-06-06 00:08:26.394585000 -0700
Modify: 2011-06-06 00:08:18.121035000 -0700
Change: 2011-06-06 00:08:44.087640000 -0700


Any suggestions, what I might be missing ?


-- 
Thanks -
Manish

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

end of thread, other threads:[~2011-06-06 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-06  7:21 Weird problem while compiling kernel Manish Katiyar
2011-06-06 20:41 ` Greg Freemyer
2011-06-06 21:21   ` Manish Katiyar

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