Re: Problem in compiling kernel

2011-06-29 Thread Mulyadi Santosa
On Wed, Jun 29, 2011 at 01:08, Daniel Baluta daniel.bal...@gmail.com wrote:
 On Tue, Jun 28, 2011 at 8:39 PM, Ponkumaran Annadurai
 aspkuma...@gmail.com wrote:


 I got struck in making initrd file, I got the following error


 root@rocker:/boot# mkinitramfs -o  initrd.img-2.6.39.1 2.6.39.1Y

 2.6.39.1Y? - shouldn't it be 2.6.39.1.

Daniel, I guess Ponkumaran did something (wrong) with extra
version...what do you think?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem in compiling kernel

2011-06-29 Thread Daniel Baluta
On Wed, Jun 29, 2011 at 9:28 AM, Mulyadi Santosa
mulyadi.sant...@gmail.com wrote:
 On Wed, Jun 29, 2011 at 01:08, Daniel Baluta daniel.bal...@gmail.com wrote:
 On Tue, Jun 28, 2011 at 8:39 PM, Ponkumaran Annadurai
 aspkuma...@gmail.com wrote:


 I got struck in making initrd file, I got the following error


 root@rocker:/boot# mkinitramfs -o  initrd.img-2.6.39.1 2.6.39.1Y

 2.6.39.1Y? - shouldn't it be 2.6.39.1.

 Daniel, I guess Ponkumaran did something (wrong) with extra
 version...what do you think?

Mulyadi, I don't see how he could have changed EXTRA_VERSION from Makefile.

Ponkumaran, could you try running:
# mkinitramfs -o  initrd.img-2.6.39.1 2.6.39.1

thanks,
Daniel.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem in compiling kernel

2011-06-29 Thread Ponkumaran Annadurai
On Wed, Jun 29, 2011 at 12:42 PM, Daniel Baluta daniel.bal...@gmail.comwrote:

   I got struck in making initrd file, I got the following error
 
 
  root@rocker:/boot# mkinitramfs -o  initrd.img-2.6.39.1 2.6.39.1Y
 
  2.6.39.1Y? - shouldn't it be 2.6.39.1.
 
  Daniel, I guess Ponkumaran did something (wrong) with extra
  version...what do you think?


 Mulyadi, I don't see how he could have changed EXTRA_VERSION from Makefile.

 No, I didn do anything in the Makefile

 Ponkumaran, could you try running:
 # mkinitramfs -o  initrd.img-2.6.39.1 2.6.39.1

 I tried this one first but I was prompted that the folder 2.6.39.1 is not
found in /lib/modules. Then I found a folder named 2.6.39.1Y thats why I
used this name. But now I guess that this Y is given by me during
configuration in the place for local version option. Is that any problem
with that?

 thanks,
 Daniel.




-- 
thanks,
kumaran
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem in compiling kernel

2011-06-29 Thread Daniel Baluta
On Wed, Jun 29, 2011 at 4:37 PM, Ponkumaran Annadurai
aspkuma...@gmail.com wrote:


 On Wed, Jun 29, 2011 at 12:42 PM, Daniel Baluta daniel.bal...@gmail.com
 wrote:

  I got struck in making initrd file, I got the following error
 
 
  root@rocker:/boot# mkinitramfs -o  initrd.img-2.6.39.1 2.6.39.1Y
 
  2.6.39.1Y? - shouldn't it be 2.6.39.1.
 
  Daniel, I guess Ponkumaran did something (wrong) with extra
  version...what do you think?


 Mulyadi, I don't see how he could have changed EXTRA_VERSION from
 Makefile.

 No, I didn do anything in the Makefile

 Ponkumaran, could you try running:
 # mkinitramfs -o  initrd.img-2.6.39.1 2.6.39.1

 I tried this one first but I was prompted that the folder 2.6.39.1 is not
 found in /lib/modules. Then I found a folder named 2.6.39.1Y thats why I
 used this name. But now I guess that this Y is given by me during
 configuration in the place for local version option. Is that any problem
 with that?

I don't know :). I would recommend you to start a fresh install. It's
obvious that you've did something wrong in the first time.

Compiling the kernel should be fairly easy.
thanks,
Daniel.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem in compiling kernel

2011-06-28 Thread Daniel Baluta
 Have you tried to setup some sort of cross-compilation environment?
 Could you check CROSS_COMPILE env variable?

  Yes, I have given yes for that option during configuration

OK, then that's your problem. CROSS_COMPILE is a string
pointing to your cross compiler prefix.

thanks,
Daniel.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem in compiling kernel

2011-06-28 Thread Daniel Baluta
On Tue, Jun 28, 2011 at 2:07 PM, Ponkumaran Annadurai
aspkuma...@gmail.com wrote:


 On Tue, Jun 28, 2011 at 1:13 PM, Daniel Baluta daniel.bal...@gmail.com
 wrote:

  Have you tried to setup some sort of cross-compilation environment?
  Could you check CROSS_COMPILE env variable?

   Yes, I have given yes for that option during configuration

 OK, then that's your problem. CROSS_COMPILE is a string
 pointing to your cross compiler prefix.

 thanks,
 Daniel.


 Yes, It worked. Thank you sir. But I couldn't understand the reason. Can you
 explain this to me?

Please keep kernelnewbies to CC:, so that other can read about this problem
if they hit it.

The reason for which it didn't work is that you haven't set a valid
cross-compiler
prefix in CROSS_COMPILE

When you set a cross-compiler prefix, the value stored in CROSS_COMPILE is
concatenated with the name of each tool used to compile your kernel.

For example, objdump will be used as ${CROSS_COMPILE}objdump. You set
CROSS_COMPILE=Y, and the tool to be used is now named Yobjdump, which
obviously doesn't exist.

Valid values for CROSS_COMPILE look like this: CROSS_COMPILE=
mips64-octeon-linux-gnu-.

Hope that things are now more clear.

thanks,
Daniel

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem in compiling kernel

2011-06-28 Thread Ponkumaran Annadurai
On Tue, Jun 28, 2011 at 4:59 PM, Daniel Baluta daniel.bal...@gmail.comwrote:

 On Tue, Jun 28, 2011 at 2:07 PM, Ponkumaran Annadurai
 aspkuma...@gmail.com wrote:
 
 
  On Tue, Jun 28, 2011 at 1:13 PM, Daniel Baluta daniel.bal...@gmail.com
  wrote:
 
   Have you tried to setup some sort of cross-compilation environment?
   Could you check CROSS_COMPILE env variable?
 
Yes, I have given yes for that option during configuration
 
  OK, then that's your problem. CROSS_COMPILE is a string
  pointing to your cross compiler prefix.
 
  thanks,
  Daniel.
 
 
  Yes, It worked. Thank you sir. But I couldn't understand the reason. Can
 you
  explain this to me?

 Please keep kernelnewbies to CC:, so that other can read about this problem
 if they hit it.

 The reason for which it didn't work is that you haven't set a valid
 cross-compiler
 prefix in CROSS_COMPILE

 When you set a cross-compiler prefix, the value stored in CROSS_COMPILE is
 concatenated with the name of each tool used to compile your kernel.

 For example, objdump will be used as ${CROSS_COMPILE}objdump. You set
 CROSS_COMPILE=Y, and the tool to be used is now named Yobjdump, which
 obviously doesn't exist.

 Valid values for CROSS_COMPILE look like this: CROSS_COMPILE=
 mips64-octeon-linux-gnu-.

 Hope that things are now more clear.

 thanks,
 Daniel


Yes, they are clear. Thank you sir.
-- 
regards,
kumaran
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem in compiling kernel

2011-06-28 Thread Mulyadi Santosa
On Tue, Jun 28, 2011 at 18:29, Daniel Baluta daniel.bal...@gmail.com wrote:
 Please keep kernelnewbies to CC:, so that other can read about this problem
 if they hit it.

 The reason for which it didn't work is that you haven't set a valid
 cross-compiler
 prefix in CROSS_COMPILE

 When you set a cross-compiler prefix, the value stored in CROSS_COMPILE is
 concatenated with the name of each tool used to compile your kernel.

 For example, objdump will be used as ${CROSS_COMPILE}objdump. You set
 CROSS_COMPILE=Y, and the tool to be used is now named Yobjdump, which
 obviously doesn't exist.

Great job man!!! Your explanation also clearly explain to me how this
option works. Thanks!

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem in compiling kernel

2011-06-28 Thread Ponkumaran Annadurai
I got struck in making initrd file, I got the following error


root@rocker:/boot# mkinitramfs -o  initrd.img-2.6.39.1 2.6.39.1Y
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module
r8169


can you suggest me the proper ways to compile a kernel?


--
thanks,
kumaran
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Problem in compiling kernel

2011-06-27 Thread Ponkumaran Annadurai
Hello,

I encountered the following error while compiling the kernel version
linux-2.6.39.1. So I am giving here what I got on my screen.

root@rocker:/usr/src/linux-2.6.39.1# make
  CHK include/linux/version.h
  CHK include/generated/utsrelease.h
  CC  kernel/bounds.s
  GEN include/generated/bounds.h
  CC  arch/x86/kernel/asm-offsets.s
  GEN include/generated/asm-offsets.h
  CALLscripts/checksyscalls.sh
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  HOSTCC  scripts/genksyms/lex.o
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  CC  scripts/mod/empty.o
/bin/sh: Yobjdump: not found
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/selinux/genheaders/genheaders
  HOSTCC  scripts/selinux/mdp/mdp
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/recordmcount
  CC  init/main.o
/bin/sh: Yobjdump: not found
  CHK include/generated/compile.h
  UPD include/generated/compile.h
  CC  init/version.o
/bin/sh: Yobjdump: not found
  CC  init/do_mounts.o
/bin/sh: Yobjdump: not found
  CC  init/do_mounts_rd.o
/bin/sh: Yobjdump: not found
  CC  init/do_mounts_initrd.o
/bin/sh: Yobjdump: not found
  CC  init/do_mounts_md.o
/bin/sh: Yobjdump: not found
  LD  init/mounts.o
/bin/sh: Yld: not found
make[1]: *** [init/mounts.o] Error 127
make: *** [init] Error 2

Please help me to figure the problem and the way to get out of it.

Thank you.


-- 
With regards,

kumaran
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem in compiling kernel

2011-06-27 Thread Daniel Baluta
On Mon, Jun 27, 2011 at 7:21 PM, Ponkumaran Annadurai
aspkuma...@gmail.com wrote:
 Hello,

 I encountered the following error while compiling the kernel version
 linux-2.6.39.1. So I am giving here what I got on my screen.

 root@rocker:/usr/src/linux-2.6.39.1# make
   CHK include/linux/version.h
   CHK include/generated/utsrelease.h
   CC  kernel/bounds.s
   GEN include/generated/bounds.h
   CC  arch/x86/kernel/asm-offsets.s
   GEN include/generated/asm-offsets.h
   CALL    scripts/checksyscalls.sh
   HOSTCC  scripts/genksyms/genksyms.o
   SHIPPED scripts/genksyms/lex.c
   SHIPPED scripts/genksyms/parse.h
   SHIPPED scripts/genksyms/keywords.c
   HOSTCC  scripts/genksyms/lex.o
   SHIPPED scripts/genksyms/parse.c
   HOSTCC  scripts/genksyms/parse.o
   HOSTLD  scripts/genksyms/genksyms
   CC  scripts/mod/empty.o
 /bin/sh: Yobjdump: not found
   HOSTCC  scripts/mod/mk_elfconfig
   MKELF   scripts/mod/elfconfig.h
   HOSTCC  scripts/mod/file2alias.o
   HOSTCC  scripts/mod/modpost.o
   HOSTCC  scripts/mod/sumversion.o
   HOSTLD  scripts/mod/modpost
   HOSTCC  scripts/selinux/genheaders/genheaders
   HOSTCC  scripts/selinux/mdp/mdp
   HOSTCC  scripts/kallsyms
   HOSTCC  scripts/conmakehash
   HOSTCC  scripts/recordmcount
   CC  init/main.o
 /bin/sh: Yobjdump: not found
   CHK include/generated/compile.h
   UPD include/generated/compile.h
   CC  init/version.o
 /bin/sh: Yobjdump: not found
   CC  init/do_mounts.o
 /bin/sh: Yobjdump: not found
   CC  init/do_mounts_rd.o
 /bin/sh: Yobjdump: not found
   CC  init/do_mounts_initrd.o
 /bin/sh: Yobjdump: not found
   CC  init/do_mounts_md.o
 /bin/sh: Yobjdump: not found
   LD  init/mounts.o
 /bin/sh: Yld: not found
 make[1]: *** [init/mounts.o] Error 127
 make: *** [init] Error 2

Have you tried to setup some sort of cross-compilation environment?
Could you check CROSS_COMPILE env variable?

thanks,
Daniel.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Weird problem while compiling kernel

2011-06-06 Thread Manish Katiyar
/home/kernel make net
  CHK include/linux/version.h
  CHK include/generated/utsrelease.h
  CALLscripts/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
  CALLscripts/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.08764 -0700


Any suggestions, what I might be missing ?


-- 
Thanks -
Manish

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Weird problem while compiling kernel

2011-06-06 Thread Greg Freemyer
On Mon, Jun 6, 2011 at 3:21 AM, Manish Katiyar mkati...@gmail.com wrote:
 /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.08764 -0700


 Any suggestions, what I might be missing ?

Manish,

I know the mount command reports the filesystem r/w, but your results
make it look like the filesystem is readonly.

Did you verify you can manually write to the filesystem?

I've seen mount lie before.  (It's not really a lie.  It reports what
was passed on the mount command-line I believe, not the actually
functionality of the filesystem.)

Good Luck
Greg

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Weird problem while compiling kernel

2011-06-06 Thread Manish Katiyar
On Mon, Jun 6, 2011 at 1:41 PM, Greg Freemyer greg.freem...@gmail.com wrote:
 On Mon, Jun 6, 2011 at 3:21 AM, Manish Katiyar mkati...@gmail.com wrote:
 /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.08764 -0700


 Any suggestions, what I might be missing ?

 Manish,

 I know the mount command reports the filesystem r/w, but your results
 make it look like the filesystem is readonly.

 Did you verify you can manually write to the filesystem?

 I've seen mount lie before.  (It's not really a lie.  It reports what
 was passed on the mount command-line I believe, not the actually
 functionality of the filesystem.)

Thanks... this is good to know info :-).

I was able to solve the problem, it was basically a corrupted NTFS
filesystem . I booted into windows and the chkdsk reported errors
specifically for this file and it fixed its indexes (or some similar
message came). I'm not sure how did I manage to corrupt the ntfs
filesystem. The only thing I had done was to delete pagefile.sys and
hiberfil.sys files which were taking  too much space.

-- 
Thanks -
Manish

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies