All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Robert Henney <robh@rut.org>
Cc: linux-nfs@vger.kernel.org
Subject: Re: NULL pointer dereference in 2.6.32.12 on mount attempt
Date: Wed, 28 Apr 2010 16:24:23 -0400	[thread overview]
Message-ID: <1272486263.2864.57.camel@localhost.localdomain> (raw)
In-Reply-To: <20100428191758.GA16717@rut.org>

On Wed, 2010-04-28 at 15:17 -0400, Robert Henney wrote: 
> this bug has so far been reproducible.
> 
> I have an nfs server running Debian lenny with the stock 2.6.26-2-686
> kernel, and a client machine also running Debian lenny but with a
> 2.6.32.12 kernel (kernel config attached).
> 
> /etc/exports on the server, possibly bogus although the server never
> complains and still probably shouldn't trigger a NULL dereference in 
> the client:
>   /stow *(ro,fsid=0,crossmnt,no_subtree_check)
>   /stow -mp,ro,all_squash,async,no_subtree_check \
>     199.125.85.51  \
>     199.125.85.134 \
>     66.55.209.223

You probably want to add at least a 'fsid=0' option to that second line.

> /etc/fstab on the client:
>   199.125.85.39:/stow /stow nfs4 noatime

Should be

199.125.85.39:/ /stow nfs4


> the OOPS (attached below) occurs when attempting a mount from the client
> 
>   # mount /stow
>   # echo $?
>   2
> 
> the mount command never outputs but has a return code of 2 and the mount
> is not successful.

That looks like a stack overflow to me, but it's hard to tell.

What happens if you do

echo 1025 > /proc/sys/sunrpc/nfs_debug

prior to trying the mount?

Cheers
   Trond

  reply	other threads:[~2010-04-28 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-28 19:17 NULL pointer dereference in 2.6.32.12 on mount attempt Robert Henney
2010-04-28 20:24 ` Trond Myklebust [this message]
2010-04-28 22:23   ` Robert Henney
2010-04-28 22:29     ` Trond Myklebust
2010-04-28 22:40       ` Robert Henney

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=1272486263.2864.57.camel@localhost.localdomain \
    --to=trond.myklebust@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=robh@rut.org \
    /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.