Re: knfsd problem in late 2.1

ak@muc.de
Thu, 21 May 1998 15:06:55 +0200


On Thu, May 21, 1998 at 02:43:37PM +0200, Bill Hawes wrote:
> ak@muc.de wrote:
> >
> > On Thu, May 21, 1998 at 02:16:07PM +0200, David S. Miller wrote:
> > >
> > > kdev_t != dev_t, this is the bug, printing out the two values in hex
> > > would have made this obvious and it's the first thing I did...
> > >
> > > (gdb) p/x 33554436
> > > $2 = 0x2000004
> > > (gdb) p/x 2052
> > > $3 = 0x804
> >
> > Yuck, should have checked that. Thanks. I guess the right fix is to
> > just remove the device check then.
>
> Perhaps it's a glibc problem? Usually when someone reports a kdev_t vs
> dev_t problem, it's because of a glibc header difference.
>
> I think there's a patch around to make the nfs tools work right with
> glibc.

No. I don't use glibc. The problem is that when the kernel got changed
to use kdev_t internally instead of dev_t noone fixed fs/nfsd/*

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu