(Illustration by Gaich Muramatsu)
Cool, got the client set up. I set up my server and ran vice-setup blah blah and then venus & and here is what I get: Date: Thu 10/14/99 01:19:30 /usr/coda/LOG setup for size 0x87645 01:19:30 /usr/coda/DATA initialized at size 0x21d914 01:19:31 brain-wiping recoverable store 01:19:31 loading recoverable store 01:19:31 starting VSGDB scan 01:19:31 0 vsg entries in table 01:19:31 0 vsg entries on free-list 01:19:31 starting VDB scan 01:19:31 1 vol entries in table (0 MLEs) 01:19:31 0 vol entries on free-list (0 MLEs) 01:19:32 starting FSDB scan (833, 20000) (25, 75, 4) 01:19:32 0 cache files in table (0 blocks) 01:19:33 833 cache files on free-list 01:19:33 starting HDB scan 01:19:33 0 hdb entries in table 01:19:33 0 hdb entries on free-list 01:19:34 Initial LRDB allocation 01:19:34 Getting Root Volume information... 01:19:34 GetRootVolume: can't get volinfo for root volume (root)! The documentation says to check /etc/services which is fine, and the client is on the server..so what's the deal? Thanks, Scott On Wed, 13 Oct 1999, Phil Nelson wrote: > Scott Smith wrote: > >Has anyone actually gotten the client or server to run on > >NetBSD-1.4.1/sparc? > > Ok, I now have a client running under NetBSD-1.4.1/sparc (with minor > changes.) I haven't tried the server, but I suspect it will work > just fine. (I'll try to check that out later.) > > The example: > > ---->~ > bagley[31]$ uname -a > NetBSD bagley 1.4.1 NetBSD 1.4.1 (GENERIC_SCSI3) #0: Wed Oct 13 16:03:24 PDT 1999 phil_at_bagley:/nookwd0e/phil/netbsd/src/sys/arch/sparc/compile/GENERIC_SCSI3 sparc > > ---->~ > bagley[32]$ ls -l /coda > total 6 > drwxrwxrwx 3 root 65534 2048 Aug 5 16:55 company > drwxr-xr-x 2 daemon 65534 2048 Sep 27 10:29 public > drwxr-xr-x 2 daemon 65534 2048 Aug 4 10:19 usr > > ---->~ > bagley[33]$ cfs la /coda > System:Administrators rlidwka > System:AnyUser rl > > > Here are kernel diffs you will need to get it working. > These are relative to src/sys/arch/sparc in the NetBSD 1.4.1 source > tree. Add these diffs and recompile your kernel. If you are not > using a GENERIC kernel, you will need add the changes that are > done to the GENERIC conf file to your conf file. > > You will also need to create /dev/cfs0. You can make it with: > > mknod /dev/cfs0 c 47 0 > > Note, you should put the servers names and IPs in /etc/hosts. For > some reason, venus doesn't like them not in there. It also helps > for venus startup when disconnected, it is best to have them in > your /etc/hosts file. > > Let me know if you > > *** conf/GENERIC.orig Wed Oct 13 08:52:40 1999 > --- conf/GENERIC Wed Oct 13 10:54:47 1999 > *************** > *** 138,143 **** > --- 138,144 ---- > file-system CD9660 # ISO 9660 + Rock Ridge file system > file-system UNION # union file system > file-system MSDOSFS # MS-DOS FAT filesystem(s). > + file-system CODA # Coda File System; also needs vcoda (below) > > ## File system options. > options NFSSERVER # Sun NFS-compatible filesystem server > *************** > *** 533,535 **** > --- 534,539 ---- > ## THIS DEVICE IS EXPERIMENTAL; use at your own risk. > > #pseudo-device rnd > + > + # a pseudo device needed for Coda # also needs CODA (above) > + pseudo-device vcoda 4 # coda minicache <-> venus comm. > *** sparc/conf.c.orig Wed Oct 13 08:48:42 1999 > --- sparc/conf.c Wed Oct 13 15:35:47 1999 > *************** > *** 95,100 **** > --- 95,103 ---- > #include "rnd.h" > #include "scsibus.h" > > + #include "vcoda.h" > + cdev_decl(vc_nb_); > + > struct bdevsw bdevsw[] = > { > bdev_notdef(), /* 0 */ > *************** > *** 175,181 **** > cdev_notdef(), /* 44 */ > cdev_notdef(), /* 45 */ > cdev_notdef(), /* 46 */ > ! cdev_notdef(), /* 47 */ > cdev_notdef(), /* 48 */ > cdev_notdef(), /* 49 */ > cdev_notdef(), /* 50 */ > --- 178,184 ---- > cdev_notdef(), /* 44 */ > cdev_notdef(), /* 45 */ > cdev_notdef(), /* 46 */ > ! cdev_vc_nb_init(NVCODA,vc_nb_), /* 47: coda file system psuedo-device */ > cdev_notdef(), /* 48 */ > cdev_notdef(), /* 49 */ > cdev_notdef(), /* 50 */ > > > > -- > Phil Nelson NetBSD: http://www.netbsd.org > e-mail: phil@cs.wwu.edu Coda: http://www.coda.cs.cmu.edu > http://www.cs.wwu.edu/~phil > > -- scott_at_lackluster.net http://www.lackluster.net/ ~ I had a dream I was a vigilante's sidekick ~Received on 1999-10-14 04:24:48