From: mkatiyar@gmail.com (Manish Katiyar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Weird problem while compiling kernel
Date: Mon, 6 Jun 2011 00:21:40 -0700 [thread overview]
Message-ID: <BANLkTi=NXxzSJcUupJp6HzTLwtt9123QEA@mail.gmail.com> (raw)
/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
next reply other threads:[~2011-06-06 7:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-06 7:21 Manish Katiyar [this message]
2011-06-06 20:41 ` Weird problem while compiling kernel Greg Freemyer
2011-06-06 21:21 ` Manish Katiyar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTi=NXxzSJcUupJp6HzTLwtt9123QEA@mail.gmail.com' \
--to=mkatiyar@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).