All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Thierry Moreau <thierry.moreau@connotech.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: Kernel message when no support for NFSv4 compiled into it
Date: Tue, 29 Jan 2013 14:47:29 -0500	[thread overview]
Message-ID: <20130129194729.GC4209@fieldses.org> (raw)
In-Reply-To: <510812C0.1070307@connotech.com>

On Tue, Jan 29, 2013 at 01:19:44PM -0500, Thierry Moreau wrote:
> Dear nfs developers,
> 
> I just SOLVED my operational problem. Maybe the symptom vs solution
> is of interest to you.
> 
> Kernel 3.5.4, nfs-utils 1.2.7
> 
>     ./configure --prefix=/usr \
>                 --mandir=/usr/man \
>                 --sysconfdir=/etc \
>                 --with-statedir=/var/lib/nfs \
>                 --disable-gss \
>                 --with-tcp-wrappers \
>                 --enable-libmount-mount
> 
> starting script:
> 
>         /sbin/rpcbind -h 192.168.1.17
>         /bin/mount -t nfsd nfsd $NFSD
>         /bin/mount -t rpc_pipefs rpc_pipefs $PIPEFS
>         /usr/sbin/rpc.idmapd
>         /usr/sbin/exportfs -a
>         /usr/sbin/rpc.mountd
>         /usr/sbin/rpc.statd --no-notify
>         /usr/sbin/rpc.nfsd --syslog 8A <==== this is where the
> kernel would report an error
>         /usr/sbin/sm-notify
> 
> kernel configuration changes
> 
> bash-4.2# diff config_02 config_04
> d2437c2447,2448
> < # CONFIG_NFSD_V4 is not set
> ---
> > CONFIG_NFSD_V4=y
> > # CONFIG_NFSD_FAULT_INJECTION is not set
> 2441a2453
> > CONFIG_SUNRPC_GSS=m
> d2622c2639,2641
> < # CONFIG_KEYS is not set
> ---
> > CONFIG_KEYS=y
> > CONFIG_ENCRYPTED_KEYS=m
> > CONFIG_KEYS_DEBUG_PROC_KEYS=y
> 2625a2645
> > # CONFIG_DEFAULT_SECURITY_SELINUX is not set
> 2646a2667
> > CONFIG_CRYPTO_RNG=m
> 2700c2721
> < # CONFIG_CRYPTO_SHA256 is not set
> ---
> > CONFIG_CRYPTO_SHA256=m
> 
> With config_02 kernel, nfsd would not work (no big deal so far). But
> it did work fine prior to a controlled system reboot where prior
> live system had experienced extensive playing with nfsd installation
> (not much help for you since I can not tell what made it work).
> 
> What may be of interest to you is that with config_02 kernel, it is
> the *kernel* that reports an error message on the system console,
> right upon nfsd startup. It is only by (painful) trial and error
> that the cause for the kernel message was found. The kernel message
> message occurred even with the --disable-nfsv4/nfsv41 configure
> options.
> 
> I don't have the exact kernel messages at hand (circa memory mapping
> then circa NULL pointer dereferencing during the trial-and-error
> chase).
> 
> I might be able to provide additional information if you ask
> politely. Maybe I owe it to this great free software contribution
> anyway.

Most useful would probably be the exact kernel messages if you have a
way to find them or regenerate them again.

--b.

  reply	other threads:[~2013-01-29 19:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29 18:19 Kernel message when no support for NFSv4 compiled into it Thierry Moreau
2013-01-29 19:47 ` J. Bruce Fields [this message]
2013-01-29 21:38   ` Thierry Moreau
2013-01-29 21:50     ` Thierry Moreau
2013-01-30 21:31       ` J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130129194729.GC4209@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=thierry.moreau@connotech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.