All of lore.kernel.org
 help / color / mirror / Atom feed
* root over nfs, error -93
@ 2008-05-28 21:17 Julius
  2008-05-28 21:31 ` david m. richter
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Julius @ 2008-05-28 21:17 UTC (permalink / raw)
  To: linux-nfs

Hi,


im trying to get a client boot from my server via nfs. but it fails
with:

Root-NFS: Server returned error -93 while
mounting /nfs-exports/pxeclient

the client uses a vanilla 2.6.24.7 kernel with these settings:
<*>   NFS file system support 
 [*]     Provide NFSv3 client support 
 [*]       Provide client support for the NFSv3 ACL protocol extension 
 [*]   Root file system on NFS
 [*]   Support for rpcbind versions 3 & 4 (EXPERIMENTAL)


full config:
http://metalfan2.me.funpic.de/.config


kernel append line:
append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient ip=dhcp


the system successfully boots the kernel via syslinux and requests its
ip via dhcp


server:
rpcinfo -p localhost
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  54039  status
    100024    1   tcp  57693  status
    100005    3   udp  48497  mountd
    100005    3   tcp  34406  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100021    1   udp  47061  nlockmgr
    100021    3   udp  47061  nlockmgr
    100021    4   udp  47061  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   tcp  54896  nlockmgr
    100021    3   tcp  54896  nlockmgr
    100021    4   tcp  54896  nlockmgr

nfs-utils-1.1.0



Any ideas whats wrong?




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

* Re: root over nfs, error -93
  2008-05-28 21:17 root over nfs, error -93 Julius
@ 2008-05-28 21:31 ` david m. richter
  2008-05-28 22:24   ` Julius
  2008-05-28 22:23 ` Chuck Lever
  2008-05-29  0:04 ` Trond Myklebust
  2 siblings, 1 reply; 7+ messages in thread
From: david m. richter @ 2008-05-28 21:31 UTC (permalink / raw)
  To: Julius; +Cc: linux-nfs

On Wed, 28 May 2008, Julius wrote:

> Hi,
> 
> 
> im trying to get a client boot from my server via nfs. but it fails
> with:
> 
> Root-NFS: Server returned error -93 while
> mounting /nfs-exports/pxeclient

	well, some grepping in /usr/include/ came up with:

./asm-generic/errno.h:#define   EPROTONOSUPPORT 93      /* Protocol not supported */

	what's the server setup in this picture?  and is that negative 
error value getting propagated into userland, or is that just from a 
kernel log?

	d
	.
 
> the client uses a vanilla 2.6.24.7 kernel with these settings:
> <*>   NFS file system support 
>  [*]     Provide NFSv3 client support 
>  [*]       Provide client support for the NFSv3 ACL protocol extension 
>  [*]   Root file system on NFS
>  [*]   Support for rpcbind versions 3 & 4 (EXPERIMENTAL)
> 
> 
> full config:
> http://metalfan2.me.funpic.de/.config
> 
> 
> kernel append line:
> append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient ip=dhcp
> 
> 
> the system successfully boots the kernel via syslinux and requests its
> ip via dhcp
> 
> 
> server:
> rpcinfo -p localhost
>    program vers proto   port
>     100000    2   tcp    111  portmapper
>     100000    2   udp    111  portmapper
>     100024    1   udp  54039  status
>     100024    1   tcp  57693  status
>     100005    3   udp  48497  mountd
>     100005    3   tcp  34406  mountd
>     100003    2   udp   2049  nfs
>     100003    3   udp   2049  nfs
>     100003    4   udp   2049  nfs
>     100021    1   udp  47061  nlockmgr
>     100021    3   udp  47061  nlockmgr
>     100021    4   udp  47061  nlockmgr
>     100003    2   tcp   2049  nfs
>     100003    3   tcp   2049  nfs
>     100003    4   tcp   2049  nfs
>     100021    1   tcp  54896  nlockmgr
>     100021    3   tcp  54896  nlockmgr
>     100021    4   tcp  54896  nlockmgr
> 
> nfs-utils-1.1.0
> 
> 
> 
> Any ideas whats wrong?
> 
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

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

* Re: root over nfs, error -93
  2008-05-28 21:17 root over nfs, error -93 Julius
  2008-05-28 21:31 ` david m. richter
@ 2008-05-28 22:23 ` Chuck Lever
  2008-05-29  0:04 ` Trond Myklebust
  2 siblings, 0 replies; 7+ messages in thread
From: Chuck Lever @ 2008-05-28 22:23 UTC (permalink / raw)
  To: Julius; +Cc: linux-nfs

[-- Attachment #1: Type: text/plain, Size: 2124 bytes --]

Julius wrote:
> Hi,
> 
> 
> im trying to get a client boot from my server via nfs. but it fails
> with:
> 
> Root-NFS: Server returned error -93 while
> mounting /nfs-exports/pxeclient

Error 93 is EPROTONOSUPPORT.  Is there a firewall between client and 
server?  tcpwrappers on either end?  Are you using a motherboard NIC 
that silently hijacks a reserved UDP port?

Try capturing a network trace with "tcpdump -s0 -w /tmp/dump" on your 
server while your client boots.  Take a look at it with wireshark or 
tethereal.

> the client uses a vanilla 2.6.24.7 kernel with these settings:
> <*>   NFS file system support 
>  [*]     Provide NFSv3 client support 
>  [*]       Provide client support for the NFSv3 ACL protocol extension 
>  [*]   Root file system on NFS
>  [*]   Support for rpcbind versions 3 & 4 (EXPERIMENTAL)
> 
> 
> full config:
> http://metalfan2.me.funpic.de/.config
> 
> 
> kernel append line:
> append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient ip=dhcp
> 
> 
> the system successfully boots the kernel via syslinux and requests its
> ip via dhcp
> 
> 
> server:
> rpcinfo -p localhost
>    program vers proto   port
>     100000    2   tcp    111  portmapper
>     100000    2   udp    111  portmapper
>     100024    1   udp  54039  status
>     100024    1   tcp  57693  status
>     100005    3   udp  48497  mountd
>     100005    3   tcp  34406  mountd
>     100003    2   udp   2049  nfs
>     100003    3   udp   2049  nfs
>     100003    4   udp   2049  nfs
>     100021    1   udp  47061  nlockmgr
>     100021    3   udp  47061  nlockmgr
>     100021    4   udp  47061  nlockmgr
>     100003    2   tcp   2049  nfs
>     100003    3   tcp   2049  nfs
>     100003    4   tcp   2049  nfs
>     100021    1   tcp  54896  nlockmgr
>     100021    3   tcp  54896  nlockmgr
>     100021    4   tcp  54896  nlockmgr
> 
> nfs-utils-1.1.0
> 
> 
> 
> Any ideas whats wrong?
> 
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: chuck_lever.vcf --]
[-- Type: text/x-vcard, Size: 259 bytes --]

begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group
adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA
title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
version:2.1
end:vcard


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

* Re: root over nfs, error -93
  2008-05-28 21:31 ` david m. richter
@ 2008-05-28 22:24   ` Julius
  0 siblings, 0 replies; 7+ messages in thread
From: Julius @ 2008-05-28 22:24 UTC (permalink / raw)
  To: david m. richter; +Cc: linux-nfs


> On Wed, 28 May 2008, Julius wrote:
> 
> > Hi,
> > 
> > 
> > im trying to get a client boot from my server via nfs. but it fails
> > with:
> > 
> > Root-NFS: Server returned error -93 while
> > mounting /nfs-exports/pxeclient
> 

>  
> > the client uses a vanilla 2.6.24.7 kernel with these settings:
> > <*>   NFS file system support 
> >  [*]     Provide NFSv3 client support 
> >  [*]       Provide client support for the NFSv3 ACL protocol extension 
> >  [*]   Root file system on NFS
> >  [*]   Support for rpcbind versions 3 & 4 (EXPERIMENTAL)
> > 
> > 
> > full config:
> > http://metalfan2.me.funpic.de/.config
> > 
> > 
> > kernel append line:
> > append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient ip=dhcp
> > 
> > 
> > the system successfully boots the kernel via syslinux and requests its
> > ip via dhcp
> > 
> > 
> > server:
> > rpcinfo -p localhost
> >    program vers proto   port
> >     100000    2   tcp    111  portmapper
> >     100000    2   udp    111  portmapper
> >     100024    1   udp  54039  status
> >     100024    1   tcp  57693  status
> >     100005    3   udp  48497  mountd
> >     100005    3   tcp  34406  mountd
> >     100003    2   udp   2049  nfs
> >     100003    3   udp   2049  nfs
> >     100003    4   udp   2049  nfs
> >     100021    1   udp  47061  nlockmgr
> >     100021    3   udp  47061  nlockmgr
> >     100021    4   udp  47061  nlockmgr
> >     100003    2   tcp   2049  nfs
> >     100003    3   tcp   2049  nfs
> >     100003    4   tcp   2049  nfs
> >     100021    1   tcp  54896  nlockmgr
> >     100021    3   tcp  54896  nlockmgr
> >     100021    4   tcp  54896  nlockmgr
> > 
> > nfs-utils-1.1.0
> > 
> > 
> > 
> > Any ideas whats wrong?
> > 
> > 
> > 



On Wed, 2008-05-28 at 17:31 -0400, david m. richter wrote:

> 
> 	well, some grepping in /usr/include/ came up with:
> 
> ./asm-generic/errno.h:#define   EPROTONOSUPPORT 93      /* Protocol
not supported */
> 
> 	what's the server setup in this picture?  and is that negative 
> error value getting propagated into userland, or is that just from a 
> kernel log?
> 


The system doesnt start at all, it stops just before the root fs gets
mounted. before init runs.

what do you mean by server setup?


Julius


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

* Re: root over nfs, error -93
  2008-05-28 21:17 root over nfs, error -93 Julius
  2008-05-28 21:31 ` david m. richter
  2008-05-28 22:23 ` Chuck Lever
@ 2008-05-29  0:04 ` Trond Myklebust
  2008-05-29 10:01   ` Julius
  2008-06-01  8:22   ` Julius
  2 siblings, 2 replies; 7+ messages in thread
From: Trond Myklebust @ 2008-05-29  0:04 UTC (permalink / raw)
  To: Julius; +Cc: linux-nfs

On Wed, 2008-05-28 at 23:17 +0200, Julius wrote:
> Hi,
> 
> 
> im trying to get a client boot from my server via nfs. but it fails
> with:
> 
> Root-NFS: Server returned error -93 while
> mounting /nfs-exports/pxeclient
> 
> the client uses a vanilla 2.6.24.7 kernel with these settings:
> <*>   NFS file system support 
>  [*]     Provide NFSv3 client support 
>  [*]       Provide client support for the NFSv3 ACL protocol extension 
>  [*]   Root file system on NFS
>  [*]   Support for rpcbind versions 3 & 4 (EXPERIMENTAL)
> 
> 
> full config:
> http://metalfan2.me.funpic.de/.config
> 
> 
> kernel append line:
> append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient ip=dhcp
> 
> 
> the system successfully boots the kernel via syslinux and requests its
> ip via dhcp
> 
> 
> server:
> rpcinfo -p localhost
>    program vers proto   port
>     100000    2   tcp    111  portmapper
>     100000    2   udp    111  portmapper
>     100024    1   udp  54039  status
>     100024    1   tcp  57693  status
>     100005    3   udp  48497  mountd
>     100005    3   tcp  34406  mountd
>     100003    2   udp   2049  nfs
>     100003    3   udp   2049  nfs
>     100003    4   udp   2049  nfs
>     100021    1   udp  47061  nlockmgr
>     100021    3   udp  47061  nlockmgr
>     100021    4   udp  47061  nlockmgr
>     100003    2   tcp   2049  nfs
>     100003    3   tcp   2049  nfs
>     100003    4   tcp   2049  nfs
>     100021    1   tcp  54896  nlockmgr
>     100021    3   tcp  54896  nlockmgr
>     100021    4   tcp  54896  nlockmgr
> 
> nfs-utils-1.1.0
> 
> 
> 
> Any ideas whats wrong?

I believe that the default is to try mounting NFSv2, unless you
explicitly add the 'v3' option. Try something like

append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient,v3 ip=dhcp


Cheers
  Trond


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

* Re: root over nfs, error -93
  2008-05-29  0:04 ` Trond Myklebust
@ 2008-05-29 10:01   ` Julius
  2008-06-01  8:22   ` Julius
  1 sibling, 0 replies; 7+ messages in thread
From: Julius @ 2008-05-29 10:01 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: linux-nfs

On Wed, 2008-05-28 at 17:04 -0700, Trond Myklebust wrote:
> On Wed, 2008-05-28 at 23:17 +0200, Julius wrote:
> > Hi,
> > 
> > 
> > im trying to get a client boot from my server via nfs. but it fails
> > with:
> > 
> > Root-NFS: Server returned error -93 while
> > mounting /nfs-exports/pxeclient
> > 
> > the client uses a vanilla 2.6.24.7 kernel with these settings:
> > <*>   NFS file system support 
> >  [*]     Provide NFSv3 client support 
> >  [*]       Provide client support for the NFSv3 ACL protocol extension 
> >  [*]   Root file system on NFS
> >  [*]   Support for rpcbind versions 3 & 4 (EXPERIMENTAL)
> > 
> > 
> > full config:
> > http://metalfan2.me.funpic.de/.config
> > 
> > 
> > kernel append line:
> > append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient ip=dhcp
> > 
> > 
> > the system successfully boots the kernel via syslinux and requests its
> > ip via dhcp
> > 
> > 
> > server:
> > rpcinfo -p localhost
> >    program vers proto   port
> >     100000    2   tcp    111  portmapper
> >     100000    2   udp    111  portmapper
> >     100024    1   udp  54039  status
> >     100024    1   tcp  57693  status
> >     100005    3   udp  48497  mountd
> >     100005    3   tcp  34406  mountd
> >     100003    2   udp   2049  nfs
> >     100003    3   udp   2049  nfs
> >     100003    4   udp   2049  nfs
> >     100021    1   udp  47061  nlockmgr
> >     100021    3   udp  47061  nlockmgr
> >     100021    4   udp  47061  nlockmgr
> >     100003    2   tcp   2049  nfs
> >     100003    3   tcp   2049  nfs
> >     100003    4   tcp   2049  nfs
> >     100021    1   tcp  54896  nlockmgr
> >     100021    3   tcp  54896  nlockmgr
> >     100021    4   tcp  54896  nlockmgr
> > 
> > nfs-utils-1.1.0
> > 
> > 
> > 
> > Any ideas whats wrong?
> 
> I believe that the default is to try mounting NFSv2, unless you
> explicitly add the 'v3' option. Try something like
> 
> append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient,v3 ip=dhcp
> 
> 
> Cheers
>   Trond


Okay, ive used the append line above and now it mounts the root
filesystem. But it takes ages, looks like the requests time out.

Theres no firewall between the server/client.

Heres a tshark capture(330Kbyte) from power on to mount root and some of
the following timeouts:
http://metalfan2.me.funpic.de/nfsd.capture2
ive used the filter !tftp and saved it



Julius





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

* Re: root over nfs, error -93
  2008-05-29  0:04 ` Trond Myklebust
  2008-05-29 10:01   ` Julius
@ 2008-06-01  8:22   ` Julius
  1 sibling, 0 replies; 7+ messages in thread
From: Julius @ 2008-06-01  8:22 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: linux-nfs

On Wed, 2008-05-28 at 17:04 -0700, Trond Myklebust wrote:
> On Wed, 2008-05-28 at 23:17 +0200, Julius wrote:
> > Hi,
> > 
> > 
> > im trying to get a client boot from my server via nfs. but it fails
> > with:
> > 
> > Root-NFS: Server returned error -93 while
> > mounting /nfs-exports/pxeclient
> > 
> > the client uses a vanilla 2.6.24.7 kernel with these settings:
> > <*>   NFS file system support 
> >  [*]     Provide NFSv3 client support 
> >  [*]       Provide client support for the NFSv3 ACL protocol extension 
> >  [*]   Root file system on NFS
> >  [*]   Support for rpcbind versions 3 & 4 (EXPERIMENTAL)
> > 
> > 
> > full config:
> > http://metalfan2.me.funpic.de/.config
> > 
> > 
> > kernel append line:
> > append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient ip=dhcp
> > 
> > 
> > the system successfully boots the kernel via syslinux and requests its
> > ip via dhcp
> > 
> > 
> > server:
> > rpcinfo -p localhost
> >    program vers proto   port
> >     100000    2   tcp    111  portmapper
> >     100000    2   udp    111  portmapper
> >     100024    1   udp  54039  status
> >     100024    1   tcp  57693  status
> >     100005    3   udp  48497  mountd
> >     100005    3   tcp  34406  mountd
> >     100003    2   udp   2049  nfs
> >     100003    3   udp   2049  nfs
> >     100003    4   udp   2049  nfs
> >     100021    1   udp  47061  nlockmgr
> >     100021    3   udp  47061  nlockmgr
> >     100021    4   udp  47061  nlockmgr
> >     100003    2   tcp   2049  nfs
> >     100003    3   tcp   2049  nfs
> >     100003    4   tcp   2049  nfs
> >     100021    1   tcp  54896  nlockmgr
> >     100021    3   tcp  54896  nlockmgr
> >     100021    4   tcp  54896  nlockmgr
> > 
> > nfs-utils-1.1.0
> > 
> > 
> > 
> > Any ideas whats wrong?
> 
> I believe that the default is to try mounting NFSv2, unless you
> explicitly add the 'v3' option. Try something like
> 
> append root=/dev/nfs nfsroot=192.168.11.3:/nfs-exports/pxeclient,v3 ip=dhcp
> 
> 
> Cheers
>   Trond

Got it running, finally. Thx to all, saved me a lot of trouble.
Ive changed the machine that serves the nfs-root and some other small
adjustments.
Turotrial will be available here:
http://wiki.archlinux.org/index.php/Diskless_network_boot_NFS_root


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

end of thread, other threads:[~2008-06-01  8:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-28 21:17 root over nfs, error -93 Julius
2008-05-28 21:31 ` david m. richter
2008-05-28 22:24   ` Julius
2008-05-28 22:23 ` Chuck Lever
2008-05-29  0:04 ` Trond Myklebust
2008-05-29 10:01   ` Julius
2008-06-01  8:22   ` Julius

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.