Re: NFS bug?

From: Trond Myklebust
Date: Fri Apr 21 2006 - 15:34:55 EST


On Fri, 2006-04-21 at 11:31 -0700, Andrew Morton wrote:
> Trond Myklebust <trond.myklebust@xxxxxxxxxx> wrote:
> >
> > > I'd be guessing that filldir64() was passed a negative namlen.
> >
> > Why would that trigger a bug in __copy_from_user_ll()? I could see it
> > triggering errors in copy_to_user(), but not copy_from_*...
>
> Ah. No, I cannot see why getdents wold run copy_from_user().
>
> I wonder why that stack trace didn't come out. Perhaps running `dmesg -n
> 7' prior to triggerng the crash will help. (It shouldn't, but we might
> have broken it).
>

Also, please check that the kernel was compiled with
CONFIG_FRAME_POINTER and CONFIG_KALLSYMS.

Cheers,
Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/