Perhaps this is not directly a SUSE question, but... I am now trying to use a 2.6 kernel's NFS client to mount an NFS volume exported by a VxWorks machine. This has worked up to kernel 2.4 (SUSE 9.0). But it no longer works in 2.6 (SUSE 9.3). Does anyone have any ideas about what may cause this to not work? I know that NFS in now in the kernel, but I do not more more than that. What happens is that the Linux mount command simply dies. I see that the program is in the kernel mount() command (via strace), from which it does not return. I can mount other Linux NFS exports. And OS/9 can mount shares from a 2.6 kernel. The problem seems to be VxWorks. I feel a bit dumb here in that I really have no info on the VxWorks machine. It is, to me, a Black Box. Part of a system supplied by a supplier who has gone out of business. I have read nfs.sourceforge.net, to no avail. I can provide more details if anyone is interested. -- Roger
On 10/15/05, Roger Oberholtzer
Perhaps this is not directly a SUSE question, but...
I am now trying to use a 2.6 kernel's NFS client to mount an NFS volume exported by a VxWorks machine. This has worked up to kernel 2.4 (SUSE 9.0). But it no longer works in 2.6 (SUSE 9.3). Does anyone have any ideas about what may cause this to not work? I know that NFS in now in the kernel, but I do not more more than that.
What happens is that the Linux mount command simply dies. I see that the program is in the kernel mount() command (via strace), from which it does not return. I can mount other Linux NFS exports. And OS/9 can mount shares from a 2.6 kernel. The problem seems to be VxWorks.
Roger, I'd be interested in the strace log. Could you please tell us the exact version of VxWorks? Are you able record the activity while mounting on the VxWorks side via logging or something similar? If so attach it, too, please. \Steve
On Sat, 2005-10-15 at 19:49 +0200, Steve Graegert wrote:
On 10/15/05, Roger Oberholtzer
wrote: Perhaps this is not directly a SUSE question, but...
I am now trying to use a 2.6 kernel's NFS client to mount an NFS volume exported by a VxWorks machine. This has worked up to kernel 2.4 (SUSE 9.0). But it no longer works in 2.6 (SUSE 9.3). Does anyone have any ideas about what may cause this to not work? I know that NFS in now in the kernel, but I do not more more than that.
What happens is that the Linux mount command simply dies. I see that the program is in the kernel mount() command (via strace), from which it does not return. I can mount other Linux NFS exports. And OS/9 can mount shares from a 2.6 kernel. The problem seems to be VxWorks.
Roger,
I'd be interested in the strace log. Could you please tell us the exact version of VxWorks? Are you able record the activity while mounting on the VxWorks side via logging or something similar? If so attach it, too, please.
I can send the strace when I get to work on Monday. On the VxWorks side, well, I do have complete access. But I do not know how to accomplish this. Is there any way not to use the kernel NFS and use the previous daemons? I also see that there is an option to the nfs mount command (ver=2 or ver=3). Odd that it is not in the mount man page. But I will be trying that to see if there is any effect.
\Steve
On 10/15/05, Roger Oberholtzer
On Sat, 2005-10-15 at 19:49 +0200, Steve Graegert wrote:
On 10/15/05, Roger Oberholtzer
wrote: Perhaps this is not directly a SUSE question, but...
I am now trying to use a 2.6 kernel's NFS client to mount an NFS volume exported by a VxWorks machine. This has worked up to kernel 2.4 (SUSE 9.0). But it no longer works in 2.6 (SUSE 9.3). Does anyone have any ideas about what may cause this to not work? I know that NFS in now in the kernel, but I do not more more than that.
What happens is that the Linux mount command simply dies. I see that the program is in the kernel mount() command (via strace), from which it does not return. I can mount other Linux NFS exports. And OS/9 can mount shares from a 2.6 kernel. The problem seems to be VxWorks.
Roger,
I'd be interested in the strace log. Could you please tell us the exact version of VxWorks? Are you able record the activity while mounting on the VxWorks side via logging or something similar? If so attach it, too, please.
I can send the strace when I get to work on Monday. On the VxWorks side, well, I do have complete access. But I do not know how to accomplish this. Is there any way not to use the kernel NFS and use the previous daemons? I also see that there is an option to the nfs mount command (ver=2 or ver=3). Odd that it is not in the mount man page. But I will be trying that to see if there is any effect.
Actually I can't help you with VxWorks, but a friend of mine has some experience with it. The appropriate version options are documented, see http://server1.belchfire.net/protected-cgi-bin/manServer_107.pl/mount.8. They are then passed to the kernel. \Steve
On Sat, 2005-10-15 at 20:45 +0200, Steve Graegert wrote:
Actually I can't help you with VxWorks, but a friend of mine has some experience with it. The appropriate version options are documented, see http://server1.belchfire.net/protected-cgi-bin/manServer_107.pl/mount.8. They are then passed to the kernel.
This is the same man page I have. Note the absence of the ver=xxx option under the nfs-specific part of the page. Of course, I have not verified that these indeed work/exist. I will do that Monday. -- Roger
The additional mount options we are using with the VxWorks NFS server and a Linux 2.6 kernel are: nfsvers=2,udp It seems the kernel defaults are NFS version 3 and TCP. I do not see this actually stated in the kernel's Documentation directory anywhere. The kernel source file fs/nfs/nfsroot.c dabbles in these things, but is also not specific about what the defaults will be. So, maybe it is the user-land mount command that decides this. If so, it would be real nice if the mount command documented this in its man page section for nfs... +····························+·······························+ · Roger Oberholtzer · E-mail: roger@opq.se · · OPQ Systems AB · WWW: http://www.opq.se/ · · Kapellgränd 7 · · · P. O. Box 4205 · Phone: Int + 46 8 314223 · · 102 65 Stockholm · Mobile: Int + 46 733 621657 · · Sweden · Fax: Int + 46 8 314223 · +····························+·······························+
On Mon, Oct 17, 2005 at 12:38:35PM +0200, Roger Oberholtzer took 29 lines to write:
The additional mount options we are using with the VxWorks NFS server and a Linux 2.6 kernel are:
nfsvers=2,udp
Ah, udp. I forgot about that.
It seems the kernel defaults are NFS version 3 and TCP. I do not see
Is that kernel- or SUSE-specific? Kurt -- 10.0 times 0.1 is hardly ever 1.0.
On Tue, 2005-10-18 at 14:30, Kurt Wall wrote:
On Mon, Oct 17, 2005 at 12:38:35PM +0200, Roger Oberholtzer took 29 lines to write:
The additional mount options we are using with the VxWorks NFS server and a Linux 2.6 kernel are:
nfsvers=2,udp
Ah, udp. I forgot about that.
It seems the kernel defaults are NFS version 3 and TCP. I do not see
Is that kernel- or SUSE-specific?
Don't know. I am not sure if it is the kernel or the mount(1) command setting things this way before calling mount(2). All I know is that there was no obvious (to me) place in the kernel where defaults were set. I confess my checking was not very deep. I will only 'trust' hard-wired mount options for this.
Kurt -- 10.0 times 0.1 is hardly ever 1.0.
+····························+·······························+ · Roger Oberholtzer · E-mail: roger@opq.se · · OPQ Systems AB · WWW: http://www.opq.se/ · · Kapellgränd 7 · · · P. O. Box 4205 · Phone: Int + 46 8 314223 · · 102 65 Stockholm · Mobile: Int + 46 733 621657 · · Sweden · Fax: Int + 46 8 314223 · +····························+·······························+
On Sat, Oct 15, 2005 at 06:56:20PM +0200, Roger Oberholtzer took 34 lines to write:
Perhaps this is not directly a SUSE question, but...
I am now trying to use a 2.6 kernel's NFS client to mount an NFS volume exported by a VxWorks machine. This has worked up to kernel 2.4 (SUSE 9.0). But it no longer works in 2.6 (SUSE 9.3). Does anyone have any ideas about what may cause this to not work? I know that NFS in now in the kernel, but I do not more more than that.
On the client (Linux) side, try mounting with the nfsvers=2 option, which might be sufficient for the VxWorks-based server. The VxWorks NFS server might not speak the version 3 or 4 NFS protocol, but that depends on the VxWorks version, I suppose. Kurt -- Westheimer's Discovery: A couple of months in the laboratory can frequently save a couple of hours in the library.
On Sat, 2005-10-15 at 22:09 -0400, Kurt Wall wrote:
On Sat, Oct 15, 2005 at 06:56:20PM +0200, Roger Oberholtzer took 34 lines to write:
Perhaps this is not directly a SUSE question, but...
I am now trying to use a 2.6 kernel's NFS client to mount an NFS volume exported by a VxWorks machine. This has worked up to kernel 2.4 (SUSE 9.0). But it no longer works in 2.6 (SUSE 9.3). Does anyone have any ideas about what may cause this to not work? I know that NFS in now in the kernel, but I do not more more than that.
On the client (Linux) side, try mounting with the nfsvers=2 option, which might be sufficient for the VxWorks-based server. The VxWorks NFS server might not speak the version 3 or 4 NFS protocol, but that depends on the VxWorks version, I suppose.
This is first on my list when I get to work in the morning. I have seen the option as 'ver', but I will be trying anything that works! -- Roger
participants (3)
-
Kurt Wall
-
Roger Oberholtzer
-
Steve Graegert