From: "J. Bruce Fields" <bfields-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
To: Tetsuo Handa
<penguin-kernel-JPay3/Yim36HaxMnTkn67Xf5DAMn2ifp@public.gmane.org>
Cc: linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Subject: Re: linux-next NFSD: NULL pointer dereference at nfsd_svc()
Date: Thu, 5 Aug 2010 16:46:12 -0400 [thread overview]
Message-ID: <20100805204612.GA13821@fieldses.org> (raw)
In-Reply-To: <201008050110.o751AG18066496-etx+eQDEXHD7nzcFbJAaVXf5DAMn2ifp@public.gmane.org>
On Thu, Aug 05, 2010 at 10:10:16AM +0900, Tetsuo Handa wrote:
> J. Bruce Fields wrote:
> > Maybe figuring out exactly hwere that is would help work out what's
> > going on. Doing
> >
> > make net/sunrpc/svc.lst
> >
> > then looking for c1356dd4 (or just mailing me svc.lst) could help.
>
> "make net/sunrpc/svc.lst" failed due to following error.
>
> BFD: Dwarf Error: Abbrev offset (3238007024) greater than or equal to .debug_abbrev size (1607).
>
> Manual printk() debug reported that
> rqstp->rq_argp == rqstp->rq_resp == ZERO_SIZE_PTR and
Huh. As far as I can tell that will only happen if you've not no nfsd
versions defined; how is that happening?
--b.
> procp->pc_argsize == procp->pc_ressize == 4.
>
> --- linux-2.6.35-next.orig/net/sunrpc/svc.c
> +++ linux-2.6.35-next/net/sunrpc/svc.c
> @@ -1084,6 +1084,11 @@ svc_process_common(struct svc_rqst *rqst
> procp->pc_count++;
>
> /* Initialize storage for argp and resp */
> + printk(KERN_INFO "rqstp=%p procp=%p\n", rqstp, procp);
> + printk(KERN_INFO "rqstp->rq_argp=%p procp->pc_argsize=%u\n",
> + rqstp->rq_argp, procp->pc_argsize);
> + printk(KERN_INFO "rqstp->rq_resp=%p procp->pc_ressize=%u\n",
> + rqstp->rq_resp, procp->pc_ressize);
> memset(rqstp->rq_argp, 0, procp->pc_argsize);
> memset(rqstp->rq_resp, 0, procp->pc_ressize);
>
>
> [ 37.669174] NET: Registered protocol family 10
> [ 38.080725] svc: failed to register lockdv1 RPC service (errno 97).
> [ 122.895707] rqstp=dcb91000 procp=c154ca20
> [ 122.896533] rqstp->rq_argp=00000010 procp->pc_argsize=4
> [ 122.897484] rqstp->rq_resp=00000010 procp->pc_ressize=4
> [ 122.898609] BUG: unable to handle kernel NULL pointer dereference at 00000010
> [ 122.899964] IP: [<c1356e80>] svc_process_common+0x370/0x640
> [ 122.900493] *pde = 00000000
> [ 122.900493] Oops: 0002 [#1] SMP DEBUG_PAGEALLOC
> [ 122.923308] last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/host0/target0:0:1/0:0:1:0/type
> [ 122.923308] Modules linked in: nfs ipv6 pcnet32
>
> > OK, I wonder if Sarge didn't yet mount the nfsd filesystem on
> > /proc/fs/nfsd.
>
> According to /proc/mounts , the nfsd filesystem is not mounted on
> /proc/fs/nfsd . But mounting it manually before starting nfsd did not help.
>
> Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-08-05 20:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 7:47 linux-next NFSD: NULL pointer dereference at nfsd_svc() Tetsuo Handa
2010-08-02 14:32 ` Jeff Layton
2010-08-02 14:36 ` Jeff Layton
[not found] ` <20100802103620.5638dac1-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-08-02 18:16 ` J. Bruce Fields
2010-08-02 18:53 ` Jeff Layton
[not found] ` <20100802181634.GD12637-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2010-08-03 1:09 ` Tetsuo Handa
2010-08-03 15:48 ` J. Bruce Fields
2010-08-03 16:24 ` J. Bruce Fields
[not found] ` <20100803154851.GA23467-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2010-08-04 0:13 ` Tetsuo Handa
[not found] ` <201008040013.o740DmYK024832-etx+eQDEXHD7nzcFbJAaVXf5DAMn2ifp@public.gmane.org>
2010-08-04 19:40 ` J. Bruce Fields
[not found] ` <20100804194045.GD18200-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2010-08-05 1:10 ` Tetsuo Handa
[not found] ` <201008050110.o751AG18066496-etx+eQDEXHD7nzcFbJAaVXf5DAMn2ifp@public.gmane.org>
2010-08-05 20:46 ` J. Bruce Fields [this message]
[not found] ` <20100805204612.GA13821-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2010-08-05 21:31 ` J. Bruce Fields
[not found] ` <20100805213107.GB13821-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2010-08-06 1:37 ` Tetsuo Handa
2010-08-06 21:27 ` J. Bruce Fields
[not found] ` <20100806212727.GC29536-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2010-08-06 22:05 ` J. Bruce Fields
2010-08-06 22:10 ` J. Bruce Fields
[not found] ` <20100806221000.GF29536-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2010-08-07 1:48 ` Tetsuo Handa
2010-08-07 2:33 ` 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=20100805204612.GA13821@fieldses.org \
--to=bfields-uc3wqj2krung9huczpvpmw@public.gmane.org \
--cc=jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=penguin-kernel-JPay3/Yim36HaxMnTkn67Xf5DAMn2ifp@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).