SMBFS?

James Van Artsdalen james-freebsd-amd64 at jrv.org
Mon Jan 5 01:25:56 PST 2004


I am able to mount a filesystem with SMBFS with the patch given.

I also had to make this change so that the kernel would compile
with the necessary crypto routines.

--- sys/conf/files.amd64.~1~    Mon Nov 17 02:58:16 2003
+++ sys/conf/files.amd64        Mon Jan  5 01:54:19 2004
@@ -123,3 +123,8 @@
 compat/ia32/ia32_sigtramp.S    optional        ia32
 compat/ia32/ia32_sysvec.c      optional        ia32
 kern/imgact_elf32.c            optional        ia32
+#
+crypto/des/des_ecb.c                   optional        netsmbcrypto
+crypto/des/des_enc.c                   optional        netsmbcrypto
+crypto/des/des_setkey.c                        optional        netsmbcrypto
+crypto/blowfish/bf_enc.c               optional        crypto

One of these has an x86 assembly equivalent; I don't know if using
the C version will hurt IPsec badly.  The x86 assembly was generated
by a perl script which can probably be fixed by a perl script to
generate x86-64 code fairly easily if any perl coders want to do it.

> Date: Sun, 4 Jan 2004 22:44:15 -0800
> From: "David O'Brien" <obrien at FreeBSD.ORG>

> Tim Robbins <tjr at freebsd.org>'s done some SMBFS work lately.  He'd like
> it if AMD64 users experiencing this could try:
> 
> http://cvsweb.netbsd.org/bsdweb.cgi/src/dist/smbfs/lib/smb/nb_net.c.diff?r1=1.1&r2=1.2
> 
> and let him know whether he should bring it across to FreeBSD.
> 
> -- David
> 


More information about the freebsd-amd64 mailing list