Coda File System

Trouble getting started...

From: Colin Plumb <colin_at_nyx.net>
Date: Fri, 4 Sep 1998 15:27:34 -0600 (MDT)
I'm trying to play with Coda in order to do smooth home/laptop
synchronization.

So I got the latest and greatest pre-patch--2.1.120-3, 
coda-4.6.5.tgz and linux-coda-4.7.0 and started compiling.
(It's a bleeding-edge Debian system.)

So I configured the kernel with modular coda support, built it and
friends, then built the linux-coda-4.7.0 module, and installed that
coda.o in place of the 2.1.120-pre-3 one.  (I noticed that
linux-coda-4.7.0 has the 2.1.118 patch to struct file_operations, so
obviously it's quite current.)

Then I built the client programs.  I suppose I should mention
that I added -O to OPTFLAG in coda-4.6.5/Makeconf, since I saw
it was compiling just -g and I found that offensive in such a large
piece of code.  (gcc 2.7.2.3; I'd like to try egcs-1.1, but not until
I get it working first.  gcc found some C++ warnings and egcs
is pickier so might not compile it at all.)

As per the recommendation, I did venus-setup testserver.coda.cs.cmu.edu 25000
(Yes, I have that much free space on /usr), and then ran venus.
No luck.  Reboot, try venus -init.  No luck.

The console fills up with
13:53:04 GetRootVolume: can't get root volume name!
13:53:34 GetRootVolume: can't get root volume name!
13:54:04 GetRootVolume: can't get root volume name!
13:54:34 GetRootVolume: can't get root volume name!
13:55:05 GetRootVolume: can't get root volume name!
13:55:35 GetRootVolume: can't get root volume name!
13:56:05 GetRootVolume: can't get root volume name!
13:56:35 GetRootVolume: can't get root volume name!
13:57:05 GetRootVolume: can't get root volume name!
13:57:35 GetRootVolume: can't get root volume name!
13:58:05 GetRootVolume: can't get root volume name!
13:58:35 GetRootVolume: can't get root volume name!
13:59:05 GetRootVolume: can't get root volume name!
13:59:35 GetRootVolume: can't get root volume name!
14:00:05 GetRootVolume: can't get root volume name!
14:00:36 GetRootVolume: can't get root volume name!
14:01:06 GetRootVolume: can't get root volume name!
14:01:36 GetRootVolume: can't get root volume name!
14:02:06 GetRootVolume: can't get root volume name!
14:02:36 GetRootVolume: can't get root volume name!
14:03:06 GetRootVolume: can't get root volume name!


I keep seeing in tcpdump UDP port codasrv unreachable on
strauss.coda.cs.cmu.edu.  Numerically, do remove one more possible
confoguration error, that's

13:41:32.584207 xxx.xx.xx.xx.2430 > 128.2.209.213.2432: udp 297
13:41:33.076718 xxx.xx.xx.xx.2430 > 128.2.209.213.2432: udp 297
13:41:33.216492 128.2.209.213 > xxx.xx.xx.xx: icmp: 128.2.209.213 udp port 2432 unreachable [tos 0xc0]
13:41:33.656527 128.2.209.213 > xxx.xx.xx.xx: icmp: 128.2.209.213 udp port 2432 unreachable [tos 0xc0]
13:41:34.056786 xxx.xx.xx.xx.2430 > 128.2.209.213.2432: udp 297
13:41:34.726608 128.2.209.213 > xxx.xx.xx.xx: icmp: 128.2.209.213 udp port 2432 unreachable [tos 0xc0]
13:41:36.006938 xxx.xx.xx.xx.2430 > 128.2.209.213.2432: udp 297
13:41:36.746781 128.2.209.213 > xxx.xx.xx.xx: icmp: 128.2.209.213 udp port 2432 unreachable [tos 0xc0]
13:41:39.897240 xxx.xx.xx.xx.2430 > 128.2.209.213.2432: udp 297
13:41:40.637104 128.2.209.213 > xxx.xx.xx.xx: icmp: 128.2.209.213 udp port 2432 unreachable [tos 0xc0]

(I am leaving my own ip address off the public mailing list until I'm
sure I have the system set up securely!)

Stopping venus (fg; ^C) produces the error
Sep  4 14:04:09 colin kernel: coda_get_rootfid: error -4 
Sep  4 14:04:09 colin kernel: coda_read_super: coda_get_rootfid failed with -4 
Sep  4 14:04:09 colin kernel: coda_psdev_write: downcall, no SB! 

And stating it again produces
Sep  4 14:06:56 colin kernel: coda_psdev_write: downcall, no SB! 

Before I go too much further, let me ask... is the test server running
right now?  The port numbers match those in include/ports.h, which
the comment says are the IANA ones.


Of course, thank you so much for all your work making this stuff!
I can't praise it too extravagantly yet, since I haven't tried it.
-- 
	-Colin
Received on 1998-09-04 17:29:44