All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS problem after upgrade from 2.6.32 to 2.6.3[3-7]
@ 2010-11-18 10:31 Henrik Grindal Bakken
  2010-11-18 15:20 ` Chuck Lever
  0 siblings, 1 reply; 3+ messages in thread
From: Henrik Grindal Bakken @ 2010-11-18 10:31 UTC (permalink / raw)
  To: linux-nfs


Hi.  I'm running a (home-brew) linux distro on a powerpc, which
exports a yaffs2 filesystem via nfs to some arm-linuxes.

This has worked fine with kernels up to and including 2.6.32, but when
trying to upgrade further, we've been running into problems.

I didn't try 2.6.3[345] myself, but the reports were that nfs somehow
didn't work.  I'm trying 2.6.37-rc2 now after trying 2.6.36 earlier,
and I get the following problem:

$ grep -v '^#' /etc/netconfig 
udp        tpi_clts      v     inet     udp     -       -
udp6       tpi_clts      v     inet6    udp     -       -
local      tpi_cots_ord  -     loopback  -      -       -
$ rpcbind
$ rpc.mountd --no-tcp
$ rpc.nfsd -H ppc -N 4 -T
svc: failed to register nfsdv2 RPC service (errno 111).
nfsd: last server has exited, flushing export cache
rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsd

I've tried to google the error message, to no avail.  The only hits I
get are from commit messages.

I'm running nfs-utils-1.2.3, configured with
./configure --with-tcp-wrappers=no --disable-nfsv4 --enable-uuid=no \
    --disable-gss --enable-mount=no

NFS-related kernel configs:
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
# CONFIG_NFS_V4_1 is not set
CONFIG_ROOT_NFS=y
CONFIG_NFS_USE_LEGACY_DNS=y
CONFIG_NFSD=y
CONFIG_NFSD_DEPRECATED=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
CONFIG_NFS_COMMON=y

Does anyone have any pointers?


-- 
Henrik Grindal Bakken <hgb-6miFZF/5cTBuMpJDpNschA@public.gmane.org>
PGP ID: 8D436E52
Fingerprint: 131D 9590 F0CF 47EF 7963  02AF 9236 D25A 8D43 6E52


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

* Re: NFS problem after upgrade from 2.6.32 to 2.6.3[3-7]
  2010-11-18 10:31 NFS problem after upgrade from 2.6.32 to 2.6.3[3-7] Henrik Grindal Bakken
@ 2010-11-18 15:20 ` Chuck Lever
  2010-11-19 14:24   ` Henrik Grindal Bakken
  0 siblings, 1 reply; 3+ messages in thread
From: Chuck Lever @ 2010-11-18 15:20 UTC (permalink / raw)
  To: Henrik Grindal Bakken; +Cc: linux-nfs


On Nov 18, 2010, at 5:31 AM, Henrik Grindal Bakken wrote:

> 
> Hi.  I'm running a (home-brew) linux distro on a powerpc, which
> exports a yaffs2 filesystem via nfs to some arm-linuxes.
> 
> This has worked fine with kernels up to and including 2.6.32, but when
> trying to upgrade further, we've been running into problems.
> 
> I didn't try 2.6.3[345] myself, but the reports were that nfs somehow
> didn't work.  I'm trying 2.6.37-rc2 now after trying 2.6.36 earlier,
> and I get the following problem:
> 
> $ grep -v '^#' /etc/netconfig 
> udp        tpi_clts      v     inet     udp     -       -
> udp6       tpi_clts      v     inet6    udp     -       -
> local      tpi_cots_ord  -     loopback  -      -       -
> $ rpcbind
> $ rpc.mountd --no-tcp
> $ rpc.nfsd -H ppc -N 4 -T
> svc: failed to register nfsdv2 RPC service (errno 111).
> nfsd: last server has exited, flushing export cache
> rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
> rpc.nfsd: unable to set any sockets for nfsd
> 
> I've tried to google the error message, to no avail.  The only hits I
> get are from commit messages.

One thing to note: the kernel uses TCP when performing rpcbind registration upcalls.  You might try adding back the TCP entries in /etc/netconfig to cause rpcbind to create TCP listeners.

> I'm running nfs-utils-1.2.3, configured with
> ./configure --with-tcp-wrappers=no --disable-nfsv4 --enable-uuid=no \
>    --disable-gss --enable-mount=no
> 
> NFS-related kernel configs:
> CONFIG_NFS_FS=y
> CONFIG_NFS_V3=y
> # CONFIG_NFS_V3_ACL is not set
> CONFIG_NFS_V4=y
> # CONFIG_NFS_V4_1 is not set
> CONFIG_ROOT_NFS=y
> CONFIG_NFS_USE_LEGACY_DNS=y
> CONFIG_NFSD=y
> CONFIG_NFSD_DEPRECATED=y
> CONFIG_NFSD_V3=y
> # CONFIG_NFSD_V3_ACL is not set
> CONFIG_NFSD_V4=y
> CONFIG_NFS_COMMON=y
> 
> Does anyone have any pointers?
> 
> 
> -- 
> Henrik Grindal Bakken <hgb@ifi.uio.no>
> PGP ID: 8D436E52
> Fingerprint: 131D 9590 F0CF 47EF 7963  02AF 9236 D25A 8D43 6E52
> 
> --
> 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

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





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

* Re: NFS problem after upgrade from 2.6.32 to 2.6.3[3-7]
  2010-11-18 15:20 ` Chuck Lever
@ 2010-11-19 14:24   ` Henrik Grindal Bakken
  0 siblings, 0 replies; 3+ messages in thread
From: Henrik Grindal Bakken @ 2010-11-19 14:24 UTC (permalink / raw)
  To: Chuck Lever; +Cc: linux-nfs

Chuck Lever <chuck.lever@oracle.com> writes:

> On Nov 18, 2010, at 5:31 AM, Henrik Grindal Bakken wrote:
>
>> I've tried to google the error message, to no avail.  The only hits I
>> get are from commit messages.
>
> One thing to note: the kernel uses TCP when performing rpcbind
> registration upcalls.  You might try adding back the TCP entries in
> /etc/netconfig to cause rpcbind to create TCP listeners.

That solved it!  Thanks.  I was convinced I had tried that, but
apparently I hadn't.


-- 
Henrik Grindal Bakken <hgb-6miFZF/5cTBuMpJDpNschA@public.gmane.org>
PGP ID: 8D436E52
Fingerprint: 131D 9590 F0CF 47EF 7963  02AF 9236 D25A 8D43 6E52

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

end of thread, other threads:[~2010-11-19 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18 10:31 NFS problem after upgrade from 2.6.32 to 2.6.3[3-7] Henrik Grindal Bakken
2010-11-18 15:20 ` Chuck Lever
2010-11-19 14:24   ` Henrik Grindal Bakken

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.