Coda File System

Venus not starting (mount system call failed)

From: Jean-Fabrice [gmail] <jeanfabrice_at_gmail.com>
Date: Wed, 20 Sep 2006 12:09:53 +0200
Hi,

I have an issue with venus client not able to start.
Config is as follow
- Sparc arch with 2.6.16.18 kernel and coda module
- codaserver is running on serverA (auth2, rpc2portmap, updatesrv,
updateclnt, codasrv), logs are ok
- using liblwp2 2.2, coda-server 6.1.0, coda_client 6.1.0, librpc2
4.2, librvm 1.13, rvm 1.13, rpc2 2.2

starting venus client on serverB produces the following :
serverB:/var/log/coda# venus -init -d 255

Date: Wed 09/20/2006

11:57:55 Coda Venus, version 6.1.0
11:57:55 /var/lib/coda/LOG size is 297949 bytes
11:57:55 /var/lib/coda/DATA size is 1191796 bytes
11:57:55 Initializing RVM data...
11:57:55 ...done
11:57:55 Loading RVM data
11:57:55 Starting RealmDB scan
11:57:55        Found 1 realms
11:57:55 starting VDB scan
11:57:55        0 volume replicas
11:57:55        0 replicated volumes
11:57:55        0 CML entries allocated
11:57:55        0 CML entries on free-list
11:57:55 starting FSDB scan (416, 10000) (25, 75, 4)
11:57:55        0 cache files in table (0 blocks)
11:57:55        416 cache files on free-list
11:57:55 starting HDB scan
11:57:55        0 hdb entries in table
11:57:55        0 hdb entries on free-list
11:57:55 Kernel version ioctl failed.
11:57:55 Initial LRDB allocation
11:57:55 Mounting root volume...
11:57:55 Venus starting...
11:57:56 CHILD: mount system call failed. Killing parent.

Processus arrêté

venus.log contains :
[ W(15) : 0000 : 11:57:55 ] CODA_GETATTR: u.u_pid = 301273587 u.u_pgid = 0
[ W(15) : 0000 : 11:57:55 ] vproc::getattr: fid = 0.0.0.0
[ W(15) : 0000 : 11:57:55 ] vproc::Begin_VFS(Getattr): vid = 0.0,
u.u_vol = 0, mode = -1
[ W(15) : 0000 : 11:57:55 ] vdb::Get: vid = 0.0
[ W(15) : 0000 : 11:57:55 ] Getattr : returns Unknown error 158,
elapsed = unknown msec (Returning ea
rly)
[ X(00) : 0000 : 11:57:56 ] CHILD: mount system call failed. Killing parent.
[ X(00) : 0000 : 11:57:56 ] adv_monitor::~adv_monitor()

and dmesg :
[   10.823443] ioctl32(venus:5759): Unknown cmd fd(10)
cmd(c004630a){00} arg(00117e30) on /dev/cfs0
[   10.947450] coda_read_super: device index: 0
[   11.006238] coda_read_super: rootfid is (00000001.ff000001.00000001)
[   11.081948] Failure of coda_cnode_make for root: error -158

I have a tcpdump running on serverA and I can see that serverB never
tried to contact serverA during its "venus -init".

Running 'cmon serverA' on serverB shows traffic passing through
tcpdump and cmon alos returns current value from serverA. ServerA also
see the cmon command since its SrvLog now contains "11:51:34
client_GetVenusId: got new host x.x.x.x:32794"

So :
My venus client seems broken. Should I tried 6.0.16 ? any hints ?

JF
Received on 2006-09-20 12:23:32