Re: NFSv4 Client code committed.

2003-11-15 Thread Lars Eggert
M. Warner Losh wrote:

In message: <[EMAIL PROTECTED]>
Andrzej Tobola <[EMAIL PROTECTED]> writes:
: Did you tested it with nfsclient dynamically loaded ?
I can't load nfs4client.ko either.  If you put all the files/paths in
nfsclient, it will load and work.
I load nfsclient.ko in my boot loader, so I couldn't boot at all due
to the unresolved symbols. :-(
Warner

P.S.  Here's what I have in p4 to make it work.
FYI, your Makefile fixes things for me, too.

Lars
--
Lars Eggert <[EMAIL PROTECTED]>   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


Re: NFSv4 Client code committed.

2003-11-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]>
Andrzej Tobola <[EMAIL PROTECTED]> writes:
: Did you tested it with nfsclient dynamically loaded ?

I can't load nfs4client.ko either.  If you put all the files/paths in
nfsclient, it will load and work.

I load nfsclient.ko in my boot loader, so I couldn't boot at all due
to the unresolved symbols. :-(

Warner

P.S.  Here's what I have in p4 to make it work.

.PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs4client \
${.CURDIR}/../../nfs ${.CURDIR}/../../rpc

KMOD=   nfsclient
SRCS=   vnode_if.h \
nfs_bio.c nfs_lock.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \
nfs_vfsops.c nfs_vnops.c nfs_common.c \
opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h
SRCS+=  nfs4_dev.c nfs4_idmap.c nfs4_socket.c nfs4_subs.c \
nfs4_vfs_subs.c  nfs4_vfsops.c nfs4_vn_subs.c nfs4_vnops.c
SRCS+=  opt_inet6.h

NFS_INET?=  1   # 0/1 - requires INET to be configured in kernel
NFS_INET6?= 1   # 0/1 - requires INET6 to be configured in kernel

# USE THE RPCCLNT:
CFLAGS+= -DRPCCLNT_DEBUG
SRCS+= rpcclnt.c

# USE THE NEW IDMAPPER
CFLAGS+= -DUSE_NEW_IDMAPPER

opt_inet.h:
touch ${.TARGET}
.if ${NFS_INET} > 0
echo "#define INET 1" > ${.TARGET}
.endif

.if ${NFS_INET6} > 0
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
.endif

.include 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NFSv4 Client code committed.

2003-11-15 Thread Lars Eggert
Andrzej Tobola wrote:
Just cvsuped.

kldload nfsclient is now not working:
 link_elf: symbol nfs4_writebp undefined
Did you tested it with nfsclient dynamically loaded ?
Same here. Is there a way to fall back to the old code?

Lars
--
Lars Eggert <[EMAIL PROTECTED]>   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


Re: NFSv4 Client code committed.

2003-11-15 Thread Andrzej Tobola

On Fri, Nov 14, 2003 at 05:32:31PM -0800, Alfred Perlstein wrote:
> The Citi project over at the University of Michegan has been nice
> enough to provide us with an initial implementation of a NFSv4
> client.  We still need locking, delegations and cypto.
> 
> If anyone who's crypto friendly wants to help with the integration
> that would be really useful.  Please email me.
> 
> NFSv4 shares some code with nfs2 and nfs3, and required some minor
> modifications of the v2 and v3 sources so let me know if you
> experience breakage.
> 
> Have a great weekend!

Just cvsuped.

kldload nfsclient is now not working:
 link_elf: symbol nfs4_writebp undefined

Did you tested it with nfsclient dynamically loaded ?

-a
PS
dmesg -a

Starting devd.
link_elf: symbol nfs4_writebp undefined
kldload:
can't load nfsclient
:
No such file or directory
/etc/rc: WARNING: nfs mount  requested, but no nfs client in kernel return 1
Mounting NFS file systems:
link_elf: symbol nfs4_writebp undefined
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NFSv4 Client code committed.

2003-11-14 Thread Alfred Perlstein
* Craig Rodrigues <[EMAIL PROTECTED]> [031114 20:00] wrote:
> On Fri, Nov 14, 2003 at 05:32:31PM -0800, Alfred Perlstein wrote:
> > NFSv4 shares some code with nfs2 and nfs3, and required some minor
> > modifications of the v2 and v3 sources so let me know if you
> > experience breakage.
> 
> I'm getting this on buildworld:

Working on it.

> 
> 
> ===> usr.bin/fstat
> cc -O -pipe -mcpu=pentiumpro  -c /usr/src/usr.bin/fstat/cd9660.c
> cc -O -pipe -mcpu=pentiumpro  -c /usr/src/usr.bin/fstat/fstat.c
> In file included from /usr/src/usr.bin/fstat/fstat.c:75:
> /usr/obj/usr/src/i386/usr/include/nfsclient/nfsnode.h:129: error: field `n_rfc' has 
> incomplete type
> /usr/obj/usr/src/i386/usr/include/nfsclient/nfsnode.h:130: error: field `n_wfc' has 
> incomplete type
> *** Error code 1
> 
> Stop in /usr/src/usr.bin/fstat.
> *** Error code 1
> 
> Stop in /usr/src/usr.bin.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> Script done on Fri Nov 14 23:00:39 2003
> 
> -- 
> Craig Rodrigues
> http://crodrigues.org
> [EMAIL PROTECTED]

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: [EMAIL PROTECTED] cell: 408-480-4684
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NFSv4 Client code committed.

2003-11-14 Thread Craig Rodrigues
On Fri, Nov 14, 2003 at 05:32:31PM -0800, Alfred Perlstein wrote:
> NFSv4 shares some code with nfs2 and nfs3, and required some minor
> modifications of the v2 and v3 sources so let me know if you
> experience breakage.

I'm getting this on buildworld:


===> usr.bin/fstat
cc -O -pipe -mcpu=pentiumpro  -c /usr/src/usr.bin/fstat/cd9660.c
cc -O -pipe -mcpu=pentiumpro  -c /usr/src/usr.bin/fstat/fstat.c
In file included from /usr/src/usr.bin/fstat/fstat.c:75:
/usr/obj/usr/src/i386/usr/include/nfsclient/nfsnode.h:129: error: field `n_rfc' has 
incomplete type
/usr/obj/usr/src/i386/usr/include/nfsclient/nfsnode.h:130: error: field `n_wfc' has 
incomplete type
*** Error code 1

Stop in /usr/src/usr.bin/fstat.
*** Error code 1

Stop in /usr/src/usr.bin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Script done on Fri Nov 14 23:00:39 2003

-- 
Craig Rodrigues
http://crodrigues.org
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NFSv4 Client code committed.

2003-11-14 Thread Alfred Perlstein
The Citi project over at the University of Michegan has been nice
enough to provide us with an initial implementation of a NFSv4
client.  We still need locking, delegations and cypto.

If anyone who's crypto friendly wants to help with the integration
that would be really useful.  Please email me.

NFSv4 shares some code with nfs2 and nfs3, and required some minor
modifications of the v2 and v3 sources so let me know if you
experience breakage.

Have a great weekend!

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: [EMAIL PROTECTED] cell: 408-480-4684
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"