Hi,

I have the same issue.
Here is the result as vda suggested.
Thanks for your help.

(1)
mount: mounting 192.168.10.33:/scratch on /mnt/test failed: Invalid argument

(2)
# cat nfs.log
execve("/bin/mount", ["mount", "-t", "nfs", "192.168.10.33:/scratch", 
"/mnt/test"], [/* 16 vars */]) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 opost isig icanon echo ...}) = 0
getuid32()                              = 0
brk(0)                                  = 0xe6000
brk(0xe7000)                            = 0xe7000
getuid32()                              = 0
brk(0xe8000)                            = 0xe8000
getcwd("/mnt", 4098)                    = 5
brk(0xe9000)                            = 0xe9000
ioctl(2147483647, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbeaa7b5c) = -1 EBADF (Bad 
file descriptor)
brk(0xea000)                            = 0xea000
stat64(0xbeaa7e92, 0xbeaa7b94)          = -1 ENOENT (No such file or directory)
mount("192.168.10.33:/scratch", "/mnt/test", "nfs", MS_SILENT, "") = -1 EINVAL 
(Invalid argument)
write(2, "mount", 5)                    = 5
write(2, ": ", 2)                       = 2
write(2, "mounting ", 9)                = 9
write(2, "192.168.10.33:/scratch", 22)  = 22
write(2, " on ", 4)                     = 4
write(2, "/mnt/test", 9)                = 9
write(2, " failed", 7)                  = 7
write(2, ": ", 2)                       = 2
write(2, "Invalid argument", 16)        = 16
write(2, "\n", 1)                       = 1
exit(-1)                                = ?



On Thursday 02 August 2007 09:25, Devinim ŞÖLEN wrote:
> Hi;
> 
> I am using BusyBox version 1.6.1 and have a NFS mounting problem.  When I try 
> to mount NFS external point getting this error;
> 
> mount -t nfs 192.168.10.64:/ /mnt
> mount: mounting 192.168.10.64:/ on /mnt failed
> 
> can anybody help ?

* Please find the following line in mount.c:
  bb_error_msg("mounting %s on %s failed", mp->mnt_fsname, mp->mnt_dir);
  and replace "_error_" with "_perror_". What does it print now?

* Do "strace -o mnt.log mount -t nfs 192.168.10.64:/ /mnt" and post log

* Do "tcpdump -nl -iethN -s0 -vvv host 192.168.10.64 and host <NFS client IP>"
  and post log here (bzip2 it if it's big)
--
vda

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to